/* =========================================================================
   AgreeMitra â€” "Stamp paper" design system
   ink navy + saffron + paper cream
   ========================================================================= */
:root {
  --ink: #0f1533;
  --ink-2: #1b2354;
  --ink-3: #2b3570;
  --paper: #fbf7f0;
  --paper-2: #f4ecdf;
  --card: #ffffff;
  --saffron: #bf0506;
  --saffron-2: #e10c0d;
  --saffron-soft: #fff0e3;
  --mint: #10b981;
  --mint-soft: #e5f8f1;
  --text: #1b1f3b;
  --muted: #5e6382;
  --line: rgba(15, 21, 51, .1);
  --line-strong: rgba(15, 21, 51, .18);
  --grad: linear-gradient(120deg, var(--saffron) 0%, var(--saffron-2) 100%);
  --shadow-sm: 0 2px 6px rgba(15, 21, 51, .06);
  --shadow: 0 10px 30px -12px rgba(15, 21, 51, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 21, 51, .3);
  --r: 20px;
  --r-sm: 12px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", var(--font);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, .muted a, .prose a { color: var(--saffron); text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-inline: auto; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

.hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; white-space: nowrap;
}
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .14em;
  background: var(--grad); border-radius: 99px; opacity: .25;
  transform-origin: left; animation: underline 1s .3s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.35em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 90, 40, .7); }
.btn-primary:hover { box-shadow: 0 16px 30px -10px rgba(255, 90, 40, .8); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .pill { background: rgba(255, 255, 255, .25); border-radius: 99px; padding: 0 .55em; font-size: .85em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 247, 240, .72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(251, 247, 240, .9); box-shadow: var(--shadow-sm); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; color: var(--ink); flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: -.02em; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font); font-weight: 600; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand-logo { display: block; height: 58px; width: auto; }
.brand-light .brand-logo { height: 76px; padding: 8px 14px; background: #fff; border-radius: 14px; box-sizing: content-box; }
.brand-light, .brand-light .brand-mark { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .6); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink-2); transition: background .2s; }
.main-nav > a:not(.btn):hover { background: rgba(15, 21, 51, .06); }
.main-nav > a.active { background: var(--ink); color: #fff; }
.nav-cta { margin-left: 8px; padding: .65em 1.1em; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--ink); border-radius: 14px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Background decor ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; background: #ffd2b0; top: -180px; right: -120px; }
.blob.b2 { width: 420px; height: 420px; background: #d9dcff; bottom: -200px; left: -140px; animation-delay: -6s; }
@keyframes float { to { transform: translate(-40px, 30px) scale(1.08); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .6;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 72px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .85rem; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.eyebrow i { color: var(--mint); font-size: 1.15rem; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.breadcrumb a { padding: 3px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.breadcrumb a:hover { border-color: var(--saffron); color: var(--saffron); }
.breadcrumb span { color: var(--ink); }
.hero-title { margin: 22px 0 18px; }
.hero-sub { display: block; font-size: .42em; font-weight: 700; margin-top: .55em; color: var(--ink-2); letter-spacing: -.01em; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.hero-points i { color: var(--mint); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-stats { display: flex; gap: 0; margin-top: 36px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); border-radius: var(--r); overflow: hidden; width: fit-content; max-width: 100%; }
.hero-stats div { padding: 14px 22px; display: flex; flex-direction: column; }
.hero-stats div + div { border-left: 1px solid var(--line); }
.hero-stats strong { font-family: var(--display); font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.hero-stats span { font-size: .8rem; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: flex-end; }

/* Decorative document */
.doc-card {
  position: absolute; left: -10px; top: 10px; width: 300px; padding: 20px; border-radius: 16px;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(15, 21, 51, .04) 27px 28px),
    linear-gradient(180deg, #fffdf8, #fbf3e4);
  border: 1px solid #eadcc4; box-shadow: var(--shadow-lg);
  transform: rotate(-7deg); animation: docIn 1s .2s var(--ease) both;
}
@keyframes docIn { from { opacity: 0; transform: rotate(-14deg) translateY(30px); } }
.doc-head { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 2px dashed #e6d4b5; }
.doc-emblem { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--saffron), var(--saffron-2), #ffb36b, var(--saffron)); flex: none; box-shadow: inset 0 0 0 4px #fff7ec; }
.doc-head b { font-size: .7rem; letter-spacing: .08em; display: block; color: var(--ink); }
.doc-head small { font-size: .6rem; color: var(--muted); }
.doc-lines { padding: 14px 0; }
.doc-lines p { font-size: .72rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 10px; }
.doc-lines b.typed { color: var(--saffron); border-right: 2px solid var(--saffron); padding-right: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.doc-lines span { display: block; height: 6px; border-radius: 4px; background: #eadfcb; margin: 9px 0; }
.doc-lines span.short { width: 60%; }
.doc-foot { display: flex; justify-content: space-between; padding-top: 18px; }
.doc-foot .sig { font-size: .62rem; color: var(--muted); border-top: 1px solid var(--ink-3); padding-top: 4px; width: 42%; text-align: center; }
.stamp {
  position: absolute; right: 18px; bottom: 50px; width: 104px; height: 104px; border-radius: 50%;
  border: 3px double var(--mint); color: var(--mint); display: grid; place-content: center; text-align: center;
  transform: rotate(-16deg); background: rgba(16, 185, 129, .05);
  animation: stampIn .5s 1.4s cubic-bezier(.3, 1.6, .5, 1) both;
}
.stamp span { font-weight: 800; font-size: .74rem; letter-spacing: .1em; }
.stamp small { font-size: .58rem; font-weight: 700; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-16deg) scale(2.4); } }

/* Quote card */
.quote-card {
  position: relative; z-index: 2; width: 100%; max-width: 420px; padding: 28px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 24px; box-shadow: var(--shadow-lg);
  animation: rise .8s .1s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.qc-head { margin-bottom: 18px; }
.qc-head h2 { font-size: 1.55rem; margin: 0 0 2px; }
.qc-head p { margin: 0; font-size: .9rem; color: var(--mint); font-weight: 600; }
.qc-note { text-align: center; font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Form fields ---------- */
.field { display: block; margin-bottom: 14px; }
.field > span { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field > span em { font-weight: 500; color: var(--muted); font-style: normal; }
.field output { color: var(--saffron); font-weight: 800; }
.field input:not([type=range]):not([type=file]), .field select, .field textarea, .phone-input {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong);
  background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .phone-input:focus-within {
  border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(255, 122, 26, .14);
}
.field .invalid, .phone-input.invalid { border-color: #e5484d !important; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12) !important; }
.phone-input { display: flex; align-items: center; gap: 8px; padding: 0 0 0 14px; }
.phone-input em { font-style: normal; font-weight: 700; color: var(--muted); }
.phone-input input { border: 0 !important; box-shadow: none !important; padding-left: 4px !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235e6382'%3E%3Cpath d='M12 15l-5-5h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; padding-right: 34px; }
.file-field input[type=file] { width: 100%; padding: 14px; border: 2px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--paper); cursor: pointer; }
input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--saffron) var(--p, 50%), var(--paper-2) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--saffron); box-shadow: var(--shadow); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--saffron); cursor: grab; }

/* ---------- Marquee ---------- */
.marquee-wrap { display: grid; gap: 10px; padding: 6px 0; overflow: hidden; }
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1deg) scaleX(1.02); box-shadow: var(--shadow); }
.marquee-alt { background: var(--saffron); transform: rotate(-1deg) scaleX(1.02); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; flex: none; }
.marquee a { font-family: var(--display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; color: inherit; transition: color .2s; }
.marquee a:hover, .marquee a:focus-visible { color: var(--saffron); text-decoration: underline; text-underline-offset: 4px; }
.marquee-alt a:hover, .marquee-alt a:focus-visible { color: var(--ink); }
.marquee i { color: var(--saffron); }
.marquee-alt i { color: var(--ink); opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-paper { background: var(--paper-2); }
.section-ink { background: var(--ink); color: #c9cde6; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section-head.split > div:first-child { max-width: 640px; }
.section-head h2 { margin-bottom: .3em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--saffron); margin-bottom: 12px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker.light { color: #ffb27a; }

/* ---------- Location search ---------- */
.loc-search { position: relative; width: min(420px, 100%); }
.loc-search.big { width: 100%; max-width: 600px; margin: 26px auto; }
.loc-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--muted); pointer-events: none; }
.loc-search input {
  width: 100%; padding: 16px 20px 16px 50px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: #fff; box-shadow: var(--shadow-sm); outline: none; font-weight: 500; transition: border-color .2s, box-shadow .2s;
}
.loc-search input:focus { border-color: var(--saffron); box-shadow: 0 0 0 5px rgba(255, 122, 26, .14); }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; display: none; max-height: 380px; overflow-y: auto; text-align: left;
}
.search-results.open { display: block; }
.search-results a, .search-results .sr-empty { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a.active { background: var(--saffron-soft); }
.search-results a i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--saffron); flex: none; }
.search-results b { display: block; color: var(--ink); }
.search-results small { color: var(--muted); font-size: .8rem; }
.search-results mark { background: none; color: var(--saffron); }
.search-results .sr-type { margin-left: auto; font-size: .7rem; font-weight: 700; color: var(--muted); background: var(--paper); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.sr-empty { color: var(--muted); }

/* ---------- City tiles ---------- */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.city-tile {
  --c: hsl(var(--h) 75% 55%);
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.city-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(circle at 0% 0%, hsl(var(--h) 90% 92%), transparent 70%);
}
.city-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: hsl(var(--h) 60% 75%); }
.city-tile:hover::before { opacity: 1; }
.ct-initials {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none;
  font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 80% 58%), hsl(calc(var(--h) + 40) 80% 50%));
  box-shadow: 0 8px 18px -8px hsl(var(--h) 80% 45%);
}
.ct-body { display: flex; flex-direction: column; min-width: 0; }
.ct-body strong { font-family: var(--display); font-size: 1.12rem; color: var(--ink); }
.ct-body small { color: var(--muted); font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-arrow { margin-left: auto; font-size: 1.2rem; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.city-tile:hover .ct-arrow { transform: translate(3px, -3px); color: var(--saffron); }

.districts-box { margin-top: 28px; padding: 30px; border-radius: 26px; background: var(--ink); color: #c9cde6; position: relative; overflow: hidden; }
.districts-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 26, .35), transparent 70%); }
.db-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 18px; position: relative; z-index: 1; }
.db-head h3 { color: #fff; margin: 0; display: flex; align-items: center; gap: 8px; }
.db-head h3 i { color: var(--saffron); }
.db-head p { margin: 0; font-size: .9rem; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: rgba(255, 255, 255, .07); color: #fff; border: 1px solid rgba(255, 255, 255, .12); cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s;
}
.chip em { font-style: normal; font-size: .72rem; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.chip:hover { background: var(--saffron); border-color: var(--saffron); transform: translateY(-2px); }
.filters .chip { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.filters .chip em { background: var(--paper-2); }
.filters .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters .chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters .chip.active em, .filters .chip:hover em { background: rgba(255, 255, 255, .15); }
.chip-cloud.filters { margin-bottom: 32px; }

/* ---------- Area list (location pages) ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.area-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: hsl(var(--h) 70% 70%); }
.ac-dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: hsl(var(--h) 85% 95%); color: hsl(var(--h) 65% 42%); font-size: 1.1rem; }
.ac-name { font-weight: 700; color: var(--ink); line-height: 1.25; display: flex; flex-direction: column; min-width: 0; }
.ac-name small { font-weight: 600; font-size: .75rem; color: var(--muted); }
.ac-go { margin-left: auto; color: var(--muted); transition: transform .25s; }
.area-card:hover .ac-go { transform: translateX(3px); color: var(--saffron); }

.az-index { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; margin-bottom: 20px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; }
.az-index a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-weight: 800; font-size: .85rem; color: var(--ink-2); }
.az-index a:hover { background: var(--saffron); color: #fff; }
.az-group { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-top: 1px dashed var(--line-strong); scroll-margin-top: calc(var(--header-h) + 80px); }
.az-letter { font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--saffron); line-height: 1; }
.filter-empty { padding: 20px; text-align: center; color: var(--muted); }

.local-note {
  margin-top: 36px; display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: var(--r);
  background: linear-gradient(120deg, var(--saffron-soft), #fff); border: 1px solid #ffd9bd;
}
.local-note > i { font-size: 2rem; color: var(--saffron); }
.local-note p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }
.local-note strong { color: var(--ink); font-family: var(--display); font-size: 1.1rem; }
.local-note .btn { margin-left: auto; flex: none; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.bento-card {
  padding: 26px; border-radius: var(--r); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08);
  position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .3s;
}
.bento-card:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, .5); }
.bento-card > i { font-size: 1.7rem; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 122, 26, .14); color: #ffa45c; margin-bottom: 16px; }
.bento-card p { margin: 0; font-size: .94rem; }
.bento-card.big { grid-column: span 2; grid-row: span 3; background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); }
.bento-card.big h3 { font-size: 1.6rem; }
.bento-card.big::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255, 122, 26, .12); }
.bento-card.accent { grid-column: span 2; background: var(--grad); color: #fff; border: 0; }
.bento-card.accent > i { background: rgba(255, 255, 255, .2); color: #fff; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 1.15em; height: 1.15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2310b981'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--saffron) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; text-align: center; padding: 28px 20px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step > i { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; font-size: 1.6rem; background: var(--grad); color: #fff; box-shadow: 0 0 0 8px var(--paper), 0 10px 24px -8px rgba(255, 90, 40, .6); position: relative; }
.step-no { position: absolute; top: 12px; right: 16px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--paper-2); }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Calculator ---------- */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.formula { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.formula li { padding: 14px 16px; border-radius: 14px; background: #fff; border-left: 4px solid var(--saffron); font-size: .92rem; color: var(--muted); }
.formula b { color: var(--ink); }
.calc-card { padding: 30px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.calc-result { margin: 8px 0 18px; padding: 18px; border-radius: 18px; background: var(--ink); color: #c9cde6; }
.cr-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.cr-row b { color: #fff; font-variant-numeric: tabular-nums; }
.cr-row.total { border: 0; padding-top: 12px; font-weight: 700; }
.cr-row.total b { font-family: var(--display); font-size: 1.7rem; color: #ffa45c; }
.calc-result small { display: block; margin-top: 8px; font-size: .78rem; opacity: .75; }
.calc-result { position: relative; overflow: hidden; }
.calc-result.locked .cr-row b { filter: blur(6px); user-select: none; }
.cr-lock { display: none; }
.calc-result.locked .cr-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 16px; background: rgba(15, 21, 51, .55); backdrop-filter: blur(2px); color: #fff; font-size: .92rem;
}
.cr-lock i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); font-size: 1.3rem; box-shadow: 0 8px 20px -6px rgba(255, 90, 40, .7); }
.cr-lock b { color: #ffa45c; }
.calc-result.revealed .cr-row b { animation: popIn .6s var(--ease) both; }
.calc-result.revealed .cr-row:nth-child(2) b { animation-delay: .08s; }
.calc-result.revealed .cr-row:nth-child(3) b { animation-delay: .16s; }
.calc-result.revealed .cr-row:nth-child(4) b { animation-delay: .24s; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.9); filter: blur(6px); } }
.modal-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--saffron-soft); color: var(--saffron); font-size: 1.6rem; margin-bottom: 14px; }

/* ---------- Stats band ---------- */
.stats-band { padding: 64px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat {
  position: relative; overflow: hidden; padding: 28px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm);
}
.stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 26, .16), transparent 70%); }
.stat i { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--ink); color: #ffa45c; font-size: 1.45rem; margin-bottom: 10px; }
.stat strong { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { font-weight: 700; color: var(--ink-2); }

/* ---------- Google rating ---------- */
.rating-card {
  display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding: 40px 48px; border-radius: 28px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.rating-score { display: flex; align-items: center; gap: 22px; padding-right: 48px; border-right: 1px dashed var(--line-strong); }
.g-logo { width: 72px; height: 72px; border-radius: 20px; background: var(--paper); display: grid; place-items: center; flex: none; }
.g-logo svg { width: 42px; height: 42px; }
.rs-label { font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.rs-value { display: flex; align-items: baseline; gap: 6px; }
.rs-value strong { font-family: var(--display); font-size: 3.6rem; font-weight: 800; line-height: 1; color: var(--ink); }
.rs-value span { font-weight: 700; color: var(--muted); font-size: 1.1rem; }
.stars { --size: 26px; position: relative; width: calc(var(--size) * 5); height: var(--size); margin-top: 6px;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.5 1.3 6.6L12 17.2l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E");
  background: #e6dccb; -webkit-mask: var(--star) left / var(--size) repeat-x; mask: var(--star) left / var(--size) repeat-x; }
.stars::before { content: ""; position: absolute; inset: 0; width: calc(var(--rating) / 5 * 100%); background: #fbbc04; }
.rating-copy h2 { margin-bottom: .3em; }
.rating-copy p { max-width: 56ch; }

/* ---------- Compare ---------- */
.compare { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare th { font-family: var(--display); font-size: 1rem; color: var(--ink); background: var(--paper); }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare tr:last-child td { border-bottom: 0; }
.compare .us { background: var(--saffron-soft); font-weight: 700; color: var(--ink); }
.compare th.us { background: var(--grad); color: #fff; }
.swipe-hint { display: none; }
.compare .yes { color: var(--mint); font-size: 1.35rem; }
.compare .no { color: #e5484d; font-size: 1.2rem; vertical-align: middle; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 32px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 2.8rem; color: var(--ink); line-height: 1; margin: 6px 0 4px; }
.plan .ticks { margin-bottom: 26px; flex: 1; }
.plan.featured { background: var(--ink); color: #c9cde6; border: 0; transform: scale(1.03); box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured:hover { transform: scale(1.03) translateY(-5px); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 14px; border-radius: 99px; letter-spacing: .04em; white-space: nowrap; }

/* ---------- Documents tabs ---------- */
.docs-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.tabs { background: #fff; border-radius: 24px; padding: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tab-list { display: flex; gap: 6px; padding: 4px; background: var(--paper); border-radius: 16px; }
.tab-list button { flex: 1; border: 0; background: transparent; padding: 12px; border-radius: 12px; font-weight: 700; cursor: pointer; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; transition: background .2s, color .2s; }
.tab-list button[aria-selected=true] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panel { padding: 20px 16px 10px; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper); font-weight: 600; }
.doc-list li::before {
  content: ""; width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 14l2 2 4-4'/%3E%3C/svg%3E") center / 20px no-repeat, var(--saffron-soft);
}

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pc-cover { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; background: linear-gradient(135deg, hsl(var(--h) 75% 88%), hsl(calc(var(--h) + 50) 70% 80%)); }
.pc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .pc-cover img { transform: scale(1.05); }
.pc-art { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.4rem; color: hsl(var(--h) 50% 35% / .55); }
.pc-art::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .45); right: -30px; bottom: -40px; }
.pc-cat { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 700; font-size: .75rem; padding: 5px 12px; border-radius: 99px; }
.pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-meta { display: flex; gap: 14px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.pc-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pc-body h3 a:hover { color: var(--saffron); }
.pc-body p { color: var(--muted); font-size: .93rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-more { font-weight: 700; color: var(--saffron); display: inline-flex; align-items: center; gap: 6px; }
.pc-more i { transition: transform .25s; }
.pc-more:hover i { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border-radius: 18px; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq[open] { box-shadow: var(--shadow); border-color: #ffd2b0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq[open] summary i { transform: rotate(45deg); background: var(--saffron); color: #fff; }
.faq p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA band + footer ---------- */
.cta-band { padding: 0 0 0; position: relative; z-index: 1; margin-bottom: -70px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 48px; border-radius: 28px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .25), transparent 40%); }
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 6px; }
.cta-inner p { margin: 0; opacity: .92; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

.site-footer { background: var(--ink); color: #a9aed0; padding: 140px 0 30px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-about p { margin: 18px 0; max-width: 46ch; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--saffron); }
.footer-districts { margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.district-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.district-links a { font-size: .86rem; }
.district-links a::before { content: "Rent agreement in "; opacity: .55; }
.footer-bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; opacity: .8; }

/* ---------- Floating actions & toast ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  animation: pulse 2.6s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.mobile-bar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, calc(100% + 140px)); max-width: calc(100% - 32px);
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 600;
  display: flex; align-items: center; gap: 10px; visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast[popover] { inset: auto auto 28px 50%; margin: 0; border: 0; overflow: visible; width: max-content; height: auto; }
.toast.success i { color: var(--mint); font-size: 1.3rem; }
.toast.error i { color: #ff6b6b; font-size: 1.3rem; }

/* ---------- Page hero (blog/career) ---------- */
.page-hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 6px; }
.empty-state { text-align: center; padding: 60px 20px; border-radius: 24px; background: #fff; border: 1px dashed var(--line-strong); }
.empty-state > i { font-size: 3rem; color: var(--saffron); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.pagination a:hover { border-color: var(--ink); }
.pagination a.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.notfound { padding: 100px 0; }
.nf-code { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Article ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 70; }
.article-hero { padding: 56px 0 30px; background: radial-gradient(ellipse at 80% 0%, hsl(var(--h) 90% 92%), transparent 60%); }
.article-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 18px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.article-meta i { color: var(--saffron); }
.article-cover { border-radius: 24px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; box-shadow: var(--shadow); }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 280px; gap: 44px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.article-side, .article-cta { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h4, .share h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.toc ol { padding-left: 18px; margin: 0 0 28px; display: grid; gap: 8px; font-size: .9rem; }
.toc a { color: var(--ink-2); }
.toc a:hover, .toc a.active { color: var(--saffron); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share h4 { width: 100%; margin-bottom: 4px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); cursor: pointer; font-size: 1.1rem; transition: background .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; }
.prose { font-size: 1.06rem; line-height: 1.8; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--saffron); }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--saffron); background: var(--saffron-soft); border-radius: 0 14px 14px 0; }
.prose img { border-radius: 16px; margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; }
.cta-card { padding: 26px; border-radius: 22px; background: var(--ink); color: #c9cde6; display: grid; gap: 10px; }
.cta-card > i { font-size: 2rem; color: var(--saffron); }
.cta-card h4 { color: #fff; font-size: 1.2rem; margin: 0; }
.cta-card p { font-size: .9rem; margin: 0 0 6px; }
.cta-card .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-card .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Careers ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.perk i { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--saffron-soft); color: var(--saffron); margin-bottom: 14px; }
.perk p { color: var(--muted); margin: 0; font-size: .93rem; }
.job-list { display: grid; gap: 14px; }
.job { background: #fff; border-radius: 22px; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.job[open] { box-shadow: var(--shadow); border-color: #ffd2b0; }
.job[hidden] { display: none; }
.job summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 20px; }
.job summary::-webkit-details-marker { display: none; }
.job-main { flex: 1; min-width: 0; }
.job-main h3 { margin: 6px 0 8px; font-size: 1.3rem; }
.job-dept { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: hsl(var(--h) 85% 94%); color: hsl(var(--h) 60% 38%); }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.job-tags i { color: var(--saffron); }
.job-toggle { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: 1.3rem; transition: transform .3s var(--ease), background .3s, color .3s; }
.job[open] .job-toggle { transform: rotate(45deg); background: var(--saffron); color: #fff; }
.job-body { padding: 0 26px 26px; border-top: 1px dashed var(--line-strong); margin: 0 26px; padding-left: 0; padding-right: 0; padding-top: 20px; }
.job-body .prose { font-size: 1rem; }
.job-body h4 { margin-top: 18px; }
.job-body .btn { margin-top: 22px; }

.modal { border: 0; padding: 0; background: transparent; max-width: 560px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); }
.modal::backdrop { background: rgba(15, 21, 51, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: rise .4s var(--ease); }
.modal-card { position: relative; background: #fff; border-radius: 26px; padding: 30px; box-shadow: var(--shadow-lg); }
.modal-card h2 { font-size: 1.6rem; margin-bottom: 4px; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; font-size: 1.3rem; }
.modal-close:hover { background: var(--ink); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .main-nav > a:not(.btn) { padding: 8px 10px; font-size: .88rem; }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .article-side { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 4px; padding: 20px 24px 40px; overflow-y: auto;
    background: var(--paper); opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav-open { overflow: hidden; }
  .main-nav > a:not(.btn) { padding: 16px 12px; font-size: 1.15rem; font-family: var(--display); border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > a.active { background: transparent; color: var(--saffron); }
  .nav-cta { margin: 20px 0 0; padding: 1em; }

  .hero { padding-top: 28px; }
  .hero-grid, .calc-wrap, .docs-wrap, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap > div:first-child { position: static; }
  .hero-visual { min-height: 0; justify-content: center; }
  .doc-card { display: none; }
  .quote-card { max-width: 560px; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.big { grid-row: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-5px); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .rating-card { grid-template-columns: 1fr; gap: 26px; padding: 32px; }
  .rating-score { padding-right: 0; border-right: 0; padding-bottom: 26px; border-bottom: 1px dashed var(--line-strong); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-cta { position: static; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  body { font-size: 15.5px; padding-bottom: 64px; }
  .brand-text { font-size: 1.15rem; }
  .brand-text small { font-size: .58rem; }
  .hero-sub { font-size: .5em; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { width: 100%; }
  .hero-stats div { flex: 1; padding: 12px; }
  .hero-stats strong { font-size: 1.35rem; }
  .hero-stats span { font-size: .7rem; }
  .quote-card { padding: 22px 18px; border-radius: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city-tile { flex-direction: column; align-items: flex-start; padding: 14px; gap: 10px; }
  .ct-initials { width: 44px; height: 44px; font-size: 1rem; border-radius: 13px; }
  .ct-arrow { position: absolute; right: 12px; top: 14px; }
  .ct-body small { white-space: normal; }
  .districts-box { padding: 22px 16px; border-radius: 20px; }
  .chip { padding: 7px 12px; font-size: .85rem; }
  .area-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .area-card { padding: 10px; gap: 8px; }
  .ac-dot { width: 32px; height: 32px; font-size: .95rem; }
  .ac-name { font-size: .9rem; }
  .ac-go { display: none; }
  .az-group { grid-template-columns: 1fr; gap: 8px; }
  .az-letter { font-size: 1.6rem; }
  .az-index a { width: 30px; height: 30px; }
  .local-note { flex-direction: column; align-items: flex-start; }
  .local-note .btn { margin-left: 0; width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.big, .bento-card.accent { grid-column: auto; grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .calc-card { padding: 22px 18px; }
  .post-grid, .perks { grid-template-columns: 1fr; }
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); margin: -14px 0 12px; }
  .compare table { min-width: 560px; }
  .compare th, .compare td { padding: 12px 10px; font-size: .85rem; }
  .compare td:first-child, .compare th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 130px; box-shadow: 1px 0 0 var(--line); }
  .compare th:first-child { background: var(--paper); }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
  .stat i { margin: 0; }
  .stat span { width: 100%; }
  .stats-band { padding-top: 44px; }
  .rating-card { padding: 24px 18px; }
  .rs-value strong { font-size: 3rem; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .loc-search { width: 100%; }
  .tab-list button { padding: 10px 6px; font-size: .85rem; }
  .job summary { padding: 18px; gap: 12px; }
  .job-body { margin: 0 18px; padding-bottom: 20px; }
  .job-main h3 { font-size: 1.1rem; }
  .modal-card { padding: 24px 18px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .district-links a::before { content: none; }
  .fab-wa { bottom: 80px; right: 16px; width: 52px; height: 52px; font-size: 1.6rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-radius: 14px; font-weight: 700; background: var(--paper-2); color: var(--ink); }
  .mobile-bar a.primary { background: var(--grad); color: #fff; }
  .toast, .toast[popover] { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  /* the district ribbons keep scrolling (a slower pace) even with reduced motion */
  .marquee .marquee-track { animation: marquee 90s linear infinite !important; }
  .marquee .marquee-track.reverse { animation-direction: reverse !important; }
  .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused !important; }
}
