/* Homepage masthead: neutral component names, same 1400px rail as navigation. */
.home-hero {
    --hero-blue: #2563d9;
    --hero-ink: #142c50;
    --hero-muted: #526580;
    position: relative;
    height: auto;
    margin: 0;
    overflow: hidden;
    overflow: clip;
    background: radial-gradient(ellipse at 82% 40%, #dfebff 0, transparent 54%), linear-gradient(110deg, #f8fbff, #edf4ff);
    border-bottom: 1px solid #e2eaf6;
}
.home-hero .swiper-slide { height: auto; background: transparent; }
html .home-hero__inner,
html .home-hero__controls,
html .product-back .common-layout {
    box-sizing: border-box;
    width: calc(100% - 40px) !important;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
}
html .product-back .common-layout .common-layout { width: 100% !important; }
.home-hero__inner {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 56px;
    min-height: 480px;
    padding: 48px 0 36px;
}
.home-hero__copy { min-width: 0; }
.home-hero__eyebrow { margin: 0 0 22px; color: #365f9b; font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.home-hero h1, .home-hero h2 { margin: 0; color: var(--hero-ink); font-size: clamp(32px, 3.2vw, 50px); font-weight: 650; line-height: 1.4; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
.home-hero h1 span { color: var(--hero-blue); }
.home-hero__summary { max-width: 550px; margin: 22px 0 0; color: var(--hero-muted); font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.home-hero__button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; border: 1px solid #bccce3; border-radius: 8px; background: #ffffffb8; color: #28476f; font-size: 14px; font-weight: 600; transition: background .18s, border-color .18s, box-shadow .18s; }
.home-hero__button:hover { color: #174fae; border-color: #7c9fda; background: #fff; }
.home-hero__button--primary { border-color: var(--hero-blue); background: var(--hero-blue); color: #fff; box-shadow: 0 6px 16px #2563d91c; }
.home-hero__button--primary:hover { border-color: #1d50b2; background: #1d50b2; color: #fff; }
.home-hero__button:focus-visible, .home-hero button:focus-visible, .home-highlight-item:focus-visible, .home-hero .swiper-pagination-bullet:focus-visible { outline: 3px solid #235ab9; outline-offset: 4px; }
.home-hero__features { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; color: var(--hero-muted); font-size: 13px; }
.home-hero__features span::before { content: '✓'; margin-right: 7px; color: #2563d9; }
.home-hero__visual { position: relative; min-width: 0; }
.home-hero__network { display: block; width: 100%; max-width: 560px; margin: auto; }
.home-hero__visual-label { display: flex; justify-content: center; align-items: center; gap: 8px; color: #476489; font-size: 13px; letter-spacing: .06em; }
.home-hero__visual-label span { width: 6px; height: 6px; border-radius: 50%; background: #3978dc; }
/* Managed slides use the configured artwork as an edge-to-edge banner. */
.home-hero__banner { position: relative; display: flex; width: 100%; min-height: 480px; align-items: center; background-color: #edf4ff; background-position: center; background-repeat: no-repeat; background-size: cover; }
.home-hero__inner--managed { position: relative; z-index: 1; display: flex; align-items: center; }
.home-hero__inner--managed .home-hero__copy { width: 48%; max-width: 640px; }
.home-hero__banner:focus-visible { outline: 3px solid var(--hero-blue); outline-offset: -5px; }
.home-hero__controls { display: flex; min-height: 60px; align-items: center; justify-content: space-between; padding-bottom: 16px; }
.home-hero__pagination { display: flex; width: auto !important; align-items: center; gap: 4px; }
.home-hero .swiper-pagination-bullet { display: inline-flex; width: 32px !important; height: 44px !important; align-items: center; justify-content: center; margin: 0 !important; border-radius: 0; background: transparent; opacity: 1; }
.home-hero .swiper-pagination-bullet::after { content: ''; width: 18px; height: 3px; border-radius: 3px; background: #b7c9e4; transition: background .18s; }
.home-hero .swiper-pagination-bullet-active::after { background: var(--hero-blue); }
.home-hero__arrows { display: flex; gap: 10px; }
.home-hero__arrows button { width: 44px; height: 44px; border: 1px solid #bbcee8; border-radius: 50%; background: transparent; color: #315a96; font-size: 21px; cursor: pointer; }
.home-hero__arrows button:hover { background: #fff; border-color: #7e9ecf; }
.home-hero__arrows button:disabled { opacity: .4; cursor: default; }
.product-back .home-highlight-strip { padding-top: 0; gap: 16px; }
.product-back .home-highlight-item { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; min-height: 94px; padding: 18px 22px; border-radius: 12px; box-shadow: 0 4px 16px #263f7010; }
.product-back .home-highlight-icon { width: 44px; height: 44px; border-radius: 12px; color: #2563d9; background: #eff5ff; }
.product-back .home-highlight-icon svg { width: 24px; height: 24px; }
.product-back .home-highlight-copy strong { color: #233c60; font-size: 15px; }
.product-back .home-highlight-copy small { display: block; margin-top: 5px; color: #62738c; font-size: 12px; }
#home-services { scroll-margin-top: 100px; }
@media (max-width: 1110px) {
    .home-hero__inner { gap: 24px; min-height: 430px; padding-top: 36px; }
    .home-hero__banner { min-height: 430px; }
    .home-hero h1, .home-hero h2 { font-size: 36px; }
    .home-hero__features { gap: 10px 14px; }
}
@media (max-width: 768px) {
    .home-hero__inner { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 36px 0 16px; }
    .home-hero h1, .home-hero h2 { font-size: clamp(30px, 6vw, 40px); }
    .home-hero__eyebrow { margin-bottom: 16px; font-size: 12px; }
    .home-hero__summary { margin-top: 16px; font-size: 15px; }
    .home-hero__actions { margin-top: 22px; gap: 10px; }
    .home-hero__button { gap: 12px; padding: 0 16px; font-size: 13px; }
    .home-hero__features { margin-top: 22px; font-size: 12px; }
    .home-hero__network { max-width: 320px; }
    .home-hero__visual-label { font-size: 12px; }
    .home-hero__banner { min-height: 0; aspect-ratio: 16 / 5; }
    .home-hero__banner--with-copy { min-height: 320px; aspect-ratio: auto; }
    .home-hero__banner--with-copy::before { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(247, 251, 255, .96), rgba(247, 251, 255, .84) 65%, rgba(247, 251, 255, .3)); }
    .home-hero__inner--managed { padding: 36px 0; }
    .home-hero__inner--managed .home-hero__copy { width: 100%; max-width: 550px; }
    .home-hero__controls { padding-bottom: 12px; }
    .product-back .home-highlight-item { padding: 16px; gap: 12px; }
}
@media (max-width: 560px) {
    html .home-hero__inner, html .home-hero__controls, html .product-back .common-layout { width: calc(100% - 28px) !important; }
    .product-back .home-highlight-strip { gap: 10px; }
    .product-back .home-highlight-item { grid-template-columns: 30px minmax(0, 1fr); padding: 12px 9px; gap: 8px; min-height: 82px; }
    .product-back .home-highlight-icon { width: 30px; height: 34px; border-radius: 8px; }
    .product-back .home-highlight-icon svg { width: 21px; height: 21px; }
    .product-back .home-highlight-copy strong { font-size: 13px; }
    .product-back .home-highlight-copy small { font-size: 12px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero *, .product-back .home-highlight-item { transition: none !important; }
}
