/* Scram Speed lead page. All component styles are scoped to this page. */

/* 1. Page shell and shared typography */
body.page-type-page_contact_form { padding-top: 0; }
.page-type-page_contact_form .body { margin: 0; }
.page-type-page_contact_form .body > .container { max-width: none; width: 100%; padding: 0; }
.ss-lead, .ss-lead-header { --ss-orange: #ff481f; --ss-ink: #111; --ss-muted: #5d5d5d; font-family: Rubik, Arial, sans-serif; color: var(--ss-ink); }
.ss-lead *, .ss-lead-header * { box-sizing: border-box; }
.ss-lead { background: #faf9f7; font-size: 15px; line-height: 1.5; }
.ss-lead__wrap { width: min(1310px, calc(100% - 64px)); margin: 0 auto; }
.ss-lead h1, .ss-lead h2, .ss-lead h3 { margin: 0; color: inherit; font-family: 'Racing Sans One', Rubik, Arial, sans-serif; font-weight: 400; font-style: normal; letter-spacing: -.045em; }
.ss-lead p { margin: 0; }
.ss-lead a { color: inherit; }
.ss-lead .ss-lead__eyebrow { color: var(--ss-orange); font-size: 17px; font-style: italic; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.ss-lead a:focus-visible, .ss-lead button:focus-visible, .ss-lead summary:focus-visible, .ss-lead-header a:focus-visible { outline: 3px solid var(--ss-orange); outline-offset: 5px; }
.ss-lead__section-heading { text-align: center; margin-bottom: 28px; }
.ss-lead__section-heading h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; text-transform: uppercase; margin-bottom: 8px; }
.ss-lead__section-heading > p { color: var(--ss-muted); line-height: 1.5; }
.ss-lead__symbol { display: block; color: var(--ss-orange); flex: 0 0 46px; }
.ss-lead__symbol svg { width: 46px; height: 46px; display: block; }

/* 2. Dedicated landing page navigation */
.ss-lead-header { background: #fff; border-bottom: 1px solid #e7e7e7; position: relative; z-index: 10; }
.ss-lead-header__inner { max-width: 1120px; min-height: 82px; margin: auto; padding: 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ss-lead-header__logo { display: block; flex-shrink: 0; }
.ss-lead-header__logo img { display: block; width: 180px; height: 65px; object-fit: contain; }
.ss-lead-header__nav { display: flex; gap: 42px; align-items: center; }
.ss-lead-header__nav a { color: #111; text-decoration: none; font-size: 14px; font-weight: 600; }
.ss-lead-header__nav a:hover { color: var(--ss-orange); }
.ss-lead-header__phone { color: var(--ss-orange); text-decoration: none; display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 20px; font-style: italic; font-weight: 800; }
.ss-lead-header__phone svg { width: 22px; height: 22px; display: block; }

/* 3. Hero and project form */
.ss-lead__hero { position: relative; isolation: isolate; background: #1c1b19; color: #fff; }
/* The region accepts a Page Builder Image widget, including its layout wrappers.
   Keep the original image as a fallback while the region is empty. */
.ss-lead__hero-media { position: absolute; inset: 0; z-index: -2; background: url('https://cdn11.bigcommerce.com/s-8b6wr/images/stencil/original/image-manager/scram-speed-hero.jpg?t=1792087432') center / cover no-repeat; }
.ss-lead__hero-media:has([data-content-region="contact_hero_image"] img) { background-image: none; }
.ss-lead__hero-media [data-content-region="contact_hero_image"],
.ss-lead__hero-media [data-layout-id],
.ss-lead__hero-media [data-sub-layout-container],
.ss-lead__hero-media [data-sub-layout],
.ss-lead__hero-media [data-widget-id],
.ss-lead__hero-media [data-widget-id] > div,
.ss-lead__hero-media [id^="sd-image-"],
.ss-lead__hero-media picture,
.ss-lead__hero-media a { width: 100% !important; max-width: none !important; height: 100% !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; }
.ss-lead__hero-media [data-sub-layout] { flex-basis: 100% !important; }
/* Native Image widgets use a background plus a transparent img. Render the img
   directly so both native widgets and ordinary image markup share the crop. */
.ss-lead__hero-media [id^="sd-image-"] { background-image: none !important; }
.ss-lead__hero-media img { position: absolute; inset: 0; width: 100% !important; max-width: none !important; height: 100% !important; object-fit: cover; object-position: center; opacity: 1 !important; }
.ss-lead__hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 63%, rgba(0,0,0,.25)); z-index: -1; }
.ss-lead__hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 65px; padding-top: 28px; padding-bottom: 28px; min-height: 580px; }
.ss-lead__intro { padding: 20px 0; }
.ss-lead__intro h1 { font-size: clamp(58px, 6.3vw, 96px); text-transform: uppercase; line-height: .95; letter-spacing: -.055em; margin: 0 0 20px; }
.ss-lead__description { font-size: 19px; line-height: 1.5; max-width: 580px; }
.ss-lead__checks { list-style: none; padding: 0; margin: 25px 0 0; font-weight: 600; font-size: 16px; }
.ss-lead__checks li { display: flex; align-items: center; gap: 18px; margin: 10px 0; }
.ss-lead__checks li::before { content: ''; width: 20px; height: 12px; border-left: 5px solid var(--ss-orange); border-bottom: 5px solid var(--ss-orange); transform: translateY(-3px) rotate(-45deg); flex-shrink: 0; }
.ss-lead__form-card { border-top: 6px solid var(--ss-orange); border-radius: 7px; background: #fff; box-shadow: 0 12px 36px #0003; color: #111; padding: 26px 28px 22px; scroll-margin-top: 24px; }
.ss-lead__form-card h2 { font-size: 29px; line-height: 1.15; margin-bottom: 6px; }
.ss-lead__form-card > p { font-size: 15px; color: var(--ss-muted); margin-bottom: 20px; }
.ss-lead__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; }
.ss-lead__field--full { grid-column: 1 / -1; }
.ss-lead__field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.ss-lead__optional { font-weight: 400; }
.ss-lead__field input, .ss-lead__field select, .ss-lead__field textarea { display: block; width: 100%; min-width: 0; border: 1px solid #ccc; border-radius: 4px; background: #fff; color: #222; font-family: inherit; font-size: 15px; line-height: 1.4; padding: 12px; margin: 0; box-shadow: inset 0 1px 2px #00000008; height: auto; }
.ss-lead__field select { min-height: 47px; padding-right: 24px; appearance: auto; }
.ss-lead__field textarea { resize: vertical; min-height: 90px; }
.ss-lead__field input:focus, .ss-lead__field select:focus, .ss-lead__field textarea:focus { border-color: var(--ss-orange); outline: 2px solid #ff481f26; outline-offset: 1px; }
.ss-lead .ss-lead__button { display: flex; justify-content: center; align-items: center; gap: 26px; background: var(--ss-orange); color: #fff; border: 1px solid var(--ss-orange); border-radius: 5px; padding: 12px 22px; min-height: 43px; font: 700 13px/1.4 Rubik, Arial, sans-serif; text-decoration: none; text-align: center; text-transform: uppercase; cursor: pointer; transition: background .15s; }
.ss-lead .ss-lead__button:hover { background: #df3511; border-color: #df3511; }
.ss-lead__button span { font-size: 23px; line-height: .8; font-weight: 400; }
.ss-lead form .ss-lead__button { width: 100%; margin-top: 16px; min-height: 54px; padding: 15px 18px; font-size: 15px; }
.ss-lead .ss-lead__button:disabled { opacity: .6; cursor: default; }
.ss-lead .ss-lead__form-note { font-size: 12px; color: #747474; text-align: center; margin: 12px 0 0; }
.ss-lead .ss-lead__form-status { background: #fff3ea; color: #6c2a12; padding: 12px; margin-top: 12px; font-size: 13px; border-left: 3px solid var(--ss-orange); }
.ss-lead__form-status a { text-decoration: underline; }

/* 4. Unique service propositions and service cards */
.ss-lead__benefits { background: #fff; padding: 22px 0; }
.ss-lead__benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ss-lead__benefit { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 0 24px; }
.ss-lead__benefit + .ss-lead__benefit { border-left: 1px solid #ddd; }
.ss-lead__benefit h2 { font-size: 15px; line-height: 1.3; letter-spacing: -.025em; text-transform: uppercase; }
.ss-lead__benefit p { font-size: 12px; color: var(--ss-muted); margin-top: 4px; }
.ss-lead__services { padding: 36px 0 42px; }
/* Preserve the default design until Page Builder supplies a widget. Empty editor
   layouts do not suppress the fallback; HTML and native widgets both replace it. */
.ss-lead__services-region:has([data-widget-id]) + .ss-lead__services-default { display: none; }
.ss-lead__service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ss-lead__service img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 10px; }
.ss-lead__service h3 { font-size: 18px; line-height: 1.25; text-transform: uppercase; margin-bottom: 5px; }
.ss-lead__service p { color: var(--ss-muted); font-size: 14px; line-height: 1.5; }
.ss-lead .ss-lead__cta { width: fit-content; margin: 24px auto 0; min-width: 300px; }

/* 5. FAQ: native details/summary for keyboard and touch support */
.ss-lead__faq { border-top: 1px solid #e8e5e1; background: #f0eeeb; padding: 68px 0; }
.ss-lead__faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.ss-lead__faq h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.1; text-transform: uppercase; margin-bottom: 18px; }
.ss-lead__faq p { color: var(--ss-muted); }
.ss-lead__faq .ss-lead__eyebrow { font-size: 13px; }
.ss-lead .ss-lead__text-link { display: inline-block; margin-top: 22px; color: #cc3513; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ss-lead__questions details { background: #fff; border: 1px solid #e3e0db; border-radius: 5px; margin-bottom: 10px; }
.ss-lead__questions summary { cursor: pointer; padding: 18px 44px 18px 20px; font-size: 14px; font-weight: 600; list-style: none; position: relative; }
.ss-lead__questions summary::-webkit-details-marker { display: none; }
.ss-lead__questions summary::after { content: '+'; color: var(--ss-orange); position: absolute; right: 20px; top: 12px; font-size: 24px; font-weight: 400; }
.ss-lead__questions details[open] summary::after { content: '−'; }
.ss-lead__questions details[open] { border-color: #ffb5a3; }
.ss-lead__questions details p { padding: 0 20px 20px; font-size: 14px; line-height: 1.7; }
.ss-lead__questions a { text-decoration: underline; }

/* 6. Customer service and contact information */
.ss-lead__contact { padding: 65px 0 70px; border-top: 4px solid var(--ss-orange); background: #191919; color: #fff; }
.ss-lead__contact .ss-lead__section-heading > p:not(.ss-lead__eyebrow) { color: #bdbdbd; }
.ss-lead__contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.ss-lead__contact-item { text-align: center; padding: 0 24px; }
.ss-lead__contact-item + .ss-lead__contact-item { border-left: 1px solid #444; }
.ss-lead__contact-item .ss-lead__symbol svg { margin: 0 auto 16px; width: 34px; height: 34px; }
.ss-lead__contact-item h3 { font-size: 17px; text-transform: uppercase; margin-bottom: 10px; }
.ss-lead .ss-lead__contact-link { font-size: 18px; font-weight: 500; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.ss-lead__contact-link:hover { text-decoration: underline; }
.ss-lead__contact-item p, .ss-lead__contact-item address { color: #bdbdbd; font-size: 13px; line-height: 1.8; margin: 9px 0 0; font-style: normal; }

/* 7. Tablet and mobile */
@media (max-width: 1100px) {
    .ss-lead__hero-grid { gap: 28px; grid-template-columns: minmax(0, 1fr) 410px; }
    .ss-lead__intro h1 { font-size: 66px; }
    .ss-lead__description { font-size: 16px; }
    .ss-lead-header__nav { gap: 22px; }
    .ss-lead__benefit { gap: 12px; padding: 0 15px; }
    .ss-lead__benefit h2 { font-size: 13px; }
    .ss-lead__desktop-break { display: none; }
    .ss-lead__faq-grid { gap: 40px; }
}
@media (max-width: 767px) {
    .ss-lead__wrap { width: calc(100% - 36px); }
    .ss-lead-header__inner { padding: 8px 18px 12px; gap: 12px; flex-wrap: wrap; }
    .ss-lead-header__logo img { width: 140px; height: 52px; }
    .ss-lead-header__phone { font-size: 16px; gap: 7px; }
    .ss-lead-header__phone svg { width: 17px; height: 17px; }
    .ss-lead-header__nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding-top: 7px; border-top: 1px solid #eee; }
    .ss-lead-header__nav a { font-size: 13px; padding: 6px 0; }
    .ss-lead__hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 36px; padding-bottom: 30px; }
    .ss-lead__hero-media { background-position: 57% top; }
    .ss-lead__hero-media img { object-position: 57% top; }
    .ss-lead__hero::before { background: linear-gradient(180deg, #0009, #0007 45%, #000b); }
    .ss-lead__intro { padding: 0; }
    .ss-lead .ss-lead__eyebrow { font-size: 13px; }
    .ss-lead__intro h1 { font-size: clamp(48px, 11vw, 76px); margin-bottom: 15px; }
    .ss-lead__description { max-width: 470px; }
    .ss-lead__checks { font-size: 14px; margin-top: 20px; }
    .ss-lead__form-card { padding: 26px 22px 22px; }
    .ss-lead__form-card h2 { font-size: 28px; }
    .ss-lead__field input, .ss-lead__field select, .ss-lead__field textarea { font-size: 16px; padding: 12px; }
    .ss-lead__field label { font-size: 13px; }
    .ss-lead__fields { gap: 14px; }
    .ss-lead__benefit-grid, .ss-lead__service-grid, .ss-lead__faq-grid, .ss-lead__contact-grid { grid-template-columns: minmax(0, 1fr); }
    .ss-lead__benefits { padding: 6px 0; }
    .ss-lead__benefit { justify-content: flex-start; padding: 20px 12px; gap: 20px; }
    .ss-lead__benefit + .ss-lead__benefit { border-left: 0; border-top: 1px solid #eee; }
    .ss-lead__benefit h2 { font-size: 15px; }
    .ss-lead__benefit p { font-size: 13px; }
    .ss-lead__services { padding: 36px 0; }
    .ss-lead__service-grid { gap: 28px; }
    .ss-lead__service img { height: 210px; }
    .ss-lead__section-heading h2 { font-size: 29px; }
    .ss-lead .ss-lead__cta { width: 100%; min-width: 0; }
    .ss-lead__faq { padding: 40px 0; }
    .ss-lead__faq-grid { gap: 28px; }
    .ss-lead__faq h2 { font-size: 35px; }
    .ss-lead__contact { padding: 40px 0; }
    .ss-lead__contact-grid { margin-top: 28px; }
    .ss-lead__contact-item { padding: 26px 0; }
    .ss-lead__contact-item + .ss-lead__contact-item { border-left: 0; border-top: 1px solid #444; }
}
@media (max-width: 380px) {
    .ss-lead-header__logo img { width: 118px; }
    .ss-lead-header__phone { font-size: 14px; }
    .ss-lead__fields { grid-template-columns: minmax(0, 1fr); }
}

/* 8. Web3Forms photo upload and honeypot */
.ss-lead__honeypot { display: none; }
.ss-lead .ss-lead__field-help { color: var(--ss-muted); font-size: 12px; line-height: 1.5; margin-top: 7px; }
.ss-lead__field input[type="file"] { font-size: 13px; padding: 8px; }
.ss-lead__field input[type="file"]::file-selector-button { background: #f3f0ec; border: 0; border-radius: 3px; color: #222; font: inherit; font-weight: 500; padding: 8px 12px; margin-right: 10px; cursor: pointer; }

/* 9. Dedicated post-submission landing view, served by the Contact template */
.ss-lead--thanks { display: none; }
.ss-inquiry-received .ss-lead--contact { display: none; }
.ss-inquiry-received .ss-lead--thanks { display: block; }
.ss-thanks { padding: 64px 0 72px; background: radial-gradient(ellipse at top, #ffe2d7, #f5f2ed 65%); }
.ss-thanks__card { max-width: 850px; margin: auto; padding: 48px 56px; border-top: 6px solid var(--ss-orange); border-radius: 10px; background: #fff; box-shadow: 0 16px 50px #29170b12; text-align: center; }
.ss-thanks__check { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 24px; border-radius: 50%; background: #fff0e9; color: var(--ss-orange); font-size: 36px; }
.ss-thanks h1 { font-size: clamp(34px, 4vw, 54px); line-height: 1.08; text-transform: uppercase; margin-bottom: 20px; }
.ss-lead .ss-thanks__intro { color: var(--ss-muted); font-size: 17px; line-height: 1.7; }
.ss-thanks__response { margin: 28px 0; padding: 22px; background: #fff3ec; border: 1px solid #ffddca; border-radius: 6px; }
.ss-thanks__response strong { display: block; font-size: 19px; color: #ac2f12; }
.ss-thanks__response p { color: var(--ss-muted); margin-top: 7px; }
.ss-thanks__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; text-align: left; padding: 8px 0 30px; }
.ss-thanks__steps span { color: var(--ss-orange); font-weight: 700; font-size: 14px; }
.ss-thanks__steps h2 { font-size: 21px; margin: 6px 0 9px; letter-spacing: -.02em; }
.ss-thanks__steps p { font-size: 14px; color: var(--ss-muted); line-height: 1.7; }
.ss-lead .ss-thanks__cta { width: fit-content; margin: 0 auto; padding: 16px 24px; font-size: 14px; }
.ss-lead .ss-thanks__call { color: var(--ss-muted); margin: 22px 0 14px; font-size: 14px; }
.ss-thanks__call a { color: #b62f12; font-weight: 600; white-space: nowrap; }
.ss-thanks__back { font-size: 13px; text-underline-offset: 3px; }
@media (max-width: 767px) {
    .ss-thanks { padding: 28px 0 36px; }
    .ss-thanks__card { padding: 30px 22px; }
    .ss-thanks__steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ss-lead .ss-thanks__intro { font-size: 15px; }
    .ss-thanks__response { padding: 18px; }
    .ss-thanks__response strong { font-size: 17px; }
    .ss-lead .ss-thanks__cta { width: 100%; }
}
