/*neoai-restaurant.css — Restaurant solution landing.

exports: .resto-body, .resto-hero, .resto-screen, .resto-flow, .resto-work, .resto-close
used_by: resources/views/solutions/restaurant.blade.php
rules:   hero is plain YouTube iframe FExtubudmG0 with autoplay=1&mute=1&playsinline=1 — no custom chrome; iframe absolute inset fill inside .resto-screen aspect box.
agent:   cursor-grok-4.6 | cursor | 2026-09-15 | s_20260915_resto_yt_fill | iframe absolute inset fill — fixes half-width black bar in prod.
agent:   cursor-grok-4.6 | cursor | 2026-09-16 | s_20260916_resto_preview | Video placeholder uses YouTube thumb + green vignette, not flat black.
agent:   cursor-grok-4.6 | cursor | 2026-09-16 | s_20260916_resto_yt_plain | Removed top bar; native muted autoplay embed only.
*/

.resto-body {
    --resto-stage: #121614;
    --resto-stage-2: #1a1f1c;
    --resto-linen: #ebe6db;
    --resto-mist: rgba(255, 255, 255, .58);
    --resto-rule: rgba(36, 39, 37, .12);
}

.resto-body main {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    padding-bottom: 72px;
}

.resto-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.resto-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(23, 134, 83, .1);
}

.resto-hero {
    display: grid;
    grid-template-columns: minmax(280px, .92fr) minmax(0, 1.18fr);
    gap: 56px;
    align-items: center;
    padding: 124px 0 72px;
}

.resto-hero-copy h1 {
    margin: 0;
    font: 600 clamp(40px, 5vw, 62px)/1.02 'Manrope', sans-serif;
    letter-spacing: -.055em;
}

.resto-lead {
    max-width: 42ch;
    margin: 18px 0 28px;
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.65;
}

.resto-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.resto-facts {
    display: grid;
    gap: 0;
    margin: 36px 0 0;
    padding: 0;
}

.resto-facts > div {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--resto-rule);
}

.resto-facts dt {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.resto-facts dd {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.45;
}

.resto-screen {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    background: #000;
    box-shadow: 0 28px 80px rgba(18, 22, 20, .22);
    scroll-margin-top: 108px;
}

.resto-screen-embed {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.resto-flow,
.resto-work {
    padding: 28px 0 8px;
}

.resto-flow-head h2,
.resto-work-head h2 {
    margin: 0;
    font: 600 clamp(28px, 3.4vw, 40px)/1.12 'Manrope', sans-serif;
    letter-spacing: -.04em;
}

.resto-flow-head { margin-bottom: 28px; }

.resto-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--resto-rule);
}

.resto-steps li {
    padding: 22px 28px 8px;
    border-right: 1px solid var(--resto-rule);
}

.resto-steps li:first-child { padding-left: 0; }

.resto-steps li:last-child { border-right: 0; padding-right: 0; }

.resto-steps span {
    display: block;
    margin-bottom: 14px;
    color: var(--green-dark);
    font: 500 11px/1 'IBM Plex Mono', ui-monospace, monospace;
    letter-spacing: .08em;
}

.resto-steps strong {
    display: block;
    margin-bottom: 8px;
    font: 650 16px/1.25 'Manrope', sans-serif;
}

.resto-steps p {
    margin: 0;
    max-width: 24ch;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.resto-work {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 64px;
    padding-top: 56px;
}

.resto-work-head p:last-child {
    max-width: 36ch;
    margin: 14px 0 0;
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
}

.resto-work-list article {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 28px;
    padding: 24px 0;
    border-top: 1px solid var(--resto-rule);
}

.resto-work-list article:last-child { border-bottom: 1px solid var(--resto-rule); }

.resto-work-list article > p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.resto-work-list h3 {
    margin: 0 0 8px;
    font: 650 22px/1.2 'Manrope', sans-serif;
    letter-spacing: -.03em;
}

.resto-work-list article div p {
    margin: 0;
    max-width: 52ch;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.6;
}

.resto-close {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
    min-height: 480px;
    margin-top: 56px;
    padding: 0 0 0 56px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 38% 46% at 90% -8%, rgba(61, 206, 122, .58), transparent 62%),
        linear-gradient(100deg, #151c18 0%, #0c100e 36%, #000 66%);
    color: #f4f7f4;
    box-shadow:
        inset 0 0 0 1px rgba(126, 224, 168, .1),
        0 28px 70px rgba(12, 22, 16, .28);
}

.resto-close-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1.5px 1.5px at 14% 22%, rgba(255, 255, 255, .55), transparent 2px),
        radial-gradient(1.5px 1.5px at 22% 68%, rgba(126, 224, 168, .5), transparent 2px),
        radial-gradient(1.2px 1.2px at 38% 18%, rgba(255, 255, 255, .35), transparent 2px),
        radial-gradient(1.5px 1.5px at 62% 12%, rgba(255, 255, 255, .4), transparent 2px),
        repeating-linear-gradient(90deg, transparent 0 78px, rgba(255, 255, 255, .028) 78px 79px),
        linear-gradient(118deg, transparent 38%, rgba(110, 231, 168, .1) 72%, transparent 94%);
}

.resto-close-copy {
    position: relative;
    z-index: 2;
    max-width: 34rem;
    min-width: 0;
    padding: 56px 24px 56px 0;
    align-self: center;
}

.resto-close-kicker {
    margin: 0 0 18px;
    color: #8fd4ae;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.resto-close h2 {
    margin: 0;
    font: 650 clamp(30px, 3.6vw, 46px)/1.08 'Manrope', sans-serif;
    letter-spacing: -.05em;
    color: #fff;
}

.resto-close h2 span { white-space: nowrap; }

.resto-close h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #b6f5d0 0%, #3dce7a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.resto-close-lead {
    max-width: 42ch;
    margin: 18px 0 28px;
    color: rgba(244, 247, 244, .72);
    font-size: 17px;
    line-height: 1.6;
}

.resto-close-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1fa86a 0%, var(--green) 100%);
    color: #fff;
    font: 700 15px/1 'Manrope', sans-serif;
    box-shadow: 0 14px 32px rgba(23, 134, 83, .38);
    transition: transform .18s, box-shadow .18s, filter .18s;
}

.resto-close-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(23, 134, 83, .46);
}

.resto-close-cta:focus-visible {
    outline: 3px solid rgba(126, 224, 168, .55);
    outline-offset: 3px;
}

.resto-close-cta span {
    font-size: 18px;
    transition: transform .18s;
}

.resto-close-cta:hover span { transform: translateX(3px); }

.resto-close-note {
    margin: 16px 0 0;
    color: rgba(244, 247, 244, .48);
    font-size: 13px;
}

.resto-close-portrait {
    position: relative;
    z-index: 3;
    min-height: 480px;
}

.resto-close-portrait::before {
    content: "";
    position: absolute;
    z-index: 1;
    right: 8%;
    bottom: 0;
    width: 58%;
    height: 78%;
    background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .1), transparent 68%);
    pointer-events: none;
}

.resto-close-viz {
    position: absolute;
    z-index: 0;
    right: 10%;
    top: 6%;
    width: min(220px, 52%);
    opacity: .7;
    pointer-events: none;
}

.resto-close-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 132px;
    padding: 0 8px;
}

.resto-close-bars i {
    flex: 1;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, rgba(126, 224, 168, .85), rgba(23, 134, 83, .12));
    box-shadow: 0 0 18px rgba(46, 196, 112, .18);
}

.resto-close-bars i:nth-child(1) { height: 28%; }
.resto-close-bars i:nth-child(2) { height: 46%; }
.resto-close-bars i:nth-child(3) { height: 38%; }
.resto-close-bars i:nth-child(4) { height: 68%; }
.resto-close-bars i:nth-child(5) { height: 92%; }

.resto-close-trend {
    position: absolute;
    left: -8%;
    top: 0;
    width: 116%;
    height: 160px;
}

.resto-close-chart {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    color: rgba(244, 247, 244, .62);
    font: 500 10px/1 'IBM Plex Mono', ui-monospace, monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.resto-close-chart span:nth-child(1) { color: #9be7bc; }
.resto-close-chart span:nth-child(2) { opacity: .75; }
.resto-close-chart span:nth-child(3) { opacity: .45; }

.resto-close-portrait img {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    height: 102%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: 58% 100%;
    filter: brightness(1.14) contrast(1.12) saturate(1.06) drop-shadow(0 18px 28px rgba(0, 0, 0, .55));
    pointer-events: none;
    user-select: none;
}

@media (max-width: 980px) {
    .resto-body main { width: min(100% - 32px, 1180px); }
    .resto-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 108px 0 48px;
    }
    .resto-screen { order: -1; }
    .resto-steps { grid-template-columns: 1fr 1fr; }
    .resto-steps li { padding-left: 28px; padding-right: 28px; }
    .resto-steps li:nth-child(odd) { padding-left: 0; }
    .resto-steps li:nth-child(2) { border-right: 0; padding-right: 0; }
    .resto-steps li:nth-child(4) { border-right: 0; padding-right: 0; }
    .resto-steps li:nth-child(-n+2) { border-bottom: 1px solid var(--resto-rule); }
    .resto-work { grid-template-columns: 1fr; gap: 24px; }
    .resto-close {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 0;
        background:
            radial-gradient(ellipse 55% 70% at 100% 0%, rgba(61, 206, 122, .32), transparent 58%),
            linear-gradient(100deg, #151c18 0%, #0c100e 42%, #050806 100%);
    }
    .resto-close-copy { max-width: none; padding: 40px 28px; }
    .resto-close h2 { max-width: none; }
    .resto-close h2 span { white-space: normal; }
    .resto-close-portrait { display: none; }
}

@media (max-width: 640px) {
    .resto-hero-copy h1 { font-size: 34px; }
    .resto-facts > div,
    .resto-work-list article { grid-template-columns: 1fr; gap: 6px; }
    .resto-steps { grid-template-columns: 1fr; }
    .resto-steps li { border-right: 0; border-bottom: 1px solid var(--resto-rule); padding: 18px 0; }
    .resto-steps li:last-child { border-bottom: 0; }
    .resto-close-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .resto-close-cta,
    .resto-close-cta span { transition: none; }
    .resto-close-cta:hover { transform: none; }
}
