/* =============================================
   FONDOS TECH — Page Content Responsive Stylesheet (responsive.css)
   (Header & Footer maintain their own separate CSS files: header.css & footer.css)
   ============================================= */

/* =============================================
   1. DESKTOP LARGE (1400px and up)
   ============================================= */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* =============================================
   2. DESKTOP MEDIUM (Max 1199.98px)
   ============================================= */
@media (max-width: 1199.98px) {
    .industry-card-bg {
        width: 55%;
    }
}

/* =============================================
   3. TABLET LANDSCAPE / SMALL DESKTOP (Max 991.98px)
   ============================================= */
@media (max-width: 991.98px) {
    .hero-section {
        height: auto;
        padding-bottom: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lob-content,
    .workflow-content {
        flex-direction: column;
    }

    .workflow-card-title {
        font-size: 1.5rem;
    }

    .workflow-badge {
        font-size: 10px;
    }

    .lob-text {
        flex: 0 0 100%;
        max-width: 100%;
        position: static;
        margin-bottom: 2rem;
    }

    .lob-slider-area {
        height: 450px;
        width: 100%;
        height: 360px;
        max-height: 360px;
    }

    .claims-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        height: 46rem;
        padding-bottom: 0;
        overflow: hidden;
    }

    /* ---- Platform Capabilities Mobile Refactoring ---- */
    .platform-section {
        padding: 3rem 0;
        margin-top: 2rem;
    }

    .platform-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.75rem;
        margin-bottom: 1.5rem;
        gap: 0.5rem;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .platform-tabs::-webkit-scrollbar {
        display: none;
    }

    .platform-filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }

    .platform-sticky-wrapper {
        height: auto !important;
    }

    .platform-sticky-container {
        position: relative !important;
        top: 0 !important;
        height: auto !important;
        padding: 0 !important;
    }

    .platform-card-deck {
        position: relative !important;
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 1rem !important;
    }

    .platform-deck-card {
        display: none !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 1 !important;
    }

    .platform-deck-card.pos-active {
        display: block !important;
        animation: fadeIn 0.35s ease;
    }

    .platform-card {
        padding: 1rem 0.25rem;
    }

    .platform-card .row {
        flex-direction: column-reverse;
    }

    .platform-card-body {
        padding: 0.5rem 1.25rem 1.5rem 1.25rem;
    }

    .platform-card-title {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    .platform-card-image {
        padding: 1.25rem 1.25rem 0.5rem 1.25rem;
        text-align: center;
    }

    .platform-card-image img {
        max-width: 100%;
        height: auto;
        border-radius: 0.75rem;
    }

    /* .posp-sure-image-wrapper {
        padding-right: 0;
    } */

    .platform-image-container {
        flex-direction: column;
    }

    .floating-feature-pills {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin-top: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }

    .feature-pill-item {
        padding: 0.5rem 0.875rem;
    }

    .pill-text {
        font-size: 0.75rem;
    }

    .d2c-image-wrapper {
        padding: 0.5rem 0;
        margin-bottom: 2.5rem;
    }

    .d2c-3image-container {
        height: 310px;
        max-width: 460px;
        margin: 0 auto;
    }

    .d2c-img-1 {
        width: 75%;
        max-height: 215px;
        top: 0;
        left: 0;
    }

    .d2c-img-2 {
        width: 48%;
        max-height: 155px;
        bottom: 0px;
        left: 20px;
    }

    .d2c-img-3 {
        width: 36%;
        max-height: 265px;
        top: 20px;
        right: 0;
    }

    .lending-image-wrapper {
        padding: 0.5rem 0;
        margin-bottom: 2.5rem;
    }

    .lending-4image-container {
        height: 310px;
        max-width: 460px;
        margin: 0 auto;
    }

    .lending-img-bg {
        width: 86%;
        max-height: 220px;
        top: 20px;
    }

    .lending-img-top {
        width: 44%;
        max-height: 135px;
        top: 0px;
    }

    .lending-img-left {
        width: 44%;
        max-height: 155px;
        bottom: 0px;
        left: 10px;
    }

    .lending-img-right {
        width: 44%;
        max-height: 150px;
        bottom: 0px;
        right: 10px;
    }

    .embedded-image-wrapper {
        padding: 0.5rem 0;
        margin-bottom: 2.5rem;
    }

    .embedded-5image-container {
        height: 310px;
        max-width: 460px;
        margin: 0 auto;
    }

    .embedded-img-1 {
        width: 36%;
        max-height: 285px;
        top: 8px;
        left: 8px;
    }

    .embedded-img-4 {
        width: 38%;
        max-height: 125px;
        top: 0px;
        right: 60px;
    }

    .embedded-img-3 {
        width: 42%;
        max-height: 135px;
        top: 90px;
        right: 15px;
    }

    .embedded-img-2 {
        width: 66%;
        max-height: 165px;
        bottom: 35px;
        left: 60px;
    }

    .embedded-img-5 {
        width: 30%;
        max-height: 110px;
        bottom: 0px;
        right: 40px;
    }

    .claims-image-wrapper {
        padding: 0.5rem 0;
        margin-bottom: 2.5rem;
    }

    .claims-3image-container {
        height: 310px;
        max-width: 460px;
        margin: 0 auto;
    }

    .claims-img-bg {
        width: 100%;
        max-height: 220px;
        top: 20px;
    }

    .claims-img-left {
        width: 28%;
        max-height: 175px;
        top: 0px;
        left: 10px;
    }

    .claims-img-right {
        width: 30%;
        max-height: 165px;
        bottom: 0px;
        right: 15px;
    }

    .payout-image-wrapper {
        padding: 0.5rem 0;
        margin-bottom: 2.5rem;
    }

    .payout-5image-container {
        height: 310px;
        max-width: 460px;
        margin: 0 auto;
    }

    .payout-img-1 {
        width: 85%;
        max-height: 220px;
        top: 35px;
    }

    .payout-img-4 {
        width: 32%;
        max-height: 135px;
        top: 0px;
        left: 15px;
    }

    .payout-img-5 {
        width: 34%;
        max-height: 130px;
        top: 0px;
    }

    .payout-img-3 {
        width: 36%;
        max-height: 135px;
        bottom: 0px;
        left: 20px;
    }

    .payout-img-2 {
        width: 32%;
        max-height: 185px;
        bottom: 0px;
        right: 15px;
    }

    .eb-image-wrapper {
        padding: 0.5rem 0;
        margin-bottom: 2.5rem;
    }

    .eb-showcase-container {
        height: 310px;
        max-width: 460px;
        margin: 0 auto;
    }

    .eb-img-1 {
        width: 44%;
        max-height: 180px;
        top: 25px;
        left: 15px;
    }

    .eb-img-2 {
        width: 44%;
        max-height: 195px;
        top: 10px;
        right: 15px;
    }

    .eb-img-3 {
        width: 30%;
        max-height: 165px;
        bottom: 0px;
        left: 0px;
    }

    .eb-img-4 {
        width: 30%;
        max-height: 170px;
        bottom: 8px;
        right: 0px;
    }

    .eb-pill-1 {
        width: 45%;
        max-width: 200px;
        top: 0px;
        left: 8px;
    }

    .eb-pill-2 {
        width: 50%;
        max-width: 210px;
        top: 55px;
        right: 8px;
    }

    .eb-pill-3 {
        width: 50%;
        max-width: 190px;
        bottom: 8px;
        left: 20%;
    }

    .compliance-image-wrapper {
        padding: 0.5rem 0;
        margin-bottom: 2.5rem;
    }

    .compliance-4image-container {
        height: 310px;
        max-width: 460px;
        margin: 0 auto;
    }

    .compliance-img-1 {
        width: 85%;
        max-height: 220px;
        top: 25px;
    }

    .compliance-img-5 {
        width: 28%;
        max-height: 80px;
        bottom: 65px;
        left: 10px;
    }

    .compliance-img-3 {
        width: 32%;
        max-height: 170px;
        bottom: 0px;
        left: 45%;
    }

    .compliance-img-2 {
        width: 32%;
        max-height: 280px;
        top: 0px;
        right: 10px;
    }

    .recon-image-wrapper {
        padding: 0.5rem 0;
        margin-bottom: 2.5rem;
    }

    .recon-5image-container {
        height: 310px;
        max-width: 460px;
        margin: 0 auto;
    }

    .recon-image-wrapper {
        padding: 0.5rem 0;
        margin-bottom: 2.5rem;
    }

    .recon-5image-container {
        height: 320px;
        max-width: 480px;
        margin: 0 auto;
    }

    .recon-img-1 {
        width: 46%;
        max-height: 165px;
        top: 10px;
        left: 8px;
    }

    .recon-img-2 {
        width: 48%;
        max-height: 180px;
        top: 0px;
        right: 8px;
    }

    .recon-img-5 {
        width: 52%;
        max-height: 175px;
        top: 95px;
        left: 48%;
    }

    .recon-img-3 {
        width: 32%;
        max-height: 170px;
        bottom: 0px;
        left: 8px;
    }

    .recon-img-4 {
        width: 34%;
        max-height: 185px;
        bottom: 0px;
        right: 12px;
    }
}

@media (max-width: 767.98px) {
    .section-title,
    .contact-main-title,
    .faq-left-content .section-title,
    .ic-section-title,
    .stats-section .section-title,
    .insurtech-section .section-title,
    .testimonials-intro .section-title {
        line-height: 2rem !important;
    }

    .section-header,
    .insurtech-header {
        margin-bottom: 1.5rem;
    }

    .section-padding,
    .faq-section,
    .ic-section,
    .stats-section,
    .industries-section,
    .insurtech-section,
    .workflow-section,
    .claims-section,
    .testimonials-section,
    .presence-section {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }

    .lob-section {
        padding-top: 0 !important;
        padding-bottom: 2.25rem !important;
        margin-top: 1.5rem;
    }

    .d2c-image-wrapper {
        margin-bottom: 2rem;
    }

    .d2c-3image-container {
        height: 260px;
        max-width: 380px;
        margin: 0 auto;
    }

    .d2c-img-1 {
        width: 75%;
        max-height: 175px;
        top: 0;
        left: 0;
    }

    .d2c-img-2 {
        width: 48%;
        max-height: 125px;
        bottom: 0px;
        left: 15px;
    }

    .d2c-img-3 {
        width: 36%;
        max-height: 220px;
        top: 15px;
        right: 0;
    }

    .lending-image-wrapper {
        margin-bottom: 2rem;
    }

    .lending-4image-container {
        height: 260px;
        max-width: 380px;
        margin: 0 auto;
    }

    .lending-img-bg {
        width: 86%;
        max-height: 180px;
        top: 15px;
    }

    .lending-img-top {
        width: 44%;
        max-height: 110px;
        top: 0px;
    }

    .lending-img-left {
        width: 44%;
        max-height: 125px;
        bottom: 0px;
        left: 8px;
    }

    .lending-img-right {
        width: 44%;
        max-height: 120px;
        bottom: 0px;
        right: 8px;
    }

    .embedded-image-wrapper {
        margin-bottom: 2rem;
    }

    .embedded-5image-container {
        height: 260px;
        max-width: 380px;
        margin: 0 auto;
    }

    .embedded-img-1 {
        width: 36%;
        max-height: 240px;
        top: 5px;
        left: 5px;
    }

    .embedded-img-4 {
        width: 38%;
        max-height: 105px;
        top: 0px;
        right: 50px;
    }

    .embedded-img-3 {
        width: 42%;
        max-height: 115px;
        top: 75px;
        right: 10px;
    }

    .embedded-img-2 {
        width: 66%;
        max-height: 135px;
        bottom: 25px;
        left: 50px;
    }

    .embedded-img-5 {
        width: 30%;
        max-height: 90px;
        bottom: 0px;
        right: 30px;
    }

    .claims-image-wrapper {
        margin-bottom: 2rem;
    }

    .claims-3image-container {
        height: 260px;
        max-width: 380px;
        margin: 0 auto;
    }

    .claims-img-bg {
        width: 86%;
        max-height: 180px;
        top: 15px;
    }

    .claims-img-left {
        width: 44%;
        max-height: 145px;
        top: 0px;
        left: 8px;
    }

    .claims-img-right {
        width: 42%;
        max-height: 135px;
        bottom: 0px;
        right: 10px;
    }

    .payout-image-wrapper {
        margin-bottom: 2rem;
    }

    .payout-5image-container {
        height: 260px;
        max-width: 380px;
        margin: 0 auto;
    }

    .payout-img-1 {
        width: 85%;
        max-height: 180px;
        top: 25px;
    }

    .payout-img-4 {
        width: 32%;
        max-height: 110px;
        top: 0px;
        left: 10px;
    }

    .payout-img-5 {
        width: 34%;
        max-height: 105px;
        top: 0px;
    }

    .payout-img-3 {
        width: 36%;
        max-height: 110px;
        bottom: 0px;
        left: 15px;
    }

    .payout-img-2 {
        width: 32%;
        max-height: 150px;
        bottom: 0px;
        right: 10px;
    }

    .eb-image-wrapper {
        margin-bottom: 2rem;
    }

    .eb-showcase-container {
        height: 260px;
        max-width: 380px;
        margin: 0 auto;
    }

    .eb-img-1 {
        width: 44%;
        max-height: 150px;
        top: 20px;
        left: 10px;
    }

    .eb-img-2 {
        width: 44%;
        max-height: 160px;
        top: 8px;
        right: 10px;
    }

    .eb-img-3 {
        width: 30%;
        max-height: 135px;
        bottom: 0px;
        left: 0px;
    }

    .eb-img-4 {
        width: 30%;
        max-height: 140px;
        bottom: 6px;
        right: 0px;
    }

    .eb-pill-1 {
        width: 45%;
        max-width: 165px;
        top: 0px;
        left: 5px;
    }

    .eb-pill-2 {
        width: 50%;
        max-width: 175px;
        top: 45px;
        right: 5px;
    }

    .eb-pill-3 {
        width: 50%;
        max-width: 160px;
        bottom: 6px;
        left: 20%;
    }

    .compliance-image-wrapper {
        margin-bottom: 2rem;
    }

    .compliance-4image-container {
        height: 260px;
        max-width: 380px;
        margin: 0 auto;
    }

    .compliance-img-1 {
        width: 85%;
        max-height: 180px;
        top: 20px;
    }

    .compliance-img-5 {
        width: 28%;
        max-height: 65px;
        bottom: 55px;
        left: 8px;
    }

    .compliance-img-3 {
        width: 32%;
        max-height: 140px;
        bottom: 0px;
        left: 45%;
    }

    .compliance-img-2 {
        width: 32%;
        max-height: 230px;
        top: 0px;
        right: 8px;
    }

    .recon-image-wrapper {
        margin-bottom: 2rem;
    }

    .recon-5image-container {
        height: 270px;
        max-width: 390px;
        margin: 0 auto;
    }

    .recon-img-1 {
        width: 46%;
        max-height: 135px;
        top: 8px;
        left: 5px;
    }

    .recon-img-2 {
        width: 48%;
        max-height: 150px;
        top: 0px;
        right: 5px;
    }

    .recon-img-5 {
        width: 52%;
        max-height: 140px;
        top: 80px;
        left: 48%;
    }

    .recon-img-3 {
        width: 32%;
        max-height: 135px;
        bottom: 0px;
        left: 5px;
    }

    .recon-img-4 {
        width: 34%;
        max-height: 150px;
        bottom: 0px;
        right: 8px;
    }

    .testimonial-card {
        min-width: 0;
    }

    .hero-section {
        height: 35rem;
        min-height: 35rem;
        padding: 5.5rem 0 2rem;
        margin: 0;
        width: 100%;
        overflow: hidden;
        border-radius: 0 0 2rem 2rem;
    }

    .hero-title {
        font-size: 1.875rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-badges {
        margin-bottom: 2rem;
        gap: 0.5rem;
        display: none;
    }

    .badge-trust {
        padding: 0.5rem 0.75rem;
    }

    .badge-text {
        font-size: 0.8125rem;
    }

    .insurtech-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   5. MOBILE LANDSCAPE / LARGE PHONES (Max 575.98px)
   ============================================= */
@media (max-width: 575.98px) {
    .hero-section {
        height: 36rem;
        border-radius: 0 0 2rem 2rem;
        padding-top: 5rem;
        overflow: hidden;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .stat-card .stat-number {
        font-size: 24px;
        line-height: 1.2;
    }

    .stat-card .stat-label {
        font-size: 0.75rem;
    }

    .insurtech-cards-grid,
    .claims-steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .lob-slider-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .lob-slider-area {
        height: 360px;
    }

    .faq-header {
        flex-direction: column;
        gap: 1rem;
    }

    .d2c-image-wrapper {
        margin-bottom: 2rem;
    }

    .d2c-3image-container {
        height: 230px;
        max-width: 340px;
        margin: 0 auto;
    }

    .d2c-img-1 {
        width: 75%;
        max-height: 150px;
        top: 0;
        left: 0;
    }

    .d2c-img-2 {
        width: 48%;
        max-height: 105px;
        bottom: 0px;
        left: 10px;
    }

    .d2c-img-3 {
        width: 36%;
        max-height: 195px;
        top: 10px;
        right: 0;
    }

    .lending-image-wrapper {
        margin-bottom: 2rem;
    }

    .lending-4image-container {
        height: 230px;
        max-width: 340px;
        margin: 0 auto;
    }

    .lending-img-bg {
        width: 86%;
        max-height: 155px;
        top: 12px;
    }

    .lending-img-top {
        width: 44%;
        max-height: 95px;
        top: 0px;
    }

    .lending-img-left {
        width: 44%;
        max-height: 110px;
        bottom: 0px;
        left: 5px;
    }

    .lending-img-right {
        width: 44%;
        max-height: 105px;
        bottom: 0px;
        right: 5px;
    }

    .claims-image-wrapper {
        margin-bottom: 2rem;
    }

    .claims-3image-container {
        height: 230px;
        max-width: 400px;
        margin: 0 auto;
    }

    .claims-img-bg {
        width: 86%;
        max-height: 155px;
        top: 12px;
    }

    .claims-img-left {
        width: 20%;
        max-height: 125px;
        top: 0px;
        left: 5px;
    }

    .claims-img-right {
        width: 22%;
        max-height: 115px;
        bottom: 0px;
        right: 8px;
    }

    .payout-image-wrapper {
        margin-bottom: 2rem;
    }

    .payout-5image-container {
        height: 230px;
        max-width: 340px;
        margin: 0 auto;
    }

    .payout-img-1 {
        width: 85%;
        max-height: 155px;
        top: 20px;
    }

    .payout-img-4 {
        width: 32%;
        max-height: 95px;
        top: 0px;
        left: 8px;
    }

    .payout-img-5 {
        width: 34%;
        max-height: 90px;
        top: 0px;
    }

    .payout-img-3 {
        width: 36%;
        max-height: 95px;
        bottom: 0px;
        left: 10px;
    }

    .payout-img-2 {
        width: 32%;
        max-height: 130px;
        bottom: 0px;
        right: 8px;
    }

    .eb-image-wrapper {
        margin-bottom: 2rem;
    }

    .eb-showcase-container {
        height: 230px;
        max-width: 340px;
        margin: 0 auto;
    }

    .eb-img-1 {
        width: 44%;
        max-height: 130px;
        top: 16px;
        left: 8px;
    }

    .eb-img-2 {
        width: 44%;
        max-height: 140px;
        top: 6px;
        right: 8px;
    }

    .eb-img-3 {
        width: 30%;
        max-height: 115px;
        bottom: 0px;
        left: 0px;
    }

    .eb-img-4 {
        width: 30%;
        max-height: 120px;
        bottom: 5px;
        right: 0px;
    }

    .eb-pill-1 {
        width: 45%;
        max-width: 145px;
        top: 0px;
        left: 4px;
    }

    .eb-pill-2 {
        width: 50%;
        max-width: 155px;
        top: 38px;
        right: 4px;
    }

    .eb-pill-3 {
        width: 50%;
        max-width: 140px;
        bottom: 5px;
        left: 20%;
    }

    .compliance-image-wrapper {
        margin-bottom: 2rem;
    }

    .compliance-4image-container {
        height: 230px;
        max-width: 340px;
        margin: 0 auto;
    }

    .compliance-img-1 {
        width: 85%;
        max-height: 155px;
        top: 15px;
    }

    .compliance-img-5 {
        width: 28%;
        max-height: 55px;
        bottom: 45px;
        left: 5px;
    }

    .compliance-img-3 {
        width: 32%;
        max-height: 120px;
        bottom: 0px;
        left: 45%;
    }

    .compliance-img-2 {
        width: 32%;
        max-height: 200px;
        top: 0px;
        right: 5px;
    }

    .recon-image-wrapper {
        margin-bottom: 2rem;
    }

    .recon-5image-container {
        height: 240px;
        max-width: 350px;
        margin: 0 auto;
    }

    .recon-img-1 {
        width: 46%;
        max-height: 120px;
        top: 6px;
        left: 4px;
    }

    .recon-img-2 {
        width: 48%;
        max-height: 130px;
        top: 0px;
        right: 4px;
    }

    .recon-img-5 {
        width: 52%;
        max-height: 120px;
        top: 70px;
        left: 48%;
    }

    .recon-img-3 {
        width: 32%;
        max-height: 120px;
        bottom: 0px;
        left: 4px;
    }

    .recon-img-4 {
        width: 34%;
        max-height: 135px;
        bottom: 0px;
        right: 6px;
    }

    .floating-feature-pills {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin-top: 0.75rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        width: 100%;
    }

    .feature-pill-item {
        padding: 0.4rem 0.75rem;
        border-radius: 8px;
    }

    .pill-icon {
        width: 18px;
        height: 18px;
    }

    .pill-icon svg {
        width: 10px;
        height: 10px;
    }

    .pill-text {
        font-size: 0.72rem;
    }
}

/* =============================================
   6. MOBILE SMALL (Max 425px)
   ============================================= */
@media (max-width: 425px) {
    .hero-section {
        height: 40rem;
        overflow: hidden;
    }



    .section-title,
    .contact-main-title {
        font-size: 1.5rem;
        line-height: 2rem !important;
    }

    .industry-card {
        padding: 1.5rem;
    }

    .industry-card-bg {
        display: none;
    }
}

/* =============================================
   7. ACCESSIBILITY — REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ic-logos-track,
    .lob-slider-column.move-up .lob-slider-track,
    .lob-slider-column.move-down .lob-slider-track,
    .claims-flow-dot {
        animation: none !important;
    }
}