.hms-page,
.hms-page * {
    box-sizing: border-box;
}

body.hms-landing-page > .wp-site-blocks > header.wp-block-template-part,
body.hms-landing-page > .wp-site-blocks > footer.wp-block-template-part,
body.hms-landing-page .wp-block-post-title {
    display: none !important;
}

body.hms-landing-page .wp-site-blocks {
    margin: 0 !important;
    padding: 0 !important;
}

body.hms-landing-page .wp-site-blocks,
body.hms-landing-page main,
body.hms-landing-page .wp-block-post-content {
    margin-block-start: 0 !important;
}

body.hms-landing-page .wp-block-post-content {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.hms-landing-page .entry-content,
body.hms-landing-page .wp-block-post-content,
body.hms-landing-page main {
    width: 100% !important;
}

body.hms-landing-page {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

html:has(body.hms-landing-page) {
    overflow-x: hidden !important;
}

.hms-page {
    --hms-blue: #0d4778;
    --hms-blue-deep: #08172d;
    --hms-blue-soft: #eaf4ff;
    --hms-red: #d33131;
    --hms-ink: #111827;
    --hms-muted: #64748b;
    --hms-line: #d9e4ef;
    --hms-surface: #ffffff;
    --hms-warm: #fff7ed;
    color: var(--hms-ink);
    background: #ffffff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
}

.hms-page a {
    color: inherit;
    text-decoration: none;
}

.hms-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.hms-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 76px;
    padding: 12px max(22px, calc((100vw - 1120px) / 2));
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(13, 71, 120, 0.12);
    backdrop-filter: blur(16px);
}

.hms-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    font-weight: 800;
    color: var(--hms-blue-deep);
    font-size: 1.16rem;
    line-height: 1;
}

.hms-brand img {
    width: 230px;
    height: 92px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
}

.hms-brand span {
    white-space: nowrap;
}

.hms-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 650;
}

.hms-nav a,
.hms-nav-cta,
.hms-primary-btn,
.hms-secondary-btn,
.hms-submit {
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hms-nav a:hover {
    color: var(--hms-red);
}

.hms-phone-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(18, 140, 80, 0.32);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hms-phone-button svg {
    display: block;
    width: 36px;
    height: 36px;
    color: #ffffff;
    fill: #ffffff;
}

.hms-phone-button svg path {
    fill: #ffffff;
}

.hms-phone-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hms-phone-button:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(18, 140, 80, 0.38);
}

.hms-nav-cta,
.hms-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 8px;
    background: var(--hms-blue);
    color: #fff;
    font-weight: 800;
    font-size: 0.96rem;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 12px 22px rgba(13, 71, 120, 0.22);
}

.hms-page a.hms-nav-cta,
.hms-page a.hms-primary-btn {
    color: #ffffff !important;
}

.hms-nav-cta:hover,
.hms-primary-btn:hover,
.hms-submit:hover {
    background: #0a3c66;
    transform: translateY(-1px);
}

.hms-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(13, 71, 120, 0.24);
    border-radius: 8px;
    color: var(--hms-blue);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.74);
    font-size: 0.96rem;
    line-height: 1;
    white-space: nowrap;
}

.hms-page a.hms-secondary-btn {
    color: var(--hms-blue) !important;
}

.hms-secondary-btn:hover {
    border-color: var(--hms-red);
    color: var(--hms-red);
    transform: translateY(-1px);
}

.hms-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 15%, rgba(211, 49, 49, 0.10), transparent 26%),
        linear-gradient(135deg, #eef7ff 0%, #f8fbff 48%, #fff6f0 100%);
    border-bottom: 1px solid rgba(13, 71, 120, 0.10);
}

.hms-hero-inner {
    max-width: 860px;
    text-align: center;
    padding: 92px 0 84px;
}

.hms-hero-logo {
    display: block;
    width: min(330px, 72vw);
    height: auto;
    margin: 0 auto 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hms-kicker,
.hms-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--hms-blue);
    background: rgba(13, 71, 120, 0.08);
    border: 1px solid rgba(13, 71, 120, 0.10);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
}

.hms-kicker::before,
.hms-section-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--hms-red);
}

.hms-page h1,
.hms-page h2,
.hms-page h3,
.hms-page p {
    margin-top: 0;
}

.hms-page h1 {
    max-width: 760px;
    margin: 0 auto 18px;
    color: var(--hms-blue-deep);
    font-size: clamp(2.6rem, 4vw, 4.7rem);
    line-height: 1.03;
    letter-spacing: 0;
}

.hms-hero-copy {
    max-width: 710px;
    margin: 0 auto 30px;
    color: #465a70;
    font-size: 1.08rem;
}

.hms-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hms-trust-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hms-trust-row span {
    border: 1px solid rgba(13, 71, 120, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #365268;
    padding: 10px 14px;
    font-weight: 750;
    font-size: 0.92rem;
}

.hms-section {
    padding: 92px 0;
}

.hms-split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 72px;
    align-items: center;
}

.hms-copy h2,
.hms-process h2,
.hms-request-copy h2 {
    color: var(--hms-blue-deep);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 0;
}

.hms-copy p,
.hms-process p,
.hms-request-copy p {
    color: var(--hms-muted);
    font-size: 1rem;
}

.hms-checklist {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.hms-checklist li {
    position: relative;
    padding-left: 32px;
    color: #244154;
    font-weight: 750;
}

.hms-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--hms-blue-soft);
    border: 1px solid rgba(13, 71, 120, 0.2);
}

.hms-checklist li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 11px;
    width: 7px;
    height: 4px;
    border-left: 2px solid var(--hms-blue);
    border-bottom: 2px solid var(--hms-blue);
    transform: rotate(-45deg);
}

.hms-service-stack {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(13, 71, 120, 0.10);
    border-radius: 8px;
    background: linear-gradient(145deg, #f4f9ff, #fff8f4);
}

.hms-service-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: start;
    padding: 22px;
    border: 1px solid rgba(13, 71, 120, 0.11);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(8, 23, 45, 0.07);
}

.hms-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: var(--hms-red);
    background: #fff1f1;
    font-weight: 900;
    font-size: 0.86rem;
}

.hms-service-card h3,
.hms-steps h3 {
    margin-bottom: 6px;
    color: var(--hms-blue-deep);
    font-size: 1.06rem;
}

.hms-service-card p,
.hms-steps p {
    margin-bottom: 0;
    color: var(--hms-muted);
    font-size: 0.95rem;
}

.hms-process {
    background: var(--hms-warm);
    border-top: 1px solid rgba(211, 49, 49, 0.12);
    border-bottom: 1px solid rgba(211, 49, 49, 0.12);
}

.hms-process .hms-container {
    text-align: center;
}

.hms-process h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hms-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
    text-align: left;
}

.hms-steps article {
    min-height: 210px;
    padding: 26px;
    border: 1px solid rgba(13, 71, 120, 0.12);
    border-radius: 8px;
    background: #ffffff;
}

.hms-steps strong {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--hms-blue);
}

.hms-request-band {
    padding: 92px 0;
    background:
        linear-gradient(135deg, rgba(8, 23, 45, 0.96), rgba(13, 71, 120, 0.92)),
        var(--hms-blue-deep);
    color: #ffffff;
}

.hms-request-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
    gap: 48px;
    align-items: start;
}

.hms-request-copy {
    position: sticky;
    top: 96px;
}

.hms-request-copy .hms-section-label {
    color: #cfe7ff;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
}

.hms-request-copy h2 {
    color: #ffffff;
}

.hms-request-copy p {
    color: #c9d7e8;
}

.hms-form {
    display: grid;
    gap: 18px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.hms-honeypot {
    position: absolute;
    left: -9999px;
}

.hms-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hms-form label,
.hms-full-field {
    display: grid;
    gap: 7px;
    color: var(--hms-ink);
    font-weight: 800;
    font-size: 0.92rem;
}

.hms-form input,
.hms-form select,
.hms-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--hms-line);
    border-radius: 8px;
    background: #fbfdff;
    color: var(--hms-ink);
    font: inherit;
    font-weight: 500;
    padding: 12px 14px;
    outline: none;
}

.hms-form textarea {
    resize: vertical;
    min-height: 138px;
}

.hms-form input:focus,
.hms-form select:focus,
.hms-form textarea:focus {
    border-color: var(--hms-blue);
    box-shadow: 0 0 0 4px rgba(13, 71, 120, 0.12);
}

.hms-upload {
    display: grid;
    place-items: center;
    min-height: 128px;
    padding: 22px;
    border: 1px dashed rgba(13, 71, 120, 0.34);
    border-radius: 8px;
    background: #f8fbff;
    color: #29465d;
    text-align: center;
    cursor: pointer;
}

.hms-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.hms-upload span {
    font-weight: 850;
}

.hms-upload small {
    color: var(--hms-muted);
    font-weight: 600;
}

.hms-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    background: var(--hms-red);
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    font-size: 0.98rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(211, 49, 49, 0.25);
}

.hms-page button.hms-submit {
    color: #ffffff !important;
}

.hms-submit:disabled {
    opacity: 0.72;
    cursor: progress;
    transform: none;
}

.hms-form-note,
.hms-response {
    margin: 0;
    text-align: center;
    color: var(--hms-muted);
    font-size: 0.83rem;
}

.hms-response {
    min-height: 22px;
    font-weight: 800;
}

.hms-response.is-success {
    color: #13804b;
}

.hms-response.is-error {
    color: var(--hms-red);
}

@media (max-width: 900px) {
    .hms-header {
        grid-template-columns: 1fr auto;
    }

    .hms-nav {
        display: none;
    }

    .hms-split,
    .hms-request-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hms-request-copy {
        position: static;
    }

    .hms-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .hms-container {
        width: min(calc(100% - 28px), 1120px);
    }

    .hms-header {
        padding: 10px 14px;
        gap: 12px;
    }

    .hms-brand img {
        width: 148px;
        height: 66px;
    }

    .hms-nav-cta {
        min-height: 42px;
        padding: 0 12px;
        font-size: 0.88rem;
    }

    .hms-hero {
        min-height: auto;
    }

    .hms-hero-inner {
        padding: 72px 0 66px;
    }

    .hms-page h1 {
        font-size: 2rem;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hms-hero-copy {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hms-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .hms-primary-btn,
    .hms-secondary-btn {
        width: min(100%, 280px);
        justify-self: center;
    }

    .hms-section,
    .hms-request-band {
        padding: 64px 0;
    }

    .hms-service-stack {
        padding: 14px;
    }

    .hms-service-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .hms-field-grid {
        grid-template-columns: 1fr;
    }

    .hms-form {
        padding: 22px;
    }

    .hms-phone-button {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    .hms-phone-button svg {
        width: 32px;
        height: 32px;
    }
}
