* {
    box-sizing: border-box;
}

:root {
    --page-gutter: 56px;
    --page-width: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #111111;
}

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

img {
    display: block;
    max-width: 100%;
}

main {
    display: block;
}

.site-footer {
    background-color: #ffffff;
}

.site-footer__container {
    width: min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
    padding: 18px 0 46px;
}

.site-footer__top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-footer__line {
    display: block;
    flex: 1 1 auto;
    height: 1px;
    background-color: #f0b445;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.site-footer__nav-link,
.site-footer__nav-separator {
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    color: #30303d;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 42px;
}

.site-footer__meta {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    color: #2f3149;
}

.site-header {
    background-color: #f5f5f5;
}

.site-header__inner {
    width: min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
    padding: 24px 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__brand {
    min-width: 0;
    flex-shrink: 0;
}

.site-header__logo {
    width: 300px;
    height: auto;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-header__menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    background-color: #ffffff;
    color: #111111;
    cursor: pointer;
}

.site-header__toggle-line {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background-color: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__menu.is-open .site-header__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__menu.is-open .site-header__toggle-line:nth-child(2) {
    opacity: 0;
}

.site-header__menu.is-open .site-header__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header__signin {
    font-size: 18px;
    font-weight: 400;
    color: #111111;
}

.site-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px 8px 12px;
    border-radius: 999px;
    background-color: #f7ab16;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.site-header__phone-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header__phone-text {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .site-header__inner {
        gap: 18px;
    }

    .site-header__logo {
        width: 240px;
    }

    .site-header__actions {
        gap: 16px;
    }

    .site-header__signin {
        font-size: 16px;
    }

    .site-header__phone {
        padding: 7px 18px 7px 10px;
        font-size: 16px;
    }

    .site-header__phone-icon {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 768px) {
    :root {
        --page-gutter: 18px;
    }

    .site-header__inner {
        padding: 14px 0;
        align-items: center;
        flex-wrap: nowrap;
        position: relative;
        gap: 12px;
    }

    .site-header__brand {
        align-self: auto;
        margin-right: auto;
        min-width: 0;
        flex: 1 1 auto;
        max-width: calc(100% - 54px);
    }

    .site-header__logo {
        width: 100%;
        max-width: 180px;
    }

    .site-header__menu {
        margin-left: auto;
        justify-content: flex-end;
        flex-shrink: 0;
    }

    .site-header__toggle {
        display: inline-flex;
    }

    .site-header__actions {
        display: none;
    }

    .site-header__menu.is-open {
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
        margin-top: 0;
    }

    .site-header__menu.is-open .site-header__toggle {
        align-self: flex-end;
    }

    .site-header__menu.is-open .site-header__actions {
        display: flex;
        width: min(320px, calc(100vw - (var(--page-gutter) * 2)));
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        border: 1px solid #e5e5e5;
        border-radius: 18px;
        background-color: #ffffff;
        box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        z-index: 10;
    }

    .site-header__signin {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 12px 16px;
        border-radius: 999px;
        background-color: #f3f3f3;
    }

    .site-header__phone {
        margin-left: 0;
        justify-content: center;
    }
}

.home-hero {
    padding: 8px 0 56px;
}

.home-hero__container {
    width: min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
    padding: 0;
}

.home-hero__card {
    position: relative;
    min-height: 760px;
    border-radius: 32px;
    overflow: hidden;
    isolation: isolate;
}

.home-hero__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease;
}

.home-hero__slide.is-active {
    opacity: 1;
}

.home-hero__overlay {
    position: relative;
    z-index: 1;
    min-height: 760px;
    padding: 52px 34px 96px;
    display: flex;
    justify-content: flex-end;
}

.home-hero__content {
    width: min(100%, 500px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.home-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: 4.6rem;
    font-weight: 800;
    line-height: 0.95;
    text-align: right;
    letter-spacing: -0.04em;
    text-shadow: none;
}

.home-hero__title span {
    display: block;
}

.home-hero__title .home-hero__dot {
    display: inline;
}

.home-hero__title-accent,
.home-hero__dot {
    color: #ffb20f;
}

.home-hero__tabs {
    position: absolute;
    right: 8px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-hero__tab {
    min-width: 168px;
    padding: 17px 24px;
    border: 0;
    border-radius: 999px;
    background-color: #000000;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.home-hero__tab:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.home-hero__tab--dark {
    background-color: #2a2621;
}

.home-hero__tab--active {
    background-color: #f7ab16;
    color: #111111;
}

.home-hero__footer {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.home-hero__tagline {
    margin: 0;
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #222222;
}

.home-hero__line {
    width: 100%;
    height: 1px;
    background-color: #f0b445;
}

.home-contact {
    padding: 8px 0 72px;
    background-color: #000000;
}

.home-contact__container {
    width: min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
    padding: 28px 0;
}

.home-contact__frame {
    display: block;
    width: 100%;
    padding: 1px;
    border-radius: 0;
    background-color: transparent;
}

.home-contact__card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    padding: 40px 40px 42px;
    border-radius: 34px;
    background:
        linear-gradient(
            180deg,
            rgba(242, 242, 242, 0.28) 0%,
            rgba(255, 255, 255, 0.98) 8%,
            #ffffff 50%,
            rgba(255, 255, 255, 0.98) 92%,
            rgba(242, 242, 242, 0.28) 100%
        ),
        linear-gradient(
            90deg,
            rgba(242, 242, 242, 0.28) 0%,
            rgba(255, 255, 255, 0.98) 8%,
            #ffffff 50%,
            rgba(255, 255, 255, 0.98) 92%,
            rgba(242, 242, 242, 0.28) 100%
        );
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.015),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.home-contact__visual {
    min-width: 0;
}

.home-contact__heading {
    padding: 20px 0 10px 28px;
}

.home-contact__title {
    margin: 0;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #111111;
}

.home-contact__subtitle {
    margin: 0;
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffa411;
}

.home-contact__image {
    width: 68%;
    height: auto;
    margin: 0 auto;
}

.home-contact__form-panel {
    padding: 12px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffc300 0%, #ffcb06 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.home-contact__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 14px 16px 18px;
}

.home-contact__field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-contact__label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1c1c1c;
}

.home-contact__input,
.home-contact__textarea {
    width: 100%;
    border: 0;
    outline: 0;
    border-radius: 16px;
    background: #ffde59;
    color: #222222;
    font-size: 1rem;
    padding: 18px 16px;
}

.home-contact__input.is-invalid,
.home-contact__textarea.is-invalid {
    box-shadow: inset 0 0 0 2px #d33f3f;
}

.home-contact__input::placeholder,
.home-contact__textarea::placeholder {
    color: rgba(60, 60, 60, 0.45);
}

.home-contact__textarea {
    min-height: 180px;
    resize: vertical;
}

.home-contact__error {
    min-height: 1.1em;
    margin: 0;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    color: #b42318;
}

.home-contact__submit {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 7px 18px 7px 8px;
    border: 0;
    border-radius: 999px;
    background-color: #ffffff;
    color: #111111;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.home-contact__submit:disabled {
    opacity: 0.75;
    cursor: wait;
}

.home-contact__submit-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    flex-shrink: 0;
}

.home-contact__submit-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.home-contact__status {
    min-height: 1.2em;
    margin: 4px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.home-contact__status.is-success {
    color: #147a39;
}

.home-contact__status.is-error {
    color: #b42318;
}

.home-solutions {
    padding: 56px 0 72px;
    background-color: #f5f5f5;
}

.home-solutions__container {
    width: min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
}

.home-solutions__eyebrow {
    margin: 0 0 10px;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.1;
    color: #1d1d1d;
}

.home-solutions__title {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: #0e0e0e;
}

.home-solutions__title-part {
    display: inline;
    white-space: nowrap;
}

.home-solutions__title-part--tail {
    white-space: nowrap;
}

.home-solutions__title-part + .home-solutions__title-part::before {
    content: " ";
}

.home-solutions__title-accent {
    color: #f7ab16;
}

.home-solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.home-solutions__card {
    min-height: 280px;
    padding: 28px 30px 26px;
    border: 3px solid #dcdcdc;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.55);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.home-solutions__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.home-solutions__card-icon {
    width: 110px;
    height: 110px;
    object-fit: contain;
    opacity: 1;
    filter: none;
    flex: 0 0 auto;
}

.home-solutions__card-title {
    margin: 0;
    flex: 1 1 auto;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #dc8a00;
}

.home-solutions__card-copy {
    margin: 0;
    max-width: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    color: #a7accd;
}

.home-solutions__footer {
    position: relative;
    margin-top: 18px;
    min-height: 78px;
    display: flex;
    align-items: center;
}

.home-solutions__line {
    display: block;
    width: calc(100% - 39px);
    height: 2px;
    background-color: #f0b445;
}

.home-solutions__gear {
    position: absolute;
    right: 0;
    top: 50%;
    width: 78px;
    height: 78px;
    transform: translateY(-50%);
    object-fit: contain;
}

.home-support {
    padding: 56px 0 88px;
    background-color: #ffffff;
}

.home-support__container {
    width: min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
}

.home-support__title {
    margin: 0;
    text-align: center;
    font-size: 4rem;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: #20223a;
}

.home-support__title > span {
    display: block;
}

.home-support__title-line {
    display: inline-flex;
    align-items: baseline;
    gap: 0.22em;
    white-space: nowrap;
}

.home-support__title-accent {
    color: #f7ab16;
}

.home-support__intro {
    width: min(100%, 520px);
    margin: 26px auto 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: #626985;
}

.home-support__panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    margin-top: 52px;
    min-height: 330px;
    padding: 52px 48px 54px;
    border: 1.5px solid #f7ab16;
    border-radius: 22px;
    background-color: #f3f3f3;
}

.home-support__item {
    min-width: 0;
}

.home-support__item-title {
    margin: 0 0 18px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
    color: #121212;
}

.home-support__item-copy {
    margin: 0 0 22px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.55;
    color: #626985;
}

.home-support__item-copy--hours {
    margin-bottom: 12px;
}

.home-support__item-strong {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
    color: #121212;
}

.home-support__contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-support__contact {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #121212;
}

.home-support__contact a {
    color: inherit;
}

.home-support__contact-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
    color: #121212;
}

.home-support__contact--email .home-support__contact-icon {
    width: 28px;
    height: 28px;
    font-size: 1.35rem;
}

@media (max-width: 1100px) {
    .home-hero__title {
        font-size: 3.9rem;
    }

    .home-hero__tabs {
        padding-left: 28%;
    }

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

@media (max-width: 900px) {
    .home-hero__card,
    .home-hero__overlay {
        min-height: 620px;
    }

    .home-hero__overlay {
        padding: 36px 24px 112px;
    }

    .home-hero__title {
        font-size: 3.1rem;
    }

    .home-hero__tabs {
        left: 0;
        right: 0;
        bottom: 18px;
        width: 100%;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .home-hero__tab {
        width: 100%;
        min-width: 0;
    }

    .home-hero__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .home-contact__card {
        grid-template-columns: 1fr;
    }

    .home-contact__heading {
        padding-left: 0;
    }

    .home-solutions__grid {
        grid-template-columns: 1fr;
    }

    .home-solutions__card {
        min-height: 280px;
    }

    .home-support__title {
        font-size: 3.2rem;
    }

    .home-support__panel {
        gap: 28px 24px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .site-header__inner {
        padding: 14px 0;
        flex-direction: row;
        align-items: center;
    }

    .site-footer__container {
        padding: 16px 0 30px;
    }

    .site-footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-footer__line {
        width: 100%;
    }

    .site-footer__nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 24px;
    }

    .site-footer__meta {
        font-size: 0.95rem;
    }

    .home-hero__container {
        padding: 0;
    }

    .home-hero__card,
    .home-hero__overlay {
        min-height: 420px;
    }

    .home-hero__card {
        border-radius: 24px;
    }

    .home-hero__slide {
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .home-hero__overlay {
        padding: 24px 18px 138px;
    }

    .home-hero__content {
        width: 100%;
    }

    .home-hero__title {
        font-size: 2rem;
    }

    .home-hero__tabs {
        left: 0;
        right: 0;
        bottom: 16px;
        width: 100%;
        box-sizing: border-box;
        justify-content: flex-end;
        gap: 12px;
    }

    .home-hero__tab {
        width: 100%;
        min-width: 0;
    }

    .home-hero__tagline {
        font-size: 0.88rem;
    }

    .home-contact {
        padding-bottom: 48px;
    }

    .home-contact__card {
        gap: 18px;
        padding: 18px;
        border-radius: 24px;
    }

    .home-contact__title {
        font-size: 2.3rem;
    }

    .home-contact__subtitle {
        font-size: 2rem;
    }

    .home-contact__form-panel {
        padding: 8px;
        border-radius: 22px;
    }

    .home-contact__form {
        padding: 12px;
    }

    .home-solutions {
        padding: 44px 0 54px;
    }

    .home-solutions__eyebrow {
        font-size: 1.2rem;
    }

    .home-solutions__title {
        font-size: 2rem;
    }

    .home-solutions__title-part {
        display: block;
        white-space: normal;
    }

    .home-solutions__title-part--tail {
        white-space: nowrap;
    }

    .home-solutions__title-part + .home-solutions__title-part::before {
        content: none;
    }

    .home-solutions__grid {
        gap: 14px;
        margin-top: 28px;
    }

    .home-solutions__card {
        min-height: 0;
        padding: 18px 18px 20px;
        gap: 14px;
    }

    .home-solutions__card-head {
        gap: 12px;
    }

    .home-solutions__card-icon {
        width: 78px;
        height: 78px;
    }

    .home-solutions__card-title {
        font-size: 1.55rem;
    }

    .home-solutions__card-copy {
        max-width: none;
        font-size: 0.92rem;
    }

    .home-solutions__footer {
        min-height: 54px;
        display: flex;
        align-items: center;
    }

    .home-solutions__line {
        width: calc(100% - 27px);
    }

    .home-solutions__gear {
        width: 54px;
        height: 54px;
    }

    .home-support {
        padding: 44px 0 58px;
    }

    .home-support__title {
        font-size: 2.45rem;
    }

    .home-support__intro {
        margin-top: 18px;
        font-size: 0.95rem;
    }

    .home-support__panel {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 34px;
        padding: 10px 18px;
        border-radius: 18px;
    }

    .home-support__item {
        padding: 24px 0;
        border-bottom: 1px solid rgba(247, 171, 22, 0.24);
    }

    .home-support__item:last-child {
        border-bottom: 0;
    }

    .home-support__item-title {
        margin-bottom: 12px;
        font-size: 1.2rem;
    }

    .home-support__item-copy {
        margin-bottom: 16px;
        font-size: 0.92rem;
    }

    .home-support__item-strong,
    .home-support__contact {
        font-size: 0.96rem;
    }
}

@media (max-width: 520px) {
    :root {
        --page-gutter: 14px;
    }

    .home-support__title {
        font-size: 2rem;
    }

    .home-support__panel {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-support__item {
        padding: 28px 0;
    }

    .site-header__logo {
        max-width: 160px;
    }

    .site-header__toggle {
        width: 42px;
        height: 42px;
    }

    .site-header__signin {
        min-height: 46px;
    }

    .site-header__phone {
        width: auto;
        justify-content: center;
        padding-right: 14px;
        padding-left: 10px;
        font-size: 15px;
    }

    .site-header__phone-text {
        overflow-wrap: anywhere;
    }
}
