/* ===================================================
   LINGODEMIA IELTS COACHING - Responsive Stylesheet
   =================================================== */

/* ===================== TABLET (641px - 1024px) ===================== */
@media (max-width: 1024px) {
    /* Typography */
    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    h3 { font-size: 22px; }

    /* Hero */
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__content {
        text-align: center;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta-group {
        justify-content: center;
    }

    .hero__badges {
        justify-content: center;
    }

    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Process */
    .process__steps {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .process__connector {
        display: none;
    }

    .process__step {
        min-width: 220px;
    }

    /* Program */
    .program__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Instructor */
    .instructor__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .instructor__profile-card {
        position: static;
    }

    /* Testimonials */
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer__top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer__links {
        justify-content: center;
    }
}

/* ===================== MOBILE (max-width: 640px) ===================== */
@media (max-width: 640px) {
    /* Typography */
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }

    .section-subtitle {
        font-size: 16px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    /* Navigation */
    .nav {
        height: 64px;
    }

    html {
        scroll-padding-top: 64px;
    }

    .nav__menu {
        display: none;
    }

    .nav__cta {
        display: none;
    }

    .nav__hamburger {
        display: flex;
    }

    .nav__mobile-menu {
        display: block;
        top: 64px;
    }

    .nav__logo-img {
        height: 40px;
    }

    /* Hero */
    .hero {
        padding: 100px 0 50px;
    }

    .hero__title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__cta-group .btn--outline {
        display: none;
    }

    .btn--lg {
        padding: 14px 28px;
        font-size: 16px;
    }

    .hero__badges {
        flex-direction: column;
        gap: 10px;
    }

    .badge {
        justify-content: flex-start;
    }

    .hero__visual {
        max-width: 100%;
    }

    .hero__image-wrapper {
        aspect-ratio: 16 / 10;
    }

    .hero__floating-card {
        font-size: 12px;
        padding: 8px 14px;
    }

    /* Process */
    .process {
        padding: 60px 0;
    }

    .process__steps {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .process__step {
        width: 100%;
        max-width: 100%;
    }

    .process__connector {
        display: none;
    }

    /* Program */
    .program {
        padding: 60px 0;
    }

    .program__includes,
    .program__benefits {
        padding: 24px;
    }

    /* Audience */
    .audience {
        padding: 60px 0;
    }

    .audience__grid {
        grid-template-columns: 1fr;
    }

    /* Instructor */
    .instructor {
        padding: 60px 0;
    }

    .instructor__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .instructor__profile-card {
        position: static;
    }

    .instructor__linkedin-btn {
        width: 100%;
        justify-content: center;
    }

    /* Booking */
    .booking {
        padding: 60px 0;
    }

    .booking__widget {
        min-height: 500px;
    }

    .booking__placeholder {
        min-height: 500px;
    }

    .booking__notes {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* Practice Test Form */
    .practice-test {
        padding: 60px 0;
    }

    .practice-test__form-wrapper {
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .btn--submit {
        width: 100%;
    }

    /* FAQ */
    .faq {
        padding: 60px 0;
    }

    .faq__question {
        padding: 16px 20px;
        font-size: 15px;
    }

    .faq__answer p {
        padding: 0 20px 16px;
        font-size: 14px;
    }

    /* Testimonials */
    .testimonials {
        padding: 60px 0;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px;
    }

    /* Footer */
    .footer__top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px 0;
    }

    .footer__links {
        flex-direction: column;
        gap: 12px;
    }

    .footer__bottom {
        padding: 12px 0;
    }

    /* Sticky CTA */
    .sticky-cta {
        display: block;
    }

    /* WhatsApp Float - adjust for sticky CTA */
    .whatsapp-float {
        bottom: 80px;
    }

    .sticky-cta.visible ~ .whatsapp-float,
    .sticky-cta.visible + .whatsapp-float {
        bottom: 80px;
    }
}

/* ===================== VERY SMALL DEVICES ===================== */
@media (max-width: 380px) {
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }

    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 28px;
    }

    .practice-test__form-wrapper {
        padding: 20px 16px;
    }
}

/* ===================== LARGE DESKTOP ===================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ===================== PRINT STYLES ===================== */
@media print {
    .nav,
    .sticky-cta,
    .whatsapp-float,
    .booking,
    .nav__mobile-menu {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .hero {
        padding-top: 20px;
        min-height: auto;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
