:root {
    --geh-bg: #f8f7f2;
    --geh-surface: #ffffff;
    --geh-text: #17211b;
    --geh-muted: #6f8576;
    --geh-line: #dde4dc;
    --geh-primary: #4b946d;
    --geh-primary-strong: #2e7d57;
    --geh-shadow: 0 18px 50px rgba(35, 57, 42, 0.08);
    --geh-radius-lg: 32px;
    --geh-radius-md: 22px;
    --geh-radius-sm: 16px;
    --geh-container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    position: relative;
    isolation: isolate;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--geh-text);
    background-color: var(--geh-bg);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(253, 253, 248, 0.58) 0%, rgba(248, 247, 242, 0.64) 100%),
        radial-gradient(circle at top center, rgba(92, 151, 114, 0.06), transparent 28%),
        url('/images/Background_GetEatHalal.png') center bottom / cover no-repeat;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button,
input:not([type="checkbox"]):not([type="radio"]),
select {
    font: inherit;
}

input:not([type="checkbox"]):not([type="radio"]),
select {
    appearance: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

button:focus,
a:focus {
    outline: 3px solid rgba(75, 148, 109, 0.22);
    outline-offset: 2px;
}

.container {
    width: min(var(--geh-container), calc(100% - 32px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-shell main {
    flex: 1 0 auto;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: rgba(69, 76, 72, 0.96);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(23, 33, 27, 0.22);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: rgba(54, 60, 57, 0.98);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(23, 33, 27, 0.28);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(221, 228, 220, 0.9);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 92px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--geh-shadow);
    overflow: hidden;
}

.brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand__text {
    display: grid;
    gap: 3px;
}

.brand__text strong {
    font-size: 1.15rem;
    line-height: 1;
}

.brand__text small {
    color: var(--geh-muted);
    font-size: 0.9rem;
}

.site-nav-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a,
.site-nav__action,
.btn {
    border-radius: 999px;
    text-decoration: none;
    transition: 180ms ease;
}

.site-nav a,
.site-nav__action {
    color: var(--geh-text);
    padding: 14px 18px;
    font-weight: 600;
}

.site-nav__action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav__action:hover {
    background: #f2f3ec;
}

[data-share-url].is-copied::after {
    content: attr(data-copy-feedback);
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(25, 34, 28, 0.92);
    color: #fff;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(23, 33, 27, 0.18);
}

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

.site-footer {
    margin-top: 64px;
    padding: 72px 0 28px;
    background: #132018;
    color: #f4f7f1;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

.site-footer__brand {
    display: grid;
    gap: 22px;
}

.site-footer__brand img {
    width: 118px;
    height: auto;
    object-fit: contain;
}

.site-footer__brand p,
.site-footer__bottom p {
    margin: 0;
    color: rgba(244, 247, 241, 0.78);
    line-height: 1.55;
    font-size: 0.98rem;
    max-width: 280px;
}

.site-footer__bottom p {
    max-width: none;
    white-space: nowrap;
}

.site-footer__title {
    margin: 0 0 22px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
}

.site-footer__links {
    display: grid;
    gap: 14px;
}

.site-footer__links a,
.site-footer__text-link {
    width: fit-content;
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(244, 247, 241, 0.74);
    font: inherit;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: color 180ms ease;
    text-align: left;
}

.site-footer__links a:hover,
.site-footer__text-link:hover {
    color: #ffffff;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
}

.btn--ghost {
    color: var(--geh-text);
    background: var(--geh-surface);
    border-color: var(--geh-line);
    box-shadow: 0 8px 18px rgba(40, 62, 48, 0.05);
}

.btn--ghost:hover {
    background: #f7faf7;
}

.btn--primary {
    color: #fff;
    background: var(--geh-primary);
    box-shadow: 0 12px 24px rgba(75, 148, 109, 0.24);
}

.btn--primary:hover {
    background: var(--geh-primary-strong);
}

.btn--warning {
    color: #fff;
    background: #ffc970;
    box-shadow: 0 12px 24px rgba(255, 181, 67, 0.28);
}

.btn--warning:hover {
    background: #f5b54f;
}

.btn--small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.92rem;
}

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid var(--geh-line);
    background: var(--geh-surface);
    border-radius: 16px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: var(--geh-text);
    border-radius: 999px;
}


.field {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid var(--geh-line);
    background: var(--geh-surface);
    text-align: left;
    position: relative;
}

.field__label {
    color: var(--geh-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.field__label--inline {
    display: inline-flex;
    align-items: center;
    min-height: 100%;
}

.field--compact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.field--compact .field__label--inline {
    flex: 0 0 auto;
}

.field--compact select {
    min-width: 0;
    flex: 1 1 auto;
}

.field input,
.field select {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--geh-text);
    font-size: 1.1rem;
}

.field select {
    cursor: pointer;
}

.btn--search {
    width: 100%;
    min-height: 100%;
}

.placeholder-lead {
    margin: 0 auto;
    max-width: 760px;
    color: var(--geh-muted);
    font-size: clamp(1.1rem, 2.4vw, 1.7rem);
    line-height: 1.5;
}

.placeholder-page {
    padding: 72px 0;
}

.placeholder-page__inner {
    display: grid;
    place-items: center;
}

.placeholder-card {
    width: min(760px, 100%);
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(221, 228, 220, 0.95);
    box-shadow: var(--geh-shadow);
}

.placeholder-card h1 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.1;
}

.placeholder-card p {
    margin: 0;
    color: var(--geh-muted);
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .site-nav-wrap {
        position: absolute;
        top: calc(100% + 12px);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 24px;
        border: 1px solid rgba(221, 228, 220, 0.95);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: var(--geh-shadow);
    }

    .site-nav-wrap.is-open {
        display: flex;
    }

    .site-nav,
    .site-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav {
        gap: 0.75rem;
    }

    .site-nav a,
    .site-nav__action,
    .site-actions .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 56px;
        padding: 0 1.1rem;
        border-radius: 999px;
        border: 1px solid rgba(221, 228, 220, 0.95);
        background: #fff;
        box-shadow: 0 8px 18px rgba(32, 51, 39, 0.04);
        text-align: center;
    }

    .site-nav__action {
        gap: 0.55rem;
    }

    .site-nav a:hover,
    .site-nav a.is-active,
    .site-nav__action:hover,
    .site-actions .btn:hover {
        background: #f7faf7;
    }

    .site-actions .btn--primary {
        background: var(--geh-primary);
        border-color: transparent;
        color: #fff;
        box-shadow: var(--geh-shadow);
    }

    .site-actions .btn--primary:hover {
        background: var(--geh-primary-strong);
    }

    .site-actions {
        gap: 0.75rem;
        width: 100%;
    }

    .menu-toggle {
        display: inline-block;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--geh-container), calc(100% - 20px));
    }

    .brand__text small {
        display: none;
    }

    .hero__copy h1 {
        font-size: 2.8rem;
    }

    .hero__lead,
    .placeholder-lead {
        font-size: 1rem;
    }

    .home-status .status-card h2 {
        font-size: clamp(1.2rem, 5vw, 1.45rem);
        line-height: 1.15;
    }

    .status-card,
    .placeholder-card,
    .search-card,
    .home-category-card {
        border-radius: 24px;
    }

    .btn {
        width: 100%;
    }

    .business-card-full,
    .business-section,
    .review-form-card {
        padding: 22px;
        border-radius: 24px;
    }

    .business-card-full__identity h1 {
        font-size: 2.2rem;
    }

    .captcha-box {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-box input {
        width: 100%;
    }
}

.field textarea {
    width: 100%;
    min-height: 120px;
    padding: 0;
    border: 0;
    resize: vertical;
    background: transparent;
    color: var(--geh-text);
    font-size: 1.05rem;
}

.char-counter,
.field-error,
.flash-success {
    display: block;
    font-size: 0.92rem;
}

.char-counter {
    color: var(--geh-muted);
    text-align: right;
}

.field-error {
    color: #cb4a37;
    font-weight: 600;
}

.flash-success {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(75, 148, 109, 0.12);
    color: var(--geh-primary-strong);
    font-weight: 700;
}

.flash-notice {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(252, 242, 211, 0.96);
    color: #8d651f;
    font-size: 0.92rem;
    font-weight: 700;
}

.site-modal[hidden] {
    display: none !important;
}

.site-modal {
    position: fixed;
    inset: 0;
    z-index: 75;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.site-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 28, 22, 0.72);
}

.site-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    padding: 1.75rem;
    border-radius: 28px;
    border: 1px solid rgba(221, 228, 220, 0.95);
    background: #fff;
    box-shadow: 0 28px 64px rgba(18, 31, 22, 0.35);
}

.site-modal__dialog--legal {
    width: min(960px, 100%);
}

.site-modal__dialog--contact {
    width: min(640px, 100%);
}

.site-modal__dialog--referrals {
    width: min(920px, 100%);
}

.site-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--geh-muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.site-modal__header {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.site-modal__header h2,
.site-modal__header p {
    margin: 0;
}

.site-modal__header p {
    color: var(--geh-muted);
}

.site-modal__header--center {
    justify-items: center;
    text-align: center;
}

.site-modal__header-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: clamp(1.9rem, 4vw, 2.2rem);
    line-height: 1.1;
}

.site-modal__header-title--warning .site-modal__header-icon {
    color: #f5a524;
}

.site-modal__header-title--claim .site-modal__header-icon {
    color: var(--geh-primary);
}

.site-modal__header-icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    font-size: 1.55rem;
    line-height: 1;
}

.site-modal__form {
    display: grid;
    gap: 1rem;
}

.site-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.site-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.site-modal__empty {
    display: grid;
    gap: 1rem;
}

.site-modal__empty p {
    margin: 0;
    color: var(--geh-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.site-modal__readonly-box {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 60px;
    padding: 0 1.35rem;
    border-radius: 22px;
    background: #f7f8f2;
    color: var(--geh-muted);
    font-size: 1.05rem;
}

.site-modal__readonly-box strong {
    color: var(--geh-text);
    font-size: 1.1rem;
}

.site-modal__readonly-label,
.site-modal__section-label {
    color: var(--geh-muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.site-modal__section-label {
    margin-top: 0.2rem;
}

.site-modal__success {
    margin-bottom: 1rem;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(75, 148, 109, 0.12);
    color: var(--geh-primary-strong);
    font-size: 0.96rem;
    font-weight: 700;
    text-align: center;
}

.contact-modal-form {
    display: grid;
    gap: 1.15rem;
}

.contact-modal-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-modal-form textarea {
    width: 100%;
    min-height: 180px;
    border: 0;
    resize: vertical;
    background: transparent;
    color: var(--geh-text);
    font-family: inherit;
    font-size: 1.05rem;
}

.contact-modal-form input:focus,
.contact-modal-form textarea:focus {
    outline: none;
    box-shadow: none;
}

.contact-modal-form__captcha {
    min-height: 92px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px 48px;
    align-items: center;
    gap: 14px;
}

.captcha-box__equation {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    white-space: nowrap;
}

.contact-modal-form__error {
    margin-top: -0.4rem;
}

.contact-modal-form__submit {
    width: 100%;
    min-height: 68px;
    font-size: 1.12rem;
}

.legal-modal {
    display: grid;
    gap: 1.5rem;
}

.terms-page {
    gap: 1.8rem;
}

.terms-page__hero {
    display: grid;
    gap: 0.6rem;
    padding-bottom: 0.4rem;
}

.terms-page__eyebrow {
    margin: 0;
    color: var(--geh-primary-strong);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.terms-page__section {
    display: grid;
    gap: 0.85rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(221, 228, 220, 0.95);
}

.terms-page__section:first-of-type {
    padding-top: 0.5rem;
    border-top: 0;
}

.terms-page__offer {
    display: grid;
    gap: 0.55rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(221, 228, 220, 0.95);
    border-radius: 1rem;
    background: rgba(251, 250, 246, 0.9);
}

.legal-modal__section h3,
.legal-modal__section h4 {
    margin: 0 0 0.65rem;
    color: var(--geh-text);
}

.legal-modal__section h3 {
    font-size: 1.25rem;
}

.legal-modal__section h4 {
    margin-top: 1rem;
    font-size: 1rem;
}

.legal-modal__section p {
    margin: 0;
    color: var(--geh-muted);
    line-height: 1.7;
}

.legal-modal__section p + p {
    margin-top: 0.5rem;
}

.legal-modal__list {
    margin: 0.1rem 0 0;
    padding-left: 1.35rem;
    color: var(--geh-muted);
    line-height: 1.7;
}

.legal-modal__list li + li {
    margin-top: 0.5rem;
}

.email-reveal-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--geh-primary-strong);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.email-reveal-button a {
    color: inherit;
    text-decoration: inherit;
}

.field__label--with-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.captcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid var(--geh-line);
    background: var(--geh-surface);
}

.captcha-box__question {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.captcha-box input {
    width: 88px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid var(--geh-line);
    padding: 0 14px;
    text-align: center;
    background: #fff;
    color: var(--geh-text);
}

.captcha-box--modal {
    padding-right: 16px;
}

.captcha-box__refresh {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--geh-muted);
    font-size: 1.85rem;
    cursor: pointer;
}

.site-modal__submit-wide {
    min-width: 280px;
}

.review-submit {
    width: 100%;
}


.link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--geh-primary);
    font-weight: 800;
    cursor: pointer;
}

.link-button--icon {
    font-size: 1.7rem;
    line-height: 1;
}

.directory-location-trigger {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
}

.directory-location-trigger + input {
    padding-right: 40px;
}

.field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.field-help {
    color: var(--geh-muted);
}

.directory-map .leaflet-container,
.business-map .leaflet-container {
    background: #edf1eb;
}

.directory-map .leaflet-tile-pane,
.business-map .leaflet-tile-pane {
    filter: grayscale(1) brightness(1.08) contrast(0.82);
}

.directory-map .leaflet-control-zoom a,
.business-map .leaflet-control-zoom a {
    color: var(--geh-text);
}

@media (max-width: 820px) {
    .site-modal {
        padding: 0.9rem;
    }

    .site-modal__dialog {
        padding: 1.1rem;
        border-radius: 24px;
    }

    .site-modal__header-title {
        align-items: flex-start;
        font-size: 1.7rem;
    }

    .site-modal__grid {
        grid-template-columns: 1fr;
    }

    .contact-modal-form__grid {
        grid-template-columns: 1fr;
    }

    .site-modal__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .site-modal__actions .btn {
        width: 100%;
    }

    .site-modal__submit-wide {
        min-width: 0;
    }

    .site-modal__readonly-box {
        flex-wrap: wrap;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }


    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .site-footer__brand {
        align-items: flex-start;
    }

    .site-footer__bottom {
        justify-content: flex-start;
        text-align: left;
    }


    .site-header__inner {
        min-height: 82px;
    }
}
