/* =========================================================================
   TranquilCore — Responsive
   ========================================================================= */

/* Large desktops */
@media (min-width: 1400px) {
    .hero {
        min-height: 90vh;
    }
}

/* Tablets and below */
@media (max-width: 991.98px) {
    .section {
        padding: 4.5rem 0;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        padding: 1.2rem;
        margin-top: 0.8rem;
    }

    .navbar .nav-item {
        margin-bottom: 0.35rem;
    }

    .navbar .nav-link {
        padding: 0.6rem 0.9rem !important;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .hero {
        min-height: 78vh;
        padding-top: calc(var(--nav-h) + 2rem);
    }

    .hero-meta {
        gap: 1.4rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.2rem;
    }

    .split-floating {
        right: 1rem;
        bottom: 1rem;
    }
}

/* Phones */
@media (max-width: 575.98px) {
    body {
        font-size: 1rem;
    }

    .section {
        padding: 3.8rem 0;
    }

    .hero {
        min-height: 92vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-sub {
        font-size: 1.08rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .banner-cta {
        padding: 3.4rem 1.5rem;
    }

    .split-img {
        aspect-ratio: 4 / 5;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.6rem;
    }

    .stat-item strong {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 1rem;
    }

    .newsletter-row {
        flex-direction: column;
    }

    .newsletter-row .btn {
        width: 100%;
    }

    .t-quote {
        font-size: 1.25rem;
    }

    .cookie-card {
        padding: 2rem 1.5rem 1.6rem;
    }
}

/* Small phones */
@media (max-width: 359.98px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .brand-text {
        font-size: 1.3rem;
    }
}

/* Landscape phones */
@media (max-height: 560px) and (orientation: landscape) {
    .hero {
        min-height: 640px;
    }
}
