/* TABLET DESIGN - 601px to 1024px */

@media (min-width: 601px) and (max-width: 1024px) {

    body {
        overflow-x: hidden;
    }

    /*=========================
            HEADER
    =========================*/

    .header {
        position: sticky;
        top: 0;
        padding: 24px 36px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        background: #061b1f;
    }

    .brand {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        text-align: left;
    }

    .brand img {
        width: 100px;
        height: auto;
    }

    .brand h2 {
        font-size: 44px;
        line-height: 1;
    }

    .brand p {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px 34px;
    }

    .nav a {
        font-size: 20px;
        font-weight: 700;
        letter-spacing: .5px;
        white-space: nowrap;
    }

    .nav a::after {
        display: none;
    }

    .nav a {
        font-size: 24px;
        font-weight: 700;
    }

    .nav a {
        font-size: 20px;
        font-weight: 700;
        letter-spacing: .5px;
        white-space: nowrap;
    }

    .nav a::after {
        display: none;
    }

    /*=========================
            HERO
    =========================*/

    .hero {
        min-height: auto;
        padding: 70px 36px 60px;
        background-position: center;
    }

    .hero-content {
        padding: 0;
    }

    .hero-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 34px;
    }

    .hero-text {
        width: 100%;
        max-width: 820px;
        margin: 0 auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 56px;
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .subtitle {
        font-size: 30px;
        line-height: 1.4;
    }

    .hero-video {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }

    .hero-video video {
        width: 100%;
        border-radius: 18px;
    }

    .hero-bottom {
        width: 100%;
        max-width: 820px;
        margin: 0 auto;
    }

    .benefits-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 30px;
        margin: 26px 0;
    }

    .benefit {
        align-items: center;
        gap: 12px;
    }

    .benefit .number {
        font-size: 28px;
    }

    .benefits-row p {
        font-size: 22px;
        line-height: 1.4;
        font-weight: 600;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 22px;
        flex-wrap: wrap;
    }

    .call-btn {
        font-size: 22px;
        padding: 18px 42px;
    }

    .phone-link {
        font-size: 24px;
        font-weight: 600;
    }

     .hero h1 {
        font-size: 56px;
        line-height: 1.08;
        margin-bottom: 16px;
    }

    .subtitle {
        font-size: 30px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .hero-video {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }

    .hero-video video {
        width: 100%;
        border-radius: 18px;
    }

    .hero-bottom {
        width: 100%;
        max-width: 820px;
        margin: 0 auto;
    }

    .benefits-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 32px;
        margin: 28px 0;
    }

    .benefit {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .benefit .number {
        font-size: 28px;
    }

    .benefits-row p {
        font-size: 22px;
        line-height: 1.45;
        font-weight: 600;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;
        flex-wrap: wrap;
    }

    .call-btn {
        font-size: 22px;
        padding: 18px 44px;
    }

    .phone-link {
        font-size: 24px;
        font-weight: 600;
    }

    .benefit .number {
        font-size: 30px;
        font-weight: 700;
    }

    .call-btn {
        font-size: 24px;
        font-weight: 700;
        padding: 20px 46px;
        border-radius: 14px;
    }

    .phone-link {
        font-size: 26px;
        font-weight: 600;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 26px;
        flex-wrap: wrap;
        margin-top: 12px;
    }

    /*=========================
        GENERAL SECTIONS
    =========================*/

    .services,
    .info-section,
    .contact-section,
    .estimate-section {
        padding: 65px 36px;
    }

    .section-header p,
    .info-small-title,
    .contact-title p,
    .estimate-title p {
        font-size: 22px;
        font-weight: 700;
        letter-spacing: 5px;
        margin-bottom: 10px;
    }

    .section-header h2,
    .info-text h2,
    .contact-title h2,
    .estimate-title h2,
    .gallery-page .section-header h2 {
        font-size: 58px;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    /*=========================
            SERVICES
    =========================*/

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }

    .service-card {
        border-radius: 18px;
    }

    .service-card img {
        height: 250px;
    }

    .service-content {
        padding: 22px 18px;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 14px;
        line-height: 1.2;
    }

    .service-card p {
        font-size: 20px;
        line-height: 1.6;
    }

    /*=========================
            INFO
    =========================*/

    .info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .info-card {
        min-height: 210px;
        padding: 24px 20px;
        border-radius: 18px;
    }

    .info-card h3 {
        font-size: 30px;
        margin-bottom: 14px;
        line-height: 1.2;
    }

    .info-card p {
        font-size: 20px;
        line-height: 1.6;
    }

    .info-description {
        font-size: 21px;
        line-height: 1.8;
        max-width: 900px;
        margin: 0 auto 35px;
    }

    /*=========================
            CONTACT
    =========================*/

    .contact-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }

    .contact-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 190px;
        padding: 30px 24px;
        border-radius: 18px;
        text-align: center;
    }

    .contact-card h3 {
        font-size: 30px;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .contact-card p,
    .contact-card a {
        font-size: 30px;
        line-height: 1.6;
        word-break: normal;
        overflow-wrap: normal;
    }

    /*=========================
            ORDER
    =========================*/

    /* Phone */

    .contact-card:nth-child(1) {
        order: 1;
    }

    /* Location */

    .contact-card:nth-child(3) {
        order: 2;
    }

    /* Email */

    .contact-card:nth-child(2) {
        order: 3;
        grid-column: 1 / 3;
    }

    .contact-card:nth-child(2) a {
        font-size: 30px;
        white-space: nowrap;
    }

    /*=========================
            GALLERY
    =========================*/

    .gallery-page {
        padding: 65px 36px 75px;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }

    .gallery-grid img {
        width: 100%;
        height: 280px;
        border-radius: 18px;
        object-fit: cover;
    }

    /*=========================
            ESTIMATE
    =========================*/

    .estimate-page {
        padding-top: 65px;
    }

    .estimate-container {
        max-width: 900px;
    }

    .estimate-title h2 {
        font-size: 54px;
        line-height: 1.15;
    }

    .estimate-intro {
        font-size: 22px;
        line-height: 1.8;
        max-width: 760px;
        margin: 0 auto;
    }

    .estimate-form {
        gap: 28px;
    }

    .form-card {
        padding: 30px;
        border-radius: 18px;
    }

    .form-card h3 {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .customer-grid,
    .address-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .customer-name,
    .street-address {
        grid-column: 1;
    }

    .customer-grid input,
    .address-grid input {
        height: 62px;
        font-size: 18px;
    }

    .estimate-type-grid,
    .service-options,
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .estimate-type-grid label,
    .service-option,
    .floors-grid label {
        padding: 20px;
        font-size: 18px;
    }

    .service-option strong {
        font-size: 22px;
    }

    .service-option small {
        font-size: 16px;
        line-height: 1.6;
    }

    textarea {
        min-height: 180px;
        font-size: 18px;
    }

    .location-btn,
    .estimate-btn {
        max-width: 460px;
        padding: 18px 36px;
        font-size: 20px;
        justify-self: center;
    }

    .privacy-text {
        font-size: 16px;
        line-height: 1.7;
    }

}