/**
 * Responsive layout refinements.
 */

@media (max-width: 991.98px) {
    .site-header .navbar {
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }

    .site-header .navbar-nav {
        gap: 0.15rem;
        padding-top: 0.35rem;
    }

    .site-header .nav-link {
        padding: 0.7rem 0.95rem;
    }

    .site-header .nav-link::after {
        left: 0.95rem;
        transform: none;
        bottom: 0.45rem;
    }

    .site-header .nav-link:hover::after,
    .site-header .nav-link:focus-visible::after,
    .site-header .nav-link.active::after,
    .site-header .nav-link[aria-current="page"]::after {
        width: 1.25rem;
    }

    .hero-section {
        padding-top: 3.2rem;
        padding-bottom: 3.2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-shell {
        padding: 1.1rem;
    }

    .hero-content,
    .hero-description {
        max-width: none;
    }
}

@media (max-width: 1199.98px) {
    .hero-trust-list {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 0.55rem;
    }

    .hero-trust-list li {
        white-space: normal;
    }
}

@media (min-width: 1200px) {
    .hero-trust-list {
        flex-wrap: nowrap;
        gap: 0.5rem 1.05rem;
    }
}

@media (max-width: 767.98px) {
    .brand-wrap {
        min-width: 185px;
    }

    .logo-image {
        width: 190px;
    }

    .footer-logo img {
        width: 156px;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn,
    .btn-ohb.btn-lg,
    .btn-outline-ohb.btn-lg {
        width: 100%;
    }

    .hero-description {
        font-size: 1.02rem;
        max-width: none;
    }

    .application-card .card-body {
        padding: 1.15rem;
    }

    .trust-row {
        padding: 0.7rem;
    }

    .how-heading {
        margin-bottom: 1.6rem;
    }

    .how-card {
        padding: 1.15rem 1.1rem;
    }

    .how-cta-btn {
        width: 100%;
        white-space: normal;
        line-height: 1.35;
        padding: 0.9rem 1.1rem;
    }

    .contact-hero-shell .how-cta-btn {
        width: 100%;
        min-width: 0;
    }

    .contact-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-hero-shell {
        padding: 1.2rem;
    }

    .contact-hero-lead {
        max-width: none;
    }

    .contact-channels-panel {
        padding: 1.15rem 1rem;
    }

    .contact-guide-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner .btn {
        width: 100%;
        text-align: center;
    }

    .accordion-button {
        font-size: 0.95rem;
        padding: 0.9rem 2.75rem 0.9rem 1rem;
    }

    .faq-more {
        align-items: stretch;
        flex-direction: column;
    }

    .faq-more .btn {
        width: 100%;
        text-align: center;
    }

    .internal-links-block {
        padding: 1.05rem 1rem;
    }

    .internal-links-lead {
        font-size: 0.98rem;
        max-width: none;
        margin-bottom: 0.9rem;
    }

    .internal-links-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .internal-link-chip {
        width: 100%;
        justify-content: center;
        border-radius: 0.75rem;
        min-height: 2.85rem;
        font-size: 0.92rem;
        padding: 0.45rem 0.65rem;
    }

    .internal-links-list .internal-link-chip:last-child {
        grid-column: 1 / -1;
    }

    .profession-card-body {
        padding: 0.95rem 0.95rem 1rem;
    }

    .profession-filters {
        justify-content: flex-start;
    }

    .site-footer {
        padding-bottom: 5.4rem;
    }
}

@media (min-width: 992px) {
    .site-footer {
        padding: 2.35rem 0 1.6rem;
    }

    .footer-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .footer-meta {
        align-items: flex-end;
        text-align: right;
    }

    .footer-links {
        justify-content: flex-end;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
