/* Final Services-page accents. Loaded after the shared marketing styles. */
body[data-page="services"] .service-compact-card,
body[data-page="services"] .service-note {
    --service-outline: rgba(25, 70, 128, 0.5);
    --service-shadow: rgba(25, 70, 128, 0.12);
    isolation: isolate;
    transition:
        transform 260ms ease,
        border-color 260ms ease,
        box-shadow 260ms ease;
}
body[data-page="services"] .service-compact-card > *,
body[data-page="services"] .service-note > * {
    position: relative;
    z-index: 1;
}
body[data-page="services"] .service-compact-card:hover,
body[data-page="services"] .service-compact-card:focus-within,
body[data-page="services"] .service-note:hover,
body[data-page="services"] .service-note:focus-within {
    border-color: var(--service-outline);
    box-shadow: 0 20px 45px var(--service-shadow);
    transform: translateY(-4px);
}
body[data-page="services"] .service-compact-points li {
    display: grid;
    grid-template-columns: 7px minmax(0, 1fr);
    align-items: center;
    column-gap: 11px;
    list-style: none;
}
body[data-page="services"] .service-compact-points li::before {
    position: static;
    width: 6px;
    height: 6px;
    align-self: center;
    background: var(--gold-500);
    border-radius: 50%;
    content: "";
    transform: none;
}
body[data-page="services"] .service-compact-card {
    position: relative;
}
body[data-page="services"] .service-estimate-link {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 18px;
    display: grid;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    place-items: center;
    color: var(--navy-900);
    background: var(--gold-100);
    border: 1px solid rgba(210, 145, 24, .38);
    border-radius: 10px;
    box-shadow: 0 7px 16px rgba(4, 31, 66, .1);
    font-size: .9rem;
    line-height: 1;
    text-decoration: none;
}
body[data-page="services"] .service-estimate-link:hover,
body[data-page="services"] .service-estimate-link:focus-visible {
    color: #fff;
    background: var(--navy-800);
    border-color: var(--navy-700);
}
body[data-page="services"] .service-estimate-link i {
    margin: 0;
}
body[data-page="services"] .service-estimate-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
body[data-page="services"] .service-note-head {
    padding-right: 48px;
}
@media (min-width: 961px) {
    /* Keep the desktop accent clean and complete rather than tracing a clipped corner. */
    body[data-page="services"] .service-note::after {
        content: none;
    }
}
/* The gold variant is assigned deliberately instead of alternating indefinitely. */
body[data-page="services"] .service-detail-section:nth-child(1) .service-compact-card,
body[data-page="services"] .service-detail-section:nth-child(4) .service-compact-card,
body[data-page="services"] .service-detail-section:nth-child(1) .service-note,
body[data-page="services"] .service-detail-section:nth-child(4) .service-note {
    --service-outline: rgba(210, 145, 24, 0.58);
    --service-shadow: rgba(210, 145, 24, 0.14);
}
@media (min-width: 761px) and (max-width: 1120px) {
    body[data-page="services"] .services-catalog {
        align-items: stretch;
        gap: 20px;
    }
    body[data-page="services"] .service-detail-section,
    body[data-page="services"] .service-detail-section .page-container {
        height: 100%;
        align-self: stretch;
    }
    body[data-page="services"] .service-detail-section .service-compact-card {
        height: 100%;
        align-self: stretch;
    }
    body[data-page="services"] .service-detail-section .service-compact-card {
        border-top-color: var(--gold-500);
    }
    body[data-page="services"] .service-compact-card::after {
        content: none;
    }
    body[data-page="services"] .service-compact-card:hover,
    body[data-page="services"] .service-compact-card:focus-within {
        transform: none;
    }
    body[data-page="services"] .service-compact-head {
        padding-bottom: 11px;
        border-bottom: 1px solid #dce4ed;
    }
    body[data-page="services"] .service-compact-points {
        padding: 4px 12px;
        background: #f4f7fb;
        border: 1px solid #d7e0e9;
        border-radius: 12px;
        gap: 0;
    }
    body[data-page="services"] .service-compact-points li {
        min-height: 0;
        padding: 10px 8px;
        background: transparent;
        border: 0;
        border-radius: 0;
    }
    body[data-page="services"] .service-compact-points li + li {
        border-top: 1px solid #dce4ed;
    }
    body[data-page="services"] .services-hero h1 {
        max-width: 560px;
    }
    body[data-page="services"] .services-hero-links a:nth-child(1),
    body[data-page="services"] .services-hero-links a:nth-child(4) {
        border-color: rgba(242, 194, 99, 0.34);
    }
    body[data-page="services"] .services-hero-links a:nth-child(2),
    body[data-page="services"] .services-hero-links a:nth-child(3) {
        border-color: rgba(143, 177, 219, 0.3);
    }
}
/* August 12 audit: compact existing-site details replace the former repeated matrix. */
body[data-page="services"] .nav-dropdown-toggle.active {
    position: relative;
    color: var(--navy-850);
}
body[data-page="services"] .nav-dropdown-toggle.active::after {
    position: absolute;
    right: 11px;
    bottom: 4px;
    left: 11px;
    width: auto;
    height: 2px;
    background: var(--gold-500);
    border-radius: 999px;
    content: "";
}
body[data-page="services"] .hosting-move-summary {
    display: grid;
    padding: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body[data-page="services"] .hosting-move-summary p {
    min-width: 0;
    margin: 0;
    padding: 15px;
    color: var(--text-600);
    background: #f6f8fb;
    border: 1px solid #dce4ed;
    border-radius: 12px;
    line-height: 1.55;
}
body[data-page="services"] .hosting-move-summary strong {
    color: var(--navy-900);
}
@media (max-width: 760px) {
    body[data-page="services"] .hosting-move-summary {
        padding: 12px;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    body[data-page="services"] .hosting-move-summary p {
        padding: 12px;
        font-size: .82rem;
    }
}
/* Hosting is a choice between two operating models, not another long feature list. */
body[data-page="services"] .hosting-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 25px 0 17px;
}
body[data-page="services"] .hosting-path-card {
    min-width: 0;
    padding: 19px 20px 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d4dee8;
    border-top: 3px solid var(--gold-500);
    border-radius: 16px;
    box-shadow: 0 13px 28px rgba(4, 31, 66, 0.065);
}
body[data-page="services"] .hosting-path-card:nth-child(2) {
    border-top-color: var(--navy-700);
}
body[data-page="services"] .hosting-path-label {
    display: block;
    margin-bottom: 9px;
    color: #76500d;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    line-height: 1.25;
    text-transform: uppercase;
}
body[data-page="services"] .hosting-path-card:nth-child(2) .hosting-path-label {
    color: var(--navy-700);
}
body[data-page="services"] .hosting-path-card h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
    line-height: 1.2;
}
body[data-page="services"] .hosting-path-card p {
    margin: 0;
    color: var(--text-600);
    font-size: 0.82rem;
    line-height: 1.5;
}
body[data-page="services"] .hosting-comparison {
    margin: 0;
}
body[data-page="services"] .hosting-service-note {
    padding: 23px;
}
body[data-page="services"] .hosting-service-note > h3 {
    margin-bottom: 13px;
    font-size: 1.24rem;
    line-height: 1.17;
}
body[data-page="services"] .hosting-service-options {
    display: grid;
    gap: 10px;
    margin: 0 0 13px;
}
body[data-page="services"] .hosting-service-option {
    display: grid;
    gap: 4px;
    padding: 12px 13px;
    background: #f4f7fb;
    border: 1px solid #d7e0ea;
    border-radius: 12px;
}
body[data-page="services"] .hosting-service-option strong {
    color: var(--navy-900);
    font-size: 0.79rem;
    line-height: 1.25;
}
body[data-page="services"] .hosting-service-option span {
    color: var(--text-600);
    font-size: 0.72rem;
    line-height: 1.45;
}
body[data-page="services"] .hosting-service-note .hosting-service-footnote {
    margin: 0 0 13px;
    padding: 11px 0 0;
    color: var(--text-500);
    border-top: 1px solid #dce4ec;
    font-size: 0.68rem;
    line-height: 1.45;
}
body[data-page="services"] .hosting-service-note .text-link {
    margin-top: 0;
}
@media (min-width: 961px) {
    body[data-page="services"] #hosting .split-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
        gap: clamp(30px, 4vw, 60px);
        align-items: center;
    }
    body[data-page="services"] #hosting .service-desktop-copy h2 {
        max-width: 850px;
        font-size: clamp(2.65rem, 4vw, 4rem);
        line-height: 1.02;
    }
    body[data-page="services"] #hosting .service-desktop-copy .lead-copy {
        max-width: 850px;
    }
    body[data-page="services"] #hosting .sticky-card {
        top: 102px;
    }
}
@media (max-width: 760px) {
    body[data-page="services"] .service-detail-section .service-compact-card {
        padding: 20px 18px 18px;
        border-top-color: var(--gold-500);
        text-align: left;
    }
    body[data-page="services"] .service-compact-card::after {
        content: none;
    }
    body[data-page="services"] .service-compact-card:hover,
    body[data-page="services"] .service-compact-card:focus-within {
        transform: none;
    }
    body[data-page="services"] .service-compact-head {
        justify-content: flex-start;
        padding-bottom: 11px;
        border-bottom: 1px solid #dce4ed;
    }
    body[data-page="services"] .service-compact-card h2,
    body[data-page="services"] .service-compact-lead,
    body[data-page="services"] .service-compact-fit {
        text-align: left;
    }
    body[data-page="services"] .service-estimate-link {
        position: static;
        display: flex;
        width: 100%;
        height: 44px;
        margin-top: 14px;
        padding: 0 14px;
        align-items: center;
        justify-content: space-between;
        color: #fff;
        background: var(--navy-900);
        border-color: var(--navy-900);
        border-radius: 10px;
        box-shadow: none;
        font-size: .74rem;
        font-weight: 900;
        line-height: 1.2;
    }
    body[data-page="services"] .service-estimate-label {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        clip-path: none;
        white-space: normal;
    }
    body[data-page="services"] .service-compact-points {
        padding: 4px 11px;
        background: #f4f7fb;
        border: 1px solid #d7e0e9;
        border-radius: 12px;
        gap: 0;
    }
    body[data-page="services"] .service-compact-points li {
        min-height: 0;
        padding: 10px 7px;
        background: transparent;
        border: 0;
        border-radius: 0;
    }
    body[data-page="services"] .service-compact-points li + li {
        border-top: 1px solid #dce4ed;
    }
    body[data-page="services"] .service-compact-fit {
        padding-top: 12px;
        border-top: 1px solid #e1e7ee;
    }
    body[data-page="services"] .service-compact-card > .text-link {
        width: fit-content;
        margin-right: 0;
        margin-left: 0;
        justify-content: flex-start;
        text-align: left;
    }
    body[data-page="services"] .service-compact-more p + p {
        padding-top: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    body[data-page="services"] .service-compact-card,
    body[data-page="services"] .service-note,
    body[data-page="services"] .service-note::after {
        transition: none;
    }
    body[data-page="services"] .service-compact-card:hover,
    body[data-page="services"] .service-compact-card:focus-within,
    body[data-page="services"] .service-note:hover,
    body[data-page="services"] .service-note:focus-within,
    body[data-page="services"] .service-note:hover::after,
    body[data-page="services"] .service-note:focus-within::after {
        transform: none;
    }
}
/* Compact service cards use one shared information budget on tablet and phone.
   Desktop retains the deeper service sections above. */
@media (max-width: 1120px) {
    body[data-page="services"] .service-compact-card {
        display: grid;
        grid-template-rows: auto minmax(2.45em, auto) minmax(3.8em, auto) 1fr auto;
        align-content: stretch;
    }
    body[data-page="services"] .service-compact-fit,
    body[data-page="services"] .service-compact-more,
    body[data-page="services"] .service-compact-card > .text-link {
        display: none !important;
    }
    body[data-page="services"] .service-compact-card h2,
    body[data-page="services"] .service-compact-lead {
        margin-bottom: 10px;
    }
    body[data-page="services"] .service-compact-points {
        width: 100%;
        margin-top: 0;
        align-self: end;
    }
}
@media (min-width: 761px) and (max-width: 1120px) {
    body[data-page="services"] .services-catalog {
        grid-auto-rows: 1fr;
    }
    body[data-page="services"] .service-detail-section .service-compact-card {
        padding: 22px;
    }
    body[data-page="services"] .service-compact-card h2 {
        font-size: clamp(1.38rem, 3.2vw, 1.62rem);
        line-height: 1.08;
    }
    body[data-page="services"] .service-compact-lead {
        font-size: .78rem;
        line-height: 1.48;
    }
    body[data-page="services"] .service-detail-section .service-compact-card {
        min-height: 356px;
        grid-template-rows: auto auto auto;
        align-content: start;
    }
    body[data-page="services"] .service-compact-lead {
        min-height: 3.15em;
        margin-bottom: 16px;
    }
    body[data-page="services"] .service-compact-points {
        margin-top: 0;
        align-self: start;
    }
}
@media (min-width: 761px) {
    body[data-page="services"] .nav-dropdown-toggle.active {
        color: var(--navy-850);
        background: var(--blue-50);
    }
}
/* Give the collapsed hosting comparison a deliberate resting edge on PC. */
@media (min-width: 1001px) {
    html body[data-page="services"] .hosting-comparison {
        margin-bottom: 24px;
    }
}
