/* KamKarao design system — clean premium, phone first, no build step. */

/* Self-hosted fonts (SIL Open Font Licence). Devanagari + Latin only, loaded on demand. */
@font-face { font-family: "Hind"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hind-devanagari-400-normal.3b22c1752499.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hind-latin-400-normal.4c5bc71b3cf6.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hind-devanagari-500-normal.28fb8711a182.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hind-latin-500-normal.fd24af413cb9.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hind-devanagari-600-normal.41af1a6eb49d.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hind-latin-600-normal.e9224cf8a465.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-devanagari-500-normal.0fba8261faa0.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.a09f2fccfee3.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-devanagari-600-normal.8de9fc06981e.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.72993dddf88a.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-devanagari-700-normal.5854492aa44d.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.25b0e113ca7c.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #0F766E;
  --brand-600: #0D6B63;
  --brand-700: #115E59;
  --brand-50: #ECF7F5;
  --brand-100: #D4EEEA;
  --accent: #F59E0B;
  --accent-ink: #92400E;
  --star: #D97706;
  --ink: #0B1F1A;
  --text: #33433E;
  --muted: #5B6B66;
  --line: #E3E9E6;
  --line-strong: #CBD5D1;
  --bg: #F6F8F7;
  --card: #FFFFFF;
  --danger: #B91C1C;
  --ok: #15803D;
  --rose: #9D174D;
  --rose-50: #FCE7F3;
  --amber-50: #FEF3C7;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 26, .06), 0 1px 1px rgba(11, 31, 26, .04);
  --shadow: 0 6px 24px -8px rgba(11, 31, 26, .14), 0 2px 6px -2px rgba(11, 31, 26, .06);
  --shadow-lg: 0 24px 60px -20px rgba(11, 31, 26, .28);
  --font-head: "Poppins", "Hind", system-ui, sans-serif;
  --font-body: "Hind", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 64px;
  --bottom-nav-h: 0px;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bottom-nav-h);
}
img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(15, 118, 110, .45); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
.icon-fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.strong { font-weight: 600; color: var(--ink); }
.center { text-align: center; }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.eyebrow { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 700; line-height: 1.12; }
.h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; }
.h3 { font-size: 20px; font-weight: 600; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1.5px solid transparent;
  background: var(--b); color: #fff; font-weight: 600; font-family: var(--font-head); font-size: 15px;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: #fff; background: var(--brand-600); box-shadow: 0 8px 20px -8px rgba(15, 118, 110, .55); }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #17332c; box-shadow: 0 8px 20px -8px rgba(11, 31, 26, .5); }
.btn-wa { background: #128C4A; }
.btn-wa:hover { background: #0E7A40; box-shadow: 0 8px 20px -8px rgba(18, 140, 74, .55); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #E8930A; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--brand-700); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); box-shadow: none; border-color: var(--brand-100); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #F1F5F3; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 8px 4px; min-height: 44px; color: var(--brand-700); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* --- Header -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(227, 233, 230, .8);
}
.header .container { height: 100%; display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(140deg, #14B8A6, var(--brand-700)); color: #fff; box-shadow: 0 6px 14px -6px rgba(15, 118, 110, .7); }
.logo-mark svg { width: 20px; height: 20px; }
.logo span b { color: var(--brand); font-weight: 700; }
.header-spacer { flex: 1; }
.area-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; max-width: 46vw; padding: 0 12px 0 10px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.area-pill:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.area-pill .icon { color: var(--brand); }
.area-pill .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: #EDF2F0; }
.lang-switch button { border: 0; background: transparent; min-height: 34px; min-width: 40px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); transition: background .2s, color .2s; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.header-nav { display: none; gap: 4px; }
.header-nav a { padding: 8px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 15px; }
.header-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.header-account { display: none; }
@media (min-width: 900px) {
  .header-nav, .header-account { display: inline-flex; }
}

/* Mobile bottom navigation */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav a, .bottom-nav button {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; min-height: 52px;
  border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 600; border-radius: 12px;
}
.bottom-nav .active { color: var(--brand); }
.bottom-nav .fab { color: #fff; }
.bottom-nav .fab span.fab-dot { width: 44px; height: 32px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(15, 118, 110, .8); }
.bottom-nav .fab .lbl { color: var(--brand-700); }
@media (max-width: 899px) { body { --bottom-nav-h: 72px; } }
@media (min-width: 900px) { .bottom-nav { display: none; } }

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 40px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(20, 184, 166, .16), transparent 60%),
  radial-gradient(700px 380px at -10% 20%, rgba(245, 158, 11, .10), transparent 60%),
  linear-gradient(180deg, #fff, var(--bg)); }
.hero-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 56px 0 72px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.hero-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); display: grid; place-items: center; color: var(--brand); }
.hero h1 { margin: 16px 0 12px; }
.hero h1 .hl { background: linear-gradient(90deg, var(--brand), #14B8A6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search {
  margin-top: 24px; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 18px; background: #fff;
  border: 1.5px solid var(--line); box-shadow: var(--shadow); max-width: 600px; transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12), var(--shadow); }
.search .icon { margin-left: 8px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; min-height: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--text);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--brand-100); color: var(--brand-700); background: var(--brand-50); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .icon { width: 16px; height: 16px; }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats .n { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1; }
.hero-stats .l { font-size: 14px; color: var(--muted); }

/* Hero illustration */
.hero-art { position: relative; aspect-ratio: 1 / .92; max-width: 520px; width: 100%; margin: 0 auto; }
@media (max-width: 899px) { .hero-art { max-width: 320px; margin-top: 4px; } }
.hero-art .orb { position: absolute; inset: 6%; border-radius: 50%; background:
  radial-gradient(circle at 30% 30%, #fff 0, rgba(255,255,255,0) 40%),
  conic-gradient(from 210deg, #CCFBF1, #99F6E4, #5EEAD4, #CCFBF1); opacity: .65; filter: blur(.5px); }
.hero-art .ring { position: absolute; inset: 18%; border-radius: 50%; border: 1.5px dashed rgba(15, 118, 110, .3); animation: spin 60s linear infinite; }
.hero-art .ring.r2 { inset: 4%; border-style: solid; border-color: rgba(15, 118, 110, .12); animation-duration: 90s; animation-direction: reverse; }
.hero-art .pin { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); width: 22%; aspect-ratio: 1; }
.hero-art .pin-body { width: 100%; height: 100%; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(140deg, #14B8A6, var(--brand-700)); box-shadow: 0 20px 40px -12px rgba(15, 118, 110, .7); display: grid; place-items: center; animation: bob 4s var(--ease) infinite; }
.hero-art .pin-body svg { transform: rotate(45deg); width: 44%; height: 44%; color: #fff; }
.hero-art .pulse { position: absolute; left: 50%; top: 66%; width: 30%; aspect-ratio: 3 / 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(15, 118, 110, .25); animation: pulse 2.6s ease-out infinite; }
.bubble {
  position: absolute; width: 17%; aspect-ratio: 1; border-radius: 30%; background: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--brand); animation: float 6s ease-in-out infinite;
}
.bubble svg { width: 46%; height: 46%; }
.bubble.b1 { left: 8%; top: 16%; animation-delay: -.5s; color: #B45309; }
.bubble.b2 { right: 10%; top: 8%; animation-delay: -2s; color: #0369A1; }
.bubble.b3 { right: 0; top: 50%; animation-delay: -3.2s; color: #BE185D; }
.bubble.b4 { left: 0; top: 54%; animation-delay: -1.2s; color: #4D7C0F; }
.bubble.b5 { left: 38%; top: 0; animation-delay: -4s; width: 13%; color: #7C3AED; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.8);
  animation: float 7s ease-in-out infinite; font-size: 14px; white-space: nowrap;
}
.float-card.c1 { left: 2%; bottom: 8%; animation-delay: -2.5s; }
.float-card.c2 { right: 2%; bottom: 22%; animation-delay: -5s; }
.float-card .av { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(140deg, #F59E0B, #EA580C); }
.float-card .ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #DCFCE7; color: var(--ok); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(4px, -4px); } }
@keyframes pulse { 0% { opacity: .8; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Cards: services ---------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service {
  position: relative; display: flex; flex-direction: column; justify-content: end; min-height: 168px; padding: 14px;
  border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  background: var(--c, var(--brand));
}
@media (min-width: 640px) { .service { min-height: 210px; padding: 18px; } }
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 22, 18, 0) 25%, rgba(6, 22, 18, .82) 100%); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.service:hover img { transform: scale(1.06); }
.service .ic { position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--c, var(--brand)); box-shadow: var(--shadow-sm); }
.service .name { font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.2; color: #fff; }
@media (min-width: 640px) { .service .name { font-size: 20px; } }
.service .meta { font-size: 13px; opacity: .92; margin-top: 2px; }
.service.more { background: linear-gradient(140deg, #FFF7E6, #FEF3C7); color: var(--ink); border: 1.5px dashed #F2C66B; justify-content: center; }
.service.more::after { display: none; }
.service.more .name { color: var(--ink); }
.service.more .ic { color: var(--accent-ink); position: static; margin-bottom: 10px; background: #fff; }
.service.more:hover { color: var(--ink); }

/* --- Provider cards ----------------------------------------------------- */
.provider-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.pcard:hover { box-shadow: var(--shadow); border-color: var(--brand-100); }
.pcard.featured { border-color: #F5D58A; background: linear-gradient(180deg, #FFFCF3, #fff 40%); }
.pcard-head { display: flex; gap: 12px; align-items: flex-start; }
.avatar { position: relative; flex: none; width: 60px; height: 60px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; background: linear-gradient(140deg, var(--a1, #14B8A6), var(--a2, #115E59)); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 96px; height: 96px; border-radius: 28px; font-size: 32px; }
.avatar .online { position: absolute; right: 3px; bottom: 3px; width: 13px; height: 13px; border-radius: 50%; background: #22C55E; border: 2.5px solid #fff; }
.pname { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); line-height: 1.25; }
.pname a { color: inherit; }
.pname a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pmeta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink); font-size: 15px; }
.rating .icon { color: var(--star); }
.rating .cnt { font-weight: 500; color: var(--muted); font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.badge .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.b-ok { background: #DCFCE7; color: #14532D; }
.b-brand { background: var(--brand-50); color: var(--brand-700); }
.b-new { background: #E0E7FF; color: #3730A3; }
.b-amber { background: var(--amber-50); color: #78350F; }
.b-rose { background: var(--rose-50); color: var(--rose); }
.b-grey { background: #EEF2F1; color: #3F4B47; }
.b-feat { background: linear-gradient(90deg, #FDE68A, #FCD34D); color: #713F12; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard .subs { font-size: 14px; color: var(--muted); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { font-size: 14px; color: var(--muted); }
.price b { font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.masked { font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; color: var(--ink); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.masked .icon { color: var(--muted); }
.contact-btns { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Compact provider card (home "top rated") */
.mini-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 80%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.mini-scroller::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .mini-scroller { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; } }
@media (min-width: 1100px) { .mini-scroller { grid-template-columns: repeat(4, 1fr); } }
.mini { position: relative; scroll-snap-align: start; display: flex; gap: 12px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini .avatar { width: 52px; height: 52px; border-radius: 16px; font-size: 18px; }

/* --- Banners ------------------------------------------------------------ */
.banners { display: grid; gap: 12px; }
@media (min-width: 900px) { .banners.two { grid-template-columns: 1fr 1fr; } }
.banner {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; min-height: 120px;
  border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.banner:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.banner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); z-index: -1; }
.banner::after { content: ""; position: absolute; right: 60px; bottom: -80px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .08); z-index: -1; }
.banner.teal { background: linear-gradient(120deg, #0F766E, #0E9F8E); }
.banner.saffron { background: linear-gradient(120deg, #B45309, #EA8A0C); }
.banner.indigo { background: linear-gradient(120deg, #3730A3, #4F46E5); }
.banner.rose { background: linear-gradient(120deg, #9D174D, #DB2777); }
.banner.slate { background: linear-gradient(120deg, #1E293B, #334155); }
.banner .t { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.25; }
.banner .s { opacity: .92; font-size: 14.5px; margin-top: 4px; }
.banner .shop { font-size: 12.5px; opacity: .85; font-weight: 600; margin-top: 8px; }
.banner .cta { flex: none; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; font-family: var(--font-head); }
.banner.img { padding: 0; min-height: 0; aspect-ratio: 3 / 1; background: #ddd; }
.banner.img img { width: 100%; height: 100%; object-fit: cover; }
.ad-tag { position: absolute; top: 10px; right: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .28); color: #fff; }

/* --- Steps / trust ------------------------------------------------------ */
.steps { display: grid; gap: 14px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { position: relative; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step .num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.trust { display: grid; gap: 24px; align-items: center; padding: 28px; border-radius: 28px; background: linear-gradient(140deg, #0B1F1A, #123A33); color: #D9E8E3; overflow: hidden; position: relative; }
.trust h2 { color: #fff; }
@media (min-width: 900px) { .trust { grid-template-columns: 1fr 1fr; padding: 48px; } }
.trust-list { display: grid; gap: 12px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.trust-item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(94, 234, 212, .16); color: #5EEAD4; flex: none; }
.trust-item b { color: #fff; font-family: var(--font-head); font-weight: 600; display: block; }
.cta-band { display: grid; gap: 20px; align-items: center; padding: 28px; border-radius: 28px; background: linear-gradient(120deg, #FEF3C7, #FDE68A); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 40px 48px; } }

/* --- Category page ------------------------------------------------------- */
.cat-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding: 28px 0 26px; background: var(--ink); }
.cat-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.cat-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 24, 20, .92), rgba(8, 24, 20, .55)); }
.cat-hero h1 { color: #fff; font-size: clamp(28px, 5vw, 44px); }
.cat-hero .crumbs { font-size: 14px; opacity: .85; display: flex; gap: 6px; align-items: center; }
.cat-hero .crumbs a { color: #fff; }
.cat-hero .area-pill { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .25); }
.cat-hero .area-pill .icon { color: #5EEAD4; }
.filterbar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(246, 248, 247, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.filterbar .container { padding-top: 10px; padding-bottom: 10px; display: flex; flex-direction: column; gap: 8px; }
.hscroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll .chip { flex: none; }
.select { min-height: 38px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; padding: 0 12px; font-size: 14px; font-weight: 600; }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 14px; flex-wrap: wrap; }
#results { transition: opacity .25s; }
#results.htmx-request { opacity: .45; }
.empty { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty .ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.rate-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
@media (min-width: 800px) { .rate-strip { grid-template-columns: repeat(4, 1fr); } }
.rate-strip div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; }
.rate-strip b { display: block; font-family: var(--font-head); font-size: 17px; color: #fff; }

/* --- Provider page ------------------------------------------------------- */
.profile { display: grid; gap: 16px; padding: 20px 0 32px; }
@media (min-width: 960px) { .profile { grid-template-columns: 1fr 360px; align-items: start; gap: 24px; padding-top: 32px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.panel h2 { font-size: 18px; margin-bottom: 14px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats3 div { background: var(--bg); border-radius: 14px; padding: 12px; }
.stats3 b { display: block; font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.stats3 span { font-size: 13px; color: var(--muted); }
.rate-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rate-row:last-child { border-bottom: 0; }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.stars { color: var(--star); letter-spacing: 1px; }
.sticky-contact { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 959px) {
  .sticky-contact.mobile-bar { position: fixed; top: auto; left: 0; right: 0; bottom: var(--bottom-nav-h); z-index: 44; border-radius: 20px 20px 0 0; padding: 12px 16px; box-shadow: 0 -10px 30px -12px rgba(11, 31, 26, .25); border: 0; border-top: 1px solid var(--line); }
  .sticky-contact.mobile-bar .desk-only { display: none; }
  body.has-contact-bar { padding-bottom: calc(var(--bottom-nav-h) + 84px); }
}
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; list-style: none; }
.check-list { padding: 0; margin: 0; }
.check-list .icon { color: var(--ok); margin-top: 2px; }

/* --- Forms --------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 600; color: var(--ink); font-size: 15px; }
.input, .textarea, .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.input:focus, .textarea:focus, .field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.input-phone { display: flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: #fff; }
.input-phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.input-phone span { display: grid; place-items: center; padding: 0 12px; background: var(--bg); font-weight: 600; color: var(--muted); border-right: 1px solid var(--line); }
.input-phone input { flex: 1; min-width: 0; border: 0; outline: 0; min-height: 52px; padding: 0 12px; font-size: 18px; letter-spacing: .04em; }
.otp-input { text-align: center; font-size: 28px; letter-spacing: .5em; font-family: var(--font-head); font-weight: 600; min-height: 60px; }
.error { color: var(--danger); font-size: 14px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.alert { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; }
.alert-ok { background: #DCFCE7; color: #14532D; }
.alert-info { background: var(--brand-50); color: var(--brand-700); }
.alert-dev { background: #FEF3C7; color: #78350F; border: 1px dashed #F59E0B; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; min-height: 50px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 600; font-size: 14.5px; transition: all .2s; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }
.choice input:focus-visible + span { outline: 3px solid rgba(15, 118, 110, .45); outline-offset: 2px; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { cursor: pointer; color: #D6DDDA; transition: transform .15s, color .15s; }
.star-input label svg { width: 44px; height: 44px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }
.star-input label:active { transform: scale(.9); }
.form-card { max-width: 560px; margin: 24px auto 40px; }

/* --- Sheet (bottom sheet on phone, dialog on desktop) ------------------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.sheet.open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(8, 20, 17, .5); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.sheet.open .sheet-panel { transform: translateY(0); }
.sheet-grab { width: 44px; height: 5px; border-radius: 99px; background: #D7DFDC; margin: 4px auto 12px; }
@media (min-width: 700px) {
  .sheet-panel { left: 50%; top: 50%; bottom: auto; width: min(480px, 92vw); border-radius: 24px; padding: 22px; transform: translate(-50%, -46%) scale(.96); opacity: 0; transition: transform .3s var(--ease), opacity .25s; }
  .sheet.open .sheet-panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .sheet-grab { display: none; }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h2 { font-size: 20px; }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover { background: #E8EEEC; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.area-btn { min-height: 46px; padding: 6px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; text-align: left; font-weight: 600; font-size: 14.5px; display: flex; flex-direction: column; line-height: 1.25; transition: all .2s; }
.area-btn small { font-weight: 500; color: var(--muted); font-size: 12px; }
.area-btn:hover { border-color: var(--brand-100); background: var(--brand-50); }
.area-btn.is-on { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.number-reveal { text-align: center; padding: 18px; border-radius: 18px; background: linear-gradient(140deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); }
.number-reveal .num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.wa-preview { background: #E7F8EE; border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 14.5px; color: #0B3D24; }

/* Toast */
.toast-wrap { position: fixed; left: 50%; bottom: calc(var(--bottom-nav-h) + 16px); transform: translateX(-50%); z-index: 70; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 15px; animation: toast-in .4s var(--ease) both, toast-out .4s ease 4.5s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(12px); visibility: hidden; } }

/* --- Footer --------------------------------------------------------------- */
.footer { margin-top: 40px; padding: 40px 0 28px; background: #0B1F1A; color: #A8BDB6; font-size: 14.5px; }
.footer a { color: #D9E8E3; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .logo { color: #fff; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; }

/* --- Motion -------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.enter { animation: enter .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } }
.htmx-added .pcard, .swap-in { animation: enter .5s var(--ease) both; }
.skeleton { background: linear-gradient(90deg, #EEF2F1 25%, #F7FAF9 37%, #EEF2F1 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 12px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.htmx-request .spinner, .htmx-request.spinner { display: inline-block; }
.htmx-request .btn-label { opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- Small-screen fit ------------------------------------------------------ */
.hero-grid > *, .profile > *, .footer-grid > * { min-width: 0; }
.header .container > * { flex-shrink: 0; }
.header .area-pill { flex-shrink: 1; min-width: 0; max-width: 220px; }
@media (max-width: 480px) {
  .header .container { gap: 8px; }
  .logo { font-size: 18px; gap: 8px; }
  .logo-mark { width: 32px; height: 32px; border-radius: 10px; }
  .lang-switch button { min-width: 34px; padding: 0 7px; }
  .area-pill { padding: 0 8px; font-size: 13px; }
  .hero-art .float-card { font-size: 12.5px; padding: 8px 10px 8px 8px; }
  .hero-art .float-card .av, .hero-art .float-card .ok { width: 30px; height: 30px; }
}
@media (max-width: 359px) { .logo span:not(.logo-mark) { display: none; } }
.stack > .badge, .stack > .rating { align-self: flex-start; }
