/* Wedding Events public website - matches the "Modern Wedding Event UI" app design (Stitch). */
:root {
    --bg: #fafaf9;
    --surface: #ffffff;
    --soft: #f8fafc;
    --ink: #0f172a;
    --text: #1e293b;
    --muted: #64748b;
    --faint: #94a3b8;
    --line: #f1f5f9;
    --line-strong: #e2e8f0;
    --brand-50: #fff1f2;
    --brand-100: #ffe4e6;
    --brand-200: #fecdd3;
    --brand-400: #fb7185;
    --brand: #e11d48;
    --brand-dark: #be123c;
    --brand-deeper: #9f1239;
    --gold: #f59e0b;
    --gold-soft: #fffbeb;
    --gold-ink: #b45309;
    --ok: #059669;
    --ok-soft: #ecfdf5;
    --ok-ink: #047857;
    --danger: #b42318;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, .06);
    --shadow-soft: 0 8px 30px rgba(15, 23, 42, .08);
    --shadow-brand: 0 10px 24px -6px rgba(225, 29, 72, .35);
    --header-gradient: linear-gradient(90deg, #be123c 0%, #e11d48 55%, #e8365c 100%);
    --hero-gradient: linear-gradient(110deg, #f43f5e 0%, #be123c 50%, #9333ea 100%);
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
::selection { background: var(--brand); color: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5rem; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h3 { font-size: 1.02rem; }
p { margin: 0 0 1rem; }
.serif { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 60; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* Material Symbols - the same icon names the app uses */
.ms { font-family: "Material Symbols Rounded"; font-weight: 500; font-style: normal; font-size: 1.25em; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; vertical-align: -.22em; flex-shrink: 0; }
.ms.fill { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }

/* Header */
.site-header { background: var(--header-gradient); color: #fff; position: sticky; top: 0; z-index: 30; border-radius: 0 0 28px 28px; box-shadow: 0 10px 30px -10px rgba(190, 18, 60, .45); }
.site-header .wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 76px; }
.logo { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; white-space: nowrap; }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .22); color: #fde68a; font-size: 1.15rem; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #fecdd3; }
.logo-text strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.header-search { flex: 1; display: flex; align-items: center; max-width: 480px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 4px 4px 4px 14px; }
.header-search .ms { color: rgba(255, 255, 255, .85); }
.header-search input { background: transparent; border: 0; color: #fff; padding: .45rem .6rem; }
.header-search input::placeholder { color: rgba(255, 255, 255, .75); }
.header-search input:focus { outline: none; }
.header-search .btn { padding: .45rem 1rem; }
.site-nav { display: flex; gap: .4rem; align-items: center; margin-left: auto; }
.site-nav a, .site-nav .link-button { color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: .45rem .8rem; border-radius: 999px; }
.site-nav a:hover, .site-nav .link-button:hover { background: rgba(255, 255, 255, .15); }
.site-nav form { margin: 0; }
.site-nav .pill { background: #fff; color: var(--brand-dark); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); display: inline-flex; align-items: center; gap: .35rem; }
.site-nav .pill:hover { background: var(--brand-50); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: none; place-items: center; background: rgba(255, 255, 255, .15); color: #fff; text-decoration: none; }

/* Controls */
input, select, textarea { width: 100%; padding: .7rem .9rem; font: inherit; font-size: .92rem; font-weight: 500; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
select { appearance: none; padding-right: 2.2rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(225, 29, 72, .15); }
label { font-weight: 700; font-size: .82rem; color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.2rem; font: inherit; font-size: .9rem; font-weight: 700; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, transform .1s, box-shadow .15s; }
.btn:hover { background: var(--soft); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn.primary:hover { background: var(--brand-dark); }
.btn.white { background: #fff; border-color: #fff; color: var(--brand-dark); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.btn.white:hover { background: var(--brand-50); }
.btn.whatsapp { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.whatsapp:hover { background: var(--ok-ink); }
.btn.stone { background: #f5f5f4; border-color: #e7e5e4; color: #44403c; font-size: .82rem; }
.btn.stone:hover { background: #e7e5e4; }
.btn.ghost { background: transparent; }
.btn.small { padding: .45rem .9rem; font-size: .82rem; }
.btn.block { width: 100%; }
.btn.square { padding: .55rem; width: 40px; height: 40px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--text); font-weight: 600; cursor: pointer; }
.link-button:hover { color: var(--brand); }

/* Flash */
.flash { margin: 1.2rem 0 0; padding: .85rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; }
.flash.success { background: var(--ok-soft); color: var(--ok-ink); border: 1px solid #a7f3d0; }
.flash.error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

/* Badges & chips */
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .22rem .6rem; border-radius: 8px; font-size: .72rem; font-weight: 700; border: 1px solid transparent; white-space: nowrap; }
.badge .ms { font-size: 1.05em; }
.badge.gold { background: var(--gold-soft); color: var(--gold-ink); border-color: #fde68a; }
.badge.ok { background: var(--ok-soft); color: var(--ok-ink); border-color: #a7f3d0; }
.badge.sky { background: #e0f2fe; color: #0369a1; }
.badge.purple { background: #faf5ff; color: #7e22ce; border-color: #e9d5ff; }
.badge.plain { background: #f1f5f9; color: #475569; font-weight: 600; }
.badge.brand { background: var(--brand-50); color: var(--brand-dark); border-color: var(--brand-100); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .4rem 0 1.2rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .38rem .85rem; border-radius: 999px; background: #fff; color: #334155; border: 1px solid var(--line-strong); font-size: .8rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: #cbd5e1; }
.chip.active { background: var(--brand-50); color: var(--brand-deeper); border-color: var(--brand-200); }
.chip.active .ms { color: var(--brand); }
.count-pill { display: inline-flex; align-items: center; padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); vertical-align: middle; }
.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.stars { color: var(--gold); font-weight: 700; white-space: nowrap; }
.stars .off { color: #e2e8f0; }
.score { display: inline-flex; align-items: center; gap: .2rem; background: var(--ok-ink); color: #fff; font-size: .78rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; }

/* Home top: location card + promo hero */
.home-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.2rem; margin-top: 1.4rem; align-items: stretch; }
.promo { position: relative; overflow: hidden; border-radius: 22px; background: var(--hero-gradient); color: #fff; padding: 2rem 2.2rem; box-shadow: 0 18px 40px -16px rgba(190, 18, 60, .55); display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; min-height: 270px; }
.promo::before, .promo::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(24px); }
.promo::before { width: 220px; height: 220px; right: -60px; top: -70px; background: rgba(255, 255, 255, .14); }
.promo::after { width: 180px; height: 180px; left: -50px; bottom: -60px; background: rgba(251, 191, 36, .22); }
.promo > * { position: relative; z-index: 1; }
.promo .season { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: rgba(255, 255, 255, .2); color: #fde68a; border: 1px solid rgba(255, 255, 255, .22); width: max-content; }
.promo h1 { color: #fff; font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .7rem 0 .4rem; }
.promo p { color: #ffe4e6; max-width: 460px; margin: 0; }
.promo-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.promo-proof { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; color: #ffe4e6; }
.promo-proof b { width: 30px; height: 30px; border-radius: 50%; background: #fcd34d; color: var(--ink); border: 2px solid #fff; display: grid; place-items: center; font-size: .72rem; }
.finder-card { background: var(--surface); border-radius: 22px; padding: 1.4rem; border: 1px solid var(--line); box-shadow: var(--shadow-card); display: grid; gap: .8rem; align-content: start; }
.finder-head { display: flex; align-items: center; justify-content: space-between; }
.finder-head .eyebrow { display: inline-flex; align-items: center; gap: .3rem; }
.finder-head .eyebrow .ms { color: var(--brand); font-size: 1.3em; }
.finder-card h2 { margin: 0; font-size: 1.15rem; }
.finder { display: grid; gap: .65rem; }
.finder .pair { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.finder .search-field { position: relative; }
.finder .search-field .ms { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--faint); }
.finder .search-field input { padding-left: 2.6rem; }

/* Sections */
section.block { padding: 2.2rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .1rem 0 0; font-size: .85rem; color: var(--muted); }
.section-head > a { font-weight: 700; font-size: .85rem; text-decoration: none; display: inline-flex; align-items: center; gap: .15rem; color: var(--brand-dark); }
.section-head > a:hover { color: var(--brand-deeper); }

/* Category tiles - gradient icon squares like the app */
.categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: .9rem; }
.category-tile { display: flex; flex-direction: column; gap: .8rem; padding: 1.1rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: box-shadow .15s, border-color .15s, transform .15s; }
.category-tile:hover { box-shadow: var(--shadow-soft); border-color: var(--brand-200); transform: translateY(-2px); }
.category-tile .cat-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.3rem; background: linear-gradient(45deg, #f43f5e, #ec4899); box-shadow: 0 6px 14px -4px rgba(244, 63, 94, .45); transition: transform .15s; }
.category-tile:hover .cat-icon { transform: scale(1.06); }
.category-tile:nth-child(6n+2) .cat-icon { background: linear-gradient(45deg, #f59e0b, #f97316); box-shadow: 0 6px 14px -4px rgba(245, 158, 11, .45); }
.category-tile:nth-child(6n+3) .cat-icon { background: linear-gradient(45deg, #a855f7, #6366f1); box-shadow: 0 6px 14px -4px rgba(168, 85, 247, .45); }
.category-tile:nth-child(6n+4) .cat-icon { background: linear-gradient(45deg, #3b82f6, #06b6d4); box-shadow: 0 6px 14px -4px rgba(59, 130, 246, .45); }
.category-tile:nth-child(6n+5) .cat-icon { background: linear-gradient(45deg, #fb7185, #f87171); box-shadow: 0 6px 14px -4px rgba(251, 113, 133, .45); }
.category-tile:nth-child(6n) .cat-icon { background: linear-gradient(45deg, #10b981, #14b8a6); box-shadow: 0 6px 14px -4px rgba(16, 185, 129, .45); }
.category-tile strong { font-size: .88rem; font-weight: 700; line-height: 1.3; }
.category-tile:hover strong { color: var(--brand-dark); }
.category-tile small { display: block; font-size: .74rem; font-weight: 500; color: var(--faint); margin-top: .15rem; line-height: 1.4; }

/* Vendor cards (directory style) */
.vcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.1rem; }
.vcard { background: var(--surface); border: 1px solid #eef2f6; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 1.1rem; display: flex; flex-direction: column; transition: box-shadow .2s; }
.vcard:hover { box-shadow: var(--shadow-soft); }
.vc-top { display: flex; gap: .9rem; align-items: flex-start; }
.vc-thumb { position: relative; flex-shrink: 0; width: 92px; height: 92px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-50), #fdf2f8); display: grid; place-items: center; text-decoration: none; }
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06); }
.vc-thumb .initial { font-family: var(--serif); font-size: 2rem; color: var(--brand-400); }
.vc-thumb .rate { position: absolute; right: -5px; bottom: -6px; background: var(--gold); color: #fff; font-size: .68rem; font-weight: 800; padding: .1rem .4rem; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.vc-info { flex: 1; min-width: 0; }
.vc-info h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-info h3 a { color: var(--ink); text-decoration: none; }
.vc-info h3 a:hover { color: var(--brand-dark); }
.vc-by { font-size: .78rem; color: var(--muted); font-weight: 500; margin: .1rem 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-line { display: flex; align-items: center; gap: .3rem; font-size: .78rem; color: #475569; margin-top: .45rem; min-width: 0; }
.vc-line .ms { color: var(--faint); font-size: 1.1em; }
.vc-line span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-rating { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.vc-rating .dot { color: #cbd5e1; }
.vc-desc { font-size: .8rem; color: #475569; line-height: 1.55; margin: .9rem 0 0; padding: .6rem .75rem; background: rgba(248, 250, 252, .8); border: 1px solid var(--line); border-radius: 10px; }
.vc-desc span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.vc-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.vc-foot-gap { height: .9rem; }
.vc-foot .label { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--faint); margin: 0; }
.vc-foot .value { font-size: .85rem; font-weight: 800; color: var(--ink); margin: 0; }
.vc-actions { display: flex; align-items: center; gap: .45rem; }
.vc-actions .square .ms { color: var(--ok); }

/* Generic cards (blog posts) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.card { background: var(--surface); border: 1px solid #eef2f6; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: box-shadow .2s; }
.card:hover { box-shadow: var(--shadow-soft); }
.card a.cover { display: block; aspect-ratio: 16 / 10; background: var(--brand-50) center / cover no-repeat; position: relative; }
.card .cover-empty { display: grid; place-items: center; height: 100%; font-family: var(--serif); font-size: 2.2rem; color: var(--brand-200); }
.card .body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .35rem; }
.card h3 { margin: 0; font-size: 1rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--brand-dark); }
.card .body p { font-size: .85rem; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; color: var(--muted); font-size: .82rem; }

/* Banners */
.banners { position: relative; border-radius: 20px; overflow: hidden; background: var(--brand-50); margin: 1.4rem 0; box-shadow: var(--shadow-card); }
.banner-slide { display: none; position: relative; }
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; }
.banner-caption { position: absolute; inset: auto 0 0 0; padding: 1.2rem 1.4rem; color: #fff; background: linear-gradient(transparent, rgba(15, 23, 42, .65)); font-size: .9rem; }
.banner-caption strong { font-family: var(--serif); font-size: 1.35rem; display: block; }
.banner-dots { position: absolute; right: 1rem; bottom: 1rem; display: flex; gap: .4rem; background: rgba(0, 0, 0, .35); padding: .35rem .5rem; border-radius: 999px; }
.banner-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; padding: 0; }
.banner-dots button[aria-current=true] { background: #fff; width: 9px; height: 9px; }
.sponsored { position: absolute; top: .7rem; right: .8rem; font-size: .68rem; font-weight: 600; background: rgba(0, 0, 0, .45); color: #fff; padding: .15rem .55rem; border-radius: 999px; }

/* Listings page */
.page-head { padding: 1.6rem 0 .2rem; }
.page-head h1 { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin: 0; }
.page-head .sub { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.listing-layout { display: grid; grid-template-columns: 270px 1fr; gap: 1.8rem; padding: 1rem 0 3rem; }
.filters { position: sticky; top: 96px; align-self: start; display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem; box-shadow: var(--shadow-card); }
.filters h2 { display: flex; align-items: center; gap: .4rem; font-size: 1rem; margin: 0; }
.filters h2 .ms { color: var(--brand); }
.filters .field { display: grid; gap: .3rem; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.results-bar a { font-size: .8rem; font-weight: 700; color: var(--brand); text-decoration: none; }
.results-bar a:hover { text-decoration: underline; }
.pager { display: flex; gap: .6rem; align-items: center; justify-content: center; margin-top: 2rem; font-size: .88rem; }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 20px; }
.empty-state .ms { font-size: 2.6rem; color: var(--brand-200); }

/* Business page */
.breadcrumbs { font-size: .82rem; color: var(--muted); padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--brand-dark); }
.biz-hero { position: relative; margin-top: 1rem; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 8; background: linear-gradient(135deg, #881337, #be123c 55%, #9333ea); }
.biz-hero img { width: 100%; height: 100%; object-fit: cover; }
.biz-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 10, 9, .8), rgba(28, 25, 23, .15) 55%, rgba(0, 0, 0, .35)); }
.biz-hero .hero-bottom { position: absolute; inset: auto 1.2rem 2.4rem; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.biz-hero .premium { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(245, 158, 11, .92); color: #1c1917; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.biz-hero .photo-count { display: inline-flex; align-items: center; gap: .3rem; background: rgba(0, 0, 0, .4); color: #fff; border: 1px solid rgba(255, 255, 255, .25); padding: .25rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 600; text-decoration: none; }
.biz-hero .empty-mark { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 5rem; color: rgba(255, 255, 255, .3); }
.business-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.6rem; padding-bottom: 3rem; }
.profile-card { position: relative; z-index: 2; margin-top: -1.6rem; background: var(--surface); border-radius: 24px; padding: 1.4rem 1.5rem; border: 1px solid #f5f5f4; box-shadow: var(--shadow-card); margin-bottom: 1.1rem; }
.profile-card .badges { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .6rem; }
.profile-card h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.profile-card .by { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: #78716c; margin-top: .15rem; }
.profile-card .by .sep { width: 4px; height: 4px; border-radius: 50%; background: #d6d3d1; }
.profile-card .by .accent { color: var(--brand); font-weight: 600; }
.profile-card .where { display: flex; align-items: center; gap: .35rem; font-size: .82rem; color: #57534e; margin-top: .6rem; }
.profile-card .where .ms { color: var(--brand); }
.profile-card .rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid #f5f5f4; font-size: .82rem; }
.profile-card .rating-row .stars { font-size: 1rem; letter-spacing: .05em; }
.profile-card .actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.1rem; }
.profile-card .actions .btn { padding: .8rem 1rem; }
.profile-card .maps { margin-top: .6rem; }
.panel { background: var(--surface); border: 1px solid #f0efee; border-radius: 20px; padding: 1.3rem 1.4rem; margin-bottom: 1.1rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.panel > h2 { font-size: 1.05rem; margin-bottom: .8rem; }
.panel .panel-sub { margin: -.6rem 0 .9rem; font-size: .8rem; color: var(--muted); }
.panel p, .panel li { font-size: .9rem; color: #57534e; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .7rem; }
.photo-grid a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; background: #f5f5f4 center / cover no-repeat; border: 1px solid #e7e5e4; transition: transform .2s; }
.photo-grid a:hover { transform: scale(1.02); }
.offers { display: grid; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.offers li { display: flex; align-items: flex-start; gap: .6rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(250, 250, 249, .8); border: 1px solid #e7e5e4; color: var(--text); font-weight: 600; transition: border-color .15s; }
.offers li:hover { border-color: #fbbf24; }
.offers li .ms { color: var(--gold); }
.doc-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.contact-card { position: sticky; top: 96px; align-self: start; background: var(--surface); border: 1px solid #f0efee; border-radius: 20px; padding: 1.3rem; display: grid; gap: .7rem; box-shadow: var(--shadow-soft); }
.contact-card h2 { font-size: 1.05rem; margin: 0; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.1rem; }
.highlights div { background: var(--surface); border: 1px solid #f0efee; border-radius: 16px; padding: .8rem; text-align: center; }
.highlights strong { display: block; font-size: 1rem; font-weight: 800; color: var(--brand); }
.highlights div:nth-child(2) strong { color: #d97706; }
.highlights div:nth-child(3) strong { color: var(--ok); }
.highlights span { display: block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #78716c; margin-top: .1rem; }
.action-bar { display: none; }

/* Blog */
.article { max-width: 760px; margin: 0 auto; padding: 1rem 0 3rem; }
.article h1 { font-family: var(--serif); font-weight: 700; }
.article .cover-image { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 20px; margin: 1.2rem 0; }
.article-body { font-size: 1.02rem; color: #334155; }
.prose { max-width: 760px; margin: 2rem auto 3rem; padding: 2rem; background: var(--surface); border-radius: 20px; border: 1px solid var(--line); }
.prose h1 { font-family: var(--serif); font-weight: 700; }

/* Forms / auth */
.auth { position: relative; max-width: 440px; margin: 2.5rem auto 3.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.8rem 1.8rem; box-shadow: var(--shadow-soft); overflow: hidden; }
.auth::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--hero-gradient); }
.auth h1 { font-family: var(--serif); font-weight: 700; }
.stack { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field-error { color: var(--danger); font-size: .82rem; font-weight: 600; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--faint); font-size: .82rem; font-weight: 600; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }

/* Location search (one box with suggestions instead of state/city dropdowns) */
.loc-search { position: relative; display: grid; gap: .35rem; }
.loc-field { position: relative; display: flex; align-items: center; }
.loc-field > .ms { position: absolute; left: .75rem; color: var(--brand); font-size: 1.2rem; pointer-events: none; }
.loc-field input { padding-left: 2.4rem; padding-right: 2.4rem; }
.loc-clear { position: absolute; right: .35rem; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--faint); cursor: pointer; }
.loc-clear:hover { background: var(--soft); color: var(--text); }
.loc-suggestions { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: .35rem; list-style: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); max-height: 320px; overflow-y: auto; }
.loc-suggestions li { display: flex; align-items: center; gap: .65rem; padding: .55rem .6rem; border-radius: 10px; cursor: pointer; }
.loc-suggestions li[aria-selected="true"], .loc-suggestions li:hover { background: var(--brand-50); }
.loc-suggestions li > .ms { color: var(--faint); font-size: 1.25rem; }
.loc-suggestions li > span:last-child { display: grid; min-width: 0; }
.loc-suggestions strong { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-suggestions strong mark { background: none; color: var(--brand-dark); font-weight: 800; }
.loc-suggestions small { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-suggestions .loc-empty { color: var(--muted); font-size: .85rem; cursor: default; }
.loc-suggestions .loc-empty:hover { background: none; }

/* List your business */
.vendor-promo { margin-top: 1.4rem; min-height: 0; }
.vendor-steps { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .9rem; }
.vendor-steps li { display: grid; gap: .25rem; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.vendor-steps .ms { font-size: 1.6rem; color: var(--brand); }
.vendor-steps span:last-child { font-size: .85rem; color: var(--muted); }
.vendor-listings { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.vendor-listings li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid #e7e5e4; border-radius: 14px; }
.vendor-listings li > div { display: grid; gap: .15rem; min-width: 0; }
.vendor-listings .muted { font-size: .82rem; }
.vendor-listings a.badge { text-decoration: none; }
.panel .panel-note { margin: .9rem 0 0; font-size: .82rem; }
.vendor-auth { display: flex; flex-wrap: wrap; gap: .7rem; }
.reg-progress { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.reg-progress li { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--faint); }
.reg-progress li.current { color: var(--brand-dark); }
.reg-progress li.done { color: var(--ok-ink); }
.reg-step { max-width: 560px; }
.verified-line { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin: 0 0 1rem; font-weight: 600; font-size: .9rem; color: var(--ok-ink); }
.verified-line .ms { font-size: 1.15rem; }
.optional-fields { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.optional-fields summary { cursor: pointer; font-weight: 700; font-size: .9rem; }
.optional-fields[open] summary { margin-bottom: 1rem; }
.phone-verified { display: inline-flex; align-items: center; gap: .2rem; color: var(--ok-ink); font-size: .78rem; font-weight: 700; }
.phone-verified .ms { font-size: 1.05rem; }
.vendor-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 1.5rem; border-radius: 20px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.vendor-cta h2 { margin: 0; font-size: 1.15rem; }
.vendor-cta p { margin: .2rem 0 0; font-size: .88rem; color: var(--muted); }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 2.8rem 0 1.5rem; margin-top: 2rem; border-radius: 28px 28px 0 0; font-size: .9rem; }
.site-footer .logo { margin-bottom: .9rem; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: var(--brand-400); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2rem; padding-top: 1rem; font-size: .8rem; color: #94a3b8; }

/* Mobile bottom tab bar - same tabs as the app */
.tabbar { display: none; }

@media (max-width: 960px) {
    .home-top { grid-template-columns: 1fr; }
    .home-top .finder-card { order: -1; }
    .listing-layout, .business-layout { grid-template-columns: 1fr; }
    .filters { position: static; }
    .contact-card { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .biz-hero { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
    body { padding-bottom: 76px; }
    .site-header { border-radius: 0 0 24px 24px; }
    .site-header .wrap { min-height: 68px; gap: .6rem; }
    .header-search, .site-nav .hide-sm { display: none; }
    .icon-btn { display: grid; margin-left: auto; }
    .site-nav { margin-left: 0; }
    .logo-mark { width: 38px; height: 38px; }
    .logo-text strong { font-size: 1.15rem; }
    .promo { padding: 1.4rem; min-height: 0; border-radius: 18px; }
    .finder-card { border-radius: 18px; padding: 1.1rem; }
    .categories { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .category-tile { padding: .95rem; }
    .vcards { grid-template-columns: 1fr; }
    .vcard { padding: 1rem; }
    .vc-thumb { width: 80px; height: 80px; }
    .banner-slide img { aspect-ratio: 16 / 8; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-footer { padding-bottom: 2rem; }
    .biz-hero { aspect-ratio: 4 / 3; margin-inline: -16px; border-radius: 0; }
    .profile-card { margin-inline: -16px; border-radius: 24px 24px 0 0; padding: 1.2rem 1.1rem; border-left: 0; border-right: 0; }
    .profile-card .actions { grid-template-columns: 1fr 1fr; }
    .profile-card .actions .whatsapp-btn { display: none; }
    .highlights { gap: .45rem; }
    .photo-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
    .panel { padding: 1.1rem; border-radius: 18px; }
    .prose { padding: 1.3rem; }
    .auth { margin: 1.5rem auto 2rem; padding: 1.6rem 1.2rem 1.4rem; }

    .tabbar { display: flex; justify-content: space-around; position: fixed; inset: auto 0 0 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid rgba(226, 232, 240, .8); padding: .45rem .5rem calc(.45rem + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(15, 23, 42, .06); }
    .tabbar a { display: flex; flex-direction: column; align-items: center; gap: .1rem; text-decoration: none; font-size: .7rem; font-weight: 600; color: var(--muted); min-width: 60px; }
    .tabbar a .ms { width: 40px; height: 32px; border-radius: 12px; display: grid; place-items: center; color: var(--faint); }
    .tabbar a[aria-current=page] { color: var(--brand-dark); font-weight: 800; }
    .tabbar a[aria-current=page] .ms { background: var(--brand-50); color: var(--brand-dark); font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }

    /* The business page swaps the tab bar for a sticky WhatsApp + call bar, like the app. */
    body:has(.action-bar) .tabbar { display: none; }
    .action-bar { display: flex; gap: .7rem; position: fixed; inset: auto 0 0 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid #e7e5e4; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px rgba(15, 23, 42, .1); }
    .action-bar .btn { height: 48px; }
    .action-bar .whatsapp { width: 48px; padding: 0; flex-shrink: 0; }
    .action-bar .primary { flex: 1; }
}
@media (max-width: 380px) {
    .finder .pair { grid-template-columns: 1fr; }
    .profile-card .actions { grid-template-columns: 1fr; }
}

/* Sign-in popup (site/_signin.php) */
.signin { width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 1.6rem; border: 0; border-radius: 22px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft); }
.signin::backdrop { background: rgba(15, 23, 42, .55); }
.signin h2 { margin: 0 2rem .3rem 0; font-size: 1.35rem; color: var(--ink); }
.signin > .muted { margin: 0 0 1rem; font-size: .9rem; }
.signin .flash { margin: 0 0 1rem; }
.signin [hidden] { display: none !important; }
.signin [aria-invalid="true"] { border-color: var(--danger); }
.si-close { position: absolute; top: .9rem; right: .9rem; width: 36px; height: 36px; border-radius: 999px; border: 0; background: var(--soft); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.si-close:hover { color: var(--ink); }

/* Smart Jiya chat (site/_jiya.php) */
.jiya-fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: .45rem; padding: .8rem 1.1rem; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--brand), #9333ea); color: #fff; font: inherit; font-weight: 800; font-size: .9rem; box-shadow: 0 12px 28px -8px rgba(147, 51, 234, .55); cursor: pointer; }
.jiya-fab[hidden] { display: none; }
.jiya { position: fixed; right: 20px; bottom: 20px; z-index: 46; width: min(390px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35); overflow: hidden; border: 1px solid var(--line-strong); }
.jiya[hidden] { display: none; }
.jiya-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: linear-gradient(135deg, var(--brand), #9333ea); color: #fff; }
.jiya-head div { flex: 1; display: grid; line-height: 1.25; }
.jiya-head small { opacity: .85; font-size: .75rem; }
.jiya-avatar { width: 36px; height: 36px; border-radius: 999px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.jiya-close { width: 34px; height: 34px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; cursor: pointer; }
.jiya-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--soft); }
.jiya-msg { margin: 0; padding: .65rem .85rem; border-radius: 16px; max-width: 88%; font-size: .9rem; line-height: 1.45; }
.jiya-msg.jiya { background: var(--surface); border: 1px solid var(--line-strong); align-self: flex-start; border-bottom-left-radius: 4px; }
.jiya-msg.me { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.jiya-msg.typing { color: var(--muted); font-style: italic; }
.jiya-cards { display: grid; gap: .45rem; }
.jiya-card { display: flex; gap: .65rem; align-items: center; padding: .5rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-strong); text-decoration: none; color: var(--text); }
.jiya-card:hover { border-color: var(--brand-200); }
.jiya-card img, .jiya-card-mark { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.jiya-card-mark { display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-weight: 800; font-size: 1.2rem; }
.jiya-card-body { display: grid; min-width: 0; }
.jiya-card-body strong { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jiya-card-body small { color: var(--muted); font-size: .75rem; }
.jiya-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.jiya-chip { padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--brand-200); background: var(--surface); color: var(--brand-dark); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.jiya-chip:hover { background: var(--brand-50); }
.jiya-form { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid var(--line-strong); background: var(--surface); }
.jiya-form input { flex: 1; min-width: 0; }
.jiya-mic, .jiya-send { width: 42px; height: 42px; flex: none; border: 0; border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.jiya-mic { background: var(--brand-50); color: var(--brand); }
.jiya-mic[hidden] { display: none; }
.jiya-mic.listening { background: var(--brand); color: #fff; animation: si-pulse 1.2s ease-in-out infinite; }
.jiya-send { background: var(--brand); color: #fff; }
@media (max-width: 720px) {
    .jiya-fab { bottom: calc(76px + env(safe-area-inset-bottom)); right: 16px; padding: .7rem 1rem; }
    body:has(.action-bar) .jiya-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
    .jiya { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); height: min(560px, calc(100vh - 96px)); }
}

/* Blog: language tabs, headings and lists in posts, vendors under a post */
.blog-tabs { display: flex; gap: .4rem; margin: .4rem 0 .6rem; }
.blog-tabs a { padding: .45rem 1rem; border-radius: 999px; font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--text); border: 1px solid var(--line-strong); background: var(--surface); }
.blog-tabs a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.blog-categories { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .3rem; }
.article-body h2 { font-size: 1.3rem; margin: 1.8rem 0 .6rem; color: var(--ink); }
.article-body ul { padding-left: 1.3rem; margin: 0 0 1rem; line-height: 1.7; }
.article-body li { margin-bottom: .3rem; }
.blog-vendors h2 { display: flex; align-items: center; gap: .4rem; }
.blog-city { display: flex; gap: .4rem; align-items: center; }
.blog-city input { width: 170px; padding: .5rem .8rem; }
.si-phone { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; }
.si-phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.si-prefix { display: flex; align-items: center; padding: 0 .3rem 0 .9rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.si-phone input { border: 0; background: transparent; box-shadow: none; font-size: 1.05rem; letter-spacing: .02em; }
.si-phone input:focus { box-shadow: none; outline: none; }
@keyframes si-pulse { 50% { box-shadow: 0 0 0 8px rgba(225, 29, 72, .18); } }
@media (prefers-reduced-motion: reduce) { .jiya-mic.listening { animation: none; } }
