/*==================================================
    VALENTINO X — MOBILE FIXES
    Loaded LAST on every page. Desktop (>=992px) is untouched
    except the logo sizes set in style.css.
==================================================*/

/* ---------- Tablet & below ---------- */
@media (max-width: 991.98px) {
    .navbar .navbar-brand img { height: 48px; width: 48px; }
    .vx-footer-logo { height: 64px; width: 64px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {

    /* Never let content push the page sideways */
    html, body { overflow-x: hidden; }
    .container { padding-left: 20px; padding-right: 20px; }

    /* ----- Headings: smaller, balanced wrapping, no forced <br> ----- */
    .vx-h2,
    .section-header h2,
    .vx-cta-content h2 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 16px;
        text-wrap: balance;
    }
    .vx-page-hero-content h1 {
        font-size: 28px;
        line-height: 1.25;
        text-wrap: balance;
    }
    .vx-h2 br,
    .vx-cta-content h2 br,
    .vx-page-hero-content h1 br { display: none; }

    .vx-menu-panel-head h2 { font-size: 22px; }
    .vx-stat h3.vx-counter { font-size: 30px; }
    .vx-team-label span { font-size: 22px; letter-spacing: 1.5px; padding-bottom: 12px; }
    .vx-team-label span::after { width: 44px; height: 2px; }

    /* Gold underline bars under headings: slimmer */
    .vx-footer-heading { font-size: 18px; margin-bottom: 18px; }
    .vx-footer-heading::after { width: 32px; }

    /* ----- Eyebrow labels: no more clipped text ----- */
    .vx-eyebrow {
        display: block;
        font-size: 11.5px;
        letter-spacing: 1.8px;
        line-height: 1.6;
        margin-bottom: 12px;
        white-space: normal;
    }

    /* ----- Text blocks: one consistent, centred alignment ----- */
    .vx-about-preview { padding: 70px 0; }
    .vx-about-preview .col-lg-6,
    .vx-about-preview .col-lg-5,
    .vx-reveal.vx-reveal-left,
    .vx-reveal.vx-reveal-right { text-align: center; }

    .vx-about-text { font-size: 14.5px; line-height: 1.8; }

    .vx-stats-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin: 26px 0 30px;
        text-align: center;
    }
    .vx-stat span { font-size: 10.5px; letter-spacing: .6px; line-height: 1.5; }

    /* Left/right slide-in made text start off-screen -> fade up instead */
    .vx-reveal.vx-reveal-left,
    .vx-reveal.vx-reveal-right { transform: translateY(30px); }
    .vx-reveal.vx-reveal-left.in-view,
    .vx-reveal.vx-reveal-right.in-view { transform: none; }

    /* Keep list-style blocks readable (left aligned) inside centred columns */
    .vx-info-list,
    .vx-info-item { text-align: left; }

    /* ----- Footer ----- */
    .vx-footer { padding-top: 60px; }
    .vx-footer .col-lg-3,
    .vx-footer .col-lg-4,
    .vx-footer .col-md-6,
    .vx-footer [class*="col-"] { margin-bottom: 30px; }
    .vx-footer-tag { font-size: 13.5px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
    .vx-h2,
    .section-header h2,
    .vx-cta-content h2 { font-size: 24px; }
    .vx-page-hero-content h1 { font-size: 26px; }
    .navbar .navbar-brand img { height: 44px; width: 44px; }
    .vx-footer-logo { height: 60px; width: 60px; }
}
