.t3-hero {
    position: relative;
    padding: clamp(2rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
    overflow: hidden;
}

.t3-hero__layout {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 340px);
    gap: 2rem;
    align-items: center;
}

.t3-hero__content {
    position: relative;
    z-index: 2;
}

.t3-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--t3-leaf);
    background: var(--t3-leaf-soft);
    border: 1px solid color-mix(in srgb, var(--t3-leaf) 25%, transparent);
}

.t3-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 7vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--t3-accent-2);
    word-break: break-word;
}

.t3-hero__subtitle {
    margin: 0 0 1.75rem;
    font-size: clamp(0.92rem, 3.5vw, 1.15rem);
    color: var(--t3-text-muted);
    max-width: 42ch;
    line-height: 1.75;
}

.t3-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.t3-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 320px;
}

.t3-hero__stats div {
    display: flex;
    flex-direction: column;
    padding: 0.85rem 1rem;
    border-radius: var(--t3-radius-sm);
    background: white;
    border: 1px solid var(--t3-border);
    box-shadow: 0 4px 16px var(--t3-shadow-color);
}

.t3-hero__stats strong {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    font-weight: 900;
    color: var(--t3-accent);
    line-height: 1.2;
}

.t3-hero__stats span {
    font-size: 0.78rem;
    color: var(--t3-text-muted);
    margin-top: 0.15rem;
}

/* Decorative takeaway cup */
.t3-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.t3-hero__cup {
    position: relative;
    width: 200px;
    height: 220px;
}

.t3-hero__cup-lid {
    position: absolute;
    top: 28px;
    left: 50%;
    width: 110px;
    height: 18px;
    margin-left: -55px;
    border-radius: 6px;
    background: white;
    border: 2px solid var(--t3-border);
    box-shadow: 0 2px 8px var(--t3-shadow-color);
    z-index: 3;
}

.t3-hero__cup-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 120px;
    height: 150px;
    margin-left: -60px;
    border-radius: 8px 8px 28px 28px;
    background: linear-gradient(180deg, white 0%, var(--t3-accent-soft) 100%);
    border: 2px solid var(--t3-accent-border);
    box-shadow: var(--t3-shadow);
}

.t3-hero__cup-body::after {
    content: '';
    position: absolute;
    inset: 20% 15% auto;
    height: 40%;
    border-radius: var(--t3-radius-petal);
    background: color-mix(in srgb, var(--t3-accent) 12%, transparent);
}

.t3-hero__rose {
    position: absolute;
    top: 0;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: var(--t3-radius-petal);
    background: linear-gradient(145deg, var(--t3-accent), var(--t3-accent-2));
    transform: rotate(25deg);
    box-shadow: 0 8px 24px var(--t3-accent-glow);
    animation: petal-pulse 3s ease infinite;
}

.t3-hero__rose::before,
.t3-hero__rose::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: var(--t3-radius-petal);
    background: inherit;
    opacity: 0.7;
}

.t3-hero__rose::before {
    top: -8px;
    left: -12px;
    transform: rotate(-40deg);
}

.t3-hero__rose::after {
    bottom: -6px;
    right: -10px;
    transform: rotate(50deg);
    opacity: 0.5;
}

/* Petal grid (same layout logic as bento) */
.t3-categories {
    padding: 1.5rem 0 3rem;
}

.t3-petal-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: 1rem;
}

.t3-petal-card {
    position: relative;
    display: block;
    border-radius: var(--t3-radius);
    overflow: hidden;
    min-height: 180px;
    border: 1px solid var(--t3-border);
    background: white;
    box-shadow: var(--t3-shadow);
    transition: transform var(--t3-transition), box-shadow var(--t3-transition);
    animation: petal-rise 0.7s ease backwards;
    animation-delay: var(--delay, 0ms);
    transform-style: preserve-3d;
}

.t3-petal-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: var(--t3-radius-petal);
    background: var(--t3-accent-soft);
    opacity: 0.6;
    z-index: 2;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .t3-petal-card:hover {
        box-shadow: 0 20px 50px var(--t3-accent-glow);
        border-color: var(--t3-accent-border-strong);
    }

    .t3-petal-card:hover .t3-petal-card__media img {
        transform: scale(1.08);
    }

    .t3-petal-card:hover .t3-petal-card__arrow {
        transform: translateX(-4px);
        background: var(--t3-accent-2);
    }
}

.t3-petal-card:active { transform: scale(0.98); }

.t3-petal-card--1 { grid-column: span 7; grid-row: span 2; }
.t3-petal-card--2 { grid-column: span 5; }
.t3-petal-card--3 { grid-column: span 5; }
.t3-petal-card--4 { grid-column: span 4; }
.t3-petal-card--5 { grid-column: span 8; }

.t3-petal-card__media {
    position: absolute;
    inset: 0;
}

.t3-petal-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.t3-petal-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, var(--t3-gradient-end) 100%);
    z-index: 1;
}

.t3-petal-card__content {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: flex-end;
    gap: 0.65rem;
    z-index: 2;
    color: white;
}

.t3-petal-card__index {
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0.85;
    flex-shrink: 0;
}

.t3-petal-card__content h3 {
    margin: 0;
    flex: 1;
    font-size: clamp(0.95rem, 2.8vw, 1.35rem);
    font-weight: 800;
    line-height: 1.35;
    word-break: break-word;
    text-shadow: 0 2px 8px color-mix(in srgb, black 40%, transparent);
}

.t3-petal-card__arrow {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--t3-accent);
    color: white;
    font-size: 1rem;
    transition: var(--t3-transition);
}

@keyframes petal-rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .t3-hero__layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .t3-hero__subtitle { margin-inline: auto; }
    .t3-hero__actions { justify-content: center; }
    .t3-hero__stats { margin-inline: auto; }

    .t3-petal-card--1,
    .t3-petal-card--2,
    .t3-petal-card--3,
    .t3-petal-card--4,
    .t3-petal-card--5 {
        grid-column: span 6;
        grid-row: span 1;
        min-height: 190px;
    }

    .t3-hero__cup { transform: scale(0.85); }
}

@media (max-width: 768px) {
    .t3-hero__visual { order: -1; }
    .t3-hero__cup { transform: scale(0.75); }

    .t3-section-head {
        text-align: start;
        margin-bottom: 1.25rem;
        padding-inline: var(--t3-container-pad);
    }

    .t3-categories .container {
        width: 100%;
        padding-inline: 0;
    }

    .t3-petal-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--t3-container-pad);
        gap: 0.75rem;
        padding: 0.25rem var(--t3-container-pad) 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .t3-petal-grid::-webkit-scrollbar { display: none; }

    .t3-petal-card,
    .t3-petal-card--1,
    .t3-petal-card--2,
    .t3-petal-card--3,
    .t3-petal-card--4,
    .t3-petal-card--5 {
        flex: 0 0 min(82vw, 300px);
        min-height: 220px;
        scroll-snap-align: center;
    }
}

@media (max-width: 380px) {
    .t3-hero__actions { flex-direction: column; }

    .t3-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .t3-petal-card,
    .t3-petal-card--1,
    .t3-petal-card--2,
    .t3-petal-card--3,
    .t3-petal-card--4,
    .t3-petal-card--5 {
        flex-basis: 88vw;
        min-height: 200px;
    }
}
