@media (max-width: 1280px) {
    .top-contact-inner,
    .main-nav-inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    .main-nav-inner {
        grid-template-columns: 238px minmax(0, 1fr) auto;
        gap: 14px;
    }

    .brand-block {
        padding-right: 30px;
    }

    .brand-block img {
        max-height: 64px;
    }

    .primary-nav {
        gap: 15px;
    }

    .primary-nav a {
        font-size: 14px;
    }

    .quote-button {
        min-width: 122px;
        height: 42px;
        gap: 10px;
        padding-left: 16px;
        font-size: 13px;
    }

    .quote-arrow {
        width: 30px;
        height: 30px;
    }

    .footer-container {
        width: min(100% - 44px, 1180px);
    }

    .footer-main {
        grid-template-columns: 260px 1px repeat(4, minmax(0, 1fr));
        gap: 26px;
    }

    .footer-column h2,
    .footer-contact h2 {
        font-size: 22px;
    }

    .footer-column a,
    .footer-contact li,
    .footer-bottom p {
        font-size: 15px;
    }
}

@media (max-width: 1100px) {
    .top-contact-inner {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .top-contact-left {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .top-separator {
        display: none;
    }

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

    .footer-divider {
        display: none;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-logo {
        align-items: flex-start;
    }

    .footer-accent-line {
        margin-left: 0;
    }

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

    .hero-slider {
        min-height: 600px;
    }

    .hero-overlay::before {
        width: min(660px, 72vw);
    }

    .hero-content {
        width: min(560px, 56vw);
        margin-left: 62px;
    }

    .main-nav-inner {
        grid-template-columns: 230px 1fr auto;
        gap: 14px;
    }
}

@media (max-width: 1040px) {
    .main-nav-inner {
        grid-template-columns: 1fr auto;
        min-height: auto;
        padding: 0 16px;
    }

    .brand-block {
        min-height: 82px;
        width: 230px;
    }

    .brand-block img {
        max-height: 58px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav {
        display: none;
        grid-column: 1 / -1;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 12px;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        min-height: 42px;
        border-bottom: 1px solid #eeeeee;
        font-size: 15px;
    }

    .quote-button {
        grid-column: 1 / -1;
        display: none;
    }

    .hero-slider {
        min-height: 590px;
    }
}

@media (max-width: 600px) {
    .top-contact-inner {
        padding: 10px 16px;
    }

    .top-contact-link {
        align-items: flex-start;
        white-space: normal;
        line-height: 1.35;
    }

    .top-contact-link:nth-of-type(3) {
        display: none;
    }

    .top-social-links {
        display: none;
    }

    .top-social-links a {
        width: 30px;
        height: 30px;
    }

    .brand-block {
        width: min(205px, calc(100vw - 76px));
        min-height: 76px;
        padding-left: 14px;
        padding-right: 24px;
    }

    .brand-block img {
        width: min(150px, 78%);
        max-height: 52px;
    }

    .page-shell {
        padding: 44px 18px;
    }

    .hero-slider {
        min-height: 590px;
    }

    .hero-slide {
        background-position: center right 35%;
    }

    .hero-overlay {
        align-items: flex-end;
    }

    .hero-overlay::before {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 76%;
        border-radius: 42% 42% 0 0;
        background: rgba(2, 18, 42, 0.95);
    }

    .hero-content {
        width: 100%;
        margin: 0;
        padding: 0 22px 82px;
    }

    .hero-content p:first-child {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-title-line {
        margin: 18px 0;
    }

    .hero-copy {
        font-size: 14px;
    }

    .hero-button {
        min-width: 168px;
        min-height: 50px;
        margin-top: 20px;
        font-size: 15px;
    }

    .hero-button span:last-child {
        width: 36px;
        height: 36px;
    }

    .hero-arrow {
        top: 42%;
        width: 42px;
        height: 42px;
        font-size: 34px;
    }

    .hero-arrow-prev {
        left: 14px;
    }

    .hero-arrow-next {
        right: 14px;
    }

    .hero-dots {
        bottom: 34px;
        gap: 12px;
    }

    .hero-dots button {
        width: 13px;
        height: 13px;
    }

    .footer-container {
        width: calc(100% - 36px);
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-logo img {
        max-width: 210px;
        max-height: 96px;
    }

    .footer-column h2,
    .footer-contact h2 {
        margin: 24px 0 18px;
    }

    .footer-column ul,
    .footer-contact ul {
        gap: 16px;
    }

    .footer-bottom {
        align-items: center;
        flex-direction: column;
        gap: 12px;
        padding-right: 62px;
        text-align: center;
    }

    .footer-bottom-separator {
        display: none;
    }
}

@media (max-width: 390px) {
    .brand-block {
        width: min(190px, calc(100vw - 72px));
    }

    .brand-block img {
        width: min(138px, 76%);
        max-height: 48px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .hero-content {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero-content h1 {
        font-size: 30px;
    }
}
