/* =========================================================
   ECSI SERVICES PAGE
   Elisha & Charles Solutions Inc.
   Revised CSS — factual / technical presentation
========================================================= */

:root {
    --ecsi-blue: #134074;
    --ecsi-blue-deep: #13315C;
    --ecsi-navy: #0B2545;
    --ecsi-accent: #8DA9C4;
    --ecsi-light: #EEF4ED;
    --ecsi-white: #ffffff;
    --ecsi-muted: rgba(11, 37, 69, 0.64);
    --ecsi-border: rgba(11, 37, 69, 0.14);
    --ecsi-dark-muted: rgba(238, 244, 237, 0.68);
    --ecsi-dark-border: rgba(141, 169, 196, 0.20);
    --ecsi-radius: 2px;
}

/* =========================================================
   SHARED
========================================================= */

.services-hero .container,
.services-overview .container,
.service-detail .container,
.service-parts .container,
.services-why .container,
.services-cta .container {
    width: min(calc(100% - 48px), 1400px);
    margin-inline: auto;
}

.services-hero a,
.services-overview a,
.service-detail a,
.services-cta a {
    -webkit-tap-highlight-color: transparent;
}

.services-hero :focus-visible,
.services-overview :focus-visible,
.service-detail :focus-visible,
.service-parts :focus-visible,
.services-why :focus-visible,
.services-cta :focus-visible {
    outline: 3px solid var(--ecsi-accent);
    outline-offset: 3px;
}

/* =========================================================
   01 — SERVICES HERO
========================================================= */

.services-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ecsi-navy) 0%, var(--ecsi-blue-deep) 55%, var(--ecsi-blue) 100%);
    color: var(--ecsi-light);
}

.services-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,37,69,.98) 0%, rgba(11,37,69,.90) 45%, rgba(19,64,116,.62) 100%);
    pointer-events: none;
}

.services-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(141,169,196,.065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(141,169,196,.065) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 100%);
}

.services-hero-bg::after {
    content: "";
    position: absolute;
    width: 680px;
    height: 680px;
    right: -180px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141,169,196,.13) 0%, rgba(141,169,196,.05) 35%, transparent 70%);
}

.services-hero .container {
    position: relative;
    z-index: 2;
    min-height: clamp(680px, 88vh, 900px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-hero-content {
    max-width: 900px;
    padding-top: 70px;
}

.services-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    color: var(--ecsi-accent);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.services-hero-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--ecsi-accent);
}

.services-hero h1 {
    max-width: 920px;
    margin: 0;
    color: var(--ecsi-light);
    font-size: clamp(3.3rem, 7vw, 6.5rem);
    font-weight: 600;
    line-height: .96;
    letter-spacing: -.055em;
}

.services-hero h1 span {
    display: block;
    margin-top: 8px;
    color: var(--ecsi-accent);
}

.services-hero-content > p {
    max-width: 690px;
    margin: 30px 0 0;
    color: rgba(238,244,237,.74);
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.75;
}

.services-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 38px;
}

.services-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 23px;
    border: 1px solid var(--ecsi-accent);
    background: var(--ecsi-accent);
    color: var(--ecsi-navy);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.services-btn-primary:hover {
    background: var(--ecsi-light);
    border-color: var(--ecsi-light);
    transform: translateY(-2px);
}

.services-btn-primary i,
.services-btn-link i {
    transition: transform .2s ease;
}

.services-btn-primary:hover i {
    transform: translateX(4px);
}

.services-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 10px 0;
    color: var(--ecsi-light);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s ease;
}

.services-btn-link:hover {
    color: var(--ecsi-accent);
}

.services-btn-link:hover i {
    transform: translateY(4px);
}

.services-hero-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--ecsi-dark-border);
    color: rgba(238,244,237,.48);
    font-size: .61rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.services-hero-footer span:first-child {
    color: var(--ecsi-accent);
}

.services-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: clamp(30px, 5vw, 90px);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(141,169,196,.17) 25%, rgba(141,169,196,.17) 75%, transparent);
    pointer-events: none;
}

/* =========================================================
   02 — SERVICE OVERVIEW
========================================================= */

.services-overview {
    position: relative;
    padding: clamp(90px, 9vw, 135px) 0 clamp(100px, 10vw, 150px);
    overflow: hidden;
    background: var(--ecsi-light);
    color: var(--ecsi-navy);
}

.services-overview::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: min(45vw, 700px);
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(141,169,196,.08));
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.services-overview .container {
    position: relative;
    z-index: 2;
}

.services-section-header {
    display: grid;
    grid-template-columns: minmax(180px,.35fr) minmax(0,1fr);
    gap: clamp(40px, 7vw, 110px);
    margin-bottom: clamp(55px, 6vw, 85px);
}

.services-section-label,
.service-parts-label,
.services-why-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-top: 8px;
    color: var(--ecsi-navy);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.services-section-label span:first-child,
.service-parts-label span:first-child,
.services-why-label span:first-child {
    color: var(--ecsi-blue);
    font-variant-numeric: tabular-nums;
}

.services-section-label span:last-child,
.service-parts-label span:last-child,
.services-why-label span:last-child {
    position: relative;
    padding-left: 15px;
}

.services-section-label span:last-child::before,
.service-parts-label span:last-child::before,
.services-why-label span:last-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 22px;
    transform: translateY(-50%);
    background: var(--ecsi-accent);
}

.services-section-intro {
    max-width: 820px;
}

.services-section-intro h2,
.service-parts-heading h2,
.services-why-heading h2 {
    margin: 0;
    color: var(--ecsi-navy);
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.05em;
}

.services-section-intro h2 span,
.service-parts-heading h2 span,
.services-why-heading h2 span {
    display: block;
    color: var(--ecsi-blue);
}

.services-section-intro p {
    max-width: 680px;
    margin: 26px 0 0;
    color: var(--ecsi-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1px;
    background: var(--ecsi-border);
    border-top: 1px solid var(--ecsi-border);
    border-left: 1px solid var(--ecsi-border);
}

.services-overview-card {
    position: relative;
    min-height: 225px;
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) 40px;
    align-items: start;
    gap: 20px;
    padding: clamp(28px, 3.5vw, 46px);
    overflow: hidden;
    background: var(--ecsi-light);
    color: var(--ecsi-navy);
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.services-overview-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--ecsi-accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .3s ease;
}

.services-overview-card > span {
    color: var(--ecsi-blue);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.services-overview-card h3 {
    margin: 0;
    color: var(--ecsi-navy);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
    line-height: 1.15;
}

.services-overview-card p {
    max-width: 440px;
    margin: 12px 0 0;
    color: var(--ecsi-muted);
    font-size: .92rem;
    line-height: 1.7;
}

.services-overview-card > i {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(19,64,116,.25);
    border-radius: 50%;
    color: var(--ecsi-blue);
    font-size: .72rem;
    transition: .25s ease;
}

.services-overview-card:last-child {
    grid-column: 1 / -1;
    min-height: 200px;
}

.services-overview-card:hover {
    background: var(--ecsi-navy);
}

.services-overview-card:hover::before {
    transform: scaleY(1);
}

.services-overview-card:hover > span,
.services-overview-card:hover h3 {
    color: var(--ecsi-light);
}

.services-overview-card:hover > span {
    color: var(--ecsi-accent);
}

.services-overview-card:hover p {
    color: rgba(238,244,237,.68);
}

.services-overview-card:hover > i {
    border-color: var(--ecsi-accent);
    background: var(--ecsi-accent);
    color: var(--ecsi-navy);
    transform: translateX(4px);
}

/* =========================================================
   03–06 — SERVICE DETAIL SECTIONS
========================================================= */

.service-detail {
    position: relative;
    padding: clamp(90px, 9vw, 140px) 0;
    background: var(--ecsi-light);
    color: var(--ecsi-navy);
}

.service-detail-dark {
    background: var(--ecsi-navy);
    color: var(--ecsi-light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
    align-items: center;
    gap: clamp(45px, 7vw, 110px);
}

.service-detail-grid.service-detail-reverse {
    grid-template-columns: minmax(0,.9fr) minmax(0,1fr);
}

.service-detail-reverse .service-detail-visual {
    order: 2;
}

.service-detail-reverse .service-detail-content {
    order: 1;
}

.service-detail-visual {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    background: var(--ecsi-blue-deep);
}

.service-detail-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,37,69,.05), rgba(11,37,69,.42));
    pointer-events: none;
}

.service-detail-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.service-detail-number {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 20px;
    color: rgba(238,244,237,.72);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.06em;
}

.service-detail-content {
    max-width: 620px;
}

.service-detail-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--ecsi-blue);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.service-detail-label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--ecsi-accent);
}

.service-detail-dark .service-detail-label {
    color: var(--ecsi-accent);
}

.service-detail-content h2 {
    margin: 0;
    color: var(--ecsi-navy);
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.05em;
}

.service-detail-content h2 span {
    display: block;
    color: var(--ecsi-blue);
}

.service-detail-dark .service-detail-content h2 {
    color: var(--ecsi-light);
}

.service-detail-dark .service-detail-content h2 span {
    color: var(--ecsi-accent);
}

.service-detail-lead {
    margin: 24px 0 0;
    color: var(--ecsi-navy);
    font-size: 1.08rem;
    line-height: 1.75;
}

.service-detail-content > p:not(.service-detail-lead) {
    margin: 16px 0 0;
    color: var(--ecsi-muted);
    font-size: .95rem;
    line-height: 1.75;
}

.service-detail-dark .service-detail-lead {
    color: var(--ecsi-light);
}

.service-detail-dark .service-detail-content > p:not(.service-detail-lead) {
    color: var(--ecsi-dark-muted);
}

.service-detail-list {
    display: grid;
    gap: 0;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ecsi-border);
}

.service-detail-list li {
    position: relative;
    padding: 11px 0 11px 21px;
    border-bottom: 1px solid var(--ecsi-border);
    color: var(--ecsi-navy);
    font-size: .87rem;
    line-height: 1.5;
}

.service-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    background: var(--ecsi-accent);
}

.service-detail-dark .service-detail-list {
    border-color: var(--ecsi-dark-border);
}

.service-detail-dark .service-detail-list li {
    border-color: var(--ecsi-dark-border);
    color: rgba(238,244,237,.84);
}

.service-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 27px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--ecsi-accent);
    color: var(--ecsi-blue);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s ease, gap .2s ease;
}

.service-detail-dark .service-detail-link {
    color: var(--ecsi-accent);
}

.service-detail-link:hover {
    color: var(--ecsi-navy);
    gap: 16px;
}

.service-detail-dark .service-detail-link:hover {
    color: var(--ecsi-light);
}

/* =========================================================
   07 — PARTS & TECHNICAL SUPPORT
========================================================= */

.service-parts {
    position: relative;
    overflow: hidden;
    padding: clamp(90px, 9vw, 140px) 0;
    background: var(--ecsi-blue-deep);
    color: var(--ecsi-light);
}

.service-parts-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 0;
    right: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141,169,196,.14), transparent 68%);
    pointer-events: none;
}

.service-parts-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(141,169,196,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(141,169,196,.045) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}

.service-parts .container {
    position: relative;
    z-index: 2;
}

.service-parts-header {
    display: grid;
    grid-template-columns: minmax(180px,.35fr) minmax(0,1fr);
    gap: clamp(40px, 7vw, 110px);
    margin-bottom: 65px;
}

.service-parts-label {
    color: var(--ecsi-light);
}

.service-parts-heading {
    max-width: 850px;
}

.service-parts-eyebrow,
.services-why-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: var(--ecsi-accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.service-parts-heading h2,
.services-why-heading h2 {
    color: var(--ecsi-light);
}

.service-parts-heading h2 span,
.services-why-heading h2 span {
    color: var(--ecsi-accent);
}

.service-parts-heading p,
.services-why-heading p {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--ecsi-dark-muted);
    font-size: .98rem;
    line-height: 1.8;
}

.service-parts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1px;
    background: var(--ecsi-dark-border);
    border-top: 1px solid var(--ecsi-dark-border);
    border-left: 1px solid var(--ecsi-dark-border);
}

.service-parts-card {
    position: relative;
    min-height: 250px;
    padding: 32px;
    overflow: hidden;
    background: rgba(11,37,69,.58);
    transition: background .25s ease;
}

.service-parts-card:hover {
    background: rgba(11,37,69,.86);
}

.service-parts-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.service-parts-card-top span {
    color: var(--ecsi-accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.service-parts-card-top i {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ecsi-dark-border);
    border-radius: 50%;
    color: var(--ecsi-accent);
}

.service-parts-card-content h3 {
    margin: 0;
    color: var(--ecsi-light);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.15;
}

.service-parts-card-content h3 span {
    color: var(--ecsi-accent);
}

.service-parts-card-content p {
    max-width: 460px;
    margin: 13px 0 0;
    color: var(--ecsi-dark-muted);
    font-size: .88rem;
    line-height: 1.7;
}

.service-parts-card-index {
    position: absolute;
    right: 30px;
    bottom: 23px;
    color: rgba(141,169,196,.48);
    font-size: .54rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.service-parts-quality {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1px;
    border: 1px solid var(--ecsi-dark-border);
}

.service-parts-quality-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 82px;
    padding: 18px 24px;
    border-right: 1px solid var(--ecsi-dark-border);
}

.service-parts-quality-item:last-child {
    border-right: 0;
}

.service-parts-quality-item > i {
    color: var(--ecsi-accent);
    font-size: 1rem;
}

.service-parts-quality-item span,
.service-parts-quality-item strong {
    display: block;
}

.service-parts-quality-item span {
    margin-bottom: 4px;
    color: rgba(238,244,237,.48);
    font-size: .54rem;
    font-weight: 700;
    letter-spacing: .11em;
}

.service-parts-quality-item strong {
    color: var(--ecsi-light);
    font-size: .8rem;
    font-weight: 600;
}

/* =========================================================
   08 — SERVICE PROCESS
========================================================= */

.services-why {
    position: relative;
    padding: clamp(90px, 9vw, 140px) 0;
    background: var(--ecsi-light);
    color: var(--ecsi-navy);
}

.services-why-header {
    display: grid;
    grid-template-columns: minmax(180px,.35fr) minmax(0,1fr);
    gap: clamp(40px, 7vw, 110px);
    margin-bottom: 60px;
}

.services-why-label {
    color: var(--ecsi-navy);
}

.services-why-heading {
    max-width: 850px;
}

.services-why-heading h2 {
    color: var(--ecsi-navy);
}

.services-why-heading h2 span {
    color: var(--ecsi-blue);
}

.services-why-heading p {
    color: var(--ecsi-muted);
}

.services-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1px;
    background: var(--ecsi-border);
    border-top: 1px solid var(--ecsi-border);
    border-left: 1px solid var(--ecsi-border);
}

.services-why-card {
    position: relative;
    min-height: 255px;
    padding: 28px;
    overflow: hidden;
    background: var(--ecsi-light);
    transition: background .25s ease;
}

.services-why-card:nth-child(4),
.services-why-card:nth-child(5) {
    grid-column: span 1;
}

.services-why-card:hover {
    background: var(--ecsi-navy);
}

.services-why-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.services-why-card-top strong {
    color: var(--ecsi-blue);
    font-size: .7rem;
    letter-spacing: .1em;
}

.services-why-card-top i {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(19,64,116,.2);
    border-radius: 50%;
    color: var(--ecsi-blue);
}

.services-why-card-content h3 {
    margin: 0;
    color: var(--ecsi-navy);
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.18;
}

.services-why-card-content h3 span {
    color: var(--ecsi-blue);
}

.services-why-card-content p {
    margin: 12px 0 0;
    color: var(--ecsi-muted);
    font-size: .84rem;
    line-height: 1.7;
}

.services-why-card-index {
    position: absolute;
    right: 24px;
    bottom: 19px;
    color: rgba(19,64,116,.42);
    font-size: .5rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.services-why-card:hover .services-why-card-top strong,
.services-why-card:hover .services-why-card-content h3,
.services-why-card:hover .services-why-card-content h3 span {
    color: var(--ecsi-light);
}

.services-why-card:hover .services-why-card-top strong,
.services-why-card:hover .services-why-card-content h3 span {
    color: var(--ecsi-accent);
}

.services-why-card:hover .services-why-card-content p {
    color: var(--ecsi-dark-muted);
}

.services-why-card:hover .services-why-card-top i {
    border-color: var(--ecsi-accent);
    background: var(--ecsi-accent);
    color: var(--ecsi-navy);
}

.services-why-card:hover .services-why-card-index {
    color: rgba(141,169,196,.55);
}

/* =========================================================
   09 — CLOSING CTA
========================================================= */

.services-cta {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 100px 0 45px;
    overflow: hidden;
    background: var(--ecsi-navy);
    color: var(--ecsi-light);
}

.services-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 35%, rgba(141,169,196,.14), transparent 27%),
        linear-gradient(125deg, var(--ecsi-navy), var(--ecsi-blue-deep) 55%, var(--ecsi-blue));
    pointer-events: none;
}

.services-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(141,169,196,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(141,169,196,.045) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}

.services-cta .container {
    position: relative;
    z-index: 2;
}

.services-cta-content {
    max-width: 820px;
}

.services-cta-content > span {
    display: block;
    margin-bottom: 22px;
    color: var(--ecsi-accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.services-cta-content h2 {
    margin: 0;
    color: var(--ecsi-light);
    font-size: clamp(2.8rem, 6vw, 6rem);
    font-weight: 600;
    line-height: .96;
    letter-spacing: -.055em;
}

.services-cta-content h2 span {
    display: block;
    color: var(--ecsi-accent);
}

.services-cta-content p {
    max-width: 650px;
    margin: 27px 0 0;
    color: rgba(238,244,237,.72);
    font-size: 1rem;
    line-height: 1.75;
}

.services-cta-content > a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    padding: 15px 21px;
    border: 1px solid var(--ecsi-accent);
    color: var(--ecsi-light);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, gap .2s ease;
}

.services-cta-content > a:hover {
    background: var(--ecsi-accent);
    color: var(--ecsi-navy);
    gap: 18px;
}

.services-cta-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 100px;
    padding-top: 18px;
    border-top: 1px solid var(--ecsi-dark-border);
    color: rgba(238,244,237,.45);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.services-cta-footer span:first-child {
    color: var(--ecsi-accent);
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 991px) {
    .services-hero .container,
    .services-overview .container,
    .service-detail .container,
    .service-parts .container,
    .services-why .container,
    .services-cta .container {
        width: min(calc(100% - 40px), 1400px);
    }

    .services-hero {
        min-height: 720px;
    }

    .services-hero .container {
        min-height: 720px;
    }

    .services-hero h1 {
        font-size: clamp(3.1rem, 8vw, 5.3rem);
    }

    .service-detail-grid,
    .service-detail-grid.service-detail-reverse {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .service-detail-reverse .service-detail-visual,
    .service-detail-reverse .service-detail-content {
        order: initial;
    }

    .service-detail-visual,
    .service-detail-visual img {
        min-height: 420px;
    }

    .services-why-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .service-parts-quality {
        grid-template-columns: 1fr;
    }

    .service-parts-quality-item {
        border-right: 0;
        border-bottom: 1px solid var(--ecsi-dark-border);
    }

    .service-parts-quality-item:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {
    .services-hero .container,
    .services-overview .container,
    .service-detail .container,
    .service-parts .container,
    .services-why .container,
    .services-cta .container {
        width: min(calc(100% - 32px), 1400px);
    }

    .services-hero {
        min-height: 700px;
        align-items: flex-start;
    }

    .services-hero .container {
        min-height: 700px;
        justify-content: center;
    }

    .services-hero::after {
        display: none;
    }

    .services-hero-bg::before {
        background-size: 48px 48px;
        opacity: .3;
    }

    .services-hero-content {
        padding-top: 45px;
    }

    .services-hero-kicker {
        margin-bottom: 20px;
        font-size: .61rem;
        letter-spacing: .13em;
    }

    .services-hero h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
        line-height: .98;
        letter-spacing: -.045em;
    }

    .services-hero-content > p {
        margin-top: 24px;
        font-size: .94rem;
        line-height: 1.7;
    }

    .services-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
    }

    .services-btn-primary {
        width: auto;
        min-height: 50px;
        padding-inline: 19px;
    }

    .services-hero-footer {
        bottom: 20px;
        padding-top: 13px;
        font-size: .52rem;
    }

    .services-hero-footer span:last-child {
        display: none;
    }

    .services-section-header,
    .service-parts-header,
    .services-why-header {
        display: block;
        margin-bottom: 48px;
    }

    .services-section-label,
    .service-parts-label,
    .services-why-label {
        margin-bottom: 27px;
        font-size: .62rem;
        gap: 12px;
    }

    .services-section-intro h2,
    .service-parts-heading h2,
    .services-why-heading h2 {
        font-size: clamp(2.3rem, 11vw, 3.5rem);
    }

    .services-section-intro p,
    .service-parts-heading p,
    .services-why-heading p {
        margin-top: 20px;
        font-size: .9rem;
        line-height: 1.7;
    }

    .services-overview-grid,
    .service-parts-grid,
    .services-why-grid {
        grid-template-columns: 1fr;
    }

    .services-overview-card,
    .services-overview-card:last-child {
        grid-column: auto;
        min-height: 190px;
        grid-template-columns: 34px minmax(0,1fr) 34px;
        gap: 14px;
        padding: 25px 20px;
    }

    .services-overview-card h3 {
        font-size: 1.13rem;
    }

    .services-overview-card p {
        margin-top: 9px;
        font-size: .81rem;
        line-height: 1.6;
    }

    .services-overview-card > i {
        width: 32px;
        height: 32px;
        font-size: .64rem;
    }

    .service-detail,
    .service-parts,
    .services-why {
        padding: 78px 0 88px;
    }

    .service-detail-grid,
    .service-detail-grid.service-detail-reverse {
        gap: 35px;
    }

    .service-detail-visual,
    .service-detail-visual img {
        min-height: 300px;
    }

    .service-detail-number {
        right: 18px;
        bottom: 15px;
        font-size: 3rem;
    }

    .service-detail-label {
        margin-bottom: 17px;
        font-size: .61rem;
    }

    .service-detail-content h2 {
        font-size: clamp(2.3rem, 10vw, 3.4rem);
    }

    .service-detail-lead {
        margin-top: 19px;
        font-size: .96rem;
    }

    .service-detail-content > p:not(.service-detail-lead) {
        font-size: .86rem;
    }

    .service-detail-list li {
        font-size: .81rem;
    }

    .service-parts-card {
        min-height: 220px;
        padding: 26px 22px;
    }

    .service-parts-card-top {
        margin-bottom: 27px;
    }

    .service-parts-card-content h3 {
        font-size: 1.25rem;
    }

    .service-parts-card-content p {
        font-size: .81rem;
    }

    .service-parts-card-index {
        right: 20px;
        bottom: 17px;
        font-size: .46rem;
    }

    .service-parts-quality-item {
        min-height: 72px;
        padding: 15px 18px;
    }

    .services-why-card {
        min-height: 220px;
        padding: 25px 21px;
    }

    .services-why-card-top {
        margin-bottom: 28px;
    }

    .services-why-card-content h3 {
        font-size: 1.14rem;
    }

    .services-why-card-content p {
        font-size: .79rem;
    }

    .services-cta {
        min-height: 560px;
        padding: 85px 0 35px;
    }

    .services-cta-content h2 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    .services-cta-content p {
        font-size: .9rem;
        line-height: 1.7;
    }

    .services-cta-footer {
        margin-top: 75px;
        font-size: .48rem;
    }

    .services-cta-footer span:last-child {
        display: none;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
    .services-hero .container,
    .services-overview .container,
    .service-detail .container,
    .service-parts .container,
    .services-why .container,
    .services-cta .container {
        width: min(calc(100% - 28px), 1400px);
    }

    .services-hero {
        min-height: 670px;
    }

    .services-hero .container {
        min-height: 670px;
    }

    .services-hero-content {
        padding-top: 35px;
    }

    .services-hero h1 {
        font-size: clamp(2.45rem, 14vw, 3.4rem);
    }

    .services-hero-content > p {
        font-size: .88rem;
    }

    .services-btn-primary {
        width: 100%;
    }

    .service-detail-visual,
    .service-detail-visual img {
        min-height: 260px;
    }

    .service-parts-card {
        min-height: 205px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .services-btn-primary,
    .services-btn-primary i,
    .services-btn-link,
    .services-btn-link i,
    .services-overview-card,
    .services-overview-card::before,
    .services-overview-card > i,
    .service-detail-link,
    .service-parts-card,
    .services-why-card {
        transition: none !important;
    }
}
