/* =========================================================================
   MP Services — Shared Design System
   Luxury white-based premium service marketplace
   ========================================================================= */

:root {
  /* Color palette */
  --white:        #FFFFFF;
  --pearl:        #F8F5F0;
  --indigo:       #1B2A6B;
  --indigo-700:   #2A3C8A;
  --saffron:      #F5820A;
  --saffron-600:  #E07408;
  --emerald:      #0E7C5B;
  --gold:         #C8960C;
  --slate:        #6B7A99;
  --slate-ink:    #3F4A66;
  --sky:          #E8F0FE;
  --line:         #ECECF2;
  --ink:          #141A33;

  /* Category accents */
  --cat-ac:       #2563EB;
  --cat-clean:    #0E7C5B;
  --cat-doctor:   #E11D48;
  --cat-mobile:   #7C3AED;
  --cat-tv:       #0891B2;
  --cat-laundry:  #0EA5E9;
  --cat-web:      #1B2A6B;
  --cat-app:      #DB2777;
  --cat-tutor:    #CA8A04;
  --cat-salon:    #C026D3;
  --cat-plumb:    #EA580C;
  --cat-pet:      #16A34A;

  /* Type */
  --display: "Cormorant Garamond", Georgia, serif;
  --heading: "Syne", system-ui, sans-serif;
  --body:    "Nunito", system-ui, sans-serif;
  --num:     "Oswald", system-ui, sans-serif;

  /* Effects */
  --shadow-sm: 0 2px 14px rgba(27,42,107,0.06);
  --shadow:    0 4px 30px rgba(27,42,107,0.08);
  --shadow-lg: 0 18px 50px rgba(27,42,107,0.14);
  --radius:    20px;
  --radius-sm: 12px;
  --maxw:      1240px;
  --header-h:  78px;
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--slate-ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--indigo); line-height: 1.1; font-weight: 700; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--heading); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--saffron);
}
.section-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.3rem); color: var(--indigo);
  letter-spacing: -0.01em; line-height: 1.05;
}
.section-sub { font-size: 1.08rem; color: var(--slate); max-width: 56ch; }
.num { font-family: var(--num); font-weight: 600; letter-spacing: 0.01em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section.tight { padding: 68px 0; }
.bg-pearl { background: var(--pearl); }
.bg-sky { background: linear-gradient(180deg, #F2F7FF 0%, #E8F0FE 100%); }
.center { text-align: center; }
.section-head { margin-bottom: 52px; }
.section-head.center { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section-head .section-sub { margin-top: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--heading); font-weight: 700; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 100px; transition: all .25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-saffron { background: var(--saffron); color: #fff; box-shadow: 0 8px 22px rgba(245,130,10,.28); }
.btn-saffron:hover { background: var(--saffron-600); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,130,10,.36); }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: var(--indigo-700); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--indigo); box-shadow: inset 0 0 0 1.6px var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn-ghost { background: var(--sky); color: var(--indigo); }
.btn-ghost:hover { background: #d8e6ff; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* pulse on primary CTAs */
@keyframes pulse-ring {
  0% { box-shadow: 0 8px 22px rgba(245,130,10,.28), 0 0 0 0 rgba(245,130,10,.34); }
  70% { box-shadow: 0 8px 22px rgba(245,130,10,.28), 0 0 0 12px rgba(245,130,10,0); }
  100% { box-shadow: 0 8px 22px rgba(245,130,10,.28), 0 0 0 0 rgba(245,130,10,0); }
}
.btn-pulse { animation: pulse-ring 2.6s infinite; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--heading); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.04em; padding: 6px 12px; border-radius: 100px;
}
.badge svg { width: 13px; height: 13px; }
.badge-verified { background: rgba(14,124,91,.1); color: var(--emerald); }
.badge-premium { background: rgba(200,150,12,.12); color: var(--gold); }
.badge-new { background: var(--sky); color: var(--indigo); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--heading); font-weight: 700; font-size: 0.74rem;
  padding: 6px 13px; border-radius: 100px; background: var(--sky); color: var(--indigo);
  letter-spacing: 0.02em;
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }

/* rating */
.rating { display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 0.95rem; }
.rating .count { color: var(--slate); font-size: 0.86rem; }
.rating .score { font-family: var(--num); font-weight: 600; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 2px 24px rgba(27,42,107,.07);
}
.header-inner { display: flex; align-items: center; gap: 32px; width: 100%; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-700) 100%);
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(27,42,107,.22);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 1.62rem; line-height: 1; letter-spacing: -0.01em; }
.logo-text .mp { color: var(--indigo); }
.logo-text .sv { color: var(--saffron); }
.nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.nav a {
  font-family: var(--heading); font-weight: 600; font-size: 0.94rem; color: var(--slate-ink);
  position: relative; transition: color .2s; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--saffron); transition: width .25s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--indigo); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-actions .auth-link { font-family: var(--heading); font-weight: 600; font-size: 0.9rem; color: var(--slate-ink); }
.header-actions .auth-link:hover { color: var(--indigo); }
.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--indigo); position: relative; transition: .3s; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--indigo); transition: .3s; }
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: rgba(255,255,255,.99);
  backdrop-filter: blur(8px); display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px) 28px 32px; gap: 6px;
  transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a.m-link { font-family: var(--display); font-weight: 600; font-size: 1.8rem; color: var(--indigo); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .m-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card-hover:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; aspect-ratio: 16/11; object-fit: cover; background: var(--pearl); }

/* category card */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  border-left: 4px solid var(--accent, var(--indigo));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; gap: 14px; cursor: pointer;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; background: color-mix(in srgb, var(--accent) 12%, #fff);
}
.cat-card h3 { font-family: var(--heading); font-size: 1.12rem; color: var(--indigo); }
.cat-count { font-family: var(--num); font-weight: 500; font-size: 0.82rem; color: var(--slate); letter-spacing: .03em; }

/* service card */
.svc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border-left: 4px solid var(--accent, var(--indigo)); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.svc-media { position: relative; }
.svc-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--pearl); }
.svc-media .chip { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); }
.svc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.svc-body h3 { font-family: var(--heading); font-size: 1.18rem; color: var(--indigo); line-height: 1.25; }
.svc-desc { font-size: 0.95rem; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-vendor { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--slate-ink); font-weight: 700; }
.svc-meta { display: flex; align-items: center; gap: 16px; font-size: 0.86rem; color: var(--slate); flex-wrap: wrap; }
.svc-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.svc-price { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.svc-price .from { font-size: 0.8rem; color: var(--slate); }
.svc-price .amount { font-family: var(--num); font-weight: 600; font-size: 1.55rem; color: var(--indigo); }
.svc-actions { display: flex; gap: 10px; margin-top: 6px; }
.svc-actions .btn { flex: 1; padding: 12px 14px; font-size: 0.86rem; }

/* vendor card */
.vendor-card { min-width: 290px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.vendor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vendor-card .v-top { display: flex; gap: 15px; align-items: center; }
.vendor-card .v-photo { width: 70px; height: 70px; border-radius: 18px; object-fit: cover; flex-shrink: 0; background: var(--pearl); }
.vendor-card h3 { font-family: var(--heading); font-size: 1.14rem; color: var(--indigo); }
.vendor-card .v-cat { font-size: 0.86rem; color: var(--saffron); font-weight: 700; }
.vendor-card .v-loc { font-size: 0.84rem; color: var(--slate); display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.vendor-card .premium-flag { position: absolute; top: 16px; right: 16px; }

/* horizontal scroll rail */
.rail { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 26px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 100px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo); color: rgba(255,255,255,.78); padding: 76px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo-text .mp { color: #fff; }
.site-footer .logo-text .sv { color: var(--saffron); }
.footer-tag { margin-top: 18px; font-size: 0.95rem; max-width: 30ch; color: rgba(255,255,255,.66); }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .25s; }
.footer-social a:hover { background: var(--saffron); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-col h4 { font-family: var(--heading); color: #fff; font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { display: block; padding: 7px 0; font-size: 0.94rem; color: rgba(255,255,255,.72); transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-contact-item { display: flex; gap: 10px; font-size: 0.92rem; margin-bottom: 14px; color: rgba(255,255,255,.72); }
.footer-contact-item svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; stroke: var(--saffron); }
.newsletter { margin-top: 56px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.newsletter h3 { font-family: var(--display); color: #fff; font-size: 1.7rem; }
.newsletter p { color: rgba(255,255,255,.66); font-size: 0.95rem; }
.newsletter form { display: flex; gap: 10px; min-width: 340px; flex: 1; max-width: 480px; }
.newsletter input { flex: 1; padding: 14px 18px; border-radius: 100px; border: none; background: rgba(255,255,255,.1); color: #fff; outline: none; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: 0.86rem; color: rgba(255,255,255,.55); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom .fb-links { display: flex; gap: 22px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--heading); font-weight: 700; font-size: 0.84rem; color: var(--slate-ink); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: #fff; transition: border-color .2s, box-shadow .2s; outline: none; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(245,130,10,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: var(--cat-doctor); font-size: 0.8rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--cat-doctor); }
.field.invalid .err { display: block; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; color: var(--slate); font-family: var(--heading); font-weight: 600; }
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--indigo); }

/* ---------- Page banner ---------- */
.page-banner { padding: calc(var(--header-h) + 56px) 0 56px; background: linear-gradient(180deg, #F2F7FF, #fff); }
.page-banner h1 { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-banner .breadcrumb { margin-bottom: 16px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(20,26,51,.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: 24px; width: 100%; max-width: 520px; padding: 38px;
  box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.97); transition: transform .35s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.modal-head h3 { font-family: var(--display); font-size: 1.8rem; }
.modal-head p { font-size: 0.92rem; color: var(--slate); margin-top: 4px; }
.modal-close { width: 38px; height: 38px; border-radius: 11px; background: var(--pearl); display: grid; place-items: center; flex-shrink: 0; transition: .2s; }
.modal-close:hover { background: var(--line); }
.modal-close svg { width: 18px; height: 18px; stroke: var(--ink); }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-vendor-strip { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--pearl); border-radius: var(--radius-sm); margin-bottom: 4px; }
.modal-vendor-strip img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }

/* success tick */
.success-state { text-align: center; padding: 14px 0 6px; }
.tick-circle { width: 88px; height: 88px; border-radius: 50%; background: rgba(14,124,91,.1); display: grid; place-items: center; margin: 0 auto 22px; }
.tick-circle svg { width: 46px; height: 46px; }
.tick-circle .tick-path { stroke: var(--emerald); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-tick .6s var(--ease) forwards .15s; }
.tick-circle .tick-ring { stroke: var(--emerald); stroke-width: 4; fill: none; stroke-dasharray: 252; stroke-dashoffset: 252; animation: draw-tick .6s var(--ease) forwards; }
@keyframes draw-tick { to { stroke-dashoffset: 0; } }
.success-state h3 { font-family: var(--display); font-size: 1.9rem; margin-bottom: 8px; }
.success-state p { color: var(--slate); max-width: 38ch; margin: 0 auto 22px; }

/* ---------- Utilities ---------- */
.flex { display: flex; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-sm { gap: 10px; }
.gap { gap: 18px; }
.mt-sm { margin-top: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.muted { color: var(--slate); }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* image placeholder fallback (striped) */
.img-ph { background: repeating-linear-gradient(45deg, #EEF1F8, #EEF1F8 12px, #F6F8FC 12px, #F6F8FC 24px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header-actions .desktop-only { display: none; }
  .hamburger { display: grid; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 70px 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-col.brand-col { grid-column: 1 / -1; }
  .newsletter { flex-direction: column; align-items: flex-start; }
  .newsletter form { min-width: 0; width: 100%; }
  .section { padding: 58px 0; }
  .wrap { padding: 0 20px; }
  .modal { padding: 26px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   HOMEPAGE
   ========================================================================= */
.hero { position: relative; padding: calc(var(--header-h) + 60px) 0 90px; overflow: hidden; }
.hero-mesh {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 18%, rgba(232,240,254,.9), transparent 60%),
    radial-gradient(50% 60% at 12% 90%, rgba(245,130,10,.06), transparent 60%),
    linear-gradient(180deg, #FBFCFF 0%, #fff 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-title { font-size: clamp(2.8rem, 5.4vw, 4.6rem); line-height: 1.14; color: var(--indigo); padding-bottom: .22em; }
.hero-title em { font-style: italic; color: var(--saffron); }
.hero-sub { font-size: 1.18rem; color: var(--slate); max-width: 52ch; }
.hero-search {
  display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 8px; background: #fff;
  padding: 9px; border-radius: 100px; box-shadow: var(--shadow-lg); margin-top: 6px;
}
.hs-field { position: relative; display: flex; align-items: center; }
.hs-field select, .hs-field input { width: 100%; border: none; outline: none; padding: 14px 18px; background: transparent; border-radius: 100px; color: var(--ink); }
.hs-select { border-right: 1px solid var(--line); }
.hs-field select { font-family: var(--heading); font-weight: 600; color: var(--slate-ink); -webkit-appearance: none; appearance: none; cursor: pointer; }
.hs-btn { padding: 14px 26px; }
.suggest { position: absolute; top: calc(100% + 12px); left: 0; right: 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 30; }
.suggest.show { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; transition: background .15s; }
.suggest a:hover { background: var(--pearl); }
.suggest .s-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); font-size: 1.05rem; }
.suggest .s-name { font-family: var(--heading); font-weight: 700; font-size: .92rem; color: var(--indigo); }
.suggest .s-cat { font-size: .8rem; color: var(--slate); }
.trust-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 12px; font-size: .96rem; color: var(--slate-ink); }
.trust-row b { font-family: var(--num); color: var(--indigo); margin-right: 4px; }

.hero-visual { position: relative; }
.hero-img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); background: var(--pearl); }
.hero-float { position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); }
.hero-float .hf-name { font-family: var(--heading); font-weight: 700; font-size: .92rem; color: var(--indigo); }
.hero-float .hf-meta { font-size: .8rem; color: var(--slate); }
.hf-1 { top: 30px; left: -26px; display: flex; flex-direction: column; gap: 6px; animation: float-y 4s ease-in-out infinite; }
.hf-2 { bottom: 34px; right: -22px; display: flex; align-items: center; gap: 12px; animation: float-y 4.6s ease-in-out infinite .5s; }
.hf-2 .hf-icon { width: 40px; height: 40px; border-radius: 11px; background: rgba(245,130,10,.12); display: grid; place-items: center; font-size: 1.2rem; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* steps */
.steps-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-flow::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background-image: linear-gradient(90deg, var(--slate) 40%, transparent 0); background-size: 14px 2px; opacity: .35; z-index: 0; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; z-index: 1; }
.step-num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font-family: var(--num); font-weight: 600; }
.step-ic { width: 62px; height: 62px; border-radius: 18px; background: var(--sky); display: grid; place-items: center; font-size: 1.7rem; margin-top: 8px; }
.step h3 { font-family: var(--heading); font-size: 1.12rem; color: var(--indigo); }
.step p { font-size: .92rem; color: var(--slate); }

/* stats banner */
.stats-banner { background: linear-gradient(115deg, var(--indigo) 0%, var(--indigo-700) 45%, var(--saffron) 130%); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; color: #fff; }
.stat-n { font-size: clamp(2.4rem, 4vw, 3.4rem); color: #fff; line-height: 1; }
.stat-l { font-family: var(--heading); font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.82); margin-top: 8px; letter-spacing: .02em; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .steps-flow { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .steps-flow::before { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero-search { grid-template-columns: 1fr; border-radius: 22px; }
  .hs-select { border-right: none; border-bottom: 1px solid var(--line); }
  .hs-btn { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .hf-1 { left: 8px; } .hf-2 { right: 8px; }
}

/* =========================================================================
   SERVICES LISTING
   ========================================================================= */
.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); }
.filters-toggle { display: none; margin-bottom: 16px; }
.filters-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 26px; box-shadow: var(--shadow-sm); }
.filter-block h4 { font-family: var(--heading); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-ink); margin-bottom: 14px; }
.filter-block select { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.check-list { display: flex; flex-direction: column; gap: 11px; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; color: var(--slate-ink); }
.check input { display: none; }
.checkbox { width: 19px; height: 19px; border-radius: 6px; border: 1.8px solid var(--line); flex-shrink: 0; transition: .15s; position: relative; }
.check input:checked + .checkbox { background: var(--saffron); border-color: var(--saffron); }
.check input:checked + .checkbox::after { content: "✓"; color: #fff; font-size: .75rem; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; }
.check-count { margin-left: auto; font-family: var(--num); font-size: .78rem; color: var(--slate); }
.range { width: 100%; accent-color: var(--saffron); height: 4px; }
.range-label { font-size: .9rem; color: var(--slate); margin-top: 10px; }
.rating-filter, .pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.rating-filter button, .pill-group button { padding: 8px 14px; border-radius: 100px; background: var(--pearl); font-family: var(--heading); font-weight: 600; font-size: .85rem; color: var(--slate-ink); transition: .18s; }
.rating-filter button.active, .pill-group button.active { background: var(--indigo); color: #fff; }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.results-count { font-size: 1rem; color: var(--slate); }
.results-count b { font-family: var(--num); color: var(--indigo); font-size: 1.3rem; margin-right: 4px; }
.results-tools { display: flex; align-items: center; gap: 12px; }
.results-tools select { padding: 10px 14px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff; font-family: var(--heading); font-weight: 600; font-size: .88rem; cursor: pointer; }
.view-toggle { display: flex; background: var(--pearl); border-radius: 100px; padding: 4px; }
.view-toggle button { width: 38px; height: 34px; border-radius: 100px; color: var(--slate); font-size: 1rem; transition: .18s; }
.view-toggle button.active { background: #fff; color: var(--indigo); box-shadow: var(--shadow-sm); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-grid.list-view { grid-template-columns: 1fr; }
.svc-grid.list-view .svc-card { flex-direction: row; }
.svc-grid.list-view .svc-media { width: 300px; flex-shrink: 0; }
.svc-grid.list-view .svc-media img { height: 100%; aspect-ratio: auto; }
.empty-state { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination button { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); font-family: var(--num); font-weight: 600; color: var(--slate-ink); transition: .18s; }
.pagination button:hover:not(:disabled) { border-color: var(--indigo); color: var(--indigo); }
.pagination button.active { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.pagination button:disabled { opacity: .4; cursor: default; }

@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters-toggle { display: block; }
  .filters-panel { display: none; }
  .filters-panel.open { display: flex; }
  .svc-grid.list-view .svc-card { flex-direction: column; }
  .svc-grid.list-view .svc-media { width: 100%; }
}
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   SERVICE DETAIL
   ========================================================================= */
.detail-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 44px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 38px; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--pearl); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; cursor: pointer; opacity: .65; transition: .2s; border: 2px solid transparent; }
.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--saffron); }
.prose p { color: var(--slate-ink); margin-bottom: 14px; font-size: 1.04rem; line-height: 1.7; }
.block-title { font-family: var(--display); font-size: 1.9rem; color: var(--indigo); margin-bottom: 20px; }
.info-card { background: var(--pearl); border-radius: var(--radius); padding: 30px; }
.check-included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.check-included li { display: flex; align-items: flex-start; gap: 11px; color: var(--slate-ink); font-weight: 600; }
.check-included li::before { content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(14,124,91,.12); color: var(--emerald); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.process-list { display: flex; flex-direction: column; gap: 18px; }
.process-list li { display: flex; gap: 16px; align-items: flex-start; }
.process-list .p-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--indigo); color: #fff; font-family: var(--num); font-weight: 600; display: grid; place-items: center; }
.process-list b { font-family: var(--heading); color: var(--indigo); font-size: 1.05rem; }
.process-list p { color: var(--slate); margin-top: 3px; }

/* accordion */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .2s; }
.accordion-item.open { box-shadow: var(--shadow); }
.accordion-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--heading); font-weight: 700; font-size: 1.02rem; color: var(--indigo); text-align: left; }
.acc-ic { font-family: var(--num); font-weight: 400; font-size: 1.5rem; color: var(--saffron); transition: transform .3s; flex-shrink: 0; line-height: 1; }
.accordion-item.open .acc-ic { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion-body p { padding: 0 24px 22px; color: var(--slate-ink); line-height: 1.65; }

/* booking card */
.detail-side { position: sticky; top: calc(var(--header-h) + 16px); }
.booking-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); }
.bc-vendor { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.bc-vendor img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.bc-vname { font-family: var(--heading); font-weight: 700; color: var(--indigo); display: flex; align-items: center; gap: 7px; }
.bc-price { text-align: center; padding: 6px 0; }
.bc-price .from { font-size: .85rem; color: var(--slate); }
.bc-amount { font-size: 3rem; color: var(--indigo); line-height: 1; margin: 4px 0; }
.bc-price .bc-unit { font-size: .85rem; color: var(--slate); }
.inline-inquiry { display: none; flex-direction: column; gap: 12px; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; }
.inline-inquiry.open { display: flex; animation: slide-down .35s var(--ease); }
@keyframes slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.bc-share { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--slate); }
.share-icons { display: flex; gap: 10px; }
.share-icons a { width: 38px; height: 38px; border-radius: 11px; background: var(--pearl); display: grid; place-items: center; transition: .2s; }
.share-icons a:hover { background: var(--sky); transform: translateY(-2px); }

.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.review-filter { display: flex; gap: 8px; }
.review-filter button { padding: 9px 16px; border-radius: 100px; background: #fff; font-family: var(--heading); font-weight: 600; font-size: .85rem; color: var(--slate-ink); transition: .18s; box-shadow: var(--shadow-sm); }
.review-filter button.active { background: var(--indigo); color: #fff; }

@media (max-width: 980px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 600px) { .check-included { grid-template-columns: 1fr; } }

/* =========================================================================
   BOOKING PAGE
   ========================================================================= */
.booking-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.booking-form-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; border: 1px solid var(--line); }
.stepper { display: flex; align-items: center; margin-bottom: 34px; }
.step-dot { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.step-dot .sd-num { width: 44px; height: 44px; border-radius: 50%; background: var(--pearl); color: var(--slate); font-family: var(--num); font-weight: 600; font-size: 1.1rem; display: grid; place-items: center; transition: .3s; border: 2px solid transparent; }
.step-dot .sd-label { font-family: var(--heading); font-weight: 600; font-size: .82rem; color: var(--slate); transition: .3s; }
.step-dot.active .sd-num { background: var(--saffron); color: #fff; box-shadow: 0 6px 16px rgba(245,130,10,.3); }
.step-dot.active .sd-label { color: var(--indigo); }
.step-dot.done .sd-num { background: var(--emerald); color: #fff; }
.step-dot.done .sd-num::after { content: "✓"; }
.step-dot.done .sd-num span { display: none; }
.step-line { flex: 1; height: 2px; background: var(--line); margin: 0 10px; margin-bottom: 26px; }
.form-step { display: none; animation: fade-step .35s var(--ease); }
.form-step.active { display: block; }
@keyframes fade-step { from { transform: translateX(12px); } to { transform: none; } }
.step-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 14px; }
.slot-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.slot input { display: none; }
.slot-in { border: 1.8px solid var(--line); border-radius: var(--radius-sm); padding: 18px 14px; text-align: center; cursor: pointer; transition: .2s; display: flex; flex-direction: column; gap: 4px; }
.slot-in .slot-ic { font-size: 1.6rem; }
.slot-in b { font-family: var(--heading); color: var(--indigo); font-size: .98rem; }
.slot-in span { font-size: .8rem; color: var(--slate); }
.slot input:checked + .slot-in { border-color: var(--saffron); background: rgba(245,130,10,.06); box-shadow: 0 4px 14px rgba(245,130,10,.12); }
.call-direct { margin-top: 22px; text-align: center; font-size: .92rem; color: var(--slate); }
.call-direct a { color: var(--saffron); font-weight: 700; }

.booking-summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border: 1px solid var(--line); }
.summary-title { font-family: var(--heading); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-ink); margin-bottom: 20px; }
.summary-svc { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.summary-svc img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.ss-name { font-family: var(--heading); font-weight: 700; color: var(--indigo); line-height: 1.3; }
.ss-vendor { font-size: .88rem; color: var(--saffron); font-weight: 700; }
.summary-rows { padding: 20px 0; display: flex; flex-direction: column; gap: 13px; }
.srow { display: flex; justify-content: space-between; font-size: .95rem; color: var(--slate); }
.srow b { color: var(--ink); }
.srow.total { padding-top: 14px; border-top: 1px dashed var(--line); font-size: 1.05rem; }
.srow.total b { font-size: 1.6rem; color: var(--indigo); }
.trust-badges { display: flex; flex-direction: column; gap: 10px; background: var(--pearl); border-radius: var(--radius-sm); padding: 16px; }
.tb { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--slate-ink); }

@media (max-width: 980px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-summary { position: static; order: -1; }
}
@media (max-width: 600px) {
  .booking-form-wrap { padding: 24px; }
  .slot-cards { grid-template-columns: 1fr; }
  .step-dot .sd-label { display: none; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; }
}

/* =========================================================================
   VENDOR PROFILE
   ========================================================================= */
.vendor-cover { position: relative; height: 340px; }
.vendor-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,42,107,.15), rgba(27,42,107,.45)); }
.vendor-profile-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 32px; margin-top: -90px; position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.vp-photo { width: 130px; height: 130px; border-radius: 24px; object-fit: cover; border: 5px solid #fff; box-shadow: var(--shadow); }
.vp-badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.vp-cat { font-family: var(--heading); font-weight: 700; color: var(--saffron); font-size: 1.05rem; margin-top: 4px; }
.vp-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: .92rem; color: var(--slate); }
.vp-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.vp-actions { display: flex; flex-direction: column; gap: 10px; min-width: 180px; }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.vp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.vp-stat { background: var(--pearl); border-radius: var(--radius-sm); padding: 24px; text-align: center; }
.vps-n { font-size: 2.2rem; color: var(--indigo); line-height: 1; }
.vps-l { font-family: var(--heading); font-weight: 600; font-size: .85rem; color: var(--slate); margin-top: 8px; }

.reviews-hours { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.reviews-stack { display: flex; flex-direction: column; gap: 16px; }
.hours-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.hrow { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--slate-ink); }
.hrow:last-of-type { border-bottom: none; }
.hrow b { color: var(--indigo); }
.hrow.closed b { color: var(--cat-doctor); }
.hours-note { margin-top: 16px; padding: 14px; background: var(--sky); border-radius: var(--radius-sm); font-size: .88rem; color: var(--indigo); font-weight: 600; }

@media (max-width: 900px) {
  .vendor-profile-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .vp-meta { justify-content: center; }
  .vp-badges { justify-content: center; }
  .vp-actions { flex-direction: row; width: 100%; }
  .vp-actions .btn { flex: 1; }
  .about-grid, .reviews-hours { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .vp-stats { grid-template-columns: 1fr 1fr; } .vp-actions { flex-direction: column; } }

/* =========================================================================
   CATEGORY PAGE
   ========================================================================= */
.cat-hero { position: relative; height: 460px; display: flex; align-items: flex-end; }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,42,107,.35) 0%, rgba(27,42,107,.78) 100%); }
.cat-hero-content { position: relative; z-index: 2; padding-bottom: 56px; color: #fff; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cat-crumb a { color: rgba(255,255,255,.85); }
.cat-crumb .sep { color: rgba(255,255,255,.6); }
.cat-hero-title { font-size: clamp(2.6rem, 5.5vw, 4.4rem); color: #fff; line-height: 1.02; }
.cat-hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 56ch; }

.subcat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.subchip { padding: 11px 20px; border-radius: 100px; background: #fff; border: 1.5px solid var(--line); font-family: var(--heading); font-weight: 600; font-size: .92rem; color: var(--slate-ink); transition: .18s; }
.subchip:hover { border-color: var(--saffron); color: var(--saffron); }
.subchip.active { background: var(--indigo); border-color: var(--indigo); color: #fff; }

.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.why-item { display: flex; gap: 15px; align-items: flex-start; }
.why-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; font-weight: 700; }
.why-item b { font-family: var(--heading); color: var(--indigo); font-size: 1.08rem; }
.why-item p { color: var(--slate); margin-top: 3px; }
.why-visual img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }

@media (max-width: 900px) {
  .cat-hero { height: 380px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-visual { max-width: 440px; }
}

/* =========================================================================
   CONTACT / ABOUT
   ========================================================================= */
.mission-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ms-item { text-align: center; padding: 30px 18px; background: var(--pearl); border-radius: var(--radius); }
.ms-n { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--indigo); line-height: 1; }
.ms-l { font-family: var(--heading); font-weight: 600; font-size: .9rem; color: var(--slate); margin-top: 8px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-c { display: flex; gap: 14px; align-items: flex-start; }
.contact-c .cc-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--sky); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-c b { font-family: var(--heading); color: var(--indigo); }
.contact-c p { color: var(--slate); font-size: .94rem; }
.map-embed { margin-top: 26px; border-radius: var(--radius); height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--slate); font-family: var(--num); }
.map-embed .map-pin { font-size: 2rem; }
.contact-form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px; border: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; padding-bottom: 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 18px; }
.team-card h3 { font-family: var(--heading); font-size: 1.12rem; color: var(--indigo); }
.team-card span { font-size: .88rem; color: var(--saffron); font-weight: 700; }

@media (max-width: 900px) {
  .mission-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   AUTH (LOGIN / REGISTER)
   ========================================================================= */
.auth-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-visual { position: relative; overflow: hidden; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-visual-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(27,42,107,.82), rgba(27,42,107,.55) 60%, rgba(245,130,10,.4)); }
.auth-visual-content { position: relative; z-index: 2; height: 100%; padding: 48px; display: flex; flex-direction: column; }
.auth-trust { display: flex; gap: 20px; margin-top: 26px; color: rgba(255,255,255,.9); font-weight: 700; font-family: var(--heading); font-size: .92rem; flex-wrap: wrap; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 48px 32px; background: #fff; overflow-y: auto; }
.auth-form-inner { width: 100%; max-width: 420px; }
.auth-back { font-family: var(--heading); font-weight: 600; font-size: .88rem; color: var(--slate); display: inline-block; margin-bottom: 26px; }
.auth-back:hover { color: var(--indigo); }
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--pearl); border-radius: 100px; padding: 5px; margin-bottom: 30px; }
.auth-tab { padding: 12px; border-radius: 100px; font-family: var(--heading); font-weight: 700; font-size: .95rem; color: var(--slate); z-index: 2; transition: color .25s; }
.auth-tab.active { color: var(--indigo); }
.auth-tab-slider { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: #fff; border-radius: 100px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); z-index: 1; }
.auth-form { display: none; flex-direction: column; gap: 16px; }
.auth-form.active { display: flex; animation: fade-step .35s var(--ease); }
.auth-row { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; }
.auth-divider { text-align: center; position: relative; color: var(--slate); font-size: .85rem; margin: 4px 0; }
.auth-divider::before, .auth-divider::after { content: ""; position: absolute; top: 50%; width: calc(50% - 70px); height: 1px; background: var(--line); }
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }
.google-btn { gap: 10px; }
.google-btn .g-ic { font-family: var(--heading); font-weight: 800; color: var(--cat-doctor); }
.auth-switch { text-align: center; font-size: .92rem; color: var(--slate); margin-top: 4px; }
.auth-switch a { color: var(--saffron); font-weight: 700; cursor: pointer; }
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role { cursor: pointer; }
.role input { display: none; }
.role span { display: block; text-align: center; padding: 14px; border-radius: var(--radius-sm); border: 1.8px solid var(--line); font-family: var(--heading); font-weight: 600; font-size: .92rem; color: var(--slate-ink); transition: .2s; }
.role.active span { border-color: var(--saffron); background: rgba(245,130,10,.07); color: var(--indigo); }

@media (max-width: 880px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form-side { min-height: 100vh; }
}

/* mobile sticky bottom CTA bar */
.mobile-cta-bar { display: none; }
@media (max-width: 760px) {
  .mobile-cta-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
    box-shadow: 0 -4px 24px rgba(27,42,107,.1); padding: 12px 16px;
    display: flex; gap: 10px; border-top: 1px solid var(--line);
  }
  .mobile-cta-bar .btn { flex: 1; }
  body.has-cta-bar { padding-bottom: 76px; }
}
