/* RentGFnd — main stylesheet */
:root {
  --pink: #ff2e93; --pink-d: #e0157a; --pink-l: #ffe3f1;
  --sky: #7dd3f0; --sky-d: #3fb6e8; --sky-l: #e6f7fd;
  --purple: #7a5cff; --orange: #ff7a45; --teal: #20b5c4; --red: #ef1d1d; --navy: #12408f;
  --ink: #1f2430; --ink-2: #4a5160; --muted: #8a90a0; --line: #eceef3;
  --bg: #ffffff; --bg-2: #f6f7fb; --card: #ffffff;
  --radius: 18px; --shadow: 0 6px 24px rgba(31, 36, 48, .07); --shadow-lg: 0 18px 50px rgba(31, 36, 48, .14);
  --grad: linear-gradient(95deg, #3fb6e8 0%, #8b5cf6 55%, #ff7a6b 100%);
  --grad-pink: linear-gradient(95deg, #ff2e93, #ff7a45);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--pink-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
code { background: var(--bg-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 620px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.b { font-weight: 700; color: var(--ink); }
.mt { margin-top: 1rem; }
.mb { margin-bottom: 1rem; }
.faded { opacity: .5; }
.req { color: var(--pink); font-style: normal; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 760px; margin: 0 auto 1.4rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: .72em 1.3em; border-radius: 999px; background: var(--bg-2); color: var(--ink); text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(139, 92, 246, .28); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-d); }
.btn-sky { background: var(--sky); color: #0d3a52; }
.btn-red { background: var(--red); color: #fff; border-radius: 8px; }
.btn-dark { background: #1c1c22; color: #fff; }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-danger { background: #fff0f0; color: #c0182b; border: 1.5px solid #ffd1d6; }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-xs { padding: .35em .75em; font-size: .78rem; }
.btn.lg { padding: .95em 2em; font-size: 1.1rem; }
.btn.full, .full { width: 100%; }
.btn.round { width: 54px; height: 54px; padding: 0; border-radius: 50%; font-size: 1.15rem; }
.pill { padding: .5em .6em .5em 1.4em; }
.pill .plus { background: rgba(255, 255, 255, .45); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; display: inline-flex; gap: .4em; align-items: center; }
.link:hover { color: var(--pink); }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.2rem; min-height: 78px; }
.logo { font-family: 'Pacifico', cursive; font-size: 2rem; color: var(--pink); text-decoration: none !important; white-space: nowrap; text-shadow: 2px 2px 0 #ffd0e6; }
.logo.light { color: #fff; text-shadow: none; }
.nav nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav nav > a, .dd-btn { color: var(--ink); font-weight: 500; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: .4em; }
.nav nav > a:hover, .dd-btn:hover { color: var(--pink); text-decoration: none; }
.nav nav > a.btn { color: #0d3a52; }
.dd { position: relative; }
.dd-btn i { font-size: .7em; }
.dd-menu { display: none; position: absolute; top: 100%; left: -10px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 220px; max-height: 60vh; overflow: auto; margin-top: 10px; }
.dd-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); }
.dd-menu a:hover { background: var(--pink-l); text-decoration: none; }
.dd:hover .dd-menu, .dd.open .dd-menu { display: block; }
.dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-user { position: relative; }
.burger { display: none; margin-left: auto; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.dot { background: var(--pink); color: #fff; font-size: .7rem; font-weight: 700; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; display: inline-grid; place-items: center; margin-left: 4px; }

/* ---------- Flash ---------- */
.flashes { margin-top: 14px; }
.flash { padding: 12px 44px 12px 16px; border-radius: 12px; margin-bottom: 10px; position: relative; background: #e9fbf2; color: #0d6b43; border: 1px solid #c6f0da; }
.flash.error { background: #fff0f2; color: #b4142d; border-color: #ffd0d8; }
.flash.info { background: var(--sky-l); color: #0c4a66; border-color: #c4eaf8; }
.flash .x { position: absolute; right: 10px; top: 8px; background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: inherit; opacity: .6; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 50px; overflow: hidden; }
.hero-title { font-size: clamp(3rem, 8vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; margin-bottom: .25em; color: #2b2f3a; }
.hero-sub { font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.5rem); letter-spacing: -.04em; margin-bottom: .6em; }
.hero-trust { font-size: 1.25rem; color: var(--ink-2); }
.hero-split { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; margin: 1.2em 0 1em; }
.hero-split a { color: #2b2f3a; }
.hero-split a:hover { color: var(--pink); text-decoration: none; }
.hero-split span { color: var(--ink-2); font-weight: 400; }
.confetti { position: absolute; background: var(--pink); }
.c1 { width: 14px; height: 14px; top: 58%; left: 33%; transform: rotate(45deg); clip-path: polygon(20% 0, 50% 30%, 80% 0, 100% 20%, 70% 50%, 100% 80%, 80% 100%, 50% 70%, 20% 100%, 0 80%, 30% 50%, 0 20%); }
.c2 { width: 46px; height: 40px; top: 57%; right: 34%; clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 8px; }
.c3 { width: 8px; height: 8px; border-radius: 50%; top: 64%; left: 30%; }
.c4 { width: 9px; height: 9px; top: 66%; right: 31%; transform: rotate(45deg); }
.searchbox { max-width: 860px; margin: 0 auto; }
.searchbox-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 22px; padding: 12px 12px 12px 26px; box-shadow: 0 10px 40px rgba(31, 36, 48, .08); border: 1px solid var(--line); }
.searchbox-row input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.1rem; background: none; min-width: 0; }
.searchbox.inline .searchbox-row { border: 2px solid #1c1c22; border-radius: 12px; padding: 8px 8px 8px 18px; box-shadow: none; }
.radios { display: flex; gap: 22px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.radios label { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; font-weight: 500; }
.radios input { accent-color: var(--red); width: 17px; height: 17px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chip { background: #f1f2f6; color: var(--ink-2); padding: .55em 1.1em; border-radius: 999px; font-size: .92rem; }
.chip:hover { background: var(--pink-l); color: var(--pink-d); text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section.alt { background: var(--bg-2); }
.section.dark { background: #17171c; color: #fff; }
.section.dark h1, .section.dark h2 { color: #fff; }
.section.cta { background: linear-gradient(135deg, #fff0f7, #eef9fe); }
.full-h { min-height: 80vh; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.section-head h1, .section-head h2, .section-head h3 { margin: 0; }
.page-head { background: linear-gradient(180deg, #fff5fa, #fff); padding: 44px 0 28px; border-bottom: 1px solid var(--line); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text { color: var(--red); }
.underline-scribble { display: inline-block; position: relative; padding-bottom: .3em; margin-bottom: 1.4em; }
.underline-scribble::after { content: ''; position: absolute; left: 10%; right: 0; bottom: 0; height: 10px; border-bottom: 3px solid #666; border-radius: 50%; transform: rotate(-1deg); }
.muted-light { color: #b9bccc; margin-top: 2rem; }
.muted-light a { color: #fff; }

.stats-strip { background: #1c1c22; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 26px 20px; }
.stats b { display: block; font-size: 1.8rem; letter-spacing: -.03em; }
.stats b i { color: #ffc531; font-size: .8em; }
.stats span { color: #b9bccc; font-size: .9rem; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.cards2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; border: 1px solid var(--line); margin-bottom: 20px; }
.grid > .card { margin-bottom: 0; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty i { font-size: 2.6rem; margin-bottom: 10px; display: block; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--bg-2); color: var(--ink-2); }
.tag-pink { background: var(--pink); color: #fff; }
.tag-purple { background: var(--purple); color: #fff; }
.tag-blue { background: var(--sky); color: #0d3a52; }
.tag-amber { background: #fff3d6; color: #8a5a00; }
.verified { color: #1d9bf0; font-size: .9em; }
.stars { color: #ffb400; font-size: .85em; letter-spacing: 1px; }

/* friend card */
.fcard { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.fcard-img { position: relative; aspect-ratio: 4 / 4.2; background: var(--bg-2); }
.fcard-img img { width: 100%; height: 100%; object-fit: cover; }
.fcard-img .tag { position: absolute; top: 12px; left: 12px; }
.fcard-img .price { position: absolute; bottom: 12px; right: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 800; padding: 4px 12px; border-radius: 99px; font-size: .9rem; }
.fcard-body { padding: 14px 16px 16px; }
.fcard-body h3 { margin: 0 0 2px; font-size: 1.05rem; }
.headline { color: var(--ink-2); font-size: .9rem; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.headline.lg { font-size: 1.05rem; min-height: 0; -webkit-line-clamp: 3; }
.fcard-meta { display: flex; justify-content: space-between; font-size: .85rem; border-top: 1px solid var(--line); padding-top: 10px; }

/* activities */
.activity-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 10px; text-align: left; margin-top: 36px; }
.activity-grid a { color: #2b3a67; font-size: 1.02rem; display: flex; gap: 12px; align-items: center; }
.activity-grid a i { color: var(--navy); width: 22px; text-align: center; font-size: 1.1rem; }
.activity-grid a:hover { color: var(--pink); text-decoration: none; }
.act-card { text-align: center; color: var(--ink); }
.act-card i { font-size: 2rem; color: var(--pink); margin-bottom: 10px; }
.act-card h3 { margin: 0; font-size: 1rem; }
.act-card:hover { text-decoration: none; transform: translateY(-3px); }

.steps .step { text-align: center; padding: 32px 24px; }
.num { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.quote p { font-size: 1.02rem; margin: 10px 0; }

/* join cards */
.join-cards { text-align: center; margin-top: 10px; }
.jcard { background: #fff; color: var(--ink); border-radius: 22px; padding: 16px 16px 26px; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.jcard:hover { transform: translateY(-4px); }
.jcard.pink:hover { border-color: #e2734f; }
.jcard.blue:hover { border-color: var(--teal); }
.jcard.purple:hover { border-color: var(--purple); }
.jcard-img { position: relative; height: 200px; border-radius: 14px; background: linear-gradient(135deg, var(--g1), var(--g2)); display: grid; place-items: center; color: rgba(255, 255, 255, .92); font-size: 4.5rem; margin-bottom: 20px; }
.tape { position: absolute; top: -26px; left: 26px; width: 54px; height: 90px; background: rgba(255, 255, 255, .35); clip-path: polygon(0 6%, 15% 0, 30% 6%, 45% 0, 60% 6%, 75% 0, 90% 6%, 100% 0, 100% 94%, 85% 100%, 70% 94%, 55% 100%, 40% 94%, 25% 100%, 10% 94%, 0 100%); }
.jcard h3 { font-size: 1.5rem; font-weight: 500; }
.jcard p { color: var(--ink-2); font-size: 1.03rem; min-height: 6.2em; }
.jcard.pink h3 span, .jcard.pink .btn span { color: #e2734f; font-weight: 800; }
.jcard.blue h3 span, .jcard.blue .btn span { color: var(--teal); font-weight: 800; }
.jcard.purple h3 span, .jcard.purple .btn span { color: #a35cff; font-weight: 800; }
.jcard .btn { padding: .9em 2.4em; font-size: 1.08rem; font-weight: 600; }

/* ---------- Forms ---------- */
.form label, .reg-form label, .filters label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #f1f2f5; border: 1.5px solid transparent; border-radius: 14px; padding: .78em 1.05em; margin-top: 6px; outline: 0; transition: border-color .15s, background .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--purple); background: #fff; }
input[type=checkbox], input[type=radio] { width: auto; margin: 0; accent-color: var(--pink); }
input[type=file] { background: #fff; border: 1.5px dashed #cfd3dd; }
label.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
label.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.span2 { grid-column: span 2; }
.hint { font-style: italic; color: var(--muted); font-size: .84rem; margin: -6px 0 14px; }
.pw { position: relative; display: block; }
.pw button { position: absolute; right: 12px; top: 50%; transform: translateY(-40%); background: none; border: 0; cursor: pointer; font-size: 1.1rem; color: var(--ink-2); }

/* register (RALF style) */
.reg-bg { background: linear-gradient(90deg, #dff1f7 0, #fff 16%, #fff 84%, #f3e6f3 100%); padding: 56px 0 70px; }
.reg-wrap h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.c-pink { color: #e2734f; } .c-blue { color: var(--teal); } .c-purple { color: #a35cff; }
.reg-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; margin-top: 40px; align-items: start; }
.reg-form fieldset { border: 1.5px dashed #d9dce4; border-radius: 22px; padding: 30px 60px 26px; position: relative; margin: 0; }
.reg-form legend { font-size: .82rem; text-transform: uppercase; letter-spacing: .02em; color: #8a90a0; font-weight: 700; padding: 0 10px; }
.reg-form input:not([type=checkbox]) { border-radius: 999px; padding: .95em 1.4em; background: #ececef; }
.reg-form .btn-grad { display: flex; margin: 22px auto 12px; }
.reg-badge { position: absolute; right: -20px; top: -38px; width: 76px; height: 76px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 1.9rem; background: #fff; }
.reg-side h4 { text-transform: uppercase; font-size: .82rem; color: #8a90a0; border-bottom: 1.5px dashed #e1e3ea; padding-bottom: 8px; margin: 0 0 18px; }
.reg-side h4:not(:first-child) { margin-top: 36px; }
.hstep b { font-size: 1.12rem; display: block; margin-bottom: 6px; }
.hstep b span { color: #e2734f; margin-right: 6px; }
.hstep p, .perk p { color: var(--ink-2); }
.perk { display: flex; gap: 14px; margin-bottom: 18px; }
.perk > i { color: #fff; background: #e2734f; width: 32px; height: 34px; border-radius: 8px 8px 14px 14px; display: grid; place-items: center; flex: none; margin-top: 4px; }
.perk b { font-size: 1.08rem; }
.demo-box { background: var(--sky-l); border-radius: 12px; padding: 12px 14px; margin-top: 16px; line-height: 1.7; }

/* ---------- Search page ---------- */
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding-top: 28px; padding-bottom: 60px; align-items: start; }
.filters { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow: auto; }
.filters .btn { margin-top: 6px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.results-bar select { width: auto; margin: 0; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.pager a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pager a.on { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ---------- Profile ---------- */
.profile-cover { height: 240px; background: var(--grad) center / cover; }
.profile-top { display: flex; gap: 26px; align-items: flex-end; margin-top: -70px; flex-wrap: wrap; }
.profile-id { flex: 1; min-width: 260px; padding-top: 80px; }
.profile-id h1 { margin-bottom: 4px; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.soc { background: var(--bg-2); padding: 4px 12px; border-radius: 99px; font-size: .85rem; }
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0; text-align: center; box-shadow: var(--shadow); }
.stat-row > div { padding: 16px 8px; border-right: 1px solid var(--line); }
.stat-row > div:last-child { border: 0; }
.stat-row b { display: block; font-size: 1.4rem; }
.stat-row span { color: var(--muted); font-size: .82rem; }
.profile-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding-bottom: 60px; align-items: start; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; }
.tabs button { border: 0; background: var(--bg-2); padding: .65em 1.2em; border-radius: 99px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.tabs button.on { background: #1c1c22; color: #fff; }
.tab-pane { display: none; }
.tab-pane.on { display: block; }
.bio { white-space: normal; color: var(--ink-2); }
.act-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.act-list span { background: var(--sky-l); color: #0c4a66; padding: 6px 14px; border-radius: 99px; font-size: .9rem; }
.details { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; margin: 0; }
.details dt { color: var(--muted); font-size: .9rem; }
.details dd { margin: 0; font-weight: 500; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.small-g { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); margin-top: 12px; }
.package { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.card.package { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.package h4 { margin: 0 0 4px; }
.package p { margin: 0 0 6px; }
.package-price { text-align: right; font-weight: 800; font-size: 1.2rem; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.review { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review p { margin: 4px 0 0; color: var(--ink-2); }
.book-card .book-price { font-size: 1.05rem; }
.book-card .book-price b { font-size: 1.8rem; }
.book-card form { margin-top: 14px; }
.book-total { display: flex; justify-content: space-between; align-items: center; background: var(--bg-2); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.book-total b { font-size: 1.3rem; }
.sticky { position: sticky; top: 96px; }
.safety-card h4 { color: var(--pink-d); }
.safety-card details summary { cursor: pointer; color: var(--ink-2); }

/* avatars */
.avatar { border-radius: 50%; object-fit: cover; width: 44px; height: 44px; background: var(--bg-2); flex: none; }
.avatar.xs { width: 30px; height: 30px; display: inline-block; vertical-align: middle; }
.avatar.sm { width: 40px; height: 40px; }
.avatar.md { width: 56px; height: 56px; }
.avatar.lg { width: 92px; height: 92px; }
.avatar.xl { width: 150px; height: 150px; border: 5px solid #fff; box-shadow: var(--shadow-lg); }
.avatars { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Feed ---------- */
.feed-layout { display: grid; grid-template-columns: minmax(0, 640px) 320px; gap: 30px; justify-content: center; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.post { padding: 18px 20px; }
.post-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.post-body { margin: 6px 0 12px; white-space: normal; }
.post-img { border-radius: 14px; width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 12px; }
.post-actions { display: flex; gap: 18px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.post-actions .liked { color: var(--pink); }
.comments { background: var(--bg-2); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.comment { font-size: .9rem; margin: 4px 0; }
.comment-form { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.comment-form input { margin: 0; padding: .55em 1em; border-radius: 99px; }
.composer { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.composer textarea { margin: 0; }
.composer-bar { grid-column: 2; display: flex; justify-content: space-between; align-items: center; }
.mini-friend { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--ink); }
.mini-friend:hover { text-decoration: none; background: var(--bg-2); border-radius: 10px; }
.seg { display: inline-flex; background: var(--bg-2); border-radius: 99px; padding: 4px; flex-wrap: wrap; }
.seg a { padding: .45em 1.1em; border-radius: 99px; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.seg a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.seg a:hover { text-decoration: none; }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding-top: 28px; padding-bottom: 60px; align-items: start; }
.dash-side { position: sticky; top: 96px; padding: 18px; }
.dash-me { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.dash-side nav a, .dash-side nav .link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; width: 100%; }
.dash-side nav a i, .dash-side nav .link i { width: 18px; text-align: center; }
.dash-side nav a:hover { background: var(--bg-2); text-decoration: none; }
.dash-side nav a.on { background: var(--pink-l); color: var(--pink-d); font-weight: 700; }
.dash-side nav .dot { margin-left: auto; }
.dash-main { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.kpi i { color: var(--purple); background: #f0ecff; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 10px; }
.kpi b { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.kpi span { color: var(--muted); font-size: .84rem; }
.kpi.hl { background: var(--grad); color: #fff; border: 0; }
.kpi.hl span { color: rgba(255, 255, 255, .85); }
.kpi.hl i { background: rgba(255, 255, 255, .25); color: #fff; }
.bar { height: 10px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin: 8px 0; }
.bar span { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.progress-card { padding: 16px 22px; }
.list-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.list-row > div { flex: 1; min-width: 0; }
.list-row:hover { text-decoration: none; }
.hbar { display: grid; grid-template-columns: 80px 1fr 80px; gap: 10px; align-items: center; margin: 6px 0; }
.hbar div { background: var(--bg-2); height: 12px; border-radius: 99px; overflow: hidden; }
.hbar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.hbar b { text-align: right; }
.status { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; text-transform: capitalize; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.s-pending, .s-requested, .s-open { background: #fff3d6; color: #8a5a00; }
.s-accepted, .s-active, .s-visible { background: var(--sky-l); color: #0c4a66; }
.s-completed, .s-paid, .s-closed { background: #e4f8ec; color: #0d6b43; }
.s-declined, .s-cancelled, .s-suspended, .s-rejected, .s-hidden { background: #ffe9ec; color: #b4142d; }
.hbar i.s-pending { background: #ffc531; } .hbar i.s-accepted { background: var(--sky-d); } .hbar i.s-completed { background: #2fc677; } .hbar i.s-declined, .hbar i.s-cancelled { background: #ff6b81; }
.booking-who { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.booking-info { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .92rem; margin-bottom: 10px; }
.booking-info i { color: var(--purple); }
.note { background: var(--bg-2); border-radius: 12px; padding: 10px 14px; font-style: italic; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.row-actions form { margin: 0; }
.review-form { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.review-form input[name=comment] { flex: 1; margin: 0; min-width: 200px; }
.star-input { display: inline-flex; flex-direction: row-reverse; }
.star-input input { display: none; }
.star-input label { font-size: 1.4rem; color: #d6d8df; cursor: pointer; margin: 0; padding: 0 2px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #ffb400; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { margin: 0 !important; }
.opt-chip input { display: none; }
.opt-chip span { display: inline-flex; gap: 6px; align-items: center; padding: .5em 1em; border-radius: 99px; background: var(--bg-2); border: 1.5px solid transparent; cursor: pointer; font-weight: 500; font-size: .9rem; transition: all .15s; }
.opt-chip input:checked + span { background: var(--pink-l); border-color: var(--pink); color: var(--pink-d); font-weight: 700; }
.row-avatar { display: flex; gap: 20px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.row-avatar label { flex: 1; min-width: 200px; }
.sticky-save { position: sticky; bottom: 0; background: linear-gradient(transparent, #fff 35%); padding: 24px 0 14px; text-align: right; }
.dropzone { text-align: center; border: 2px dashed #d8dbe3; box-shadow: none; }
.dropzone > i { font-size: 2.4rem; color: var(--purple); }
.dropzone input { max-width: 420px; margin: 0 auto 14px; display: block; }
.gallery.manage .gitem { position: relative; }
.gitem-actions { position: absolute; bottom: 8px; right: 8px; display: flex; gap: 6px; }
.person { display: flex; gap: 12px; align-items: center; }
.person > div:nth-child(2) { flex: 1; }
.chat { display: grid; grid-template-columns: 300px 1fr; padding: 0; overflow: hidden; height: 640px; }
.threads { border-right: 1px solid var(--line); overflow-y: auto; }
.thread { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.thread > div { flex: 1; min-width: 0; }
.thread.on, .thread:hover { background: var(--pink-l); text-decoration: none; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo { display: flex; flex-direction: column; min-height: 0; }
.convo .empty { margin: auto; }
.convo-head { display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.back-link { display: none; }
.msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); }
.msg { max-width: 72%; background: #fff; padding: 10px 14px; border-radius: 16px 16px 16px 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.msg span { display: block; font-size: .72rem; color: var(--muted); margin-top: 4px; }
.msg.mine { align-self: flex-end; background: var(--grad); color: #fff; border-radius: 16px 16px 4px 16px; }
.msg.mine span { color: rgba(255, 255, 255, .8); }
.msg-form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.msg-form textarea { margin: 0; resize: none; }
.pad { padding: 10px 16px; margin: 0; }
.plans .plan { position: relative; display: flex; flex-direction: column; }
.plan .tag { position: absolute; top: -10px; right: 16px; }
.plan.hl { border: 2px solid var(--pink); }
.plan.current { border: 2px solid var(--sky-d); }
.plan-price { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.plan-price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.plan li { padding: 5px 0; color: var(--ink-2); }
.plan li i { color: #2fc677; margin-right: 6px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; padding: 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.card:has(> .table) { overflow-x: auto; }
.thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; display: inline-block; vertical-align: middle; margin-right: 6px; }
.user-cell { min-width: 220px; }

/* ---------- Footer ---------- */
.footer { background: #17171c; color: #b9bccc; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1fr; gap: 30px; }
.footer h4 { color: #fff; }
.footer a { display: block; color: #b9bccc; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.copy { border-top: 1px solid #2c2c35; margin-top: 40px; padding: 18px 20px; font-size: .85rem; }

/* ---------- Admin ---------- */
body.admin { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: var(--bg-2); }
.admin-side { background: #17171c; color: #fff; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.admin-side .logo { font-size: 1.7rem; }
.admin-label { color: #8a8da0; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin: 4px 0 20px; }
.admin-side nav a, .admin-foot a, .admin-foot .link { display: flex; gap: 10px; align-items: center; color: #c9cbd8; padding: 10px 12px; border-radius: 10px; font-weight: 500; width: 100%; }
.admin-side nav a i { width: 18px; text-align: center; }
.admin-side nav a:hover, .admin-foot a:hover { background: #24242c; text-decoration: none; color: #fff; }
.admin-side nav a.on { background: var(--grad); color: #fff; }
.admin-side nav .dot { margin-left: auto; }
.admin-foot { margin-top: auto; border-top: 1px solid #2c2c35; padding-top: 12px; }
.admin-main { padding: 28px 32px 60px; min-width: 0; }
.admin-burger { display: none; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px; }
.filter-bar input, .filter-bar select { width: auto; flex: 1; min-width: 140px; margin: 0; }
.admin-user-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.admin-user-head > div:nth-child(2) { flex: 1; min-width: 260px; }
.admin-user-head h1 { margin-bottom: 4px; }
.wrap-actions { max-width: 420px; justify-content: flex-end; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 80px; }
.spark i { flex: 1; background: var(--grad); border-radius: 4px 4px 0 0; min-width: 4px; }
.opt-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
.group-list a { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; color: var(--ink); }
.group-list a:hover { background: var(--bg-2); text-decoration: none; }
.group-list a.on { background: var(--pink-l); color: var(--pink-d); font-weight: 700; }
.group-list a span { margin-left: auto; }
.inline-form { display: flex; flex-wrap: wrap; gap: 0 14px; align-items: flex-end; }
.inline-form label { margin-bottom: 10px; }
.inline-form .grow { flex: 1; min-width: 200px; }
.inline-form .btn { margin-bottom: 12px; }
.opt-edit { display: flex; gap: 8px; align-items: center; }
.opt-edit input { margin: 0; padding: .45em .8em; border-radius: 10px; }
.opt-edit .w-icon { width: 150px; }
.opt-edit .w-sort { width: 70px; }
.icon-prev { width: 32px; height: 32px; border-radius: 8px; background: var(--sky-l); color: var(--navy); display: grid; place-items: center; flex: none; }
.status-select { width: auto; margin: 0; padding: .35em .7em; border-radius: 99px; font-size: .82rem; font-weight: 700; }
.card.unread { border-left: 4px solid var(--pink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav nav { gap: 1rem; font-size: .92rem; }
  .activity-grid { grid-template-columns: repeat(4, 1fr); }
  .cards4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { flex-wrap: wrap; }
  .nav nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 14px; }
  .nav nav.open { display: flex; }
  .nav nav > a, .dd-btn { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .dd-menu { position: static; box-shadow: none; margin: 0; }
  .nav nav .btn { margin-top: 10px; }
  .search-layout, .profile-layout, .dash, .feed-layout, .reg-grid, .opt-layout { grid-template-columns: 1fr; }
  .filters, .dash-side, .sticky { position: static; max-height: none; }
  .cards3, .cards2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .chat { grid-template-columns: 1fr; height: auto; min-height: 520px; }
  .chat.has-open .threads { display: none; }
  .chat:not(.has-open) .convo { display: none; }
  .back-link { display: inline; }
  .msgs { min-height: 360px; max-height: 60vh; }
  body.admin { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 60; width: 260px; left: -270px; transition: left .2s; }
  .admin-side.open { left: 0; }
  .admin-burger { display: inline-block; margin: 0 0 10px; font-size: 1.4rem; }
  .admin-main { padding: 18px 16px 50px; }
  .reg-form fieldset { padding: 26px 22px; }
  .reg-badge { right: 10px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .cards2, .cards3, .cards4 { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .profile-top { flex-direction: column; align-items: flex-start; }
  .profile-id { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .confetti { display: none; }
  .details { grid-template-columns: 1fr; gap: 2px; }
  .details dd { margin-bottom: 8px; }
  .logo { font-size: 1.6rem; }
  .opt-edit { flex-wrap: wrap; }
  .hbar { grid-template-columns: 64px 1fr 70px; }
}

/* ---------- Fixes after visual review ---------- */
.nav nav > a, .dd-btn { white-space: nowrap; }
.nav nav { gap: 1.15rem; font-size: .95rem; }
.nav nav > a.btn-sky { background: var(--sky); color: #0d3a52; font-weight: 600; }
.hero-split { position: relative; display: inline-block; }
.c1 { top: -4px; left: -26px; }
.c2 { top: -10px; right: -58px; }
.c3 { bottom: -22px; left: -64px; top: auto; }
.c4 { bottom: -18px; right: -86px; top: auto; }
@media (max-width: 1200px) and (min-width: 961px) { .nav nav { gap: .8rem; font-size: .88rem; } .logo { font-size: 1.7rem; } }
.search-layout > *, .profile-layout > *, .dash > *, .feed-layout > *, .reg-grid > *, .opt-layout > *, .grid > * { min-width: 0; }
.profile-id .muted, .headline.lg { overflow-wrap: anywhere; }

/* ---------- Sign-up: Google, mobile, steps, fees ---------- */
.btn-google { background: #fff; border: 1.5px solid #dadce0; color: #3c4043; font-weight: 600; margin-bottom: 4px; }
.btn-google:hover { background: #f8f9fa; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 14px 0 16px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: #e1e3ea; }
.phone-row { display: flex; gap: 8px; }
.phone-row .dial { width: 150px; flex: none; }
.reg-form .phone-row .dial { border-radius: 999px; background: #ececef; padding: .95em 1em; }
.phone-row input { flex: 1; min-width: 0; }
.steps-bar { display: flex; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 26px; flex-wrap: wrap; }
.steps-bar li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.steps-bar li + li::before { content: ''; width: 34px; height: 2px; background: #dfe1e8; margin-right: 4px; }
.steps-bar span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #eceef3; font-size: .8rem; }
.steps-bar li.on { color: var(--ink); } .steps-bar li.on span { background: var(--grad); color: #fff; }
.steps-bar li.done span { background: #2fc677; color: #fff; }
.google-linked { display: flex; gap: 10px; align-items: center; background: var(--bg-2); border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; }
.fee-note { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.fee-note span { background: var(--pink-l); color: var(--pink-d); padding: 5px 14px; border-radius: 99px; font-size: .88rem; }
.fee-note span + span { background: var(--sky-l); color: #0c4a66; }
.checkout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; max-width: 900px; margin: 30px auto 0; }
.details-box { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--bg-2); border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; font-size: .9rem; }
.gdemo { max-width: 460px; margin: 0 auto; }
.g-logo svg { width: 40px; height: 40px; }
@media (max-width: 640px) { .checkout { grid-template-columns: 1fr; } .phone-row .dial { width: 110px; } }

/* ---------- Chat window ---------- */
.chatbox { position: fixed; right: 20px; bottom: 20px; width: 360px; height: 520px; max-height: calc(100vh - 40px); background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(31,36,48,.25); display: flex; flex-direction: column; z-index: 90; overflow: hidden; border: 1px solid var(--line); }
.chatbox[hidden] { display: none; }
.chatbox-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--grad); color: #fff; }
.chatbox-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chatbox-who a { color: #fff; font-weight: 700; }
.chatbox-who span { opacity: .9; }
.chatbox-who span.online::before, .presence.online::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ef08a; margin-right: 5px; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.chatbox-x { background: rgba(255,255,255,.2); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.chatbox-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); }
.chatbox-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chatbox-form textarea, .msg-form textarea { margin: 0; resize: none; border-radius: 16px; }
.chatbox-form .btn { width: 46px; height: 46px; padding: 0; flex: none; }
.chatbox-note { padding: 0 12px 10px; color: var(--muted); }
.chat-empty { margin: auto; color: var(--muted); text-align: center; padding: 20px; }
.fcard-wrap { position: relative; }
.fcard-chat { position: absolute; top: 12px; right: 12px; border: 0; background: rgba(255,255,255,.95); color: var(--pink-d); font: inherit; font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 99px; cursor: pointer; box-shadow: var(--shadow); display: inline-flex; gap: 6px; align-items: center; }
.fcard-chat:hover { background: var(--pink); color: #fff; }
.presence { font-size: .85rem; color: var(--muted); }
.presence.online { color: #13a35a; font-weight: 600; }
.presence.online::before { box-shadow: none; }
@media (max-width: 640px) { .chatbox { right: 0; bottom: 0; width: 100%; height: 100%; max-height: 100%; border-radius: 0; } }

/* ---------- SEO pages ---------- */
.faq { padding: 0; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--pink); font-weight: 400; }
.faq[open] summary::after { content: '–'; }
.faq summary h2, .faq summary h3 { margin: 0; font-size: 1.05rem; }
.faq p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 26px; }
.city-chip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--ink); box-shadow: var(--shadow); }
.city-chip i { color: var(--pink); }
.city-chip span { flex: 1; }
.city-chip small { color: var(--muted); white-space: nowrap; }
.city-chip:hover { border-color: var(--pink); text-decoration: none; }
.city-country { margin-top: 10px; }
.crumbs { color: var(--muted); margin-bottom: 10px; }
.lead.left { margin-left: 0; text-align: left; }
.act-list a { background: var(--sky-l); color: #0c4a66; padding: 6px 14px; border-radius: 99px; font-size: .9rem; }
.cta-card { background: linear-gradient(135deg, #fff0f7, #eef9fe); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* Launch / empty state */
.launch-empty { text-align: center; padding: 46px 28px; background: linear-gradient(135deg, #fff0f7, #eef9fe); }
.launch-empty > i { font-size: 2.8rem; color: var(--pink); margin-bottom: 12px; }
.launch-empty h2 { font-size: 1.5rem; max-width: 620px; margin: 0 auto 10px; }
.launch-empty p { color: var(--ink-2); max-width: 600px; margin: 0 auto 20px; }
.center-actions { justify-content: center; }
.launch-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; color: var(--ink-2); font-size: .92rem; }
.launch-points i { color: #2fc677; margin-right: 4px; }
.gsi-wrap { display: flex; justify-content: center; min-height: 44px; margin-bottom: 4px; }

/* Date of birth: Day / Month / Year */
.dob-picker { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr; gap: 8px; }
.dob-picker select { margin-top: 6px; padding-left: .9em; padding-right: .5em; }
.reg-form .dob-picker select { border-radius: 999px; background-color: #ececef; padding-top: .95em; padding-bottom: .95em; }

/* ================= Mobile-friendly layer ================= */
.filters-toggle, .m-actions { display: none; }
@media (max-width: 1080px) {
  /* Search: filters collapse behind a button */
  .filters-toggle { display: inline-flex; width: 100%; margin-bottom: 12px; }
  .filters { display: none; }
  .filters.open { display: block; }
  /* Dashboard menu becomes a swipeable tab bar */
  .dash { gap: 16px; padding-top: 16px; }
  .dash-side { padding: 10px; }
  .dash-me { padding-bottom: 8px; margin-bottom: 6px; }
  .dash-side nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dash-side nav::-webkit-scrollbar { display: none; }
  .dash-side nav a, .dash-side nav .link, .dash-side nav form { flex: none; width: auto; white-space: nowrap; }
  .dash-side nav a, .dash-side nav .link { padding: 8px 12px; background: var(--bg-2); border-radius: 99px; font-size: .88rem; }
  /* Profile: sticky Chat / Book bar */
  .m-actions { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(31,36,48,.08); }
  .m-actions > * { flex: 1; }
  .m-actions .btn { padding: .8em 1em; }
  body:has(.m-actions) .footer { padding-bottom: 80px; }
  .profile-actions .btn-sky[data-chat-open] { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  /* iPhone: 16px inputs stop the page zooming in when a field is tapped */
  input, select, textarea { font-size: 16px; }
  .section { padding: 44px 0; }
  .page-head { padding: 28px 0 20px; }
  h1 { font-size: 1.6rem; }
  /* Two friend cards per row */
  .grid.cards4, .grid.cards3:has(> .fcard-wrap) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fcard-img { aspect-ratio: 4 / 5; }
  .fcard-body { padding: 10px 11px 12px; }
  .fcard-body h3 { font-size: .92rem; }
  .fcard-body .muted.small { font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .headline { font-size: .8rem; min-height: 0; margin: 6px 0; }
  .fcard-meta { font-size: .72rem; padding-top: 8px; flex-wrap: wrap; gap: 4px; }
  .fcard-meta .stars { display: none; }
  .fcard-img .tag { top: 8px; left: 8px; font-size: .64rem; padding: 2px 7px; }
  .fcard-img .price { bottom: 8px; right: 8px; font-size: .75rem; padding: 3px 9px; }
  .fcard-chat { top: 8px; right: 8px; padding: 5px 9px; font-size: .72rem; }
  /* Hero & search */
  .hero { padding: 40px 0 30px; }
  .hero-title { font-size: 2.9rem; }
  .hero-split { font-size: 1.5rem; margin: .8em 0; }
  .searchbox-row { padding: 8px 8px 8px 16px; border-radius: 16px; }
  .searchbox-row input { font-size: 16px; }
  .btn.round { width: 46px; height: 46px; }
  .radios { gap: 6px 14px; font-size: .9rem; }
  .chips { gap: 6px; margin-top: 18px; }
  .chip { font-size: .8rem; padding: .45em .85em; }
  .activity-grid { gap: 14px 8px; font-size: .9rem; }
  /* Profile */
  .profile-cover { height: 150px; }
  .avatar.xl { width: 116px; height: 116px; }
  .profile-top { margin-top: -58px; gap: 10px; }
  .profile-actions .btn { padding: .6em 1em; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .stat-row > div { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .stat-row b { font-size: 1.1rem; }
  .tabs button { padding: .55em .95em; font-size: .88rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .package { flex-direction: column; }
  .package-price { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  /* Forms */
  .reg-bg { padding: 28px 0 40px; }
  .reg-grid { gap: 26px; margin-top: 22px; }
  .reg-form fieldset { padding: 22px 16px; border-radius: 18px; }
  .reg-badge { width: 54px; height: 54px; font-size: 1.3rem; top: -30px; right: 6px; }
  .phone-row .dial { width: 104px; }
  .dob-picker { gap: 6px; }
  .steps-bar li + li::before { width: 14px; }
  .steps-bar { font-size: .8rem; gap: 6px; }
  .card { padding: 16px; border-radius: 16px; }
  .opt-chip span { padding: .45em .8em; font-size: .85rem; }
  .sticky-save .btn { width: 100%; }
  /* Footer: brand on top, links in two columns */
  .footer { padding-top: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer a { font-size: .9rem; }
  /* Tables scroll sideways instead of squashing */
  .table { min-width: 560px; }
  .card:has(> .table), .card:has(> table) { overflow-x: auto; }
  .kpis { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kpi { padding: 12px; }
  .kpi b { font-size: 1.1rem; }
  .section-head { gap: 10px; }
  .seg { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  .seg a { white-space: nowrap; }
  .booking-info { gap: 6px 14px; font-size: .85rem; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .city-chip { padding: 10px; font-size: .85rem; }
  .city-chip small { display: none; }
  .flashes { margin-top: 10px; }
  .launch-empty { padding: 30px 16px; }
  .launch-empty h2 { font-size: 1.2rem; }
}
@media (max-width: 380px) {
  .grid.cards4, .grid.cards3:has(> .fcard-wrap) { gap: 8px; }
  .hero-title { font-size: 2.4rem; }
  .city-grid { grid-template-columns: 1fr; }
}
/* ---------- Onboarding ---------- */
.onboard-card { max-width: 640px; margin: 24px auto 0; }
.avatar-pick { text-align: center; margin-bottom: 18px; }
.avatar-drop { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; }
.avatar-preview { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-lg); }
.avatar-cta { color: var(--pink-d); font-weight: 700; }
.gallery.mini { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); margin-bottom: 18px; }
.add-tile { aspect-ratio: 1; border: 2px dashed #cfd3dd; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); cursor: pointer; font-size: .85rem; }
.add-tile:hover { border-color: var(--pink); color: var(--pink-d); }
.add-tile i { font-size: 1.4rem; }
.onboard-actions { justify-content: center; }
.onboard-q { max-width: 760px; margin: 24px auto 0; }
.question[hidden] { display: none; }
.question textarea { margin-top: 4px; }
.admin-transcript { display: flex; flex-direction: column; gap: 8px; max-width: 820px; background: var(--bg-2); }
/* ---------- Privacy note + earnings ---------- */
.privacy-note { display: flex; gap: 12px; background: #eefaf3; border: 1px solid #c8eed8; color: #155a37; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; font-size: .92rem; text-align: left; }
.privacy-note > i { font-size: 1.3rem; margin-top: 2px; }
.earn-teaser { background: linear-gradient(95deg, #fff3d6, #ffe3f1); color: #6b3a00; border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-size: .93rem; text-align: center; }
.earn-teaser i { color: #d98a00; margin-right: 6px; }
.earn-card { max-width: 680px; margin: 26px auto 0; padding: 28px; }
.earn-main { text-align: center; }
.earn-main b { display: block; font-size: clamp(2rem, 6vw, 2.9rem); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.earn-month { text-align: center; margin: 8px 0 18px; }
.earn-month b { display: block; font-size: 1.3rem; }
.earn-scale .bar { height: 14px; }
.earn-ends { display: flex; justify-content: space-between; margin-bottom: 18px; }
.earn-tips { list-style: none; padding: 0; margin: 0 0 16px; }
.earn-tips li { padding: 5px 0; color: var(--ink-2); }
.earn-tips i { color: #2fc677; margin-right: 6px; }
.earn-mini { display: flex; align-items: center; gap: 12px; color: var(--ink); padding: 14px 18px; background: linear-gradient(95deg, #fff8e6, #fff0f7); }
.earn-mini > i:first-child { color: #d98a00; font-size: 1.3rem; }
.earn-mini span { flex: 1; }
.earn-mini:hover { text-decoration: none; border-color: var(--pink); }
.gitem-tag { position: absolute; top: 8px; left: 8px; }
/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; background: var(--bg-2); border-radius: 99px; padding: 3px; gap: 2px; }
.lang-switch button { border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink-2); padding: 5px 11px; border-radius: 99px; cursor: pointer; }
.lang-switch button.on { background: #fff; color: var(--pink-d); box-shadow: var(--shadow); }
/* hide Google's translate toolbar and keep the page in place */
.goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
@media (max-width: 1080px) { .nav nav .lang-switch { align-self: flex-start; margin: 10px 0; } }
.consent { background: #fff8e6; border-radius: 12px; padding: 12px; }
.gallery.mini .gitem img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* ---------- Advanced profile ---------- */
.adv-nudge { display: flex; align-items: center; gap: 16px; color: var(--ink); background: linear-gradient(95deg, #fff0f7, #f3efff); border: 1px solid #f6cfe3; }
.adv-nudge:hover { text-decoration: none; border-color: var(--pink); }
.adv-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.adv-text span { color: var(--ink-2); font-size: .9rem; }
.adv-ring { --p: 0; width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(closest-side, #fff 76%, transparent 78% 100%), conic-gradient(var(--pink) calc(var(--p) * 1%), #f1d6e6 0); }
.adv-ring b { font-size: .85rem; }
.adv-progress { max-width: 420px; margin: 0 auto; }
.adv-progress .bar { height: 12px; }
.onboard-q .question .req { display: none; }
.tag-green { background: #2fc677; color: #fff; }
@media (max-width: 640px) { .adv-nudge { flex-wrap: wrap; } .adv-nudge .btn { width: 100%; } }
/* Join cards with photos */
.jcard-img { overflow: hidden; background: #eee; }
.jcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.jcard:hover .jcard-img img { transform: scale(1.04); }
.jcard-img .tape { z-index: 1; }
/* City list: current city highlighted */
.city-chip.on { border-color: var(--pink); background: var(--pink-l); color: var(--pink-d); font-weight: 700; }
/* Locality + current location */
.geo-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px dashed var(--pink); background: #fff; color: var(--pink-d); font: inherit; font-weight: 600; padding: .6em 1.1em; border-radius: 99px; cursor: pointer; margin: 0 0 12px; }
.geo-btn:hover { background: var(--pink-l); }
.geo-btn[disabled] { opacity: .6; cursor: wait; }
.geo-msg { font-size: .85rem; margin: -6px 0 12px; }@media (max-width: 1560px) and (min-width: 1081px) { .nav { gap: .9rem; } .nav nav { gap: .85rem; font-size: .88rem; } .logo { font-size: 1.75rem; } .pill { padding-left: 1em; } .pill .plus { width: 32px; height: 32px; } .lang-switch button { padding: 4px 8px; } }

/* ---------- Blog, pages, verification, account ---------- */
.blog-card { color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.blog-card:hover { text-decoration: none; border-color: var(--pink); }
.blog-card h2 { font-size: 1.15rem; margin: 2px 0; }
.blog-cover { aspect-ratio: 16 / 9; border-radius: 12px; background: var(--grad) center / cover; display: grid; place-items: center; color: rgba(255,255,255,.85); font-size: 2.4rem; margin-bottom: 6px; }
.blog-hero { width: 100%; border-radius: 16px; margin-bottom: 18px; max-height: 420px; object-fit: cover; }
.prose h2 { font-size: 1.35rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.7; }
.more-list li { margin: 6px 0; }
.verif-files { display: flex; gap: 12px; margin: 10px 0; flex-wrap: wrap; }
.verif-files img { height: 160px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; }
.danger-zone { border-color: #ffd1d6; }
.danger-zone h3 { color: #c0182b; }
.block-form { margin: 0 0 6px; }
/* ---------- Step-by-step wizard ---------- */
.wz-page { background: linear-gradient(180deg, #fff5fa, #fff 40%); padding: 26px 16px 50px; min-height: 80vh; }
.wizard { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 22px 26px 26px; display: flex; flex-direction: column; min-height: 560px; }
.wz-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.wz-back { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-2); cursor: pointer; color: var(--ink); flex: none; }
.wz-bar { flex: 1; height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.wz-bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .3s; }
.wz-step { display: none; flex: 1; animation: wzIn .25s ease; }
.wz-step.on { display: block; }
@keyframes wzIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wz-head { text-align: center; margin: 6px 0 24px; }
.wz-head h1 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin: 6px 0; }
.wz-head p { color: var(--ink-2); margin: 0 auto; max-width: 420px; }
.wz-head .avatar { margin: 0 auto 10px; }
.wz-field { display: block; margin-bottom: 14px; }
.wz-field span, .wz-dob span { display: block; font-size: .8rem; color: var(--muted); margin: 0 0 2px 16px; }
.wz-field input, .wz-field select, .wz-phone input, .wz-phone select, .wz-dob input { background: #eef0f3; border-radius: 18px; padding: 1em 1.1em; font-size: 1.05rem; }
.wz-phone { display: flex; gap: 10px; }
.wz-phone select { width: 140px; flex: none; }
.wz-phone input { flex: 1; min-width: 0; }
.wz-dob { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 10px; max-width: 420px; margin: 0 auto; }
.wz-dob input { text-align: center; letter-spacing: .08em; }
.wz-pills { display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin: 0 auto; }
.wz-pills.two { display: grid; grid-template-columns: 1fr 1fr; }
.wz-pill { position: relative; }
.wz-pill input { position: absolute; opacity: 0; pointer-events: none; }
.wz-pill span { display: block; text-align: center; padding: 1em; border: 1.5px solid #8a90a0; border-radius: 99px; font-weight: 700; cursor: pointer; transition: all .15s; }
.wz-pill input:checked + span { border-color: var(--pink); background: var(--pink-l); color: var(--pink-d); }
.wz-pill span:hover { border-color: var(--pink); }
.wz-check { display: flex; gap: 10px; align-items: flex-start; margin: 12px auto; max-width: 440px; }
.wz-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.wz-actions { display: flex; gap: 12px; margin-top: 22px; }
.wz-actions .btn { flex: 1; }
.wz-actions .btn[data-wz-next] { flex: 1.4; }
.wz-actions [hidden] { display: none; }
.wz-error { color: #b4142d; text-align: center; margin: 14px 0 0; font-weight: 600; }
.wz-foot { margin: 14px 0 0; }
.wizard .geo-btn { display: flex; margin: 0 auto 16px; }
.wizard .geo-msg { text-align: center; }
.wizard textarea { border-radius: 18px; background: #eef0f3; }
.adv-ring.big { width: 96px; height: 96px; margin: 0 auto 12px; }
.adv-ring.big b { font-size: 1.2rem; }
/* Interests: round icon grid */
.opt-chips.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
.icon-grid .opt-chip span { flex-direction: column; background: none; border: 0; padding: 0; gap: 8px; text-align: center; font-size: .82rem; }
.icon-grid .opt-chip span i { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: var(--ink); border: 2px solid transparent; transition: all .15s; }
.icon-grid .opt-chip span b { font-weight: 600; }
.icon-grid .opt-chip input:checked + span { background: none; color: var(--pink-d); }
.icon-grid .opt-chip input:checked + span i { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-l); color: var(--pink-d); }
.opt-chip span b { font-weight: inherit; }
@media (max-width: 640px) {
  .wz-page { padding: 0; background: #fff; }
  .wizard { border-radius: 0; box-shadow: none; min-height: calc(100vh - 70px); padding: 16px; }
  .opt-chips.icon-grid { grid-template-columns: repeat(3, 1fr); }
  .icon-grid .opt-chip span i { width: 64px; height: 64px; }
  .wz-pills.two { grid-template-columns: 1fr; }
}

.city-guide p { color: var(--ink-2); line-height: 1.7; }
.guide-cols h3 { font-size: 1rem; }
.guide-cols h3 i { color: var(--pink); margin-right: 6px; }
.guide-cols p { font-size: .92rem; }
.guide-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 18px; }
.guide-list i { color: var(--pink); margin-right: 6px; }

/* Photo steps + Google details */
.avatar-drop.big { display: flex; margin: 0 auto 18px; width: max-content; }
.avatar-drop.big .avatar-preview { width: 180px; height: 180px; }
.wz-readonly { background: #f6f7f9 !important; color: var(--muted); }
.wizard .pw { display: block; position: relative; }
.wizard .add-tile { min-height: 100px; }.wz-field .pw { font-size: inherit; margin: 0; color: inherit; }

.num.sm { width: 28px; height: 28px; font-size: .9rem; margin: 0 6px 0 0; vertical-align: middle; }
