/* FOODIMOB — header & hero (premium food delivery) */

.site-header {
    background: rgb(253 251 248 / 0.92);
    border-bottom: 1px solid rgb(26 26 26 / 0.06);
    backdrop-filter: blur(10px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
    padding-block: 0.625rem;
}

@media (min-width: 1024px) {
    .site-header__inner {
        min-height: 4.5rem;
        padding-block: 0.75rem;
    }
}

.site-header__logo img {
    height: 2.25rem;
    width: auto;
    max-width: 9.5rem;
    object-fit: contain;
}

@media (min-width: 640px) {
    .site-header__logo img {
        height: 2.5rem;
        max-width: 10.5rem;
    }
}

@media (min-width: 1024px) {
    .site-header__logo img {
        height: 2.75rem;
        max-width: 11.5rem;
    }
}

.site-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    flex: 1;
    padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
    .site-nav {
        display: flex;
    }
}

.nav-desktop-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
    color: rgb(26 26 26 / 0.72);
    border-radius: 9999px;
    transition:
        color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-desktop-link:hover {
    color: rgb(26 26 26);
    background: rgb(26 26 26 / 0.04);
}

.nav-desktop-link.nav-link--active {
    color: var(--color-primary, #eb5927);
    background: var(--color-primary-soft, #fff2ed);
    font-weight: 600;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

@media (min-width: 640px) {
    .site-header__actions {
        gap: 0.5rem;
    }
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: rgb(26 26 26 / 0.85);
    border: 1px solid rgb(26 26 26 / 0.08);
    border-radius: 0.75rem;
    background: rgb(255 255 255 / 0.7);
    transition:
        color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
    .icon-btn {
        width: 2.75rem;
        height: 2.75rem;
    }
}

.icon-btn:hover {
    color: var(--color-primary, #eb5927);
    border-color: rgb(235 89 39 / 0.25);
    background: var(--color-primary-soft, #fff2ed);
}

.icon-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-btn--cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    min-width: 1rem;
    height: 1rem;
    padding-inline: 0.2rem;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
    color: white;
    background: var(--color-primary, #eb5927);
    border: 2px solid rgb(253 251 248);
    border-radius: 9999px;
}

.btn-cta-header {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding-inline: 1.125rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: var(--color-primary, #eb5927);
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgb(235 89 39 / 0.2);
    transition:
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 480px) {
    .btn-cta-header {
        display: inline-flex;
    }
}

.btn-cta-header:hover {
    background: #d94f22;
    box-shadow: 0 4px 14px rgb(235 89 39 / 0.28);
}

/* Mobile menu trigger */
.menu-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    list-style: none;
    cursor: pointer;
    color: rgb(26 26 26);
    border: 1px solid rgb(26 26 26 / 0.08);
    border-radius: 0.75rem;
    background: rgb(255 255 255 / 0.85);
    transition:
        border-color 0.2s,
        background-color 0.2s;
}

.menu-icon {
    transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

#nav-mobile[open] .menu-icon--open,
#nav-mobile.open .menu-icon--open {
    opacity: 0;
}

#nav-mobile[open] .menu-icon--close,
#nav-mobile.open .menu-icon--close {
    opacity: 1;
}

.menu-trigger::-webkit-details-marker {
    display: none;
}

.menu-trigger:hover {
    border-color: rgb(235 89 39 / 0.3);
    background: var(--color-primary-soft, #fff2ed);
}

@media (min-width: 1024px) {
    .menu-trigger-wrap {
        display: none;
    }
}

/* Drawer */
.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(26 26 26 / 0.4);
}

.drawer-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 20rem);
    max-width: 20rem;
    height: 100%;
    min-height: 100dvh;
    margin-left: auto;
    background: #fdfbf8;
    box-shadow: -8px 0 32px rgb(26 26 26 / 0.08);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

#nav-mobile[open] .drawer-panel,
#nav-mobile.open .drawer-panel {
    transform: translateX(0);
}

#nav-mobile[open] #nav-mobile-panel,
#nav-mobile.open #nav-mobile-panel {
    opacity: 1;
    pointer-events: auto;
}

.drawer-link {
    display: block;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgb(26 26 26 / 0.88);
    border-bottom: 1px solid rgb(26 26 26 / 0.06);
    transition:
        color 0.15s,
        background-color 0.15s,
        padding-left 0.15s;
}

.drawer-link:hover {
    padding-left: 1.5rem;
    color: var(--color-primary, #eb5927);
    background: rgb(255 242 237 / 0.6);
}

.drawer-link.nav-mobile-item--active {
    color: var(--color-primary, #eb5927);
    background: var(--color-primary-soft, #fff2ed);
    font-weight: 600;
}

/* Hero */
.hero-banner {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.75rem, 6vw, 5rem);
    background: linear-gradient(
        165deg,
        #fdfbf8 0%,
        #faf6f0 42%,
        #f8f4ee 100%
    );
}

.hero-banner__glow {
    pointer-events: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
}

.hero-banner__glow--coral {
    top: -8%;
    right: -6%;
    width: min(52vw, 28rem);
    height: min(52vw, 28rem);
    background: rgb(235 89 39 / 0.14);
}

.hero-banner__glow--yellow {
    top: 18%;
    left: -10%;
    width: min(44vw, 22rem);
    height: min(44vw, 22rem);
    background: rgb(245 210 120 / 0.22);
}

.hero-banner__glow--green {
    bottom: -12%;
    left: 28%;
    width: min(40vw, 18rem);
    height: min(40vw, 18rem);
    background: rgb(140 190 140 / 0.16);
}

.hero-banner__shape {
    pointer-events: none;
    position: absolute;
    opacity: 0.5;
}

.hero-banner__shape--leaf {
    top: 12%;
    right: 8%;
    width: 4.5rem;
    height: 4.5rem;
    background: rgb(140 190 140 / 0.35);
    border-radius: 0 70% 50% 70%;
    transform: rotate(-18deg);
}

@media (min-width: 1024px) {
    .hero-banner__shape--leaf {
        width: 6rem;
        height: 6rem;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.375rem 0.875rem 0.375rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary, #eb5927);
    background: rgb(255 255 255 / 0.75);
    border: 1px solid rgb(235 89 39 / 0.12);
    border-radius: 9999px;
}

.hero-eyebrow__dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #5cb85c;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgb(92 184 92 / 0.25);
}

.hero-title {
    font-family: var(--font-display, Montserrat, sans-serif);
    font-size: clamp(2rem, 4.5vw + 0.5rem, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: rgb(26 26 26);
}

.hero-title em {
    font-style: normal;
    color: var(--color-primary, #eb5927);
}

.hero-lead {
    margin-top: 1.25rem;
    max-width: 32rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.65;
    color: rgb(26 26 26 / 0.62);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding-inline: 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    background: var(--color-primary, #eb5927);
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgb(235 89 39 / 0.22);
    transition:
        background-color 0.2s,
        box-shadow 0.2s;
}

.btn-hero-primary:hover {
    background: #d94f22;
    box-shadow: 0 6px 20px rgb(235 89 39 / 0.3);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding-inline: 1.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgb(26 26 26);
    background: rgb(255 255 255 / 0.85);
    border: 1px solid rgb(26 26 26 / 0.1);
    border-radius: 9999px;
    transition:
        border-color 0.2s,
        background-color 0.2s;
}

.btn-hero-secondary:hover {
    border-color: rgb(235 89 39 / 0.35);
    background: white;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgb(26 26 26 / 0.08);
}

.hero-visual {
    position: relative;
    margin-top: 2.5rem;
    isolation: isolate;
}

.hero-visual__stage {
    position: relative;
    width: min(100%, 30rem);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .hero-visual {
        margin-top: 0;
    }
    .hero-visual__stage {
        width: clamp(24rem, 36vw, 33rem);
    }
}

.hero-visual__plate {
    pointer-events: none;
    position: absolute;
    inset: 5%;
    z-index: 0;
    background: linear-gradient(
        145deg,
        rgb(255 242 237) 0%,
        rgb(245 230 210 / 0.9) 100%
    );
    border-radius: 50%;
}

.hero-visual__ring {
    pointer-events: none;
    position: absolute;
    inset: 9%;
    z-index: 0;
    border: 1px dashed rgb(235 89 39 / 0.3);
    border-radius: 50%;
}

.hero-visual__main {
    position: absolute;
    inset: 12%;
    z-index: 1;
}

.hero-visual__img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid rgb(255 255 255 / 0.85);
    box-shadow: 0 24px 48px rgb(26 26 26 / 0.16);
}

.hero-visual__caption {
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(255 255 255 / 0.95);
    background: rgb(26 26 26 / 0.6);
    border: 1px solid rgb(255 255 255 / 0.2);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
}

.hero-mini-card {
    position: absolute;
    z-index: 4;
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    align-items: center;
    gap: 0.6rem;
    width: min(13rem, 52vw);
    padding: 0.45rem;
    background: rgb(255 255 255 / 0.95);
    border: 1px solid rgb(26 26 26 / 0.08);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgb(26 26 26 / 0.1);
}

.hero-mini-card img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.8rem;
    object-fit: cover;
}

.hero-mini-card__title {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgb(26 26 26 / 0.9);
}

.hero-mini-card__meta {
    margin-top: 0.15rem;
    font-size: 0.675rem;
    line-height: 1.3;
    color: rgb(26 26 26 / 0.58);
}

.hero-mini-card--top {
    top: -1%;
    right: -2%;
}

.hero-mini-card--bottom {
    left: -4%;
    bottom: 7%;
}

.hero-kpi-card {
    position: absolute;
    z-index: 4;
    right: 2%;
    bottom: 2%;
    min-width: 8rem;
    padding: 0.7rem 0.85rem;
    text-align: right;
    background: linear-gradient(
        150deg,
        rgb(26 26 26 / 0.88) 0%,
        rgb(26 26 26 / 0.78) 100%
    );
    border: 1px solid rgb(255 255 255 / 0.16);
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgb(26 26 26 / 0.2);
}

.hero-kpi-card__value {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
    color: white;
}

.hero-kpi-card__label {
    margin-top: 0.25rem;
    font-size: 0.64rem;
    color: rgb(255 255 255 / 0.76);
}

.hero-kpi-card__trend {
    margin-top: 0.2rem;
    font-size: 0.62rem;
    font-weight: 600;
    color: #a8f5b2;
}

@media (min-width: 1024px) {
    .hero-visual__img {
        border-width: 10px;
    }
}

.hero-float {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: rgb(255 255 255 / 0.96);
    border: 1px solid rgb(26 26 26 / 0.07);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgb(26 26 26 / 0.06);
}

.hero-float__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
}

.hero-float__icon--delivery {
    color: var(--color-primary, #eb5927);
    background: var(--color-primary-soft, #fff2ed);
}

.hero-float__icon--menu {
    color: #3d8b5a;
    background: rgb(212 232 212 / 0.8);
}

.hero-float__icon--rating {
    color: #c9a227;
    background: rgb(245 230 180 / 0.65);
}

.hero-float__title {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgb(26 26 26);
}

.hero-float__meta {
    margin-top: 0.125rem;
    font-size: 0.75rem;
    line-height: 1.3;
    color: rgb(26 26 26 / 0.55);
}

.hero-float--delivery {
    top: 22%;
    left: -3%;
    max-width: 10.5rem;
}

.hero-float--menu {
    bottom: 30%;
    left: -4%;
    max-width: 10.25rem;
}

.hero-float--rating {
    right: -3%;
    bottom: 20%;
    max-width: 10.5rem;
}

@media (max-width: 479px) {
    .hero-visual__stage {
        width: min(100%, 21rem);
    }
    .hero-visual__main {
        inset: 11%;
    }
    .hero-visual__img {
        border-width: 6px;
    }
    .hero-mini-card {
        grid-template-columns: 2.65rem 1fr;
        width: min(10.75rem, 52vw);
        padding: 0.35rem;
        border-radius: 0.85rem;
    }
    .hero-mini-card img {
        width: 2.65rem;
        height: 2.65rem;
    }
    .hero-mini-card__title {
        font-size: 0.68rem;
    }
    .hero-mini-card__meta {
        font-size: 0.61rem;
    }
    .hero-mini-card--top {
        top: 6%;
        right: 1%;
    }
    .hero-mini-card--bottom {
        left: 1%;
        bottom: 12%;
    }
    .hero-kpi-card {
        right: 4%;
        bottom: 4%;
        min-width: 7.25rem;
        padding: 0.55rem 0.7rem;
    }
    .hero-kpi-card__value {
        font-size: 0.68rem;
    }
    .hero-kpi-card__label,
    .hero-kpi-card__trend {
        font-size: 0.55rem;
    }
    .hero-float {
        gap: 0.45rem;
        padding: 0.4rem 0.55rem;
        border-radius: 0.8rem;
    }
    .hero-float__icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    .hero-float__title {
        font-size: 0.68rem;
    }
    .hero-float__meta {
        margin-top: 0.05rem;
        font-size: 0.6rem;
    }
    .hero-float--delivery {
        top: 33%;
        left: 1.5%;
        max-width: 8.5rem;
    }
    .hero-float--menu {
        left: 1.5%;
        bottom: 29%;
        max-width: 8.5rem;
    }
    .hero-float--rating {
        right: 1.5%;
        bottom: 20%;
    }
}

@media (max-width: 639px) {
    .hero-banner {
        padding-block: clamp(2rem, 7vw, 2.75rem);
    }
    .hero-trust {
        margin-top: 1.65rem;
        padding-top: 1.35rem;
        gap: 0.875rem 1rem;
    }
    .hero-visual {
        margin-top: 1.15rem;
    }
    .hero-visual__stage {
        width: min(100%, 20.5rem);
    }
    .hero-visual__main {
        inset: 12.5%;
    }
    .hero-visual__img {
        border-width: 5px;
    }
    .hero-visual__caption {
        bottom: 0.6rem;
        padding: 0.35rem 0.7rem;
        font-size: 0.68rem;
    }

    /* Mobile: reduce density and keep one clean orbital set */
    .hero-mini-card--top,
    .hero-kpi-card,
    .hero-float--menu {
        display: none;
    }

    .hero-mini-card--bottom {
        left: 2%;
        bottom: 6%;
        width: min(11.25rem, 58vw);
    }
    .hero-float--delivery {
        top: 23%;
        left: 2%;
        max-width: 8.75rem;
    }
    .hero-float--rating {
        right: 2%;
        bottom: 22%;
        max-width: 8.75rem;
    }
}

@media (max-width: 389px) {
    .hero-visual__stage {
        width: min(100%, 18.75rem);
    }
    .hero-mini-card--bottom {
        width: min(9.5rem, 56vw);
    }
    .hero-float--delivery,
    .hero-float--rating {
        max-width: 7.5rem;
    }
}

@media (min-width: 640px) {
    .hero-mini-card {
        width: min(13.5rem, 44%);
    }
    .hero-mini-card--top {
        top: -1%;
        right: -1.5%;
    }
    .hero-mini-card--bottom {
        left: -3%;
        bottom: 7%;
    }
    .hero-kpi-card {
        right: 2%;
        bottom: 2%;
    }
    .hero-float--delivery {
        top: 23%;
        left: -3%;
    }
    .hero-float--menu {
        left: -3%;
        bottom: 30%;
    }
    .hero-float--rating {
        right: -2%;
        bottom: 20%;
    }
}

@media (min-width: 1024px) {
    .hero-visual__stage {
        width: clamp(24rem, 35vw, 32rem);
    }
    .hero-mini-card {
        width: min(13.25rem, 40%);
    }
    .hero-mini-card--top {
        top: -2%;
        right: -4%;
    }
    .hero-mini-card--bottom {
        left: -7%;
        bottom: 6%;
    }
    .hero-float--delivery {
        top: 21%;
        left: -9%;
    }
    .hero-float--menu {
        left: -10%;
        bottom: 28%;
    }
    .hero-float--rating {
        right: -8%;
        bottom: 19%;
    }
    .hero-kpi-card {
        right: 0;
        bottom: 1%;
    }
}

@media (min-width: 1280px) {
    .hero-visual__stage {
        width: clamp(28rem, 34vw, 36rem);
    }
    .hero-mini-card {
        width: min(14rem, 38%);
    }
    .hero-mini-card--top {
        top: -1%;
        right: -6%;
    }
    .hero-mini-card--bottom {
        left: -9%;
        bottom: 7%;
    }
    .hero-float--delivery {
        left: -12%;
    }
    .hero-float--menu {
        left: -12%;
    }
    .hero-float--rating {
        right: -10%;
    }
    .hero-kpi-card {
        right: -1%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-visual__ring {
        animation: hero-spin 28s linear infinite;
    }
    .hero-mini-card--top {
        animation: hero-float-1 6.5s ease-in-out infinite;
    }
    .hero-mini-card--bottom {
        animation: hero-float-2 7.2s ease-in-out infinite;
    }
    .hero-float--delivery {
        animation: hero-float-1 5.5s ease-in-out infinite 0.3s;
    }
    .hero-float--menu {
        animation: hero-float-2 6.2s ease-in-out infinite 0.5s;
    }
    .hero-float--rating {
        animation: hero-float-1 5.8s ease-in-out infinite 0.1s;
    }
    .hero-kpi-card {
        animation: hero-glow 4.8s ease-in-out infinite;
    }
}

@media (prefers-reduced-motion: reduce) {
    .drawer-panel {
        transition: none;
    }
    .hero-visual__ring,
    .hero-mini-card--top,
    .hero-mini-card--bottom,
    .hero-float--delivery,
    .hero-float--menu,
    .hero-float--rating,
    .hero-kpi-card {
        animation: none;
    }
}

@keyframes hero-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes hero-float-1 {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -6px, 0);
    }
}

@keyframes hero-float-2 {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes hero-glow {
    0%,
    100% {
        box-shadow: 0 12px 24px rgb(26 26 26 / 0.2);
    }
    50% {
        box-shadow: 0 16px 32px rgb(26 26 26 / 0.28);
    }
}
