/* =========================================================
   Responsive: Large Tablet / Small Laptop
   ========================================================= */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero.hero--animated {
        padding: 60px 0 42px;
    }

    .hero--animated h1 {
        max-width: 720px;
        font-size: clamp(2.2rem, 5vw, 3.2rem);
        line-height: 1.06;
    }

    .hero--animated p {
        max-width: 720px;
    }

    .hero-visual {
        min-height: 240px;
        max-width: 420px;
        margin: 20px auto 0;
    }

    .hero-float-card--1 {
        top: -80px;
        right: 0;
    }

    .hero-float-card--2 {
        top: 0px;
        right: -20px;
    }

    .hero-float-card--3 {
        top: 70px;
        right: 50px;
    }
}

/* =========================================================
   Responsive: Tablet
   ========================================================= */
@media (max-width: 992px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-wrap {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
        padding: 12px 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: var(--shadow-lg);
    }

    .site-nav.is-open {
        display: block;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-menu li,
    .nav-menu a {
        width: 100%;
    }

    .nav-menu a {
        display: flex;
        justify-content: flex-start;
    }

    .nav-menu .btn {
        width: 100%;
    }

    .hero {
        padding: 88px 0 76px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }

    .section {
        padding: 72px 0;
    }

    .quote-layout {
        grid-template-columns: 1fr;
    }

    .blog-hero--clean {
        padding: 110px 0 56px;
    }

    .blog-featured-media-section {
        margin-top: -14px;
    }

    .blog-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   Responsive: Mobile
   ========================================================= */
@media (max-width: 768px) {
    .blog-article-content iframe {
        min-height: 240px;
    }

    .client-card {
        width: 170px;
        height: 82px;
    }

    .client-card__link,
    .client-logo-wrap {
        padding: 12px 14px;
    }

    .client-logo {
        max-height: 40px;
    }

    .clients-track {
        gap: 14px;
    }

    .hero-grid {
        opacity: 0.12;
    }

    .hero-spotlight {
        display: none;
    }
}

@media (max-width: 576px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .container {
        width: min(94%, 1200px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-header {
        position: sticky;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-full {
        display: none;
    }

    .logo-short {
        display: inline;
        font-weight: 800;
    }

    .nav-wrap {
        gap: 16px;
        min-height: 68px;
    }

    .hero {
        padding: 64px 0 56px;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 58px 0;
    }

    .section-head {
        margin-bottom: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-form-card,
    .card {
        padding: 22px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .hero.hero--animated {
        padding: 52px 0 36px;
    }

    .hero-kicker {
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: 0.08em;
    }

    .hero--animated h1 {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: clamp(2rem, 8vw, 2.7rem);
        line-height: 1.08;
        text-wrap: pretty;
    }

    .hero--animated p {
        margin-bottom: 20px;
        font-size: 1rem;
        line-height: 1.68;
    }

    .hero-visual {
        display: none;
    }

    .blog-hero {
        align-items: center;
        min-height: 56vh;
        padding: 96px 0 42px;
        background-position: center center;
    }

    .blog-hero-text {
        max-width: 100%;
        padding: 14px 14px 16px;
        border-radius: 16px;
    }

    .blog-breadcrumb {
        margin-bottom: 16px;
        font-size: 13px;
    }

    .blog-hero h1 {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: clamp(2rem, 8vw, 2.7rem);
        line-height: 1.08;
        text-wrap: pretty;
    }

    .blog-hero-excerpt {
        font-size: 15px;
        line-height: 1.65;
    }

    .blog-hero-meta {
        font-size: 13px;
    }

    .blog-article {
        padding: 24px;
    }

    .blog-article-content h2 {
        font-size: 26px;
    }

    .blog-article-content h3 {
        font-size: 22px;
    }

    .blog-card-image {
        height: 200px;
    }

    .blog-cta-actions {
        width: 100%;
    }

    .blog-cta-actions .btn,
    .blog-cta-actions .btn-outline {
        width: 100%;
    }

    .blog-hero--clean {
        padding: 96px 0 42px;
    }

    .blog-featured-media-card {
        border-radius: 16px;
    }

    .blog-featured-media-section {
        margin-top: -8px;
        padding-bottom: 8px;
    }
}

/* =========================================================
   Responsive: Mobile Landscape
   ========================================================= */
@media (max-width: 950px) and (orientation: landscape) {
    .hero.hero--animated {
        padding: 40px 0 30px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero--animated h1,
    .blog-hero h1 {
        font-size: clamp(1.8rem, 3vw, 2.4rem);
        line-height: 1.1;
    }

    .hero--animated p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-visual {
        min-height: 200px;
        display: block;
    }

    .hero-float-card {
        transform: scale(0.85);
    }

    .hero-float-card--1 {
        top: -10px;
        right: -20px;
        animation: floatCardA 6s ease-in-out infinite;
    }

    .hero-float-card--2 {
        top: 10px;
        right: -45px;
        animation: floatCardB 7.2s ease-in-out infinite;
    }

    .hero-float-card--3 {
        top: 25px;
        right: 10px;
        animation: floatCardC 6.5s ease-in-out infinite;
    }
}
