/* Home blocks use plugin-owned classes and native WordPress rendering. */
body.fase-home2-page .wp-site-blocks {
    overflow-x: clip;
}

.fase-home-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    min-height: clamp(260px, 25vw, 300px);
    overflow: hidden;
    background: #26384c;
    color: #fff;
}

.fase-home-hero__video,
.fase-home-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.fase-home-hero__video {
    z-index: 0;
    object-fit: cover;
    object-position: center 26%;
}
.fase-home-hero__shade { z-index: 1; background: rgba(0, 0, 0, .48); }

.fase-home-hero__content {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: min(100%, 1200px);
    margin-inline: auto;
    padding: 64px clamp(24px, 8vw, 132px) 54px;
}

.fase-home-hero__content h1 {
    max-width: 700px;
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: clamp(2rem, 3.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.05;
}

.fase-home-hero__content p {
    max-width: 560px;
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(.875rem, 1.2vw, 1rem);
    line-height: 1.45;
}

body.fase-home2-page .fase-home-hero.alignfull,
body.fase-home2-page .fase-home-services.alignfull,
body.fase-home2-page .fase-home-magazine.alignfull {
    position: relative;
    left: 50%;
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: 0;
}

body.fase-home2-page .fase-home-services { margin-block-start: 0 !important; }
body.fase-home2-page .fase-home-magazine { background: #fff; }

.fase-home-services {
    --fase-services-ink: #0b1f3a;
    --fase-services-muted: #52657d;
    --fase-services-blue: #006cfd;
    --fase-services-blue-dark: #004bc4;
    --fase-services-line: rgba(11, 31, 58, .12);
    box-sizing: border-box;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(0, 108, 253, .11), transparent 32%),
        radial-gradient(circle at 88% 26%, rgba(64, 197, 255, .13), transparent 30%),
        linear-gradient(180deg, #f5f9ff 0%, #ffffff 38%, #f7f9fc 100%);
    color: var(--fase-services-ink);
}

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

.fase-home-services__inner {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
    padding: clamp(56px, 6vw, 84px) 0 clamp(24px, 3vw, 32px);
}

.fase-home-services__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    margin-bottom: clamp(32px, 4vw, 48px);
}

.fase-home-services__eyebrow,
.fase-home-service-card__label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 14px !important;
    color: var(--fase-services-blue-dark) !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.25;
    text-transform: uppercase;
}

.fase-home-services__eyebrow::before,
.fase-home-service-card__label::before {
    width: 28px;
    height: 2px;
    margin-right: 10px;
    background: currentColor;
    content: "";
}

.fase-home-services h2 {
    max-width: 820px;
    margin: 0 !important;
    color: var(--fase-services-ink) !important;
    font-size: clamp(2rem, 4vw, 3.65rem);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.fase-home-services__intro-copy p {
    margin: 0 0 16px !important;
    color: var(--fase-services-muted) !important;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
}

.fase-home-services__intro-copy p:last-child { margin-bottom: 0 !important; }

.fase-home-services__feature,
.fase-home-service-card {
    overflow: hidden;
    border: 1px solid var(--fase-services-line);
    border-radius: 26px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 70px rgba(20, 54, 94, .09);
}

.fase-home-services__feature {
    display: block;
    min-height: 0;
    margin-bottom: 20px;
}

.fase-home-services__feature-media,
.fase-home-service-card__media {
    display: block;
    overflow: hidden;
    background: #dbe8f7;
}

.fase-home-services__feature-media {
    position: relative;
    aspect-ratio: 3 / 1;
    min-height: 0;
}

.fase-home-services__feature-media img,
.fase-home-service-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    object-fit: cover;
    transition: transform .45s ease;
}

.fase-home-services__feature-media img {
    position: static;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0;
}
.fase-home-service-card__media { aspect-ratio: 2 / 1; }

.fase-home-services__feature-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: clamp(30px, 5vw, 68px);
    padding: clamp(32px, 4vw, 54px);
}

.fase-home-services__feature-copy {
    padding: 0;
}

.fase-home-services__feature-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: clamp(24px, 3vw, 42px);
    border-left: 1px solid var(--fase-services-line);
}

.fase-home-services__feature-actions .fase-home-services__outcomes {
    margin-top: 0;
}

.fase-home-services__feature-actions .fase-home-services__button {
    align-self: flex-start;
}

.fase-home-services h3 {
    margin: 0 0 16px !important;
    color: var(--fase-services-ink) !important;
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.fase-home-services__feature-copy p,
.fase-home-service-card__body p {
    margin: 0 0 18px !important;
    color: var(--fase-services-muted) !important;
    line-height: 1.65;
}

.fase-home-services__outcomes {
    display: grid;
    gap: 11px;
    margin: 5px 0 26px;
    padding: 0;
    list-style: none;
}

.fase-home-services__outcomes li {
    position: relative;
    margin: 0;
    padding-left: 26px;
    color: #263b55;
    font-size: .95rem;
    line-height: 1.45;
}

.fase-home-services__outcomes li::before {
    position: absolute;
    top: .42em;
    left: 0;
    width: 11px;
    height: 11px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--fase-services-blue);
    box-shadow: 0 0 0 2px rgba(0, 108, 253, .2);
    content: "";
}

.fase-home-services__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--fase-services-blue);
    border-radius: 999px;
    background: var(--fase-services-blue);
    color: #fff !important;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(0, 108, 253, .2);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body .fase-home-services a.fase-home-services__button,
body .fase-home-services a.fase-home-services__button:link,
body .fase-home-services a.fase-home-services__button:visited,
body .fase-home-services a.fase-home-services__button:hover,
body .fase-home-services a.fase-home-services__button:focus-visible {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: .95rem !important;
    letter-spacing: normal !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body .fase-home-services a.fase-home-services__button::after {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.fase-home-services__button::after {
    margin-left: 9px;
    content: "→";
}

.fase-home-services__button:hover {
    border-color: var(--fase-services-blue-dark);
    background: var(--fase-services-blue-dark);
    transform: translateY(-2px);
}

.fase-home-services__button:focus-visible,
.fase-home-service-card__media:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 4px;
}

.fase-home-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.fase-home-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fase-home-service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(26px, 4vw, 38px);
}

.fase-home-service-card__body h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.fase-home-service-card__body p { flex: 1; }

.fase-home-service-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 8px;
    padding: 9px 16px;
    border: 1px solid var(--fase-services-blue);
    border-radius: 999px;
    background: var(--fase-services-blue);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: .84rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(0, 108, 253, .18);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.fase-home-service-card__link::after {
    margin-left: 8px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    content: "→";
}

body .fase-home-services a.fase-home-service-card__link,
body .fase-home-services a.fase-home-service-card__link:link,
body .fase-home-services a.fase-home-service-card__link:visited,
body .fase-home-services a.fase-home-service-card__link:hover,
body .fase-home-services a.fase-home-service-card__link:focus-visible {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-decoration: none !important;
}

.fase-home-service-card__link:hover {
    border-color: var(--fase-services-blue-dark);
    background: var(--fase-services-blue-dark);
    transform: translateY(-2px);
}

.fase-home-service-card__link:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 4px;
}

.fase-home-services__value {
    margin-top: clamp(48px, 6vw, 72px);
    padding: clamp(36px, 5vw, 56px);
    border-radius: 30px;
    background: linear-gradient(135deg, #071a33 0%, #0d315f 58%, #0657c8 100%);
    color: #fff;
    box-shadow: 0 28px 90px rgba(4, 31, 67, .22);
}

.fase-home-services__value h2,
.fase-home-services__value p,
.fase-home-services__value h3 { color: #fff !important; }

.fase-home-services__value > p {
    max-width: 780px;
    margin: 18px 0 36px !important;
    color: rgba(255, 255, 255, .8) !important;
    font-size: 1.08rem;
    line-height: 1.65;
}

.fase-home-services__value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fase-home-value-card {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    background: rgba(255, 255, 255, .075);
    backdrop-filter: blur(8px);
}

.fase-home-value-card__number {
    display: block;
    margin-bottom: 24px;
    color: #72c8ff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.fase-home-value-card h3 { margin-bottom: 10px !important; font-size: 1.25rem; }
.fase-home-value-card p { margin: 0 !important; color: rgba(255, 255, 255, .77) !important; line-height: 1.6; }

.fase-home-services__process {
    padding: clamp(48px, 6vw, 72px) 0 0;
}

.fase-home-services__process-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
    gap: 36px;
    align-items: end;
    margin-bottom: 26px;
}

.fase-home-services__process-header p {
    margin: 0 !important;
    color: var(--fase-services-muted) !important;
    line-height: 1.65;
}

.fase-home-services__process-media {
    aspect-ratio: 3 / 1;
    overflow: hidden;
    margin: 0 0 24px !important;
    border: 1px solid var(--fase-services-line);
    border-radius: 24px;
    background: #dbe8f7;
    box-shadow: 0 20px 54px rgba(20, 54, 94, .1);
}

.fase-home-services__process-media img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    object-fit: cover;
}

.fase-home-services__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.fase-home-step {
    min-height: 194px;
    padding: 24px;
    border: 1px solid var(--fase-services-line);
    border-radius: 20px;
    background: #fff;
}

.fase-home-step__number {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 26px;
    place-items: center;
    border-radius: 14px;
    background: #eaf3ff;
    color: var(--fase-services-blue-dark);
    font-weight: 850;
}

.fase-home-step h3 { margin-bottom: 9px !important; font-size: 1.15rem; }
.fase-home-step p { margin: 0 !important; color: var(--fase-services-muted) !important; font-size: .94rem; line-height: 1.55; }

.fase-home-services__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    margin-top: clamp(28px, 3vw, 36px);
    padding: clamp(26px, 3vw, 36px);
    border: 1px solid rgba(0, 108, 253, .18);
    border-radius: 28px;
    background: linear-gradient(110deg, #eaf3ff 0%, #fff 55%, #e7f8ff 100%);
}

.fase-home-services__cta h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); }
.fase-home-services__cta p { max-width: 720px; margin: 15px 0 0 !important; color: var(--fase-services-muted) !important; line-height: 1.65; }

.fase-home-services__feature:hover img,
.fase-home-service-card:hover img { transform: scale(1.025); }

@media (max-width: 900px) {
    .fase-home-services__intro,
    .fase-home-services__process-header,
    .fase-home-services__cta { grid-template-columns: 1fr; }
    .fase-home-services__feature-content { grid-template-columns: 1fr; gap: 24px; }
    .fase-home-services__feature-actions {
        padding: 24px 0 0;
        border-top: 1px solid var(--fase-services-line);
        border-left: 0;
    }
    .fase-home-services__value-grid { grid-template-columns: 1fr; }
    .fase-home-services__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fase-home-services__cta .fase-home-services__button { justify-self: start; }
}

@media (max-width: 640px) {
    .fase-home-services__inner { width: min(100% - 28px, 1200px); padding: 40px 0 22px; }
    .fase-home-services__grid,
    .fase-home-services__steps { grid-template-columns: 1fr; }
    .fase-home-services__feature,
    .fase-home-service-card,
    .fase-home-services__value,
    .fase-home-services__cta,
    .fase-home-services__process-media { border-radius: 20px; }
    .fase-home-services__feature-copy,
    .fase-home-service-card__body,
    .fase-home-services__value,
    .fase-home-services__cta { padding: 26px; }
    .fase-home-services__feature-content { padding: 26px; }
    .fase-home-services__feature-copy { padding: 0; }
    .fase-home-step { min-height: 0; }
    .fase-home-step__number { margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .fase-home-services__feature-media img,
    .fase-home-service-card__media img,
    .fase-home-services__button,
    .fase-home-service-card__link { transition: none; }
    .fase-home-services__feature:hover img,
    .fase-home-service-card:hover img,
    .fase-home-services__button:hover,
    .fase-home-service-card__link:hover { transform: none; }
}

body.fase-home2-page .wp-block-post-title,
body.fase-home2-page .entry-title { display: none; }
body.fase-home2-page .fase-home-magazine { margin-block-start: 0 !important; }
body.fase-home2-page .fase-magazine-embed { padding-top: clamp(12px, 2vw, 20px); }
body.fase-home2-page .fase-magazine-embed .fase-magazine-embed__heading { margin: 0 0 20px !important; }
body.fase-home2-page .fase-magazine-card .fase-magazine-card__excerpt { margin: 14px 0 0 !important; }

@media (max-width: 767px) {
    .fase-home-hero { min-height: 260px; }
    .fase-home-hero__video { object-position: center center; }
    .fase-home-hero__content { padding: 36px 24px 32px; }
}

