:root {
    --template-paper: #ffffff;
    --template-soft: #f3f6f8;
    --template-ink: #16202b;
    --template-muted: #5d6875;
    --template-line: #dce2e8;
    --template-brand: #1f4f78;
    --template-brand-dark: #12334f;
    --template-accent: #de6b45;
    --template-accent-ink: #ffffff;
    --template-max: 1160px;
    --template-radius: 7px;
    --template-font: "Segoe UI", Arial, Helvetica, sans-serif;
    --template-display: "Arial Black", "Segoe UI", Arial, sans-serif;
}

html[data-theme="pest"] {
    --template-soft: #f1f5f0;
    --template-ink: #183021;
    --template-muted: #526159;
    --template-line: #d4ded2;
    --template-brand: #2f6a3d;
    --template-brand-dark: #183d25;
    --template-accent: #d3a435;
    --template-accent-ink: #172016;
}

html[data-theme="electrical"] {
    --template-soft: #f1f4f8;
    --template-ink: #171c24;
    --template-muted: #59616c;
    --template-line: #d7dde5;
    --template-brand: #2459a9;
    --template-brand-dark: #17283f;
    --template-accent: #f0c43c;
    --template-accent-ink: #171c24;
}

html[data-theme="store"] {
    --template-soft: #f4f3f1;
    --template-ink: #202225;
    --template-muted: #64676c;
    --template-line: #dedbd6;
    --template-brand: #a04436;
    --template-brand-dark: #292b2e;
    --template-accent: #d75a43;
    --template-accent-ink: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--template-paper);
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    background: var(--template-paper);
    color: var(--template-ink);
    font-family: var(--template-font);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
}

body.demo-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.demo-skip {
    background: #ffffff;
    clip-path: inset(50%);
    color: #111827;
    height: 1px;
    left: 12px;
    overflow: hidden;
    padding: 10px 14px;
    position: absolute;
    top: 12px;
    white-space: nowrap;
    width: 1px;
    z-index: 100;
}

.demo-skip:focus {
    clip-path: none;
    height: auto;
    position: fixed;
    width: auto;
}

.demo-notice {
    align-items: center;
    background: #111923;
    color: #ffffff;
    display: flex;
    font-size: 13px;
    gap: 16px;
    justify-content: center;
    min-height: 38px;
    padding: 7px 18px;
    text-align: center;
}

.demo-notice strong {
    color: #ffffff;
}

.demo-notice a {
    color: #b9d2ff;
    font-weight: 700;
}

.template-header {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--template-line);
    position: relative;
    z-index: 20;
}

.template-nav {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: auto 1fr auto;
    margin: 0 auto;
    max-width: var(--template-max);
    min-height: 76px;
    padding: 0 24px;
}

.template-brand {
    align-items: center;
    display: inline-flex;
    gap: 11px;
    min-width: 0;
    text-decoration: none;
}

.template-brand-mark {
    align-items: center;
    background: var(--template-brand);
    border-radius: 6px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    font-family: var(--template-display);
    font-size: 15px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.template-brand-copy {
    display: grid;
    line-height: 1.15;
}

.template-brand-copy strong {
    font-size: 16px;
}

.template-brand-copy span {
    color: var(--template-muted);
    font-size: 11px;
    margin-top: 3px;
}

.template-nav-links {
    align-items: center;
    display: flex;
    gap: 23px;
    justify-content: center;
}

.template-nav-links a {
    color: var(--template-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.template-nav-links a:hover,
.template-nav-links a:focus-visible {
    color: var(--template-brand);
}

.template-nav-actions {
    align-items: center;
    display: flex;
    gap: 9px;
}

.template-button,
.template-button-secondary {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    min-height: 43px;
    padding: 9px 15px;
    text-decoration: none;
}

.template-button {
    background: var(--template-accent);
    color: var(--template-accent-ink);
}

.template-button:hover,
.template-button:focus-visible {
    filter: brightness(.94);
}

.template-button-secondary {
    background: transparent;
    border-color: var(--template-line);
    color: var(--template-ink);
}

.template-menu-toggle {
    background: transparent;
    border: 1px solid var(--template-line);
    border-radius: 6px;
    color: var(--template-ink);
    cursor: pointer;
    display: none;
    min-height: 42px;
    padding: 8px 12px;
}

.template-hero {
    background-color: var(--template-brand-dark);
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    color: #ffffff;
    min-height: 69vh;
    min-height: 69svh;
    position: relative;
}

.template-hero::before {
    background: rgba(12, 21, 30, .54);
    content: "";
    inset: 0;
    position: absolute;
}

.template-hero-inner {
    align-items: center;
    display: flex;
    margin: 0 auto;
    max-width: var(--template-max);
    min-height: 69vh;
    min-height: 69svh;
    padding: 64px 24px;
    position: relative;
}

.template-hero-copy {
    max-width: 650px;
}

.template-hero-copy.hero-right {
    margin-left: auto;
    max-width: 570px;
}

.template-kicker,
.template-section-label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.template-kicker {
    color: #ffffff;
}

.template-section-label {
    color: var(--template-brand);
}

.template-hero h1 {
    font-family: var(--template-display);
    font-size: 62px;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
}

.template-hero-statement {
    font-size: 22px;
    line-height: 1.45;
    margin: 18px 0 0;
    max-width: 640px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.template-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.template-hero .template-button-secondary {
    border-color: rgba(255, 255, 255, .7);
    color: #ffffff;
}

.template-trust-strip {
    background: var(--template-brand-dark);
    color: #ffffff;
}

.template-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: var(--template-max);
    padding: 0 24px;
}

.template-trust-grid div {
    border-right: 1px solid rgba(255, 255, 255, .18);
    padding: 20px;
}

.template-trust-grid div:last-child {
    border-right: 0;
}

.template-trust-grid strong,
.template-trust-grid span {
    display: block;
}

.template-trust-grid strong {
    font-size: 15px;
}

.template-trust-grid span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    margin-top: 3px;
}

.template-section {
    padding: 76px 24px;
}

.template-section.soft {
    background: var(--template-soft);
}

.template-container {
    margin: 0 auto;
    max-width: var(--template-max);
}

.template-section-head {
    display: grid;
    gap: 11px;
    margin-bottom: 30px;
    max-width: 760px;
}

.template-section-head h2 {
    font-family: var(--template-display);
    font-size: 38px;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0;
}

.template-section-head p {
    color: var(--template-muted);
    font-size: 18px;
    margin: 0;
}

.template-card-grid,
.template-product-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.template-service-card,
.template-product-card {
    background: var(--template-paper);
    border: 1px solid var(--template-line);
    border-radius: var(--template-radius);
    min-width: 0;
    padding: 23px;
}

.template-service-index {
    color: var(--template-brand);
    font-size: 12px;
    font-weight: 900;
}

.template-service-card h3,
.template-product-card h3 {
    font-size: 20px;
    line-height: 1.25;
    margin: 13px 0 8px;
}

.template-service-card p,
.template-product-card p {
    color: var(--template-muted);
    font-size: 15px;
    margin: 0;
}

.template-process {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.template-process-copy h2 {
    font-family: var(--template-display);
    font-size: 38px;
    line-height: 1.12;
    margin: 5px 0 14px;
}

.template-process-copy p {
    color: var(--template-muted);
    font-size: 17px;
}

.template-steps {
    border-top: 1px solid var(--template-line);
}

.template-step {
    display: grid;
    gap: 16px;
    grid-template-columns: 42px 1fr;
    padding: 19px 0;
    border-bottom: 1px solid var(--template-line);
}

.template-step span {
    align-items: center;
    background: var(--template-brand);
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.template-step h3 {
    font-size: 17px;
    margin: 0 0 4px;
}

.template-step p {
    color: var(--template-muted);
    font-size: 14px;
    margin: 0;
}

.template-request-layout {
    align-items: start;
    display: grid;
    gap: 46px;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}

.template-request-copy h2 {
    font-family: var(--template-display);
    font-size: 38px;
    line-height: 1.12;
    margin: 6px 0 14px;
}

.template-request-copy p {
    color: var(--template-muted);
}

.template-contact-list {
    border-top: 1px solid var(--template-line);
    display: grid;
    gap: 0;
    margin-top: 24px;
}

.template-contact-list div {
    border-bottom: 1px solid var(--template-line);
    display: grid;
    gap: 4px;
    padding: 14px 0;
}

.template-contact-list strong {
    font-size: 13px;
}

.template-contact-list span {
    color: var(--template-muted);
}

.template-form {
    background: var(--template-paper);
    border: 1px solid var(--template-line);
    border-radius: var(--template-radius);
    display: grid;
    gap: 15px;
    padding: 25px;
}

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

.template-field {
    display: grid;
    gap: 6px;
}

.template-field.full {
    grid-column: 1 / -1;
}

.template-field label {
    font-size: 13px;
    font-weight: 800;
}

.template-field input,
.template-field select,
.template-field textarea {
    background: #ffffff;
    border: 1px solid #bfc8d1;
    border-radius: 5px;
    color: #16202b;
    min-height: 45px;
    padding: 10px 12px;
    width: 100%;
}

.template-field textarea {
    min-height: 105px;
    resize: vertical;
}

.template-form-status,
.template-portal-status {
    background: var(--template-soft);
    border-left: 3px solid var(--template-brand);
    color: var(--template-ink);
    display: none;
    padding: 12px 14px;
}

.template-form-status.visible,
.template-portal-status.visible {
    display: block;
}

.template-portal-band {
    background: var(--template-brand-dark);
    color: #ffffff;
    padding: 48px 24px;
}

.template-portal-inner {
    align-items: center;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--template-max);
}

.template-portal-inner h2 {
    font-family: var(--template-display);
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 8px;
}

.template-portal-inner p {
    color: rgba(255, 255, 255, .72);
    margin: 0;
    max-width: 680px;
}

.template-portal-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.template-portal-actions .template-button-secondary {
    border-color: rgba(255, 255, 255, .75);
    color: #ffffff;
}

.template-product-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
}

.template-product-category {
    color: var(--template-brand);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.template-product-price {
    font-family: var(--template-display);
    font-size: 24px;
    margin: 18px 0 12px;
}

.template-product-card .template-button {
    width: 100%;
}

.template-cart {
    align-items: center;
    background: var(--template-brand-dark);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
    min-height: 39px;
    padding: 8px 13px;
}

.template-cart-count {
    align-items: center;
    background: var(--template-accent);
    border-radius: 50%;
    color: var(--template-accent-ink);
    display: inline-flex;
    height: 22px;
    justify-content: center;
    min-width: 22px;
}

.template-footer {
    background: #101720;
    color: #ffffff;
    padding: 48px 24px 26px;
}

.template-footer-grid {
    display: grid;
    gap: 34px;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    margin: 0 auto;
    max-width: var(--template-max);
}

.template-footer h2,
.template-footer h3 {
    margin: 0 0 11px;
}

.template-footer h2 {
    font-size: 22px;
}

.template-footer h3 {
    font-size: 13px;
    text-transform: uppercase;
}

.template-footer p,
.template-footer a {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

.template-footer-links {
    display: grid;
    gap: 7px;
}

.template-footer-links a {
    text-decoration: none;
}

.template-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    margin: 34px auto 0;
    max-width: var(--template-max);
    padding-top: 19px;
}

@media (max-width: 940px) {
    .template-nav {
        grid-template-columns: 1fr auto;
    }

    .template-menu-toggle {
        display: inline-flex;
    }

    .template-nav-links,
    .template-nav-actions {
        background: #ffffff;
        display: none;
        grid-column: 1 / -1;
        width: 100%;
    }

    .template-nav-links.open,
    .template-nav-actions.open {
        display: grid;
    }

    .template-nav-links {
        align-items: stretch;
        gap: 0;
        justify-content: stretch;
    }

    .template-nav-links a {
        border-top: 1px solid var(--template-line);
        padding: 13px 2px;
    }

    .template-nav-actions {
        gap: 9px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-bottom: 16px;
    }

    .template-card-grid,
    .template-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .template-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .demo-notice {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        text-align: left;
    }

    .template-nav {
        min-height: 68px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .template-brand-copy span {
        display: none;
    }

    .template-hero,
    .template-hero-inner {
        min-height: 72vh;
        min-height: 72svh;
    }

    .template-hero-inner {
        align-items: flex-end;
        padding: 52px 16px 44px;
    }

    .template-hero-copy.hero-right {
        margin-left: 0;
    }

    .template-hero h1 {
        font-size: 42px;
    }

    .template-hero-statement {
        font-size: 18px;
    }

    .template-hero-actions,
    .template-portal-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .template-hero-actions .template-button,
    .template-hero-actions .template-button-secondary,
    .template-portal-actions .template-button,
    .template-portal-actions .template-button-secondary {
        width: 100%;
    }

    .template-trust-grid,
    .template-card-grid,
    .template-product-grid,
    .template-process,
    .template-request-layout,
    .template-form-grid,
    .template-footer-grid {
        grid-template-columns: 1fr;
    }

    .template-trust-grid div {
        border-bottom: 1px solid rgba(255, 255, 255, .18);
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .template-trust-grid div:last-child {
        border-bottom: 0;
    }

    .template-section {
        padding: 58px 16px;
    }

    .template-section-head h2,
    .template-process-copy h2,
    .template-request-copy h2 {
        font-size: 31px;
    }

    .template-portal-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .template-form {
        padding: 18px;
    }

    .template-field.full {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
