/* Project EV service page and shared service teasers. Load after style.css. */
.ev-hero,
.ev-section,
.ev-teaser,
.ev-cta {
    --ev-gutter: clamp(20px, 4vw, 60px);
    font-family: var(--bodyFont, 'Satoshi', sans-serif);
}

.ev-hero {
    margin-top: 110px;
    padding: 78px var(--ev-gutter) 82px;
    background: #1a1a1a;
    color: #fff;
}
.ev-hero-copy {
    color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
}
.ev-hero .ev-eyebrow,
.ev-teaser .text > span {
    display: block;
    margin: 0 0 20px;
    color: #efb1b1;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.ev-hero .text h1 {
    max-width: 670px;
    margin: 0 0 26px;
    color: #fff;
    font-size: clamp(38px, 4.3vw, 62px);
    line-height: 1.09;
    letter-spacing: -1.7px;
}
.ev-hero .text h1 em {
    font-style: normal;
    text-decoration: underline;
    text-decoration-color: #b22222;
    text-decoration-thickness: 3px;
    text-underline-offset: 9px;
}
.ev-hero .text .ev-lead {
    max-width: 530px;
    margin: 0 0 30px;
    color: #d3d3d3;
    font-size: 17px;
    line-height: 1.8;
}
.ev-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 0 0 32px;
}
.ev-actions a.btn,
.ev-teaser a.btn,
.ev-cta a.btn {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    box-shadow: none;
}
.ev-hero a.btn:hover,
.ev-cta a.btn:hover {
    background: #fff;
    color: #1a1a1a;
}
.ev-phone {
    display: inline-block;
    padding: 11px 0;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
.ev-phone:hover { color: #efb1b1; }
.ev-hero .text .ev-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0;
    padding: 25px 0 0;
    border-top: 1px solid #484848;
    color: #d3d3d3;
    font-size: 12px;
    font-weight: 500;
}
.ev-hero .text .ev-highlights li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: auto;
    line-height: 1.6;
}
.ev-highlights li::before {
    content: '\2713';
    color: #efb1b1;
    font-weight: 700;
}
.ev-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 455px;
    margin: 0 auto;
    padding: 30px 30px 26px;
    border-radius: 8px;
    background: #f6f6f4;
    color: #1a1a1a;
    text-align: center;
}
.ev-product-logo {
    display: block;
    width: 158px;
    max-width: 70%;
    height: 32px;
    margin: 0 auto 22px;
    object-fit: contain;
}
.ev-product-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: 350px;
    margin: 0 auto 20px;
    object-fit: contain;
}
.ev-product figcaption {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}
.ev-product figcaption span {
    display: block;
    margin-top: 4px;
    color: #616161;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
}

.ev-section {
    padding: 96px var(--ev-gutter);
    background: #fff;
    color: #1a1a1a;
}
.ev-section.paleBg { background: #eee; }
.ev-section > .row + .row { margin-top: 0; }
.ev-heading {
    max-width: 760px;
    margin-bottom: 42px;
}
.ev-section h2,
.ev-teaser .text h2,
.ev-cta h2 {
    margin: 0 0 20px;
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.8px;
}
.ev-section h3 {
    margin: 0 0 14px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.3px;
}
.ev-section p,
.ev-teaser .text p,
.ev-cta p {
    margin: 0 0 20px;
    color: #595959;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}
.ev-grid,
.ev-two-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
}
.ev-two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ev-feature {
    min-width: 0;
    padding: 26px 0 0;
    border-top: 2px solid #b22222;
}
.ev-feature p:last-child { margin-bottom: 0; }
.ev-icon {
    display: block;
    margin-bottom: 20px;
    color: #b22222;
    font-size: 29px;
    line-height: 1;
}
.ev-note {
    margin: 30px 0 0;
    padding: 20px 24px;
    border-left: 3px solid #b22222;
    background: #f4f4f4;
}
.ev-section .ev-note p,
.ev-section p.ev-note {
    font-size: 14px;
    line-height: 1.75;
}
.ev-note p:last-child { margin-bottom: 0; }
.paleBg .ev-note { background: #fff; }
.ev-section .ev-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ev-steps;
}
.ev-process > li {
    position: relative;
    min-width: 0;
    padding: 24px 0 0;
    border-top: 1px solid #ccc;
    counter-increment: ev-steps;
}
.ev-process > li::before {
    display: block;
    margin: 0 0 18px;
    color: #b22222;
    content: '0' counter(ev-steps);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}
.ev-process > li p:last-child { margin-bottom: 0; }
.ev-faq { border-top: 1px solid #d5d5d5; }
.ev-faq details { border-bottom: 1px solid #d5d5d5; }
.ev-faq summary {
    position: relative;
    display: block;
    padding: 23px 42px 23px 0;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}
.ev-faq summary::-webkit-details-marker { display: none; }
.ev-faq summary::after {
    position: absolute;
    top: 23px;
    right: 5px;
    color: #b22222;
    content: '+';
    font-size: 23px;
    font-weight: 500;
    line-height: 1;
}
.ev-faq details[open] summary::after { content: '\2212'; }
.ev-faq details p {
    max-width: 850px;
    margin: 0 35px 24px 0;
    font-size: 15px;
}
.ev-cta {
    padding: 76px var(--ev-gutter);
    background: #1a1a1a;
    color: #fff;
}
.ev-cta h2 { color: #fff; }
.ev-cta .text > .ev-eyebrow { color: #efb1b1; }
.ev-cta p { max-width: 650px; color: #d3d3d3; }
.ev-cta .ev-actions { margin: 25px 0 0; }
.ev-sources {
    margin: 32px 0 0;
    color: #616161;
    font-size: 12px;
    line-height: 1.8;
}
.ev-section .ev-sources p { color: inherit; font-size: inherit; }
.ev-sources a,
.ev-note a,
.ev-faq p a {
    color: #9a1d1d;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ev-source-link { color: #9a1d1d; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; font-weight: 700; }
.ev-sources { margin: 0; padding: 24px 20px; background: #fff; }
a.cred.ev-brand-card { background: #fff !important; }
a.cred.ev-brand-card img { width: 140px; max-width: 45%; height: auto; object-fit: contain; }
a.cred.ev-brand-card p { color: #1a1a1a; }

.ev-teaser {
    padding: 72px var(--ev-gutter);
    overflow: hidden;
    background: #eee;
}
.ev-teaser .text > span { color: #b22222; margin-bottom: 14px; }
.ev-teaser .text h2 { max-width: 620px; }
.ev-teaser .text p { max-width: 620px; margin-bottom: 26px; }
.ev-teaser-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ev-teaser-product {
    display: block;
    width: auto;
    height: 290px;
    max-width: 100%;
    object-fit: contain;
}

:is(.ev-hero, .ev-section, .ev-teaser, .ev-cta) :is(a, button, summary):focus-visible {
    outline: 3px solid #b22222;
    outline-offset: 5px;
}
:is(.ev-hero, .ev-cta) :is(a, button, summary):focus-visible {
    outline-color: #fff;
}

/* Allow the additional service link to fit before the existing mobile menu. */
@media screen and (min-width: 65em) and (max-width: 78.125em) {
    .topBar nav ul li a { padding-right: 10px; padding-left: 10px; letter-spacing: 1px; font-size: 12px; }
}
@media screen and (max-width: 64.9375em) {
    .ev-hero { padding-top: 58px; padding-bottom: 64px; }
    .ev-hero-copy { margin-bottom: 38px; }
    .ev-product { max-width: 430px; }
    .ev-product-image { height: 310px; }
    .ev-section { padding-top: 70px; padding-bottom: 70px; }
    .ev-grid, .ev-process { gap: 25px; }
    .ev-teaser-visual { margin-top: 36px; }
    .ev-teaser-product { height: 260px; }
}
@media screen and (max-width: 39.9375em) {
    .ev-hero { margin-top: 84px; padding: 40px 20px 44px; }
    .ev-hero .text h1 { font-size: clamp(32px, 9.4vw, 45px); letter-spacing: -1px; }
    .ev-hero .text h1 em { text-underline-offset: 6px; text-decoration-thickness: 2px; }
    .ev-hero .text .ev-lead { font-size: 16px; }
    .ev-hero .ev-eyebrow { font-size: 10px; letter-spacing: 1.1px; }
    .ev-hero-copy { margin-bottom: 0; }
    .ev-hero .text .ev-highlights { gap: 10px 18px; font-size: 11px; }
    .ev-actions { gap: 8px 20px; margin-bottom: 24px; }
    .ev-actions .ev-phone { font-size: 13px; }
    .ev-product { padding: 24px 22px; }
    .ev-product-logo { width: 140px; height: 28px; }
    .ev-product-image { height: 280px; }
    .ev-section, .ev-teaser { padding: 50px 20px; }
    .ev-heading { margin-bottom: 28px; }
    .ev-section h2, .ev-teaser .text h2, .ev-cta h2 { font-size: 29px; }
    .ev-section h3 { font-size: 20px; }
    .ev-grid, .ev-two-grid, .ev-section .ev-process { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .ev-icon { margin-bottom: 15px; }
    .ev-feature { padding-top: 22px; }
    .ev-note { padding: 18px 20px; }
    .ev-faq summary { font-size: 16px; padding-top: 20px; padding-bottom: 20px; }
    .ev-faq summary::after { top: 20px; }
    .ev-faq details p { margin-right: 0; }
    .ev-cta { padding: 50px 20px; }
    .ev-teaser-visual { margin-top: 24px; }
    .ev-teaser-product { height: 250px; }
}
@media (prefers-reduced-motion: reduce) {
    :is(.ev-hero, .ev-section, .ev-teaser, .ev-cta) * { transition: none !important; }
}
