* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f3f6fb;
    color: #142033;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    align-items: center;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(8, 33, 69, .08);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.brand,
.site-nav,
.hero-actions,
.header-phone {
    align-items: center;
    display: flex;
}

.brand {
    color: #082145;
    font-size: 21px;
    font-weight: 900;
    gap: 10px;
}

.brand-logo img {
    display: block;
    height: 46px;
    max-width: 220px;
    object-fit: contain;
}

.site-nav {
    gap: 24px;
}

.site-nav a {
    color: #475569;
    font-size: 14px;
    font-weight: 800;
}

.site-nav a:hover {
    color: #007aff;
}

.header-phone,
.primary-btn,
.secondary-btn {
    border-radius: 999px;
    font-size: 15px;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
}

.header-phone,
.primary-btn {
    background: #007aff;
    color: #ffffff;
}

.secondary-btn {
    background: rgba(255, 255, 255, .13);
    color: #ffffff;
}

.hero {
    align-items: center;
    background: radial-gradient(circle at 86% 12%, rgba(247, 189, 65, .24), transparent 28%), #082145;
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(0, 1fr) 400px;
    min-height: 610px;
    padding: 78px 32px 70px;
}

.hero-content,
.section,
.quote-builder-wrap,
.brand-strip-heading {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    width: 100%;
}

.hero-content {
    color: #ffffff;
    max-width: 720px;
}

.eyebrow {
    color: #f7bd41;
    display: block;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(44px, 7vw, 78px);
    line-height: .95;
    margin: 0 0 22px;
}

.hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.58;
    margin: 0;
    max-width: 620px;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
    display: grid;
    gap: 12px;
    padding: 18px;
}

.hero-card div {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: grid;
    gap: 5px;
    padding: 18px;
}

.hero-card span {
    color: #082145;
    font-size: 15px;
    font-weight: 900;
}

.hero-card strong {
    color: #007aff;
    font-size: 28px;
}

.hero-card small {
    color: #64748b;
    font-size: 14px;
}

.brand-strip {
    background: #ffffff;
    padding: 42px 0;
}

.brand-strip-heading {
    margin-bottom: 22px;
    padding: 0 32px;
}

.brand-strip-heading h2 {
    color: #082145;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    margin: 0 0 14px;
    max-width: 760px;
}

.brand-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.brand-slider::before,
.brand-slider::after {
    content: "";
    height: 100%;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 120px;
    z-index: 2;
}

.brand-slider::before {
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
    left: 0;
}

.brand-slider::after {
    background: linear-gradient(270deg, #ffffff, rgba(255, 255, 255, 0));
    right: 0;
}

.brand-track {
    animation: slideBrands 30s linear infinite;
    display: flex;
    gap: 0;
    width: max-content;
    will-change: transform;
}

.brand-slider:hover .brand-track {
    animation-play-state: paused;
}

.brand-set {
    display: flex;
    flex-shrink: 0;
    gap: 18px;
    padding-right: 18px;
}

.repair-brand {
    align-items: center;
    background: transparent;
    border: 0;
    display: inline-flex;
    height: 96px;
    justify-content: center;
    min-width: 210px;
    padding: 0;
}

.brand-logo-img {
    display: block;
    max-height: 86px;
    max-width: 190px;
    object-fit: contain;
}

.brand-fallback {
    color: #082145;
    display: none;
    font-size: 15px;
    font-weight: 900;
}

.repair-brand.logo-missing .brand-logo-img {
    display: none;
}

.repair-brand.logo-missing .brand-fallback {
    display: inline;
}

@keyframes slideBrands {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.section {
    padding: 72px 32px;
}

.section-heading {
    max-width: 700px;
}

.section-heading h2,
.picker-panel h2 {
    color: #082145;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    margin: 0 0 14px;
}

.section-heading p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 28px;
}

.plan-grid,
.included-grid,
.steps-grid {
    display: grid;
    gap: 22px;
}

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

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

.plan-card,
.included-grid article,
.steps-grid article,
.faq-list details {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(20, 32, 51, .08);
    padding: 28px;
}

.plan-card.featured {
    border-color: #f7bd41;
    box-shadow: 0 18px 42px rgba(247, 189, 65, .2);
}

.plan-card > span {
    color: #007aff;
    font-size: 14px;
    font-weight: 900;
}

.plan-card h3 {
    color: #082145;
    font-size: 38px;
    margin: 10px 0;
}

.plan-card h3 small {
    color: #6b7280;
    font-size: 16px;
}

.plan-card p,
.included-grid li,
.steps-grid p,
.faq-list p {
    color: #64748b;
    line-height: 1.55;
}

.plan-card ul,
.included-grid ul {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding-left: 20px;
}

.quote-section {
    background: #082145;
    padding: 74px 32px;
}

.quote-builder-wrap {
    align-items: start;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 390px;
}

.picker-panel .eyebrow,
.picker-panel h2 {
    color: #ffffff;
}

.picker-panel h2 {
    margin-bottom: 26px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.category-tab {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    min-height: 42px;
    padding: 11px 20px;
}

.category-tab:hover {
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
}

.category-tab.active {
    background: #007aff;
    color: #ffffff;
}

.appliance-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fill, 140px);
}

.appliance-item {
    align-items: center;
    appearance: none;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 15px;
    color: #142033;
    cursor: pointer;
    display: grid;
    grid-template-rows: 66px minmax(32px, auto);
    height: 140px;
    justify-items: center;
    padding: 16px 12px 12px;
    position: relative;
    text-align: center;
    width: 140px;
}

.appliance-item:hover,
.appliance-item.selected {
    border-color: #007aff;
    transform: translateY(-2px);
}

.add-btn {
    align-items: center;
    background: #007aff;
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    display: flex;
    font-size: 17px;
    font-weight: 900;
    height: 24px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 24px;
}

.appliance-icon {
    align-items: center;
    display: flex;
    height: 66px;
    justify-content: center;
    margin-top: 6px;
    width: 88px;
}

.appliance-icon img {
    display: block;
    max-height: 64px;
    max-width: 82px;
    object-fit: contain;
}

.appliance-item p {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.cart-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .22);
    overflow: hidden;
    position: sticky;
    top: 92px;
}

.cart-header {
    align-items: center;
    background: #f7bd41;
    display: flex;
    justify-content: space-between;
    padding: 20px 24px;
}

.cart-header h2 {
    color: #082145;
    font-size: 22px;
    margin: 0;
}

.cart-icon {
    align-items: center;
    background: rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: #082145;
    display: flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.cart-icon svg,
.item-actions svg {
    fill: currentColor;
}

.cart-icon svg {
    height: 18px;
    width: 18px;
}

.billing-type,
.cart-items,
.cart-total {
    padding: 16px 18px;
}

.billing-type > span {
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 10px;
}

.billing-toggle {
    background: #edf2f7;
    border-radius: 999px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
}

.billing-btn {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #475569;
    cursor: pointer;
    font-weight: 900;
    min-height: 38px;
}

.billing-btn.active {
    background: #007aff;
    color: #ffffff;
}

.cart-items {
    border-top: 1px solid #e5e7eb;
    min-height: 148px;
}

.empty-cart,
.cart-message {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.cart-message {
    color: #b45309;
    font-weight: 900;
    margin-top: 10px;
}

.cart-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-item {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 9px 10px;
}

.item-detail {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.item-detail strong {
    font-size: 13px;
    line-height: 1.2;
}

.item-detail small {
    color: #6b7280;
    font-size: 11px;
    line-height: 1.25;
}

.item-actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.item-actions button {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    width: 32px;
}

.item-actions svg {
    height: 20px;
    width: 20px;
}

.edit-btn:hover {
    background: rgba(10, 122, 223, .1);
    color: #0a7adf;
}

.delete-btn:hover {
    background: #ffdada;
    color: #ef4444;
}

.add-another-btn,
.checkout-btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    width: 100%;
}

.add-another-btn {
    background: transparent;
    border-top: 1px solid #e5e7eb;
    color: #007aff;
    padding: 13px 18px;
}

.cart-total {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    display: grid;
    gap: 8px;
}

.cover-row,
.setup-row,
.total-row {
    align-items: baseline;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.cover-row,
.setup-row {
    color: #475569;
    font-size: 14px;
}

.cover-row strong,
.setup-row strong {
    color: #142033;
}

.total-row {
    color: #142033;
    font-size: 17px;
    font-weight: 900;
}

.total-amount {
    color: #007aff;
    font-size: 24px;
}

.total-period {
    color: #6b7280;
    font-size: 13px;
    text-align: right;
}

.checkout-btn {
    background: #007aff;
    color: #ffffff;
    font-size: 15px;
    padding: 15px 20px;
}

.included-section {
    background: #ffffff;
    max-width: none;
}

.included-section .section-heading,
.included-section .included-grid {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.included-grid article {
    box-shadow: none;
}

.included-grid h3,
.steps-grid h3 {
    color: #082145;
    margin-top: 0;
}

.steps-grid b {
    align-items: center;
    background: #f7bd41;
    border-radius: 999px;
    color: #082145;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 900px;
}

.faq-list summary {
    color: #082145;
    cursor: pointer;
    font-weight: 900;
}

.contact-section {
    background: #ffffff;
    max-width: none;
}

.contact-wrap {
    align-items: start;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) 560px;
    margin: 0 auto;
    max-width: 1200px;
}

.contact-copy h2 {
    color: #082145;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 620px;
}

.contact-copy p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.58;
    margin: 0;
    max-width: 560px;
}

.contact-methods {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.contact-methods a {
    color: #007aff;
    font-size: 17px;
    font-weight: 900;
}

.contact-form {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(20, 32, 51, .08);
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form span {
    color: #082145;
    font-size: 13px;
    font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    appearance: none;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #142033;
    font-size: 15px;
    font-weight: 700;
    min-height: 48px;
    padding: 13px 14px;
    width: 100%;
}

.contact-form textarea {
    line-height: 1.45;
    min-height: 132px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, .14);
    outline: 0;
}

.contact-form small {
    color: #b91c1c;
    font-weight: 800;
}

.full-field,
.form-status,
.contact-submit {
    grid-column: 1 / -1;
}

.form-status {
    border-radius: 12px;
    font-weight: 900;
    line-height: 1.45;
    padding: 12px 14px;
}

.form-status.success {
    background: #dcfce7;
    color: #166534;
}

.form-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.hidden-field {
    display: none;
}

.contact-submit {
    appearance: none;
    background: #007aff;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    justify-self: start;
    min-height: 48px;
    padding: 13px 28px;
}

.contact-submit:hover {
    background: #0067d8;
}

.site-footer {
    background: #061a36;
    color: #ffffff;
    padding: 44px 32px;
}

.footer-inner {
    align-items: start;
    display: flex;
    gap: 34px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
}

.footer-inner p {
    color: rgba(255, 255, 255, .72);
    line-height: 1.5;
    margin: 14px 0 0;
    max-width: 360px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: flex-end;
    max-width: 620px;
}

.footer-links a {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    font-weight: 800;
}

.footer-links a:hover {
    color: #f7bd41;
}

.legal-page {
    background: #f3f6fb;
}

.legal-hero {
    background: #082145;
    color: #ffffff;
    padding: 74px 32px;
}

.legal-hero > * {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 920px;
}

.legal-hero h1 {
    color: #ffffff;
    font-size: clamp(42px, 6vw, 68px);
    line-height: .98;
    margin-bottom: 18px;
    margin-top: 0;
}

.legal-hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.58;
    margin-bottom: 18px;
}

.legal-hero small {
    color: rgba(255, 255, 255, .64);
    font-weight: 800;
}

.legal-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(20, 32, 51, .08);
    margin: -34px auto 72px;
    max-width: 920px;
    padding: 42px;
    position: relative;
}

.legal-content h2 {
    color: #082145;
    font-size: 25px;
    line-height: 1.2;
    margin: 34px 0 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: #475569;
    font-size: 16px;
    line-height: 1.68;
}

.legal-content ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 22px;
}

.legal-warning {
    background: #fff8e6;
    border: 1px solid #f7bd41;
    border-radius: 12px;
    color: #614700;
    line-height: 1.55;
    margin-top: 32px;
    padding: 18px;
}

.appliance-modal[hidden] {
    display: none;
}

.appliance-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 50;
}

.modal-backdrop {
    background: rgba(1, 12, 26, .82);
    backdrop-filter: blur(6px);
    inset: 0;
    position: absolute;
}

.modal-panel {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
    max-width: 620px;
    padding: 40px;
    position: relative;
    width: min(100%, 620px);
}

.modal-close {
    align-items: center;
    appearance: none;
    background: #f3f4f6;
    border: 0;
    border-radius: 999px;
    color: #303238;
    cursor: pointer;
    display: flex;
    font-size: 22px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 36px;
}

.modal-panel h2 {
    color: #303238;
    font-size: 30px;
    line-height: 1.12;
    margin: 0 44px 10px 0;
}

.modal-panel p {
    color: #63666d;
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 34px;
}

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

.field {
    display: block;
    position: relative;
}

.field span {
    color: #082145;
    font-size: 13px;
    font-weight: 900;
    left: 24px;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.field input,
.field select {
    appearance: none;
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(20, 32, 51, .11);
    color: #142033;
    font-size: 14px;
    font-weight: 800;
    min-height: 52px;
    padding: 16px 24px;
    width: 100%;
}

.field select {
    cursor: pointer;
    padding-right: 44px;
}

.field.has-value span {
    display: none;
}

.modal-submit {
    align-items: center;
    appearance: none;
    background: #007aff;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    gap: 9px;
    grid-column: 1 / -1;
    justify-content: center;
    justify-self: center;
    font-size: 14px;
    font-weight: 900;
    min-height: 50px;
    min-width: 256px;
    padding: 14px 28px;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .site-header {
        flex-wrap: wrap;
    }

    .site-nav {
        order: 3;
        width: 100%;
    }

    .hero,
    .quote-builder-wrap {
        grid-template-columns: 1fr;
    }

    .cart-section {
        position: static;
    }

    .plan-grid,
    .included-grid,
    .steps-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        display: grid;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .site-header,
    .hero,
    .brand-strip-heading,
    .section,
    .quote-section,
    .site-footer,
    .legal-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-nav {
        display: none;
    }

    .header-phone {
        font-size: 13px;
        padding: 10px 14px;
    }

    .hero {
        min-height: auto;
        padding-bottom: 44px;
        padding-top: 44px;
    }

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

    .brand-slider::before,
    .brand-slider::after {
        width: 42px;
    }

    .repair-brand {
        height: 82px;
        min-width: 178px;
    }

    .brand-logo-img {
        max-height: 72px;
        max-width: 162px;
    }

    .appliance-grid {
        grid-template-columns: repeat(2, 140px);
        justify-content: center;
    }

    .modal-panel {
        padding: 28px 20px;
    }

    .details-form {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }

    .legal-content {
        border-radius: 0;
        margin-bottom: 44px;
        padding: 28px 20px;
    }
}
