/*
|--------------------------------------------------------------------------
| Europe Chauffeur - Responsive Fix Patch
|--------------------------------------------------------------------------
| Put this file at: public/css/responsive-fix.css
| Load it AFTER /css/app.css
|--------------------------------------------------------------------------
*/

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe,
input,
select,
textarea,
button {
    max-width: 100%;
}

.container-lux {
    min-width: 0;
}

@media (max-width: 1023px) {

    .header-actions {
        display: none !important;
    }

    .site-header .header-inner {
        gap: 1rem;
    }

    .site-header .logo {
        min-width: 0;
        flex-shrink: 1;
    }

    .site-header .logo img {
        max-width: 150px;
        height: auto !important;
    }

    .menu-toggle {
        flex: 0 0 auto;
    }

    .mobile-nav {
        max-height: calc(100dvh - 4.5rem);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .mobile-nav ul {
        padding-bottom: 2rem;
    }

    .detail-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .detail-grid > * {
        min-width: 0;
    }

    .page-hero {
        padding-top: 8rem;
        padding-bottom: 2rem;
    }

    .breadcrumb {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.25rem 0;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .breadcrumb .current {
        overflow-wrap: anywhere;
    }

    .fleet-card .body {
        align-items: flex-start;
    }

    .fleet-specs {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }

    .cta-band .actions {
        align-items: stretch;
    }

    .cta-band .meta {
        line-height: 1.6;
    }

    .detail-grid .fleet-card .media,
    .detail-grid .fleet-card .media img {
        min-height: 0 !important;
    }

    .blog-featured {
        grid-template-columns: 1fr !important;
    }

    .blog-featured-body {
        min-width: 0;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .article-shell {
        width: 100%;
        max-width: 100%;
    }

    .related-blog-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {

    .container-lux {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-header .header-inner {
        height: 4.5rem;
    }

    .site-header .logo img {
        width: auto;
        max-width: 125px;
        min-width: 0 !important;
        height: auto !important;
    }

    .section {
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
    }

    .section-tight {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .section-header .intro {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .eyebrow {
        letter-spacing: 0.2em;
        line-height: 1.5;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: clamp(2.1rem, 10vw, 2.75rem);
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    .hero-text p.lead {
        margin-top: 1.4rem;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-cta {
        margin-top: 1.75rem;
        gap: 0.65rem;
    }

    .hero-badges {
        margin-top: 2rem;
        gap: 0.8rem 1rem;
        font-size: 0.65rem;
        line-height: 1.5;
    }

    .image-hero {
        height: auto !important;
        min-height: 500px !important;
    }

    .image-hero .content {
        min-height: 500px;
        padding-top: 7rem;
        padding-bottom: 2.5rem;
        justify-content: flex-end;
    }

    .image-hero h1 {
        font-size: clamp(2.25rem, 11vw, 3rem);
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    .image-hero .content > p:not(.eyebrow) {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    .page-hero {
        padding-top: 7rem;
        padding-bottom: 0.5rem;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 10vw, 2.6rem);
        line-height: 1.05;
        overflow-wrap: anywhere;
    }

    .hero-cta,
    .stub-actions,
    .cta-band .actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn-gold,
    .hero-cta .btn-ghost-light,
    .hero-cta .btn-ghost-dark,
    .stub-actions .btn-gold,
    .stub-actions .btn-ghost-light,
    .stub-actions .btn-ghost-dark,
    .cta-band .actions .btn-gold,
    .cta-band .actions .btn-ghost-light,
    .cta-band .actions .btn-ghost-dark {
        width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-item {
        padding: 1.6rem 0.65rem;
    }

    .trust-item:nth-child(2n) {
        border-right: 0;
    }

    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .trust-item .num {
        font-size: 1.75rem;
    }

    .trust-item .label {
        font-size: 0.58rem;
        letter-spacing: 0.13em;
        line-height: 1.5;
    }

    .card-grid.cols-2,
    .card-grid.cols-3,
    .card-grid.cols-4,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
    }

    .card-grid {
        gap: 1rem;
    }

    .tile .tile-body {
        padding: 1rem;
    }

    .tile .tile-body h3 {
        font-size: 1.2rem;
    }

    .fleet-card .body {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .fleet-card .body h3 {
        font-size: 1.4rem;
    }

    .fleet-specs {
        width: 100%;
        justify-content: flex-start;
        font-size: 0.65rem;
        letter-spacing: 0.11em;
    }

    .dest-card {
        aspect-ratio: 4 / 5;
    }

    .dest-card .info {
        padding: 1.2rem;
    }

    .dest-card .info h3 {
        font-size: 1.35rem;
    }

    .pillars {
        grid-template-columns: 1fr !important;
        margin-top: 2.5rem;
        gap: 2rem;
    }

    .booking-widget {
        padding: 1.25rem;
    }

    .booking-widget .bw-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .bw-form {
        grid-template-columns: 1fr !important;
    }

    .bw-field,
    .bw-field.full,
    .bw-submit,
    .bw-fineprint {
        grid-column: 1 !important;
        min-width: 0;
    }

    .bw-field input,
    .bw-field select,
    .bw-field textarea {
        min-width: 0;
        font-size: 16px;
    }

    .detail-grid {
        margin-top: 1.75rem;
        gap: 2rem;
    }

    .detail-grid .fleet-card .media {
        aspect-ratio: 16 / 10;
        min-height: 0 !important;
    }

    .detail-grid .fleet-card .media img {
        min-height: 0 !important;
        height: 100% !important;
    }

    .sidebar-card {
        padding: 1.25rem;
    }

    .sidebar-card li a {
        gap: 1rem;
    }

    .check-list {
        grid-template-columns: 1fr !important;
    }

    .spec-list .row {
        gap: 1rem;
    }

    .spec-list dd {
        text-align: right;
        justify-content: flex-end;
    }

    .contact-list {
        margin-top: 2rem;
    }

    .contact-list li {
        min-width: 0;
    }

    .contact-list li > div {
        min-width: 0;
        width: 100%;
    }

    .contact-list a.big,
    .footer-contact a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .reviews-carousel {
        margin-top: 2.25rem;
        padding: 0 0 4rem !important;
    }

    .reviews-viewport {
        width: 100%;
    }

    .reviews-track {
        gap: 1rem;
    }

    .review-slide {
        min-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .review-slide .testimonial {
        padding: 1.4rem;
    }

    .testimonial blockquote {
        font-size: 1.1rem;
        line-height: 1.55;
    }

    .review-arrow {
        top: auto !important;
        bottom: 0;
        transform: none !important;
        width: 38px;
        height: 38px;
    }

    .review-prev {
        left: calc(50% - 52px) !important;
    }

    .review-next {
        right: calc(50% - 52px) !important;
    }

    .review-dots {
        position: absolute;
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
        margin: 0;
        max-width: 90px;
    }
    .review-arrow{
        display:none !important;
    }

    .blog-featured {
        grid-template-columns: 1fr !important;
    }

    .blog-featured-media,
    .blog-featured-media img {
        min-height: 0 !important;
    }

    .blog-featured-media {
        aspect-ratio: 16 / 10;
    }

    .blog-featured-media img {
        height: 100% !important;
    }

    .blog-featured-body {
        padding: 1.5rem !important;
    }

    .blog-featured-body h2 {
        font-size: clamp(1.8rem, 8vw, 2.2rem) !important;
        overflow-wrap: anywhere;
    }

    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .blog-card-body {
        padding: 1.25rem !important;
    }

    .blog-card h3 {
        font-size: 1.35rem !important;
        overflow-wrap: anywhere;
    }

    .article-shell h1 {
        font-size: clamp(2rem, 9vw, 2.65rem) !important;
        overflow-wrap: anywhere;
    }

    .article-cover {
        margin-top: 2rem !important;
    }

    .article-cover img {
        max-height: none !important;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .article-content {
        margin-top: 2rem !important;
    }

    .article-content > p,
    .article-section p {
        font-size: 0.96rem !important;
        line-height: 1.8 !important;
    }

    .article-section {
        margin-top: 2.25rem !important;
    }

    .article-section h2 {
        font-size: 1.65rem !important;
        line-height: 1.15;
    }

    .article-note {
        margin-top: 2rem !important;
        padding: 1.25rem !important;
    }

    .article-meta {
        gap: 0.5rem !important;
        line-height: 1.5;
    }

    .faq-item summary {
        gap: 1rem;
        padding: 1.2rem 0;
    }

    .faq-item summary .q {
        min-width: 0;
        font-size: 1.05rem;
        line-height: 1.45;
    }

    .faq-item summary .plus {
        flex: 0 0 auto;
    }

    .cta-band h2 {
        font-size: clamp(2rem, 9vw, 2.6rem);
        overflow-wrap: anywhere;
    }

    .cta-band .sub {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .cta-band .meta {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }

    .footer-inner {
        grid-template-columns: 1fr !important;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
        gap: 2.5rem;
    }

    .footer-logo img {
        max-width: 150px;
        height: auto;
    }

    .footer-bottom {
        margin-top: 2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom nav {
        gap: 0.75rem 1.25rem;
    }

    .mobile-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mobile-bar a {
        min-width: 0;
        padding: 0.75rem 0.3rem;
        font-size: 0.62rem;
        letter-spacing: 0.08em;
        white-space: nowrap;
    }

    .mobile-bar-spacer {
        height: 3.25rem;
    }
}

@media (max-width: 480px) {

    .container-lux {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .hero-content {
        padding-top: 6.25rem;
    }

    .hero-text h1 {
        font-size: clamp(1.95rem, 10vw, 2.35rem);
    }

    .image-hero {
        min-height: 470px !important;
    }

    .image-hero .content {
        min-height: 470px;
        padding-top: 6.25rem;
        padding-bottom: 2rem;
    }

    .image-hero h1 {
        font-size: clamp(2rem, 10vw, 2.55rem);
    }

    .page-hero h1 {
        font-size: clamp(1.9rem, 10vw, 2.35rem);
    }

    .testimonial {
        padding: 1.25rem;
    }

    .testimonial blockquote {
        font-size: 1.05rem;
    }

    .sidebar-card {
        padding: 1rem;
    }

    .contact-list .icon-box {
        width: 2.2rem;
        height: 2.2rem;
    }

    .contact-list a.big {
        font-size: 1.2rem !important;
    }

    .blog-meta,
    .article-meta {
        font-size: 0.72rem !important;
    }

    .cta-band h2 {
        font-size: 2rem;
    }
}

@media (max-width: 360px) {

    .container-lux {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .site-header .logo img {
        max-width: 110px;
    }

    .btn-gold,
    .btn-ghost-light,
    .btn-ghost-dark {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.75rem;
        letter-spacing: 0.06em;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .image-hero h1 {
        font-size: 2rem;
    }

    .trust-item {
        padding: 1.4rem 0.45rem;
    }

    .trust-item .label {
        letter-spacing: 0.09em;
    }

    .mobile-bar a {
        font-size: 0.56rem;
        letter-spacing: 0.04em;
    }
}

@media (min-width: 1024px) {
    .mobile-nav {
        max-height: none;
        overflow: visible;
    }
}
