:root {
    --blue: #0758e8;
    --blue-dark: #033bb0;
    --orange: #ff5a12;
    --orange-soft: #fff0e8;
    --ink: #172033;
    --muted: #667085;
    --line: #dde4ef;
    --page: #ffffff;
    --soft: #f7faff;
    --card: #ffffff;
    --danger: #c0362c;
    --success: #087443;
    --shadow: 0 20px 55px rgba(17, 32, 64, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--page);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

.site-shell {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto 34px;
}

.hero-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    padding-bottom: 42px;
}

.blue-shape {
    position: absolute;
    top: -190px;
    right: -390px;
    width: min(760px, 54vw);
    height: 740px;
    border-bottom-left-radius: 54% 50%;
    background: radial-gradient(circle at 74% 18%, #116eff 0, var(--blue) 50%, var(--blue-dark) 100%);
    z-index: 0;
}

.blue-shape::after {
    content: "";
    position: absolute;
    right: 52px;
    bottom: 54px;
    width: 170px;
    height: 170px;
    border: 2px dashed rgba(255, 255, 255, .3);
    border-radius: 50%;
}

.site-nav {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    align-items: center;
    gap: 20px;
    min-height: 74px;
}

.brand-lockup {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    text-decoration: none;
}

.brand-lockup img {
    width: 188px;
    height: auto;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(17, 32, 64, .08);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    justify-self: center;
    border: 1px solid rgba(221, 228, 239, .9);
    border-radius: 999px;
    padding: 6px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 32px rgba(17, 32, 64, .08);
    height: auto;
    overflow: visible;
}

.nav-links a,
.login-link {
    position: relative;
    color: var(--ink);
    font-size: .96rem;
    font-weight: 750;
    text-decoration: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 16px;
    white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(7, 88, 232, .18);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.login-link {
    color: #fff;
}

.nav-cta,
.primary-button,
.restaurant-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    padding: 0 26px;
    background: linear-gradient(135deg, var(--orange), #ff711f);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(255, 90, 18, .24);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(280px, .88fr) minmax(360px, 1.03fr) minmax(330px, .75fr);
    align-items: center;
    gap: clamp(18px, 2.8vw, 42px);
    padding: 34px 0 12px;
}

.hero-copy {
    position: relative;
    z-index: 3;
    min-width: 0;
}

.event-pill,
.section-kicker {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: .85rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 540px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(2.3rem, 3.85vw, 4.15rem);
    line-height: 1;
    letter-spacing: 0;
}

.hero-copy h1 span {
    display: block;
    color: var(--blue);
}

.hero-copy h1 em {
    display: block;
    color: var(--orange);
    font-style: normal;
}

.hero-intro {
    max-width: 420px;
    margin: 0 0 10px;
    color: var(--ink);
    font-size: clamp(1.65rem, 2.75vw, 2.35rem);
    font-weight: 850;
    line-height: 1.12;
}

.date-badge {
    display: inline-flex;
    max-width: 460px;
    min-height: 42px;
    align-items: center;
    border-radius: 999px;
    padding: 8px 15px;
    background: #edf4ff;
    color: var(--blue-dark);
    font-size: .92rem;
    font-weight: 850;
    line-height: 1.35;
}

.hero-benefits {
    position: relative;
    z-index: 5;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(1120px, 100%);
    max-width: none;
    margin: 24px auto 0;
}

.hero-benefits article {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 34px;
    align-items: center;
    min-height: 156px;
    border: 1px solid rgba(221, 228, 239, .7);
    border-radius: 22px;
    padding: 24px 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 40px rgba(17, 32, 64, .1);
}

.hero-benefits article::before {
    content: "";
    position: absolute;
    left: 116px;
    top: 36px;
    bottom: 36px;
    width: 4px;
    border-radius: 999px;
    background: var(--blue);
    z-index: 2;
}

.hero-benefits article::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -72px;
    width: 330px;
    height: 210px;
    border-radius: 56% 44% 0 0;
    background: #edf4ff;
    z-index: 0;
}

.hero-benefits article:nth-child(2)::before {
    background: var(--orange);
}

.hero-benefits article:nth-child(2)::after {
    background: #ffe9dc;
}

.hero-benefits article > div {
    position: relative;
    z-index: 3;
    min-width: 0;
}

.benefit-icon {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border: 12px solid #eaf1ff;
    border-radius: 50%;
    background: #eaf1ff;
    color: var(--blue);
    font-size: 1.35rem;
    font-weight: 950;
    box-shadow: inset 0 0 0 10px #dce8ff, 0 14px 24px rgba(7, 88, 232, .13);
}

.benefit-icon.price {
    background: var(--orange-soft);
    border-color: #ffe3d4;
    color: var(--orange);
    box-shadow: inset 0 0 0 10px #ffd7c2, 0 14px 24px rgba(255, 90, 18, .13);
}

.benefit-icon.prize {
    background: #eaf1ff;
    color: var(--blue);
}

.hero-benefits strong {
    display: block;
    color: var(--ink);
    font-size: clamp(1.15rem, 1.65vw, 1.5rem);
    line-height: 1.05;
}

.hero-benefits small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: clamp(.9rem, 1.1vw, 1rem);
    line-height: 1.35;
}

.hero-benefits b {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 10px;
    padding: 0 12px;
    background: var(--orange);
    color: #fff;
    font-size: 1.15em;
    white-space: nowrap;
}

.hero-visual {
    position: relative;
    z-index: 1;
    min-height: 455px;
    display: grid;
    place-items: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: min(580px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(18, 58, 142, .12);
}

.orange-loop {
    position: absolute;
    top: 28px;
    left: 48px;
    width: 94px;
    height: 52px;
    border-top: 3px dashed #ffa21d;
    border-radius: 50%;
    transform: rotate(22deg);
}

.hero-visual img {
    position: relative;
    width: min(560px, 100%);
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 28px 28px rgba(22, 38, 68, .16));
}

.signup-card {
    position: relative;
    z-index: 4;
    border: 1px solid rgba(221, 228, 239, .86);
    border-radius: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.signup-card h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: clamp(1.55rem, 2vw, 2rem);
    line-height: 1.16;
    text-align: center;
}

.signup-card > p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: .93rem;
    text-align: center;
}

form {
    display: grid;
    gap: 10px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d8dfeb;
    border-radius: 10px;
    outline: none;
    padding: 9px 12px;
    background: #fff;
    color: var(--ink);
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(7, 88, 232, .1);
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: .83rem;
    line-height: 1.35;
}

.check-row input {
    width: 18px;
    min-height: 18px;
    margin-top: 1px;
    flex: 0 0 18px;
}

.link-button {
    border: 0;
    padding: 0;
    background: none;
    color: var(--blue);
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}

.notice {
    border-radius: 10px;
    padding: 11px 13px;
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.4;
}

.notice.success {
    background: #e8f7ef;
    color: var(--success);
}

.notice.error {
    background: #fff0ee;
    color: var(--danger);
}

.prize-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .56fr);
    gap: 28px;
    align-items: center;
    margin-top: 26px;
    border-radius: 24px;
    padding: clamp(24px, 4vw, 46px);
    background:
        radial-gradient(circle at 90% 18%, rgba(255, 90, 18, .14), transparent 270px),
        linear-gradient(135deg, #061a49, #0758e8);
    color: #fff;
    box-shadow: 0 26px 60px rgba(7, 88, 232, .2);
}

.prize-copy h2 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: .98;
    letter-spacing: 0;
}

.prize-copy p {
    max-width: 680px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.55;
}

.prize-section .section-kicker {
    color: #ffb48f;
}

.follow-list {
    display: grid;
    gap: 10px;
    max-width: 540px;
    margin-top: 26px;
}

.follow-list strong {
    color: #fff;
}

.follow-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border-radius: 12px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.follow-list a:hover {
    background: rgba(255, 255, 255, .18);
}

.ig-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    object-fit: contain;
}

.prize-slider,
.prize-placeholder {
    min-width: 0;
}

.slider-track {
    width: 100%;
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background: rgba(255, 255, 255, .16);
}

.slider-slide {
    margin: 0;
    display: none;
    opacity: 0;
    transition: opacity .4s ease;
}

.slider-slide.active {
    display: block;
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.slider-slide figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(10, 24, 58, .78);
    color: #fff;
    font-weight: 850;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
}

.slider-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
}

.slider-dots button.active {
    width: 24px;
    border-radius: 999px;
    background: #fff;
}

.prize-placeholder {
    display: grid;
    place-items: center;
    gap: 14px;
    min-height: 330px;
    border: 2px dashed rgba(255, 255, 255, .25);
    border-radius: 22px;
    text-align: center;
}

.prize-placeholder img {
    width: 160px;
}

.directory-section {
    margin-top: 38px;
    border-radius: 26px;
    padding: clamp(24px, 4vw, 42px);
    background:
        radial-gradient(circle at 10% 14%, rgba(255, 90, 18, .18), transparent 280px),
        linear-gradient(135deg, #061733, #082b73 58%, #061733);
    box-shadow: 0 24px 60px rgba(6, 23, 51, .18);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.directory-section .section-kicker {
    color: #ffb48f;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.filter-pills button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;
    padding: 0 16px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    color: var(--ink);
    color: #fff;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 760;
}

.filter-pills button.active,
.filter-pills button:hover {
    border-color: #fff;
    background: #fff;
    color: var(--blue);
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.company-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    box-shadow: 0 16px 34px rgba(17, 32, 64, .08);
}

.company-cover {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #eaf1ff, #fff);
}

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

.company-cover button {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.1rem;
}

.company-cover button.liked {
    border-color: rgba(255, 90, 18, .35);
    background: var(--orange);
    color: #fff;
}

.company-logo-wrap {
    height: 0;
    padding-left: 18px;
}

.company-logo {
    position: relative;
    z-index: 1;
    width: 152px;
    height: 152px;
    transform: translateY(-76px);
    border: 7px solid #fff;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 16px 34px rgba(17, 32, 64, .18);
}

.company-body {
    display: grid;
    gap: 8px;
    padding: 86px 18px 18px;
}

.company-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.company-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.18;
}

.company-title-row .like-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--orange);
    white-space: nowrap;
    font-size: .9rem;
    font-weight: 900;
}

.subtitle {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 800;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.company-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 9px;
    background: #edf4ff;
    color: var(--blue);
    font-size: .74rem;
    font-weight: 850;
}

.company-card p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.5;
}

.read-more-button {
    width: fit-content;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font-size: .88rem;
    font-weight: 900;
}

.info-list {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.info-list > span,
.info-list > a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    align-items: start;
    gap: 7px;
    min-height: 42px;
    border: 1px solid #e7edf8;
    border-radius: 12px;
    padding: 9px 11px;
    background: linear-gradient(180deg, #f8fbff, #f2f6ff);
    color: var(--muted);
    font-size: .84rem;
    font-weight: 900;
    line-height: 1.28;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(17, 32, 64, .04);
}

.info-list > a:hover {
    border-color: rgba(7, 88, 232, .28);
    color: var(--blue);
    transform: translateY(-1px);
}

.info-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    min-width: 24px;
    height: 24px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    line-height: 1;
    box-shadow: inset 0 0 0 1px #edf1f8;
}

.info-list small {
    display: block;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 950;
    line-height: 1.18;
    margin-bottom: 2px;
}

.video-button,
.instagram-button {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    justify-content: center;
    border-radius: 9px;
    padding: 0 13px;
    background: var(--orange-soft);
    color: var(--orange);
    font-size: .88rem;
    font-weight: 900;
    text-decoration: none;
}

.instagram-button {
    border: 1px solid #e7edf8;
    background: linear-gradient(180deg, #f8fbff, #f2f6ff);
    color: var(--blue);
    box-shadow: 0 6px 16px rgba(17, 32, 64, .04);
}

.instagram-button img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: 14px;
    padding: 22px;
    background: var(--soft);
    color: var(--muted);
}

.restaurant-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    border-radius: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--blue), #0046c9);
    color: #fff;
}

.restaurant-cta div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.restaurant-cta strong {
    font-size: 1.12rem;
}

.restaurant-cta span {
    color: rgba(255, 255, 255, .84);
}

.restaurant-cta a {
    min-height: 38px;
    padding: 0 18px;
    background: #fff;
    color: var(--blue);
    box-shadow: none;
}

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 18px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 42, .62);
}

.modal-card {
    position: relative;
    width: min(680px, 100%);
    max-height: min(82vh, 760px);
    overflow: auto;
    border-radius: 18px;
    padding: 30px;
    background: #fff;
    box-shadow: var(--shadow);
}

.modal-card h2 {
    margin: 0 0 12px;
}

.modal-card p {
    color: var(--muted);
    line-height: 1.7;
}

.close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.35rem;
}

.admin-body {
    padding: 18px;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .38), transparent 280px),
        linear-gradient(135deg, #ff7a1a, var(--orange));
}

.login-card,
.admin-sidebar,
.admin-main {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(17, 32, 64, .07);
}

.login-card {
    width: min(420px, 100%);
    margin: 8vh auto;
    padding: 30px;
}

.login-card img {
    width: 150px;
}

.login-card h1,
.admin-main h1 {
    color: var(--ink);
}

.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 12px;
    background: var(--blue);
    color: #fff;
    font-size: 1rem;
    font-weight: 950;
    vertical-align: middle;
}

.admin-note {
    color: var(--muted);
    line-height: 1.5;
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    width: min(1280px, 100%);
    margin: 0 auto;
}

.admin-sidebar,
.admin-main {
    padding: 20px;
}

.admin-sidebar {
    position: sticky;
    top: 18px;
    height: calc(100vh - 36px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-sidebar img {
    width: 150px;
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar a {
    border-radius: 10px;
    padding: 11px 12px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 850;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: #eaf1ff;
    color: var(--blue);
}

.admin-main {
    min-height: calc(100vh - 36px);
}

.ghost-button,
.as-link,
.mini-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 15px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stats-grid article {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    background: #fbfdff;
}

.stats-grid strong {
    display: block;
    color: var(--blue);
    font-size: 2.25rem;
}

.stats-grid span {
    color: var(--muted);
    font-weight: 850;
}

.admin-form {
    max-width: 860px;
}

.admin-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-inline-setting {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 16px 0 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fbfdff;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 13px 12px;
    text-align: left;
    color: var(--muted);
}

.admin-table th {
    color: var(--ink);
    background: #f7faff;
}

.admin-table button,
.admin-table a {
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font-weight: 850;
}

.admin-table .icon-action {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.repeat-group {
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fbfdff;
}

[data-address-list],
[data-phone-list] {
    display: grid;
    gap: 10px;
}

.phone-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
    gap: 10px;
}

.current-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
}

.current-logo img {
    width: 80px;
    height: 80px;
    border: 1px solid var(--line);
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}

.slider-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.slider-admin-card {
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fbfdff;
}

.slider-admin-card > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: #eef3fb;
}

@media (max-width: 1180px) {
    .site-nav {
        grid-template-columns: 220px 1fr;
    }

    .nav-actions {
        display: none;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
    }

    .hero-visual {
        order: 2;
    }

    .signup-card {
        order: 3;
        grid-column: 1 / -1;
        max-width: 620px;
        margin: 0 auto;
    }

    .company-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-shell,
    .admin-body {
        width: 100%;
        margin: 0;
        padding: 12px;
    }

    .blue-shape {
        top: -260px;
        right: -350px;
        width: 680px;
        opacity: .22;
    }

    .site-nav,
    .hero-layout,
    .prize-section,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .site-nav {
        position: relative;
        grid-template-columns: 1fr auto;
        gap: 14px;
        justify-items: stretch;
    }

    .brand-lockup {
        justify-self: start;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
        margin-right: 10px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 10;
        display: none;
        width: 100%;
        justify-content: stretch;
        flex-direction: column;
        gap: 4px;
        overflow-x: hidden;
        overflow-y: hidden;
        padding: 8px;
        border-radius: 14px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        justify-content: flex-start;
        min-height: 42px;
        padding: 0 14px;
    }

    .hero-copy h1 {
        font-size: clamp(2.25rem, 10vw, 3.35rem);
    }

    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .hero-benefits article {
        grid-template-columns: 78px 1fr;
        column-gap: 28px;
        min-height: 110px;
        padding: 18px;
    }

    .hero-benefits article::before {
        left: 96px;
        top: 26px;
        bottom: 26px;
    }

    .hero-benefits article::after {
        width: 170px;
        height: 130px;
    }

    .benefit-icon {
        width: 70px;
        height: 70px;
        border-width: 10px;
        font-size: 1.15rem;
    }

    .hero-benefits strong {
        font-size: 1.35rem;
    }

    .hero-benefits small {
        font-size: .96rem;
    }

    .hero-visual {
        min-height: 300px;
    }

    .section-heading,
    .restaurant-cta,
    .admin-header-row,
    .current-logo,
    .table-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-pills {
        justify-content: flex-start;
    }

    .company-grid,
    .slider-admin-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .phone-row {
        grid-template-columns: 1fr;
    }
}
