/* ========================================
   CRAVEABLE BRANDS – Work Page
   Built to match Figma MCP design exactly
   ======================================== */

.craveable-page {
    color: #f2f2f2;
}

.craveable-page .bold {
    font-weight: 700;
}

.craveable-page .italic {
    font-style: italic;
}

.craveable-page .bold-italic {
    font-weight: 700;
    font-style: italic;
}

/* ========================================
   HERO SECTION
   ======================================== */

.craveable-hero.section-hero {
    position: relative;
    height: 900px;
    overflow: hidden;
}

.craveable-hero__bg {
    position: absolute;
    inset: 0;
}

.craveable-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.craveable-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(92, 0, 0, 0.24);
}

.craveable-hero__bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.craveable-hero__title-card {
    width: 620px;
    height: 266px;
    background-color: rgba(42, 42, 252, 0.8);
    display: flex;
    align-items: center;
    padding: 25px 60px;
    box-sizing: border-box;
}

.craveable-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 60px;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.craveable-hero__client-card {
    width: 720px;
    height: 133px;
    background-color: rgba(16, 22, 83, 0.8);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 20px 36px;
}

.craveable-hero__client-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.craveable-hero__client-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.craveable-hero__client-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #ffffff;
    margin: 0;
}

.craveable-hero__client-value,
.craveable-hero__client-credits {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}

/* ========================================
   INTRO – WHAT WE'VE DONE
   ======================================== */

.craveable-intro {
    background-color: #000000;
    padding: 80px 100px;
    text-align: center;
}

.craveable-intro__label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #7fa0e5;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.craveable-intro__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    line-height: 1.5;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   MEET THE FLOCK
   ======================================== */

.craveable-flock {
    background-color: #e0e0e0;
    color: #000000;
    padding: 100px 0 640px;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.craveable-flock__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    text-align: center;
}

.craveable-flock__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 100px;
    line-height: 1;
    margin: 0 0 32px;
}

.craveable-flock__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #4a4a4a;
    max-width: 788px;
    margin: 0 auto 60px;
    line-height: normal;
}

.craveable-flock__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-bottom: 60px;
}

.craveable-flock__logo {
    display: block;
}

.craveable-flock__logo--oporto {
    height: 83px;
    width: auto;
}

.craveable-flock__logo--redrooster {
    height: 54px;
    width: auto;
}

.craveable-flock__logo--chickentreat {
    height: 66px;
    width: auto;
}

.craveable-flock__websites {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 0;
    bottom: 0;
    height: 600px;
    max-width: 100%;
    overflow: visible;
    transform-origin: center bottom;
}

.craveable-flock__site {
    position: absolute;
    bottom: 0;
    overflow: hidden;
}

.craveable-flock__site img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.craveable-flock__site--oporto {
    width: 603px;
    height: 413px;
    right: calc(50% + 295px - 30px);
    z-index: 1;
    max-width: 49.3%;
}

.craveable-flock__site--redrooster {
    width: 591px;
    height: 560px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    max-width: 48.3%;
}

.craveable-flock__site--chickentreat {
    width: 603px;
    height: 413px;
    left: calc(50% + 295px - 30px);
    z-index: 1;
    max-width: 49.3%;
}

/* ========================================
   WE DELIVERED
   ======================================== */

.craveable-delivered {
    background-color: #0E1026;
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.craveable-delivered__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 100px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.craveable-delivered__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 60px;
    line-height: 1;
    margin: 0 0 32px;
    color: #ffffff;
}

.craveable-delivered__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    margin: 0 0 48px;
    color: #ffffff;
}

.craveable-delivered__logos {
    display: flex;
    align-items: center;
    gap: 40px;
}

.craveable-delivered__logo--ubereats {
    width: 116px;
    height: 116px;
    border-radius: 22px;
    overflow: hidden;
}

.craveable-delivered__logo--doordash {
    width: 207px;
    height: auto;
}

.craveable-delivered__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.craveable-delivered__image img {
    width: 100%;
    max-width: 712px;
    height: auto;
    display: block;
    border-radius: 320px;
}

/* ========================================
   FULL-WIDTH APP SCREENS IMAGE
   ======================================== */

.craveable-apps-image {
    position: relative;
    height: 814px;
    overflow: hidden;
    background: #0e1026;
}

.craveable-apps-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   ORANGE SECTION – LOYALTY / PAYMENTS / FLY THRU
   ======================================== */

.craveable-orange {
    background-color: #d57d00;
    padding: 60px 0 0;
    position: relative;
}

.craveable-orange__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    position: relative;
}

/* Forever Loyal */
.craveable-orange__loyalty-image {
    width: 756px;
    height: auto;
    display: block;
}

.craveable-orange__loyalty-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 100px;
    line-height: 1;
    color: #ffffff;
    position: absolute;
    top: 60px;
    right: 100px;
    margin: 0;
}

.craveable-orange__loyalty-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    color: #000000;
    max-width: 406px;
    position: absolute;
    top: 280px;
    right: 100px;
    margin: 0;
}

/* Payments Made Simple */
.craveable-orange__payapp {
    position: absolute;
    right: 100px;
    top: 480px;
    width: 377px;
    height: auto;
    display: block;
}

.craveable-orange__payments-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 100px;
    line-height: 1;
    color: #ffffff;
    margin: 120px 0 24px 0;
    text-align: left;
}

.craveable-orange__payments-title span {
    display: block;
}

.craveable-orange__payments-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    color: #000000;
    margin: 0 0 40px 0;
    max-width: 406px;
    text-align: right;
}

.craveable-orange__wallets {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 80px;
}

.craveable-wallet {
    width: 127px;
    height: 81px;
    overflow: hidden;
}

.craveable-wallet img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Drive Thru Fly Thru */
.craveable-orange__flythru-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 80px;
}

.craveable-orange__flythru {
    width: 399px;
    height: auto;
    display: block;
    flex-shrink: 0;
    margin-bottom: 0;
}

.craveable-orange__flythru-content {
    padding: 0;
}

.craveable-orange__drive-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 100px;
    line-height: 1;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.craveable-orange__drive-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    color: #1e1e1e;
    max-width: 545px;
    margin: 0;
}

/* ========================================
   SERIOUSLY SCALABLE TECHNOLOGY (RED)
   ======================================== */

.craveable-scalable {
    background-color: #ae121c;
    color: #ffffff;
    padding: 80px 0 100px;
    margin-bottom: 0;
}


.craveable-scalable__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    text-align: center;
}

.craveable-scalable__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 160px;
    line-height: 1;
    margin: 0 0 60px;
}

.craveable-scalable__lead {
    font-family: 'Montserrat', sans-serif;
    font-size: 45px;
    line-height: 1.2;
    margin: 0 0 40px;
}

.craveable-scalable__quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 27px;
    line-height: 1.3;
    margin: 0 0 80px;
}

.craveable-scalable__quote-source {
    font-style: normal;
    font-weight: 400;
}

/* Fraud Prevention */
.craveable-fraud {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 40px;
    align-items: center;
    text-align: left;
    width: fit-content;
    margin: 0 auto;
}

.craveable-fraud__left {
    text-align: left;
}

.craveable-fraud__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 84px;
    line-height: 1;
    margin: 0 0 16px;
}

.craveable-fraud__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    line-height: 1.2;
    margin: 0;
}

.craveable-fraud__divider {
    width: 1px;
    height: 238px;
    background: #ffffff;
}

.craveable-fraud__right {
    text-align: right;
}

.craveable-fraud__percent {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0;
    margin: 0 0 16px;
    line-height: 1;
}

.craveable-fraud__num {
    font-size: 238px;
}

.craveable-fraud__pct {
    font-size: 230px;
}

.craveable-fraud__right-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    line-height: 1.2;
    margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .craveable-hero.section-hero {
        height: auto;
        min-height: 600px;
    }

    .craveable-hero__bottom {
        left: 60px;
        transform: none;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .craveable-hero__title-card,
    .craveable-hero__client-card {
        width: 100%;
        max-width: 600px;
    }

    .craveable-flock__title {
        font-size: 72px;
    }

    .craveable-flock {
        padding-bottom: 540px;
    }

    .craveable-flock__websites {
        height: 500px;
    }
    
    .craveable-flock__site {
        height: auto;
    }
    
    .craveable-flock__site--oporto {
        width: 35%;
        max-width: 35%;
        right: calc(50% + 8%);
    }
    
    .craveable-flock__site--redrooster {
        width: 45%;
        max-width: 45%;
    }
    
    .craveable-flock__site--chickentreat {
        width: 40%;
        max-width: 40%;
        left: calc(50% + 8%);
    }
    
    .craveable-flock__site img {
        height: auto;
    }

    .craveable-orange__loyalty-title,
    .craveable-orange__payments-title,
    .craveable-orange__drive-title {
        font-size: 72px;
        padding: 0;
        margin-left: 0;
        text-align: left;
    }

    .craveable-orange__payapp {
        position: static;
        margin: 40px auto;
    }

    .craveable-orange__loyalty-text,
    .craveable-orange__payments-text,
    .craveable-orange__drive-text {
        margin: 24px 0;
        text-align: left;
    }

    .craveable-orange__flythru {
        margin-bottom: 40px;
    }

    .craveable-scalable__title {
        font-size: 100px;
    }
}

@media (max-width: 768px) {
    .craveable-hero__bottom {
        left: 0;
        right: 0;
        width: 100%;
        transform: none;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 0;
    }

    .craveable-hero__title-card {
        width: 100%;
        height: auto;
        padding: 20px;
        max-width: none;
    }

    .craveable-hero__title {
        font-size: 32px;
    }

    .craveable-hero__client-card {
        width: 100%;
        height: auto;
        padding: 15px 20px;
        max-width: none;
    }

    .craveable-hero__client-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .craveable-intro {
        padding: 60px 20px;
    }

    .craveable-intro__text {
        font-size: 18px;
    }

    .craveable-flock {
        padding: 60px 0 0;
    }

    .craveable-flock__inner {
        padding: 0 20px;
    }

    .craveable-flock__title {
        font-size: 48px;
    }

    .craveable-flock__logos {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    .craveable-flock__websites {
        position: relative;
        height: 300px;
        overflow: hidden;
        margin-top: 0;
        bottom: auto;
    }

    .craveable-flock__site {
        height: auto;
    }
    
    .craveable-flock__site--oporto {
        width: 35%;
        height: auto;
        aspect-ratio: 346 / 237;
        max-width: 35%;
        right: calc(50% + 5%);
    }
    
    .craveable-flock__site--redrooster {
        width: 40%;
        max-width: 40%;
    }
    
    .craveable-flock__site--chickentreat {
        width: 35%;
        height: auto;
        aspect-ratio: 346 / 237;
        max-width: 35%;
        left: calc(50% + 5%);
    }
    
    .craveable-flock__site img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .craveable-delivered {
        padding: 80px 0;
    }

    .craveable-delivered__inner {
        padding: 0 20px;
        grid-template-columns: 1fr;
    }

    .craveable-delivered__title {
        font-size: 40px;
    }

    .craveable-delivered__text {
        font-size: 18px;
    }

    .craveable-apps-image {
        height: 400px;
    }

    .craveable-orange {
        padding: 60px 0 0;
    }

    .craveable-orange__inner {
        padding: 0 20px 0;
        display: flex;
        flex-direction: column;
    }

    /* Forever Loyal - Convert to single column */
    .craveable-orange__loyalty-image {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        position: relative;
        display: block;
    }

    .craveable-orange__loyalty-title {
        position: relative;
        top: auto;
        right: auto;
        font-size: 40px;
        margin: 0 0 20px 0;
    }

    .craveable-orange__loyalty-text {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        font-size: 18px;
        margin: 0 0 40px 0;
    }

    /* Payments Made Simple - Convert to single column */
    .craveable-orange__payapp {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: auto;
        margin: 0 0 20px 0;
        display: block;
    }

    .craveable-orange__payments-title {
        font-size: 40px;
        margin: 0 0 20px 0;
        text-align: left;
    }

    .craveable-orange__payments-text {
        font-size: 18px;
        max-width: 100%;
        text-align: left;
        margin: 0 0 20px 0;
    }

    .craveable-orange__wallets {
        margin-bottom: 40px;
    }

    /* Drive Thru Fly Thru - Convert to single column, image last */
    .craveable-orange__flythru-row {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
        margin-bottom: 0;
        order: 999;
    }

    .craveable-orange__flythru-content {
        order: 1;
    }

    .craveable-orange__flythru {
        order: 2;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }

    .craveable-orange__drive-title {
        font-size: 40px;
        margin: 0 0 20px 0;
    }

    .craveable-orange__drive-text {
        font-size: 18px;
        max-width: 100%;
        margin: 0;
    }

    .craveable-scalable {
        padding: 60px 0;
    }

    .craveable-scalable__inner {
        padding: 0 20px;
    }

    .craveable-scalable__title {
        font-size: 48px;
    }

    .craveable-scalable__lead {
        font-size: 22px;
    }

    .craveable-scalable__quote {
        font-size: 18px;
    }

    .craveable-fraud {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .craveable-fraud__left,
    .craveable-fraud__right {
        text-align: center;
    }

    .craveable-fraud__title {
        font-size: 48px;
    }

    .craveable-fraud__text {
        font-size: 20px;
    }

    .craveable-fraud__divider {
        display: none;
    }

    .craveable-fraud__num {
        font-size: 120px;
    }

    .craveable-fraud__pct {
        font-size: 100px;
    }

    .craveable-fraud__right-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .craveable-scalable__title {
        font-size: 36px;
    }

    .craveable-scalable__lead {
        font-size: 18px;
    }
}
