@media (max-width: 991px) {
    .navbar-brand {
        max-width: calc(100% - 76px);
    }
    .navbar-brand span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
    }
    .hero-section {
        min-height: auto;
        padding-top: 62px;
        background-position: 62% center;
    }
    .premium-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .case-study-grid { grid-template-columns: 1fr; }
    .campaign-data-card { grid-template-columns: 1fr; }
    .stats-row, .industry-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-visual { min-height: 360px; }
    .hero-consultation-form { margin: 0; max-width: 100%; }
    .hero-float-card { display: none; }
    .premium-hero h1 { max-width: 760px; }
    .service-detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .website-service-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    h1 { font-size: 40px; }
    .section { padding: 62px 0; }
    .hero-section {
        padding-bottom: 44px;
        background:
            linear-gradient(180deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .62) 54%, rgba(15, 23, 42, .35) 100%),
            url("../images/home-hero-callback.webp") 66% center / cover no-repeat;
    }
    .premium-hero h1 {
        max-width: 100%;
        font-size: 35px;
        line-height: 1.12;
    }
    .hero-copy { max-width: 100%; }
    .hero-offer-line {
        width: 100%;
        text-align: center;
    }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-call-btn {
        align-items: center;
        width: 100%;
        min-width: 0;
    }
    .contact-form-panel { padding: 22px; border-radius: 14px; }
    .contact-form-panel h2 { font-size: 25px; }
    .contact-intro { font-size: 15px; }
    .contact-field { padding: 0 15px; }
    .contact-form-panel.strategy-call-form { padding: 18px; }
    .contact-form-panel.strategy-call-form h2 { font-size: 20px; }
    .hero-proof-row, .premium-service-grid, .stats-row, .industry-grid, .why-grid, .footer-grid, .campaign-data-metrics, .case-metrics { grid-template-columns: 1fr; }
    .hero-proof-row {
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-proof-row div {
        padding: 8px 10px;
    }
    .premium-service-card { min-height: auto; }
    .video-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 20px;
        border-radius: 16px;
        text-align: center;
        background:
            linear-gradient(180deg, rgba(15,23,42,.88), rgba(37,99,235,.76)),
            url("../images/home-hero-callback.webp") center / cover no-repeat;
    }
    .video-panel button {
        width: 74px;
        height: 74px;
        margin: 0 auto;
        box-shadow: 0 14px 34px rgba(15,23,42,.24);
    }
    .video-panel button i { font-size: 22px; }
    .video-panel h2 {
        margin-bottom: 12px;
        font-size: 30px;
        line-height: 1.12;
    }
    .video-panel p {
        margin-bottom: 0;
        font-size: 17px;
        line-height: 1.6;
    }
    .service-detail-list { grid-template-columns: 1fr; }
    .website-service-groups { grid-template-columns: 1fr; }
    .floating-card { position: static; margin-top: 12px; }
    .growth-chart { left: 20px; right: 20px; bottom: 22px; height: 120px; }
    .hero-visual { min-height: 390px; padding: 20px; }
    .footer-bottom { display: block; }
    .float-action,
    .back-to-top {
        width: 50px;
        height: 50px;
        right: 16px;
        font-size: 18px;
    }
    .float-call { bottom: 84px; }
    .float-whatsapp { bottom: 146px; }
    .back-to-top { bottom: 22px; }
    .lead-popup-card {
        padding: 28px 20px 22px;
        border-radius: 16px;
    }
    .lead-popup-card h2 {
        font-size: 26px;
    }
    .lead-popup-card p {
        font-size: 15px;
    }
    .lead-popup-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .video-section .container { padding-inline: 14px; }
    .video-panel {
        min-height: auto;
        padding: 24px 18px;
    }
    .video-panel h2 { font-size: 26px; }
    .video-panel p { font-size: 16px; }
    .float-action,
    .back-to-top {
        width: 46px;
        height: 46px;
        right: 12px;
    }
    .float-call { bottom: 78px; }
    .float-whatsapp { bottom: 132px; }
}
