/* =========================================
   responsive.css
   ========================================= */

/* =========================================
   SECTION: LARGE DESKTOPS / SMALLER LAPTOPS
   max-width: 1399px
   ========================================= */
@media (max-width: 1399px) {
    /* HERO */
    .hero {
        background-position: center center, right 4% bottom 0;
        background-size: cover, auto 88%;
    }
}

/* =========================================
   SECTION: DESKTOP / TABLET LANDSCAPE
   max-width: 1199px
   ========================================= */
@media (max-width: 1199px) {
    /* CONTAINER */
    .container {
        width: min(100%, calc(100% - 40px));
    }

    /* HERO */
    .hero {
        min-height: 92vh;
        padding: 150px 0 100px;
        background-position: center center, right 1% bottom 0;
        background-size: cover, auto 82%;
    }

    .hero-content {
        max-width: 520px;
    }

    .hero h1 {
        font-size: clamp(52px, 6vw, 78px);
        max-width: 8ch;
    }

    .hero-text {
        font-size: 18px;
        max-width: 560px;
    }

    /* ABOUT */
    .about-grid {
        grid-template-columns: 1fr 0.9fr;
    }

    .about-card-media {
        min-height: 560px;
    }
}

/* =========================================
   SECTION: TABLETS
   max-width: 991px
   ========================================= */
@media (max-width: 991px) {
    /* HERO */
    .hero {
        min-height: auto;
        padding: 150px 0 420px;
        background-image:
            linear-gradient(
                to bottom,
                rgba(4, 5, 8, 0.86) 0%,
                rgba(4, 5, 8, 0.92) 48%,
                rgba(4, 5, 8, 0.76) 78%,
                rgba(4, 5, 8, 0.94) 100%
            ),
            url("../images/hero-bg.webp");
        background-repeat: no-repeat, no-repeat;
        background-position: center center, center bottom;
        background-size: cover, auto 56%;
    }

    .hero::after {
        width: 48%;
        height: 12%;
        right: 50%;
        transform: translateX(50%);
        bottom: 6%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        margin-top: 0;
        order: 1;
    }

    .hero h1 {
        max-width: 100%;
    }

    .hero-text {
        max-width: 100%;
    }

    /* GLOBAL GRIDS */
    .benefits-grid,
    .about-grid,
    .pricing-grid,
    .testimonials-grid,
    .contact-details,
    .footer-top,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .pricing-grid,
    .testimonials-grid,
    .gallery-grid {
        gap: 20px;
    }

    /* ABOUT */
    .about {
        padding: 30px 0 90px;
    }

    .about-card-media {
        min-height: 560px;
    }

    /* CONTACT */
    .contact-details {
        gap: 16px;
    }

    /* FOOTER */
    .footer-top {
        gap: 24px;
    }
}

/* =========================================
   SECTION: MOBILE / LARGE PHONES
   max-width: 767px
   ========================================= */
@media (max-width: 767px) {
    /* CONTAINER */
    .container {
        width: min(100%, calc(100% - 32px));
    }

    /* HEADER */
    .site-header {
        padding: 14px 0;
    }

    .header-container {
        justify-content: space-between;
    }

    .nav,
    .header-cta {
        display: none;
    }

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

    .logo {
        font-size: 16px;
        line-height: 1.1;
    }

    /* HERO */
    .hero {
        padding: 130px 0 350px;
        background-image:
            linear-gradient(
                to bottom,
                rgba(4, 5, 8, 0.88) 0%,
                rgba(4, 5, 8, 0.93) 48%,
                rgba(4, 5, 8, 0.78) 78%,
                rgba(4, 5, 8, 0.95) 100%
            ),
            url("../images/hero-bg.webp");
        background-repeat: no-repeat, no-repeat;
        background-position: center center, center bottom;
        background-size: cover, auto 46%;
    }

    .hero::after {
        width: 70%;
        height: 11%;
        bottom: 8%;
    }

    .hero-grid {
        gap: 24px;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        text-align: left;
    }

    .hero-tag {
        font-size: 12px;
        padding: 8px 14px;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 56px);
        line-height: 0.98;
        margin-bottom: 18px;
        max-width: 100%;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 28px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    /* BUTTONS */
    .btn {
        width: 100%;
        min-height: 52px;
    }

    /* BENEFITS */
    .benefits {
        padding: 0 0 70px;
    }

    .benefits-grid {
        gap: 16px;
        margin-top: 0;
    }

    .benefit-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .benefit-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .benefit-card p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* ABOUT */
    .about {
        padding: 20px 0 80px;
    }

    .about h2 {
        max-width: 100%;
        margin-bottom: 18px;
    }

    .about-text {
        font-size: 16px;
        line-height: 1.75;
    }

    .about-points {
        margin-top: 22px;
    }

    .about-point {
        padding: 16px 18px;
        border-radius: 16px;
    }

    .about-card-media {
        min-height: 420px;
        border-radius: 22px;
    }

    .about-card-inner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 20px 18px;
        border-radius: 18px;
    }

    .about-card h3 {
        font-size: 24px;
    }

    /* GALLERY */
    .gallery {
        padding: 20px 0 80px;
    }

    .gallery-grid {
        gap: 16px;
    }

    /* PRICING */
    .pricing {
        padding: 40px 0 80px;
    }

    .pricing-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .price {
        font-size: 28px;
    }

    /* TESTIMONIALS */
    .testimonials {
        padding: 20px 0 80px;
    }

    .testimonial-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .testimonial-text {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 22px;
    }

    /* CONTACT */
    .contact-cta {
        padding: 10px 0 80px;
    }

    .contact-cta-box {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .contact-cta-box h2 {
        max-width: 100%;
        margin-bottom: 16px;
    }

    .contact-cta-text {
        font-size: 16px;
        line-height: 1.75;
        margin-bottom: 24px;
    }

    .contact-cta-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .contact-detail {
        padding: 16px;
        border-radius: 16px;
    }

    /* FOOTER */
    .site-footer {
        padding: 50px 0 24px;
    }

    .footer-top {
        gap: 20px;
    }

    .footer-creator {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-creator-links {
        flex-direction: column;
        width: 100%;
    }

    .footer-creator-links a {
        width: 100%;
    }
}

/* =========================================
   SECTION: SMALL PHONES
   max-width: 575px
   ========================================= */
@media (max-width: 575px) {
    /* CONTAINER */
    .container {
        width: min(100%, calc(100% - 24px));
    }

    /* HEADER */
    .site-header {
        padding: 12px 0;
    }

    .logo {
        font-size: 15px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    /* HERO */
    .hero {
        padding: 120px 0 300px;
        background-image:
            linear-gradient(
                to bottom,
                rgba(4, 5, 8, 0.90) 0%,
                rgba(4, 5, 8, 0.94) 50%,
                rgba(4, 5, 8, 0.80) 80%,
                rgba(4, 5, 8, 0.96) 100%
            ),
            url("../images/hero-bg.webp");
        background-repeat: no-repeat, no-repeat;
        background-position: center center, center bottom;
        background-size: cover, auto 40%;
    }

    .hero-tag {
        font-size: 11px;
        padding: 7px 12px;
    }

    .hero h1 {
        font-size: clamp(34px, 11vw, 46px);
        line-height: 1;
        max-width: 100%;
    }

    .hero-text {
        font-size: 15px;
        margin-bottom: 24px;
        max-width: 100%;
    }

    /* BUTTONS */
    .btn {
        min-height: 50px;
        padding: 0 20px;
        font-size: 14px;
    }

    /* GLOBAL */
    .section-title {
        margin-bottom: 28px;
    }

    /* CARDS */
    .benefit-card,
    .pricing-card,
    .testimonial-card,
    .contact-detail {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* ABOUT */
    .about-card-media {
        min-height: 360px;
    }

    /* CONTACT */
    .contact-cta-box {
        padding: 24px 16px;
    }

    /* FOOTER */
    .footer-creator-logo {
        width: 100px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}

/* =========================================
   SECTION: EXTRA SMALL PHONES
   max-width: 399px
   ========================================= */
@media (max-width: 399px) {
    /* HERO */
    .hero {
        padding: 115px 0 260px;
        background-image:
            linear-gradient(
                to bottom,
                rgba(4, 5, 8, 0.92) 0%,
                rgba(4, 5, 8, 0.95) 50%,
                rgba(4, 5, 8, 0.82) 82%,
                rgba(4, 5, 8, 0.97) 100%
            ),
            url("../images/hero-bg.webp");
        background-repeat: no-repeat, no-repeat;
        background-position: center center, center bottom;
        background-size: cover, auto 34%;
    }

    .hero h1 {
        font-size: clamp(30px, 10vw, 40px);
    }

    .hero-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-tag {
        font-size: 10px;
    }

    /* CONTACT */
    .contact-cta-box {
        padding: 22px 14px;
    }
}