:root {
    --bg: #ffffff;
    --bg-strong: #ffffff;
    --surface: #ffffff;
    --surface-border: rgba(15, 23, 42, 0.08);
    --text: #111827;
    --muted: #667085;
    --accent: #0b6e4f;
    --accent-2: #db5a42;
    --shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
    --radius: 24px;
    --max-width: 1180px;
    --font-sans: "Space Grotesk", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    padding-bottom: 64px;
}

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

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.site-header-tools,
.language-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    display: block;
    width: auto;
    height: 38px;
    object-fit: contain;
}

.brand-drawer img {
    height: 32px;
}

.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-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--muted);
}

.language-toggle {
    padding: 4px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.language-toggle a {
    min-width: 40px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.language-toggle a.is-active {
    background: var(--text);
    color: white;
}

.drawer-language-toggle {
    margin-bottom: 18px;
}

.inline-form {
    margin: 0;
}

.nav-button {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.hero,
.microsite-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: stretch;
    padding: 28px 0 24px;
}

.auth-shell {
    display: grid;
    place-items: center;
    min-height: 70vh;
}

.hero-copy,
.hero-panel,
.contact-card,
.search-panel,
.business-card,
.story-card,
.form-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-copy,
.contact-card,
.story-card,
.form-card,
.auth-card {
    padding: 28px;
    backdrop-filter: none;
}

.hero-panel {
    display: grid;
    gap: 16px;
    padding: 18px;
    background: #ffffff;
}

.hero h1,
.microsite-hero h1,
.section-header h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.95;
    margin: 12px 0;
}

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.hero p,
.lead,
.form-card p,
.empty-state p,
.business-card p {
    color: var(--muted);
    line-height: 1.6;
}

.hero-actions,
.section-header,
.card-top,
.keywords,
.billing-summary,
.publish-grid,
.content-grid,
.offering-list,
.search-grid,
.stack {
    display: grid;
    gap: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
}

.stack-tight {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
}

.button.primary {
    background: var(--accent);
    color: white;
}

.button.secondary {
    background: transparent;
    border-color: rgba(11, 110, 79, 0.2);
    color: var(--accent);
}

.stat-card {
    border-radius: calc(var(--radius) - 8px);
    background: rgba(255, 255, 255, 0.68);
    padding: 18px;
}

.stat-card strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.search-panel {
    padding: 20px;
    margin: 16px 0 28px;
}

.search-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
}

label,
.stack {
    display: grid;
    gap: 8px;
}

label span {
    font-size: 0.92rem;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(31, 26, 21, 0.14);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font: inherit;
}

textarea {
    resize: vertical;
}

fieldset {
    border: 1px solid rgba(31, 26, 21, 0.1);
    border-radius: 20px;
    padding: 18px;
    margin: 0;
}

legend {
    padding: 0 8px;
    font-weight: 800;
}

.checkbox-row {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
}

.checkbox-row input {
    width: auto;
    margin: 0;
}

.hint-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.premium-fieldset {
    display: grid;
    gap: 14px;
    background: rgba(11, 110, 79, 0.04);
}

.premium-note {
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(11, 110, 79, 0.08);
    color: var(--text);
}

.media-preview,
.gallery-preview-item {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(31, 26, 21, 0.1);
    background: rgba(255, 255, 255, 0.72);
}

.media-preview img,
.gallery-preview-item img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.media-preview.logo img {
    object-fit: contain;
    padding: 16px;
    background: white;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.compact-head {
    margin-bottom: 12px;
}

.home-ad-results {
    margin: 0 0 26px;
}

.home-ad-stage,
.home-ad-preview-frame {
    display: grid;
    place-items: center;
    padding: 20px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(11, 110, 79, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(219, 90, 66, 0.15), transparent 28%),
        rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 26, 21, 0.08);
}

.home-ad-panel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.palette-card {
    width: 100%;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(31, 26, 21, 0.08);
    background: rgba(255, 255, 255, 0.82);
    text-align: left;
    cursor: pointer;
    display: grid;
    gap: 12px;
    font: inherit;
    color: inherit;
}

.palette-card-head {
    display: grid;
    gap: 4px;
}

.palette-card-head small {
    color: var(--muted);
    line-height: 1.5;
}

.palette-swatch-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.palette-swatch-row span {
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(31, 26, 21, 0.08);
}

.home-ad-purchase-box {
    display: grid;
    gap: 12px;
}

.home-ad-unit {
    --home-ad-bg: #102a43;
    --home-ad-accent: #f97316;
    position: relative;
    width: min(100%, 420px);
    min-height: min(92vh, 820px);
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(180deg, color-mix(in srgb, var(--home-ad-bg) 94%, black), var(--home-ad-bg));
    color: white;
    box-shadow: 0 30px 70px rgba(15, 15, 15, 0.24);
}

.home-ad-results .home-ad-unit {
    width: min(100%, 520px);
}

.home-ad-overlay,
.home-ad-media {
    position: absolute;
    inset: 0;
}

.home-ad-overlay {
    background:
        radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--home-ad-accent) 40%, transparent), transparent 28%),
        radial-gradient(circle at 82% 88%, color-mix(in srgb, white 12%, transparent), transparent 22%);
    z-index: 1;
}

.home-ad-media {
    background-size: cover;
    background-position: center;
    opacity: 0.76;
}

.home-ad-content {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: end;
    gap: 14px;
    min-height: inherit;
    padding: 28px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.12), rgba(10, 10, 10, 0.78));
}

.home-ad-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-ad-unit h2,
.home-ad-unit h3,
.home-ad-offer strong,
.home-ad-cta {
    margin: 0;
}

.home-ad-unit h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.82);
}

.home-ad-unit h2 {
    font-size: clamp(2rem, 7vw, 3.4rem);
    line-height: 0.92;
}

.home-ad-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    font-size: 1rem;
}

.home-ad-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-ad-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.84rem;
}

.home-ad-offers {
    display: grid;
    gap: 12px;
}

.home-ad-offer {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.home-ad-offer p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.5;
}

.home-ad-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.home-ad-cta {
    font-size: 1rem;
    font-weight: 800;
    color: white;
}

.home-ad-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--home-ad-accent);
    color: #101010;
    font-weight: 800;
}

.home-ad-style-editorial .home-ad-content {
    justify-items: start;
}

.home-ad-style-editorial .home-ad-offers {
    grid-template-columns: 1fr 1fr;
}

.home-ad-style-catalog .home-ad-offers {
    grid-template-columns: 1fr 1fr;
}

.home-ad-style-acai-delivery {
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 132, 236, 0.4), transparent 20%),
        linear-gradient(180deg, #6d004e 0%, var(--home-ad-bg) 58%, #93006b 100%);
}

.home-ad-style-acai-delivery .home-ad-content {
    justify-items: center;
    align-content: start;
    padding-top: 22px;
    background: linear-gradient(180deg, rgba(120, 0, 88, 0.08), rgba(62, 0, 49, 0.1));
}

.home-ad-acai-chip {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    min-height: 56px;
    min-width: 240px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 26px 26px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--home-ad-accent) 92%, white), #5b8f00);
    color: white;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(40, 65, 0, 0.28);
}

.home-ad-acai-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.12);
    z-index: 1;
}

.home-ad-acai-glow.glow-top {
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
}

.home-ad-acai-glow.glow-bottom {
    right: -30px;
    bottom: 120px;
    background: rgba(255, 126, 220, 0.22);
}

.home-ad-style-acai-delivery h3 {
    margin-top: 10px;
    letter-spacing: 0.16em;
}

.home-ad-acai-kicker {
    margin-top: 58px;
}

.home-ad-acai-title {
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 0.92;
    text-align: center;
    text-shadow: 0 10px 24px rgba(43, 0, 34, 0.36);
}

.home-ad-acai-bowl {
    width: min(84%, 320px);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    margin: 10px auto 4px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.home-ad-acai-bowl img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(25, 0, 17, 0.34));
}

.home-ad-acai-chips {
    justify-content: center;
}

.home-ad-style-acai-delivery .home-ad-chips span {
    background: rgba(255, 255, 255, 0.14);
}

.home-ad-acai-cta-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
    margin-top: 8px;
}

.home-ad-acai-cta,
.home-ad-acai-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--home-ad-accent) 92%, white), #628f00);
    color: white;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(43, 70, 0, 0.28);
}

.home-ad-acai-cta {
    font-size: 1.35rem;
}

.home-ad-acai-wa {
    min-width: 72px;
}

.home-ad-acai-wave {
    width: calc(100% + 56px);
    height: 74px;
    margin: 8px -28px 0;
    background:
        radial-gradient(circle at 15% 0%, #de2cba 0 24%, transparent 25%),
        radial-gradient(circle at 38% 0%, #de2cba 0 24%, transparent 25%),
        radial-gradient(circle at 61% 0%, #de2cba 0 24%, transparent 25%),
        radial-gradient(circle at 84% 0%, #de2cba 0 24%, transparent 25%);
}

.home-ad-acai-icons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.home-ad-acai-icons span {
    min-height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 0, 18, 0.38);
    border: 2px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    font-weight: 800;
}

.home-ad-acai-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 999px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: #532544;
    text-align: center;
    font-weight: 700;
}

.home-ad-acai-link {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.home-ad-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.toggle {
    justify-items: start;
}

.toggle input {
    width: auto;
    transform: scale(1.15);
}

.section-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin: 22px 0 18px;
}

.section-header h2,
.story-card h2,
.form-card h2,
.contact-card h2 {
    margin: 0;
}

.card-grid,
.publish-grid,
.content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid {
    display: grid;
    gap: 18px;
}

.business-card {
    padding: 22px;
}

.business-card h3,
.offering-item h3 {
    margin: 0;
}

.headline {
    font-weight: 700;
    color: var(--text);
}

.pill,
.keywords span,
.location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 0.85rem;
}

.pill {
    background: rgba(11, 110, 79, 0.12);
    color: var(--accent);
}

.premium-star-badge {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffe28f, #d4a11d);
    color: #5f4100;
    box-shadow: 0 10px 18px rgba(170, 122, 22, 0.24);
    font-size: 1rem;
    font-weight: 900;
}

.premium-star-badge-inline {
    flex: 0 0 auto;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(219, 90, 66, 0.14);
    color: var(--accent-2);
    font-size: 0.85rem;
    font-weight: 700;
}

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

.keywords span,
.location {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--muted);
}

.text-link {
    color: var(--accent-2);
    font-weight: 700;
}

.contact-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.offering-list {
    margin-top: 8px;
}

.offering-item {
    padding: 18px;
    border: 1px solid rgba(31, 26, 21, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
}

.empty-state {
    padding: 28px;
    background: rgba(255, 255, 255, 0.68);
    border-radius: var(--radius);
    border: 1px dashed rgba(31, 26, 21, 0.15);
}

.form-alert {
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(219, 90, 66, 0.12);
    color: #8a2d1d;
}

.form-alert-success {
    background: rgba(11, 110, 79, 0.12);
    color: #0f5b42;
}

.owner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.campaign-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.plan-meta {
    font-size: 0.92rem;
    color: var(--muted);
}

.plan-option {
    grid-template-columns: auto 1fr;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(31, 26, 21, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
}

.plan-option input {
    width: auto;
    margin-top: 4px;
}

.plan-option strong,
.plan-option small {
    display: block;
}

.billing-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.premium-monitor-grid {
    margin-top: 22px;
}

.analytics-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.analytics-metric {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 26, 21, 0.08);
}

.analytics-metric strong {
    display: block;
}

.analytics-metric span {
    color: var(--muted);
    line-height: 1.5;
}

.section-space {
    margin-top: 18px;
}

.hero-actions.compact {
    margin-top: 8px;
}

.industry-microsite {
    max-width: 460px;
    margin: 0 auto;
    padding-bottom: 110px;
    --microsite-bg: #fff8f1;
    --microsite-card: #ffffff;
    --microsite-card-alt: #f7eee2;
    --microsite-text: #241b16;
    --microsite-muted: #7a6658;
    --microsite-accent: #0b6e4f;
    --microsite-accent-strong: #db5a42;
    --microsite-outline: rgba(36, 27, 22, 0.12);
    --microsite-chip: rgba(255, 255, 255, 0.18);
    --microsite-display: "Georgia", "Times New Roman", serif;
    --microsite-body: "Segoe UI", sans-serif;
    --microsite-dock: rgba(255, 249, 242, 0.92);
    --microsite-shadow: 0 28px 60px rgba(44, 26, 16, 0.18);
}

.theme-love {
    --microsite-bg: #3f1768;
    --microsite-card: rgba(72, 30, 116, 0.95);
    --microsite-card-alt: #ff5e9b;
    --microsite-text: #fff5fa;
    --microsite-muted: #e8cbe8;
    --microsite-accent: #ff6fa7;
    --microsite-accent-strong: #ff4f88;
    --microsite-outline: rgba(255, 170, 206, 0.18);
    --microsite-chip: rgba(255, 255, 255, 0.16);
    --microsite-display: "Georgia", serif;
    --microsite-body: "Trebuchet MS", sans-serif;
    --microsite-dock: rgba(101, 49, 143, 0.84);
}

.theme-wedding {
    --microsite-bg: #fff8f6;
    --microsite-card: rgba(255, 253, 250, 0.96);
    --microsite-card-alt: #f4e2c4;
    --microsite-text: #3d2931;
    --microsite-muted: #765b66;
    --microsite-accent: #b23b72;
    --microsite-accent-strong: #cf5b8c;
    --microsite-outline: rgba(178, 59, 114, 0.16);
    --microsite-chip: rgba(255, 255, 255, 0.7);
    --microsite-display: "Palatino Linotype", serif;
    --microsite-body: "Segoe UI", sans-serif;
    --microsite-dock: rgba(206, 89, 138, 0.9);
}

.theme-restaurant {
    --microsite-bg: #fff5ef;
    --microsite-card: rgba(255, 253, 250, 0.98);
    --microsite-card-alt: #ff2742;
    --microsite-text: #261512;
    --microsite-muted: #7a564f;
    --microsite-accent: #ea2f54;
    --microsite-accent-strong: #ff7b34;
    --microsite-outline: rgba(234, 47, 84, 0.16);
    --microsite-chip: rgba(255, 243, 240, 0.8);
    --microsite-display: "Trebuchet MS", sans-serif;
    --microsite-body: "Segoe UI", sans-serif;
    --microsite-dock: rgba(255, 233, 236, 0.94);
}

.theme-taxi {
    --microsite-bg: #fff4aa;
    --microsite-card: rgba(255, 241, 112, 0.98);
    --microsite-card-alt: #ffd248;
    --microsite-text: #17130a;
    --microsite-muted: #453c18;
    --microsite-accent: #111111;
    --microsite-accent-strong: #e09e00;
    --microsite-outline: rgba(17, 17, 17, 0.22);
    --microsite-chip: rgba(255, 218, 0, 0.32);
    --microsite-display: "Arial Black", sans-serif;
    --microsite-body: "Trebuchet MS", sans-serif;
    --microsite-dock: rgba(255, 219, 83, 0.95);
}

.theme-architect {
    --microsite-bg: #fbf7ef;
    --microsite-card: rgba(255, 252, 247, 0.98);
    --microsite-card-alt: #f4ede1;
    --microsite-text: #2f2b27;
    --microsite-muted: #8d8378;
    --microsite-accent: #b9a589;
    --microsite-accent-strong: #8b7763;
    --microsite-outline: rgba(112, 95, 73, 0.18);
    --microsite-chip: rgba(240, 232, 220, 0.88);
    --microsite-display: "Gill Sans MT", sans-serif;
    --microsite-body: "Segoe UI", sans-serif;
    --microsite-dock: rgba(252, 247, 238, 0.95);
}

.theme-gym {
    --microsite-bg: #e8e8e8;
    --microsite-card: rgba(255, 255, 255, 0.96);
    --microsite-card-alt: #f3f3f3;
    --microsite-text: #111111;
    --microsite-muted: #505050;
    --microsite-accent: #1d1d1d;
    --microsite-accent-strong: #404040;
    --microsite-outline: rgba(17, 17, 17, 0.2);
    --microsite-chip: rgba(255, 255, 255, 0.9);
    --microsite-display: "Impact", sans-serif;
    --microsite-body: "Trebuchet MS", sans-serif;
    --microsite-dock: rgba(56, 56, 56, 0.92);
}

.theme-spa {
    --microsite-bg: #f1fff7;
    --microsite-card: rgba(255, 255, 255, 0.96);
    --microsite-card-alt: #e3fff4;
    --microsite-text: #204235;
    --microsite-muted: #658f80;
    --microsite-accent: #3fcb82;
    --microsite-accent-strong: #7fe3b0;
    --microsite-outline: rgba(63, 203, 130, 0.18);
    --microsite-chip: rgba(225, 255, 245, 0.95);
    --microsite-display: "Palatino Linotype", serif;
    --microsite-body: "Segoe UI", sans-serif;
    --microsite-dock: rgba(219, 255, 236, 0.95);
}

.industry-phone-shell {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--microsite-accent-strong) 24%, transparent), transparent 34%),
        radial-gradient(circle at top right, color-mix(in srgb, var(--microsite-accent) 18%, transparent), transparent 28%),
        var(--microsite-bg);
    border-radius: 34px;
    box-shadow: var(--microsite-shadow);
    overflow: hidden;
    color: var(--microsite-text);
}

.industry-cover {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.industry-cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 52px;
    background: linear-gradient(180deg, transparent, var(--microsite-bg));
}

.industry-cover-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
    position: relative;
    z-index: 1;
}

.industry-cover-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--microsite-chip);
    color: var(--microsite-text);
    backdrop-filter: blur(12px);
    font-size: 0.86rem;
    font-weight: 700;
}

.industry-cover-chip.accent {
    background: var(--microsite-accent);
    color: white;
}

.industry-cover-chip.accent-alt {
    background: color-mix(in srgb, var(--microsite-accent-strong) 82%, white);
    color: white;
}

.premium-star-chip {
    min-width: 40px;
    justify-content: center;
    padding: 0 12px;
    background: linear-gradient(180deg, #ffe291, #cf991b) !important;
    color: #5e4206 !important;
}

.industry-language-toggle {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

.industry-language-toggle a {
    color: white;
}

.industry-language-toggle a.is-active {
    background: white;
    color: var(--text);
}

.industry-page-card {
    padding: 0 18px 22px;
    margin-top: -34px;
    position: relative;
    z-index: 1;
}

.industry-profile,
.industry-info-card,
.industry-content-card {
    background: var(--microsite-card);
    border: 1px solid var(--microsite-outline);
    box-shadow: 0 10px 28px rgba(21, 16, 12, 0.08);
}

.industry-profile {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    align-items: center;
    border-radius: 26px;
    padding: 18px;
}

.industry-avatar-wrap {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    padding: 4px;
    background: linear-gradient(160deg, var(--microsite-accent-strong), var(--microsite-accent));
}

.industry-avatar {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(255, 255, 255, 0.86);
}

.industry-avatar-monogram {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 24% 24%, color-mix(in srgb, var(--microsite-accent-strong) 38%, white), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--microsite-accent) 94%, white), color-mix(in srgb, var(--microsite-accent-strong) 92%, black));
    color: white;
    font-family: var(--font-sans);
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.industry-profile-copy h1,
.industry-profile-copy h2,
.industry-content-card h3,
.industry-offering h4 {
    margin: 0;
}

.industry-kicker,
.industry-section-kicker {
    display: inline-block;
    color: var(--microsite-accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.industry-profile-copy h1 {
    margin-top: 6px;
    font-family: var(--microsite-display);
    font-size: clamp(1.8rem, 7vw, 2.7rem);
    line-height: 0.95;
}

.industry-profile-copy h2 {
    margin-top: 8px;
    font-size: 1.02rem;
}

.industry-profile-copy p,
.industry-content-card p,
.industry-info-card p,
.industry-contact-list span,
.industry-offering p {
    color: var(--microsite-muted);
    line-height: 1.55;
}

.industry-action-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.industry-action-button {
    min-width: 68px;
    min-height: 68px;
    padding: 10px 12px;
    border-radius: 22px;
    display: inline-grid;
    place-items: center;
    gap: 4px;
    background: var(--microsite-card);
    border: 1px solid var(--microsite-outline);
    box-shadow: 0 8px 20px rgba(25, 17, 10, 0.08);
}

.industry-action-icon {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--microsite-accent);
}

.industry-action-button small {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--microsite-muted);
}

.industry-showcase-card {
    height: 190px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 30px rgba(14, 10, 8, 0.18);
}

.industry-info-card,
.industry-content-card {
    border-radius: 24px;
    padding: 20px;
    margin-top: 18px;
}

.industry-info-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    background: var(--microsite-card-alt);
}

.industry-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    color: var(--microsite-text);
    font-size: 1.2rem;
}

.industry-info-label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    margin-bottom: 4px;
}

.industry-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.industry-chip-row span,
.industry-offering-type {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 0 12px;
    background: color-mix(in srgb, var(--microsite-accent) 12%, white);
    color: var(--microsite-accent);
    font-size: 0.84rem;
    font-weight: 700;
}

.industry-offering-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.industry-offering {
    padding: 16px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--microsite-card-alt) 58%, white);
    border: 1px solid color-mix(in srgb, var(--microsite-outline) 75%, transparent);
}

.industry-offering h4 {
    margin-top: 10px;
    font-size: 1.05rem;
}

.industry-offering small {
    display: block;
    margin-top: 8px;
    color: var(--microsite-accent);
    font-weight: 700;
}

.industry-contact-list {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.industry-contact-list div {
    display: grid;
    gap: 4px;
}

.industry-contact-list strong {
    color: var(--microsite-text);
}

.industry-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.industry-gallery-item {
    border-radius: 20px;
    overflow: hidden;
    min-height: 132px;
    background: color-mix(in srgb, var(--microsite-card-alt) 54%, white);
    border: 1px solid color-mix(in srgb, var(--microsite-outline) 75%, transparent);
}

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

.industry-premium-actions,
.industry-hours-grid {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.industry-chat-shell {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.industry-form-shell {
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: color-mix(in srgb, var(--microsite-card-alt) 32%, white);
    border: 1px solid color-mix(in srgb, var(--microsite-outline) 65%, transparent);
}

.industry-form-shell h4 {
    margin: 0 0 12px;
}

.industry-review-summary {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 10px 0 16px;
}

.industry-review-summary strong {
    display: block;
}

.industry-review-summary span {
    color: var(--microsite-muted);
}

.industry-review-list {
    display: grid;
    gap: 12px;
}

.industry-review-card {
    padding: 16px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--microsite-card-alt) 40%, white);
    border: 1px solid color-mix(in srgb, var(--microsite-outline) 65%, transparent);
}

.industry-review-card p,
.industry-review-card small {
    margin: 0;
}

.industry-review-card p {
    margin: 10px 0 8px;
}

.industry-review-card small {
    color: var(--microsite-muted);
}

.industry-review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.industry-review-stars {
    color: #d4a11d;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.industry-chat-toolbar,
.industry-chat-actions {
    display: grid;
    gap: 10px;
}

.industry-chat-toolbar {
    grid-template-columns: minmax(0, 1fr);
}

.industry-chat-log {
    display: grid;
    gap: 10px;
    max-height: 280px;
    overflow: auto;
    padding-right: 4px;
}

.industry-chat-bubble {
    max-width: 90%;
    padding: 12px 14px;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.industry-chat-bubble.assistant {
    background: color-mix(in srgb, var(--microsite-card-alt) 54%, white);
    color: var(--microsite-text);
    border: 1px solid color-mix(in srgb, var(--microsite-outline) 75%, transparent);
}

.industry-chat-bubble.user {
    justify-self: end;
    background: var(--microsite-accent);
    color: white;
}

.industry-chat-form {
    display: grid;
    gap: 10px;
}

.voice-toggle {
    align-items: center;
}

.industry-qr-card {
    display: grid;
    gap: 20px;
    align-items: center;
}

.industry-qr-box {
    width: min(180px, 100%);
    padding: 14px;
    border-radius: 24px;
    background: white;
    box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.08);
}

.industry-qr-box img {
    display: block;
    width: 100%;
    height: auto;
}

.industry-signal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.industry-signal-grid div {
    border-radius: 18px;
    padding: 14px;
    background: color-mix(in srgb, var(--microsite-card-alt) 46%, white);
    border: 1px solid color-mix(in srgb, var(--microsite-outline) 65%, transparent);
}

.industry-signal-grid strong,
.industry-hour-row {
    display: block;
    color: var(--microsite-text);
    font-weight: 800;
}

.industry-signal-grid small {
    color: var(--microsite-muted);
}

.industry-hour-row {
    border-radius: 18px;
    padding: 14px 16px;
    background: color-mix(in srgb, var(--microsite-card-alt) 42%, white);
    border: 1px solid color-mix(in srgb, var(--microsite-outline) 65%, transparent);
}

.industry-dock {
    position: sticky;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 18px auto 0;
    padding: 10px;
    width: min(430px, calc(100% - 12px));
    border-radius: 999px;
    background: var(--microsite-dock);
    border: 1px solid var(--microsite-outline);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 24px rgba(15, 10, 7, 0.18);
}

.industry-dock-button {
    min-height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--microsite-accent);
    text-align: center;
}

.industry-dock-button span {
    font-size: 1.1rem;
    font-weight: 900;
}

.industry-dock-button small {
    font-size: 0.68rem;
    margin-top: 2px;
}

.theme-taxi .industry-profile,
.theme-gym .industry-profile,
.theme-taxi .industry-info-card,
.theme-gym .industry-info-card,
.theme-taxi .industry-content-card,
.theme-gym .industry-content-card,
.theme-taxi .industry-dock,
.theme-gym .industry-dock {
    border-width: 2px;
}

.theme-restaurant .industry-showcase-card {
    border-radius: 28px;
}

.theme-love .industry-profile,
.theme-wedding .industry-profile {
    box-shadow: 0 18px 36px rgba(41, 12, 57, 0.18);
}

.theme-architect .industry-phone-shell {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 238, 0.98)),
        var(--microsite-bg);
}

.theme-gym .industry-profile-copy h1,
.theme-taxi .industry-profile-copy h1 {
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .hero,
    .microsite-hero,
    .card-grid,
    .publish-grid,
    .content-grid,
    .search-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(var(--max-width), calc(100% - 20px));
    }

    .hero-copy,
    .contact-card,
    .story-card,
    .form-card,
    .search-panel {
        padding: 20px;
    }

    .industry-microsite {
        max-width: 100%;
    }

    .industry-phone-shell {
        border-radius: 30px;
    }

    .industry-cover {
        height: 200px;
    }

    .industry-profile {
        grid-template-columns: 78px 1fr;
        gap: 12px;
        padding: 16px;
    }

    .industry-avatar-wrap {
        width: 78px;
        height: 78px;
    }

    .industry-page-card {
        padding: 0 14px 18px;
    }

    .industry-info-card,
    .industry-content-card {
        padding: 18px;
    }

    .industry-showcase-card {
        height: 170px;
    }

    .gallery-preview-grid,
    .industry-gallery-grid,
    .industry-signal-grid,
    .palette-grid,
    .analytics-strip {
        grid-template-columns: 1fr;
    }

    .home-ad-stage,
    .home-ad-preview-frame {
        padding: 10px;
        border-radius: 24px;
    }

    .home-ad-unit,
    .home-ad-results .home-ad-unit {
        width: 100%;
        min-height: 78vh;
        border-radius: 28px;
    }

    .home-ad-style-editorial .home-ad-offers,
    .home-ad-style-catalog .home-ad-offers {
        grid-template-columns: 1fr;
    }

    .industry-chat-actions {
        grid-template-columns: 1fr;
    }

    .industry-dock {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
        width: min(410px, calc(100% - 18px));
        z-index: 30;
    }
}

.drawer-open {
    overflow: hidden;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(31, 26, 21, 0.12);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    padding: 0;
}

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

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 14, 11, 0.42);
    backdrop-filter: blur(8px);
    z-index: 50;
}

.site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, calc(100% - 28px));
    padding: 22px;
    background: #ffffff;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: -24px 0 60px rgba(15, 23, 42, 0.12);
    transform: translateX(105%);
    transition: transform 0.24s ease;
    z-index: 60;
}

.site-drawer.is-open {
    transform: translateX(0);
}

.drawer-head,
.drawer-links,
.explorer-card-head,
.explorer-card-actions,
.search-shell-tools,
.location-strip,
.section-header-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.drawer-head {
    align-items: flex-start;
    margin-bottom: 16px;
}

.drawer-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(31, 26, 21, 0.06);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

.drawer-copy {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.drawer-links {
    display: grid;
    justify-content: stretch;
}

.drawer-links a,
.drawer-action {
    min-height: 48px;
}

.drawer-links a {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.drawer-form {
    margin: 0;
}

.drawer-action {
    width: 100%;
}

.home-minimal-shell {
    display: grid;
    gap: 18px;
    padding: 14px 0 8px;
}

.home-minimal-shell-pro {
    gap: 22px;
    padding: 10px 0 2px;
}

.home-minimal-copy {
    display: grid;
    gap: 10px;
    max-width: 780px;
}

.home-minimal-copy h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.9rem);
    line-height: 0.94;
}

.home-minimal-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.explorer-hero {
    position: relative;
    min-height: 72vh;
    padding: 26px 0 20px;
    border-radius: 36px;
    overflow: clip;
    background:
        radial-gradient(circle at 12% 14%, rgba(219, 90, 66, 0.28), transparent 26%),
        radial-gradient(circle at 82% 16%, rgba(17, 131, 96, 0.22), transparent 28%),
        linear-gradient(135deg, #0e1317 0%, #18242d 55%, #1f2d37 100%);
    box-shadow: 0 22px 80px rgba(15, 22, 28, 0.26);
}

.explorer-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 10, 12, 0.68), rgba(12, 17, 23, 0.3)),
        radial-gradient(circle at 24% 72%, rgba(255, 255, 255, 0.08), transparent 20%);
    pointer-events: none;
}

.explorer-content {
    position: relative;
    z-index: 1;
    padding: 28px;
    display: grid;
    gap: 28px;
}

.explorer-copy {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.94);
}

.explorer-copy .eyebrow,
.directory-results .eyebrow {
    color: #9be6c8;
}

.explorer-copy h1 {
    margin: 14px 0 16px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.92;
}

.explorer-copy p {
    max-width: 58ch;
    margin: 0;
    color: rgba(238, 244, 247, 0.8);
    line-height: 1.7;
}

.search-shell-card,
.location-strip,
.result-shell-note {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 30px;
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
}

.search-shell-card {
    padding: 18px;
}

.search-shell-card-minimal {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.search-shell-card-pro {
    padding: 14px;
    border-radius: 34px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.06);
    transition: margin-bottom 0.18s ease;
}

.search-shell-card-pro.is-suggesting {
    z-index: 4;
}

.search-shell {
    position: relative;
    display: grid;
    gap: 14px;
}

.search-shell-minimal {
    gap: 16px;
}

.search-shell-main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.9fr) auto;
    gap: 12px;
    align-items: stretch;
}

.search-shell-main-pro {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr) auto;
    gap: 10px;
}

.search-field {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.search-field span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #667085;
}

.search-field input {
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 1.08rem;
    font-weight: 600;
}

.search-field input:focus {
    outline: none;
}

.search-field input::placeholder {
    color: #98a2b3;
}

.search-submit {
    min-width: 132px;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, #161616, #2f2f2f);
    color: white;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 26px rgba(20, 20, 20, 0.14);
}

.search-locate {
    white-space: nowrap;
}

.search-shell-tools-minimal {
    justify-content: flex-start;
}

.search-shell-tools-pro {
    gap: 12px;
}

.exact-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--muted);
    font-weight: 700;
}

.exact-toggle input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.search-caption,
.section-caption,
.result-shell-note span,
.network-mini-stats span {
    color: var(--muted);
    line-height: 1.6;
}

.search-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 10;
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
}

.search-suggestions-minimal {
    top: calc(100% + 4px);
    border-radius: 22px;
    background: #ffffff;
}

.search-suggestions-pro {
    gap: 12px;
    padding: 14px;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.suggestion-chip-row-pro {
    gap: 8px;
}

.suggestion-list-pro {
    gap: 8px;
}

.suggestion-list-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.suggestion-group {
    display: grid;
    gap: 10px;
}

.suggestion-label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #786654;
}

.suggestion-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-chip-button,
.search-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(31, 26, 21, 0.08);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.search-chip-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-chip {
    color: var(--muted);
}

.suggestion-list {
    display: grid;
    gap: 8px;
}

.suggestion-item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: #ffffff;
}

.suggestion-item span {
    color: var(--muted);
    font-size: 0.95rem;
}

.suggestion-item-location {
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.search-shell-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.network-mini-stats {
    display: grid;
    justify-items: end;
    gap: 2px;
}

.network-mini-stats strong {
    font-size: 1.5rem;
}

.location-strip {
    margin: 22px 0 28px;
    padding: 18px 20px;
}

.location-strip-copy p {
    margin: 6px 0 0;
    color: var(--muted);
}

.location-strip-copy a {
    color: var(--accent);
    font-weight: 700;
}

.location-strip-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.home-ad-home-surface {
    margin-bottom: 30px;
}

.home-ad-inline-card .home-ad-stage {
    background: rgba(255, 255, 255, 0.92);
}

.directory-results {
    display: grid;
    gap: 18px;
}

.directory-results-plain {
    gap: 0;
    margin-top: 8px;
}

.section-header-minimal h2 {
    margin: 0;
}

.network-mini-stats-minimal {
    min-width: 150px;
}

.section-header-wide {
    align-items: flex-end;
}

.result-shell-note {
    max-width: 320px;
    padding: 16px 18px;
}

.directory-result-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.directory-result-list-pro {
    gap: 16px;
}

.explorer-card {
    display: grid;
    gap: 20px;
    min-height: 360px;
    padding: 26px;
    background: #ffffff;
}

.explorer-card-minimal {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.explorer-card-pro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.06);
}

.explorer-card-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.98) 28%);
    pointer-events: none;
    z-index: 0;
}

.explorer-card-pro > * {
    position: relative;
    z-index: 1;
}

.home-ad-inline-card-pro .home-ad-stage {
    padding: 0;
    background: transparent;
    border: 0;
}

.explorer-card-location,
.plan-meta {
    color: var(--muted);
}

.explorer-card-head {
    align-items: flex-start;
}

.explorer-card-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
}

.explorer-card-logo {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 14px 28px rgba(15, 23, 42, 0.08);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.explorer-card-logo span {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--text);
}

.explorer-card-logo.has-image {
    padding: 10px;
    background: #ffffff;
}

.explorer-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.explorer-card-titleblock,
.explorer-card-body,
.explorer-card-copy,
.explorer-card-meta,
.platform-story-grid {
    display: grid;
    gap: 16px;
}

.explorer-card-titleblock {
    gap: 8px;
    min-width: 0;
}

.explorer-card-pills {
    gap: 8px;
}

.explorer-card-aside {
    display: grid;
    justify-items: end;
    gap: 8px;
    text-align: right;
}

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

.explorer-card-body {
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    align-content: space-between;
    flex: 1;
}

.explorer-card-titleblock h3 {
    margin: 0;
    font-size: clamp(1.65rem, 2vw, 2rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.explorer-card-titleblock .headline {
    margin: 0;
    font-weight: 700;
    color: #475467;
}

.explorer-card-description {
    margin: 0;
    color: #475467;
    line-height: 1.72;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.explorer-card-location {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    font-weight: 700;
}

.explorer-card-actions {
    margin-top: auto;
    padding-top: 4px;
}

.home-reel-card {
    display: none;
}

.home-reel-logo {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    flex: 0 0 auto;
}

.home-reel-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
}

.video-preview video {
    width: 100%;
    border-radius: 18px;
    display: block;
    background: #111;
}

.explorer-empty {
    padding: 34px;
}

.story-card-rich {
    min-height: 220px;
    background: #ffffff;
}

.home-directory-shell,
.info-hero,
.info-grid,
.info-stack {
    margin-bottom: 24px;
}

.home-directory-shell {
    display: grid;
    gap: 18px;
    padding: 18px 0 6px;
}

.home-directory-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.home-directory-top h1,
.info-hero h1 {
    margin: 10px 0 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 0.95;
}

.info-hero {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr;
    gap: 20px;
    align-items: stretch;
}

.info-hero-copy,
.info-hero-panel,
.info-panel {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: none;
}

.info-hero-copy,
.info-hero-panel,
.info-panel {
    padding: 26px;
}

.premium-hero .info-hero-copy {
    background: #ffffff;
}

.platform-hero .info-hero-copy {
    background: #ffffff;
}

.info-hero-copy p,
.info-panel p,
.feature-list li {
    color: var(--muted);
    line-height: 1.7;
}

.info-hero-panel {
    display: grid;
    align-content: center;
    gap: 12px;
    background: #ffffff;
}

.info-hero-panel strong {
    font-size: 1.25rem;
}

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

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

.feature-list {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 920px) {
    .site-header {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }

    .site-nav {
        display: none;
    }

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

    .site-header-tools {
        margin-left: auto;
    }

    .explorer-content {
        padding: 22px;
    }

    .search-shell-main,
    .search-shell-footer,
    .directory-result-list,
    .platform-story-grid,
    .info-grid,
    .info-stack {
        grid-template-columns: 1fr;
    }

    .network-mini-stats {
        justify-items: start;
    }
}

@media (max-width: 720px) {
    .explorer-hero {
        min-height: auto;
        border-radius: 28px;
    }

    .info-hero,
    .explorer-content,
    .search-shell-card,
    .location-strip,
    .explorer-card {
        grid-template-columns: 1fr;
    }

    .home-directory-top,
    .search-shell-tools,
    .location-strip,
    .section-header-wide,
    .explorer-card-head,
    .explorer-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-shell-card,
    .location-strip,
    .explorer-card,
    .info-hero-copy,
    .info-hero-panel,
    .info-panel {
        padding: 18px;
    }

    .search-shell-main {
        grid-template-columns: 1fr;
    }

    .search-submit {
        min-height: 54px;
    }

    .directory-result-list {
        scroll-snap-type: y proximity;
    }

    .explorer-card {
        min-height: calc(100svh - 130px);
        scroll-snap-align: start;
    }

    .explorer-card-has-reel {
        position: relative;
        padding: 0;
        overflow: hidden;
        background: #111;
        border: 0;
        box-shadow: 0 18px 40px rgba(12, 12, 12, 0.18);
    }

    .explorer-card-has-reel .explorer-card-head,
    .explorer-card-has-reel .explorer-card-body,
    .explorer-card-has-reel .explorer-card-actions {
        display: none;
    }

    .home-reel-card {
        position: relative;
        min-height: calc(100svh - 130px);
        display: grid;
        text-decoration: none;
        color: #fff;
        isolation: isolate;
    }

    .home-reel-video,
    .home-reel-overlay,
    .home-reel-content {
        grid-area: 1 / 1;
    }

    .home-reel-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background: #111;
    }

    .home-reel-overlay {
        background:
            linear-gradient(180deg, rgba(6, 6, 6, 0.12), rgba(6, 6, 6, 0.2) 32%, rgba(6, 6, 6, 0.78));
        z-index: 1;
    }

    .home-reel-content {
        position: relative;
        z-index: 2;
        display: grid;
        align-content: space-between;
        min-height: inherit;
        padding: 16px;
    }

    .home-reel-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    .home-reel-bottom {
        display: grid;
        gap: 8px;
        align-content: end;
    }

    .home-reel-location {
        font-size: 0.92rem;
        color: rgba(255, 255, 255, 0.82);
    }

    .home-reel-bottom h3 {
        margin: 0;
        font-size: 2rem;
        line-height: 0.98;
    }

    .home-reel-bottom .headline {
        margin: 0;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.92);
    }

    .home-reel-cta {
        justify-self: start;
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.22);
        backdrop-filter: blur(12px);
        font-weight: 700;
    }

    .explorer-card-titleblock h3 {
        font-size: 1.55rem;
    }

    .explorer-card-brand {
        grid-template-columns: 68px minmax(0, 1fr);
        align-items: start;
    }

    .explorer-card-logo {
        width: 68px;
        height: 68px;
        border-radius: 20px;
    }

    .explorer-card-aside {
        justify-items: start;
        text-align: left;
    }

    .home-minimal-copy h1 {
        font-size: 2rem;
    }

    .site-header {
        gap: 10px;
    }

    .language-toggle a {
        min-width: 36px;
    }

    .brand img {
        height: 30px;
    }

    .brand-drawer img {
        height: 28px;
    }
}

.market-shell {
    display: grid;
    gap: 1.5rem;
}

.market-main,
.market-side,
.market-detail-main,
.market-detail-side,
.market-copy,
.market-card-body,
.market-detail-copy {
    min-width: 0;
}

.market-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
}

.market-copy h1 {
    margin: 0.15rem 0 0.35rem;
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.market-copy p {
    max-width: 44rem;
    color: #5b5248;
}

.market-search-card,
.market-detail-card,
.market-map-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.75rem;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.06);
}

.market-search-card {
    padding: 1.2rem;
}

.market-search-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.25fr 0.65fr auto auto;
    gap: 0.9rem;
    align-items: end;
}

.search-field-radius {
    min-width: 110px;
}

.market-category-row {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-top: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.market-category-row::-webkit-scrollbar,
.market-quick-question-row::-webkit-scrollbar,
.market-thumb-row::-webkit-scrollbar,
.market-video-row::-webkit-scrollbar {
    display: none;
}

.market-category-chip {
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: #fff;
    color: #1a1917;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
}

.market-category-chip.is-active {
    background: #171717;
    color: #fff;
    border-color: #171717;
}

.market-layout,
.market-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
    gap: 1.5rem;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.market-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.market-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.market-card-media img,
.market-thumb-row img,
.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.market-card-fallback,
.market-detail-empty-cover {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #171717;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.market-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    border-radius: 999px;
    padding: 0.38rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.market-badge.is-live {
    background: rgba(14, 116, 82, 0.12);
    color: #0f766e;
}

.market-badge.is-muted {
    background: rgba(120, 113, 108, 0.12);
    color: #57534e;
}

.market-card-body {
    padding: 1rem;
    display: grid;
    gap: 0.28rem;
}

.market-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #171717;
}

.market-price.hero {
    font-size: 1.6rem;
}

.market-card-body h3,
.market-detail-copy h1 {
    margin: 0;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.market-card-body p,
.market-detail-copy p {
    margin: 0;
    color: #5b5248;
}

.market-card-meta,
.market-seller-meta,
.market-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    color: #6b635b;
    font-size: 0.92rem;
}

.market-map-card {
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.market-map-card iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 1.2rem;
    margin-bottom: 0.85rem;
}

.market-map-placeholder {
    min-height: 220px;
    border-radius: 1.2rem;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1rem;
    margin-bottom: 0.85rem;
}

.market-detail-main {
    display: grid;
    gap: 1rem;
}

.market-detail-card {
    padding: 1rem;
}

.market-detail-gallery {
    display: grid;
    gap: 0.75rem;
}

.market-detail-cover {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    border-radius: 1.2rem;
    object-fit: cover;
}

.market-thumb-row,
.market-video-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.65rem;
}

.market-thumb-row img,
.market-video-row video {
    border-radius: 1rem;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #111;
}

.market-detail-copy {
    display: grid;
    gap: 0.65rem;
    padding-top: 1rem;
}

.market-quick-question-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.market-question-chip {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #f7f3ee;
    border-radius: 999px;
    padding: 0.72rem 0.95rem;
    font: inherit;
    cursor: pointer;
}

.market-distance {
    color: #0f766e;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .market-search-grid,
    .market-layout,
    .market-detail-grid {
        grid-template-columns: 1fr;
    }

    .market-map-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .market-shell {
        gap: 1rem;
    }

    .market-hero {
        flex-direction: column;
        align-items: start;
    }

    .market-copy h1 {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
    }

    .market-copy p {
        font-size: 0.96rem;
    }

    .market-search-card,
    .market-detail-card,
    .market-map-card {
        border-radius: 1.3rem;
    }

    .market-search-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .market-search-grid > * {
        min-width: 0;
    }

    .market-search-grid .button,
    .market-search-grid .search-submit {
        width: 100%;
        min-width: 0;
    }

    .market-category-row {
        margin-inline: -0.1rem;
        padding-top: 0.8rem;
        padding-bottom: 0.2rem;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .market-card {
        border-radius: 1.25rem;
    }

    .market-card-media {
        aspect-ratio: 1.15 / 1;
    }

    .market-card-body {
        padding: 0.85rem;
        gap: 0.45rem;
    }

    .market-card-body h3 {
        font-size: 1.05rem;
    }

    .market-card-meta,
    .market-seller-meta,
    .market-detail-meta {
        display: grid;
        gap: 0.35rem;
        font-size: 0.88rem;
    }

    .market-detail-card {
        padding: 0.9rem;
    }

    .market-detail-cover {
        aspect-ratio: 1 / 1;
    }

    .market-thumb-row,
    .market-video-row {
        grid-auto-flow: column;
        grid-auto-columns: 68%;
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scroll-snap-type: x proximity;
    }

    .market-thumb-row img,
    .market-video-row video {
        scroll-snap-align: start;
    }

    .market-detail-copy {
        gap: 0.8rem;
    }

    .market-detail-copy h1 {
        font-size: 1.75rem;
    }

    .market-quick-question-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .market-question-chip {
        white-space: nowrap;
    }

    .market-detail-shell .hero-actions.compact,
    #market-form .hero-actions.compact,
    .market-form-shell .hero-actions.compact {
        display: grid;
        grid-template-columns: 1fr;
    }

    .market-detail-shell .hero-actions.compact .button,
    #market-form .hero-actions.compact .button,
    .market-form-shell .hero-actions.compact .button {
        width: 100%;
    }

    .gallery-preview-grid {
        grid-template-columns: 1fr;
    }

    .analytics-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .market-search-card,
    .market-detail-card,
    .market-map-card {
        padding: 0.9rem;
    }

    .market-category-chip,
    .market-question-chip {
        padding: 0.68rem 0.9rem;
    }

    .market-card-body p,
    .market-card-meta {
        font-size: 0.85rem;
    }

    .market-thumb-row,
    .market-video-row {
        grid-auto-columns: 82%;
    }
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-block {
    gap: 18px;
}

.admin-settings-grid {
    align-items: start;
}

.admin-textarea-span,
.admin-actions-span {
    grid-column: 1 / -1;
}

.admin-item-card {
    display: grid;
    gap: 14px;
}

.admin-inline-actions {
    margin-top: 0;
}

.admin-inline-actions form,
.admin-subscription-form {
    margin: 0;
}

.admin-subscription-form {
    display: grid;
    gap: 10px;
}

@media (max-width: 980px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}
