/* =========================================
   BASE / DESKTOP-FIRST (keeps your design)
========================================= */

.section-one{
    overflow: hidden;
}

.hero-row{
    row-gap: 1.5rem;
}

.hero-content{
    justify-content: center;
}

.pendova-btn{
    color: #FFFFFF;
    font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.5625rem);
    border: 0;
    padding: 10px 32px;
    border-radius: 16px;
    width: 70%;
    max-width: 340px;
    transition: transform .2s ease, background-color .2s ease;
}

.pendova-btn:hover{
    transform: translateY(-2px);
}

/* =========================================
   APP BUTTONS WRAPPER
========================================= */

.app-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}


/* =========================================
   APP BUTTON
========================================= */

.app-button {
    width: 185px;
    max-width: 100%;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #2b2b2b;
    cursor: pointer;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.app-button:hover {
    background-color: #151515;
    transform: translateY(-2px);
}


/* =========================================
   APP ICON
========================================= */

.app-button-icon {
    width: 28px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}


/* =========================================
   APP TEXT
========================================= */

.app-btn-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.app-btn-content span {
    display: block;
    font-size: 9px;
    line-height: 1.2;
    color: #FFFFFF;
    white-space: nowrap;
}

.app-btn-content p {
    margin: 2px 0 0;
    font-size: 19px;
    line-height: 1.1;
    font-weight: 500;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Hero phones */
.sec-one-img-container{
    position: relative;
    min-height: 480px;
    height: auto;
}

.sec-one-mobile{
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 38%;
    max-width: 260px;
    z-index: 2;
}

.mobile-left, .mobile-right{
    width: 42%;
    max-width: 280px;
}

.mobile-left{
    margin-right: auto;
}

.mobile-right{
    margin-left: auto;
}

.app-info{
    background-color: #FFE8EE;
    overflow: hidden;
}

.app-info-item img{
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.app-info-item h4{
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.4rem) !important;
}

.app-info-item p{
    font-size: 0.85rem !important;
    line-height: 1.4;
    margin-bottom: 0;
    color: #1A1A1A;
}

.section-one-icon-container {
    width: 84px;
    height: 84px;
    aspect-ratio: 1 / 1;
    background-color: #FFE8EE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-one-icon-container img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.work-section{
    margin-top: 4%;
    padding-inline: 1%;
}

/* Explore */
.sec3{
    background-color: #FFE8EE;
    overflow: hidden;
    height: auto;
    padding-bottom: 3rem;
}

.explore-card{
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    min-height: 230px;
    height: 100%;
    width: 100%;
    box-shadow: 0 12px 8px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.explore-card img{
    width: 64px;
    max-width: 30%;
    height: auto;
    object-fit: contain;
}

.explore-card p{
    font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.875rem);
    line-height: 1.25;
    margin-bottom: 0;
}

.explore-card-2{
    min-height: 100px;
    height: auto;
    flex: 1;
    flex-direction: row !important;
    align-items: center !important;
}

.explore-pair > *{
    flex: 1;
    min-width: 0;
}

.explore-bottom-right{
    gap: 0.75rem;
    align-items: stretch;
}

.explore-mobile{
    width: 42%;
    max-width: 240px;
    object-fit: contain;
    margin-left: 0;
    flex-shrink: 0;
}

.explore-side-stack{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.explore-side-stack .explore-card{
    flex: 1;
}

.dashed-box{
    border: 2px dashed #1A1A1A;
    border-radius: 16px;
    min-height: 100px;
    padding: 1rem;
    text-align: center;
}

.dashed-box p{
    color: #1A1A1A;
    margin-bottom: 0;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem) !important;
}

/* Stories */
.quotes{
    font-size: clamp(3.5rem, 2.5rem + 4vw, 6.25rem);
    height: auto;
    line-height: 0;
    margin-top: 3%;
    margin-bottom: 0;
}

.story-text{
    font-size: clamp(1.35rem, 1rem + 1.8vw, 2.5rem);
    font-weight: bold;
    line-height: 1.3;
}

.story-couple img{
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.story-img-container{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.story-img-container img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.red-quotes{
    font-size: 50px;
    height: 28px;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.card{
    background-color: #F4F4F4;
    min-height: 300px;
    height: 100%;
    border-radius: 16px;
    border: 0;
}

.story-card-text{
    font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.25rem);
    color: #6B7280;
    line-height: 1.6;
    min-height: 84px;
}

.stories-btn{
    color: #FFFFFF;
    border: 0;
    padding: 12px 28px;
    border-radius: 16px;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5625rem);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.stories-btn img{
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.sec5{
    background-color: #FFE8EE;
}

.sec5-title{
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.875rem);
    line-height: 1.2;
}

.sec5-text{
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.625rem);
    color:#6B7280;
}

img{
    max-width: 100%;
}

.pendova-qr{
    max-width: 100px;
}

/* =========================================
   EXPLORE BOTTOM-RIGHT FIX - DESKTOP ONLY (>=992px)
   - phone + side-stack share equal width (50/50)
     so Dating/More cards match top cards width
   - phone is taller + touches bottom border (overflow visual)
========================================= */
@media (min-width: 992px){
    .explore-bottom-right{
        align-items: flex-end;
        gap: 1rem;
    }

    .explore-mobile{
        flex: 1 1 0;
        width: 50%;
        max-width: none;
        /* height: 470px; */
        object-fit: contain;
        object-position: bottom center;
        margin-bottom: -3rem;
        align-self: flex-end;
        flex-shrink: 1;
    }

    .explore-side-stack{
        flex: 1 1 0;
        width: 50%;
        min-width: 0;
    }
}

/* =========================================
   1024px - 1400px ONLY: explore phone matches
   the card stack height + still touches bottom
   (width untouched, everything else untouched)
========================================= */
@media (min-width: 1024px) and (max-width: 1399.98px){
    .explore-bottom-right{
        align-items: stretch;
    }

    .explore-mobile{
        align-self: stretch;
        height: auto;
    }

    /* cards shorter than the phone image in this range */
    .explore-card{
        min-height: 180px;
    }

    /* foodie / nature lovers keep their smaller height */
    .explore-card-2{
        min-height: 100px;
    }

    /* dating card: same height + width as coffee-date card —
       sits side by side with the more-card, sized by content */
    .explore-side-stack{
        /* flex-direction: row; */
        align-items: flex-start;
    }
    .explore-side-stack .explore-card{
        flex: 1 1 0;
        height: auto;
        min-width: 0;
    }
    .explore-side-stack .dashed-box{
        flex: 1 1 0;
        min-width: 0;
        margin-top: 0 !important;
    }

    /* more-to-explore matches foodie card height (foodie = 100px) */
    .dashed-box{
        min-height: 100px;
    }
}

/* =========================================
   LARGE DESKTOP 1200px+
========================================= */
@media (min-width: 1200px){
    .sec-one-img-container{
        min-height: 540px;
    }
    .work-section{
        padding-inline: 3%;
    }
}

/* =========================================
   TABLET 768px - 991.98px
========================================= */
@media (max-width: 991.98px){
    .hero-content{
        text-align: center;
        align-items: center !important;
    }

    .pendova-btn{
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .app-buttons{
        justify-content: center;
    }

    .sec-one-img-container{
        min-height: 440px;
        max-width: 560px;
        margin-inline: auto;
        width: 100%;
    }

    .sec-one-mobile{
        width: 36%;
        bottom: 10%;
    }

    .mobile-left, .mobile-right{
        width: 40%;
    }

    .section-one-icon-container{
        width: 72px;
        height: 72px;
    }

    .explore-card{
        min-height: 200px;
    }

    .story-couple img{
        max-width: 480px;
    }

    .sec5-left, .sec5-right{
        text-align: center;
        align-items: center !important;
    }

    .sec5-right .app-buttons{
        justify-content: center;
    }

    /* Tab explore: phone + side-stack share equal width (50/50)
       so Dating/More cards match other cards width.
       Phone is bigger + touches bottom border (overflow visual). */
    .explore-bottom-right{
        align-items: flex-end;
        gap: 1rem;
    }

    .explore-mobile{
        flex: 1 1 0;
        width: 50%;
        max-width: none;
        height: 380px;
        object-fit: contain;
        object-position: bottom center;
        margin-bottom: -3rem;
        align-self: flex-end;
    }

    .explore-side-stack{
        flex: 1 1 0;
        width: 50%;
        min-width: 0;
    }
}

/* =========================================
   MOBILE < 768px
========================================= */
@media (max-width: 767.98px){
    .section-one{
        padding-top: 1.5rem !important;
    }

    .hero-content{
        text-align: center;
        align-items: center !important;
    }

    .pendova-btn{
        width: 100%;
        max-width: 100%;
        padding: 12px 20px;
    }

    .app-buttons{
        width: 100%;
        justify-content: center;
    }

    .app-button{
        flex: 1 1 calc(50% - 6px);
        min-width: 150px;
        max-width: 220px;
        height: 58px;
    }

    .app-btn-content p{
        font-size: 16px;
    }

    .sec-one-img-container{
        min-height: 360px;
        max-width: 440px;
    }

    .sec-one-mobile{
        width: 40%;
        bottom: 8%;
    }

    .mobile-left, .mobile-right{
        width: 44%;
    }

    .app-info-item{
        justify-content: flex-start;
    }

    .app-info-item img{
        width: 36px;
        height: 36px;
    }

    .work-section{
        margin-top: 2rem;
        padding-inline: 0;
        text-align: left;
    }

    .section-one-icon-container{
        width: 64px;
        height: 64px;
    }

    .explore-card{
        min-height: 170px;
        padding: 0.9rem 1rem;
        box-shadow: 0 8px 6px rgba(0,0,0,0.12);
    }

    .explore-card img{
        width: 48px;
    }

    .explore-card-2{
        min-height: 88px;
    }

    .explore-bottom-right{
        flex-direction: row;
    }

    /* Mobile explore: hide phone image + more-to-explore, show only cards */
    .explore-mobile{
        display: none;
    }

    .explore-side-stack .dashed-box{
        display: none;
    }

    .story-main-text{
        text-align: center;
    }

    /* Mobile stories: big quote mark aligns to start, not middle */
    .quotes{
        text-align: left;
    }

    .story-couple img{
        max-width: 100%;
    }

    .card{
        min-height: auto;
    }

    .story-card-text{
        min-height: auto;
    }

    .stories-btn{
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .sec5-left{
        text-align: center;
    }

    .sec5-right{
        align-items: center !important;
    }
}

/* =========================================
   VERY SMALL MOBILE < 400px
========================================= */
@media (max-width: 399.98px){
    .app-buttons{
        flex-direction: column;
        align-items: stretch;
    }

    .app-button{
        max-width: 100%;
        width: 100%;
        height: 56px;
        justify-content: center;
    }

    .sec-one-img-container{
        min-height: 300px;
    }

    .explore-card{
        min-height: 150px;
        padding: 0.75rem 0.85rem;
    }

    .explore-card img{
        width: 42px;
    }

    .explore-pair{
        flex-direction: column;
    }

    .explore-bottom-right{
        flex-direction: column;
        align-items: center;
    }

    .explore-mobile{
        width: 60%;
        max-width: 200px;
    }

    .explore-side-stack{
        width: 100%;
    }
}

