/* TuContratista.com — base styles */
:root {
  /* TuContratista.com brand — from the logo */
  --navy: #0f2c46;
  --navy-2: #0a1f33;
  --navy-3: #1b4468;
  --yellow: #ffc30b;
  --yellow-2: #f8a800;
  --yellow-tint: #fff4cc;

  --paper: #f4f6f9;
  --card: #ffffff;
  --ink: #0f2c46;
  --ink-2: #2f4a64;
  --muted: #5e6e80;
  --line: #e0e6ed;
  --line-2: #c8d2dd;
  --green: #0f2c46;        /* primary (navy) */
  --green-2: #0a1f33;
  --green-tint: #e7eef6;
  --amber: #ffc30b;        /* accent (yellow) */
  --amber-tint: #fff4cc;
  --ok: #1d8a57;
  --ok-tint: #dff3e8;
  --clay: #d64545;
  --clay-tint: #fbe6e6;
  --blue-tint: #e3eef9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 44, 70, .06), 0 8px 22px -10px rgba(15, 44, 70, .2);
  --shadow-lg: 0 2px 4px rgba(15, 44, 70, .06), 0 24px 50px -20px rgba(15, 44, 70, .35);
  --serif: "Baloo 2", "Nunito", system-ui, sans-serif;   /* display font */
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
.i { display: inline-block; vertical-align: -0.18em; flex: none; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; font-size: .88em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .7em; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.center .lede { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 2px; }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; }
.center-row { justify-content: center; }
.inline { display: inline; }

/* Buttons */
.btn { --bg: var(--card); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); font: 600 .95rem/1.2 var(--sans); cursor: pointer; text-decoration: none !important; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.btn-primary { --bg: var(--green); --fg: #fff; }
.btn-primary:hover { --bg: var(--green-2); box-shadow: 0 6px 16px -6px rgba(30, 90, 71, .55); }
.btn-amber { --bg: var(--amber); --fg: #1c1306; }
.btn-amber:hover { --bg: #d48a1e; }
.btn-ghost { --bg: transparent; border-color: var(--line-2); }
.btn-ghost:hover { --bg: var(--card); border-color: var(--ink-2); }
.btn-ghost.is-on { color: var(--clay); border-color: var(--clay); }
.btn-ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .88rem; }
.btn-xs { padding: 5px 11px; font-size: .8rem; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 6px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: inherit; }
.link-btn:hover { color: var(--ink); }
.icon-btn { background: none; border: 0; color: var(--muted); padding: 4px; cursor: pointer; border-radius: 6px; }
.icon-btn:hover { color: var(--clay); background: var(--clay-tint); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(245, 241, 234, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 1.35rem var(--serif); color: var(--ink); letter-spacing: -.02em; text-decoration: none !important; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px 10px 10px 3px; background: var(--green); color: #fff; }
.logo-light { color: #fff; }
.logo-light .logo-mark { background: var(--amber); color: var(--ink); }
.nav-search { flex: 1; max-width: 340px; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; color: var(--muted); }
.nav-search input { border: 0; background: none; padding: 9px 0; width: 100%; font: inherit; font-size: .92rem; color: var(--ink); outline: none; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .94rem; }
.nav-links > a:not(.btn) { color: var(--ink-2); }
.nav-user { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px; }
.sr-mobile { display: none; }

/* Avatar & stars */
.avatar { --s: 40px; width: var(--s); height: var(--s); flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: hsl(var(--h) 42% 86%); color: hsl(var(--h) 45% 26%); font: 700 calc(var(--s) * .38)/1 var(--sans); letter-spacing: .02em; }
.avatar-xl { border-radius: 26px; font-family: var(--serif); box-shadow: 0 0 0 5px var(--card); }
.stars { --p: 0%; display: inline-block; font-size: 1rem; letter-spacing: 1px; line-height: 1; background: linear-gradient(90deg, var(--amber) var(--p), #d9d1c2 var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars.sm { font-size: .82rem; }
.stars.lg { font-size: 1.3rem; }
.rating { display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; }

/* Flash */
.flashes { margin-top: 18px; display: grid; gap: 8px; }
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--blue-tint); border: 1px solid #c9d6e6; font-weight: 500; margin-bottom: 14px; }
.flashes .flash { margin: 0; }
.flash-success { background: var(--green-tint); border-color: #bcd6c9; }
.flash-error { background: var(--clay-tint); border-color: #eec3b3; }
.flash-x { margin-left: auto; background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 56px; background:
  radial-gradient(900px 420px at 85% 10%, rgba(227, 154, 45, .16), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(30, 90, 71, .10), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.hero h1 em { font-style: italic; color: var(--green); font-weight: 500; }
.hero-search { margin-top: 28px; display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 7px; gap: 4px; box-shadow: var(--shadow-lg); }
.hs-field { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); border-right: 1px solid var(--line); min-width: 0; }
.hs-field:nth-child(3) { border-right: 0; }
.hs-field input, .hs-field select { border: 0; background: none; font: inherit; color: var(--ink); width: 100%; padding: 12px 0; outline: none; min-width: 0; appearance: none; cursor: pointer; }
.hs-field input { cursor: text; }
.hero-search .btn { border-radius: 13px; }
.hero-popular { margin-top: 16px; font-size: .9rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hero-popular a { color: var(--ink-2); background: rgba(255,255,255,.6); border: 1px solid var(--line); padding: 3px 11px; border-radius: 999px; }
.hero-stack { position: relative; height: 360px; }
.stack-card { position: absolute; display: flex; gap: 14px; align-items: center; background: var(--card); padding: 16px 20px; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); width: 330px; color: var(--ink); text-decoration: none !important; transition: transform .25s; }
.stack-card b { display: block; font-size: 1rem; }
.stack-card small { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 3px; }
.stack-card.s1 { top: 0; left: 10%; transform: rotate(-3deg); }
.stack-card.s2 { top: 110px; left: 0; transform: rotate(2deg); z-index: 2; }
.stack-card.s3 { top: 220px; left: 16%; transform: rotate(-1.5deg); }
.stack-card:hover { transform: rotate(0) translateY(-4px); z-index: 3; }
.stack-badge { position: absolute; right: 0; bottom: 10px; z-index: 4; background: var(--green); color: #fff; font-weight: 600; font-size: .85rem; padding: 10px 16px; border-radius: 999px; display: flex; gap: 7px; align-items: center; box-shadow: var(--shadow); }

/* Sections */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0; }
.section-tint { background: #efe9df; border-block: 1px solid var(--line); }
.section-ink { background: var(--ink); color: #f1ece3; }
.section-ink h2 { color: #fff; margin-bottom: 1.2em; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.more { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cat:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat b { display: block; font-size: .98rem; }
.cat small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.cat-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--green-tint); color: var(--green); }
.cat-icon.sm { width: 30px; height: 30px; border-radius: 8px; }
.cat:nth-child(3n+2) .cat-icon { background: var(--amber-tint); color: #9a5f0d; }
.cat:nth-child(3n) .cat-icon { background: var(--clay-tint); color: var(--clay); }
.cat-n { margin-left: auto; font-size: .8rem; color: var(--muted); font-weight: 700; }

/* Provider cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard.is-featured { border-color: #e8c98f; }
.pcard-cover { position: relative; display: block; height: 128px; background:
  radial-gradient(circle at 80% 20%, hsl(var(--h) 50% 80%), transparent 55%),
  linear-gradient(135deg, hsl(var(--h) 38% 88%), hsl(calc(var(--h) + 40) 40% 80%)); }
.pcard-icon { position: absolute; right: 18px; top: 18px; color: hsl(var(--h) 35% 30% / .55); }
.pcard-icon .i { width: 64px; height: 64px; stroke-width: 1.2; }
.pcard-mono { position: absolute; left: 18px; bottom: -26px; }
.pcard-mono .avatar { border-radius: 16px; box-shadow: 0 0 0 4px var(--card); font-family: var(--serif); }
.ribbon { position: absolute; left: 14px; top: 14px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.ribbon-soft { background: rgba(255,255,255,.85); color: var(--ink); }
.fav-form { position: absolute; right: 12px; top: 84px; z-index: 2; }
.fav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--muted); box-shadow: var(--shadow); }
.fav:hover { color: var(--clay); }
.fav.on { color: #fff; background: var(--clay); border-color: var(--clay); }
.fav.on .i { fill: currentColor; }
.pcard-body { padding: 36px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-meta { display: flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.pcard-meta a { color: var(--green); }
.pcard h3 { margin: 6px 0 4px; font-size: 1.18rem; display: flex; align-items: center; gap: 6px; }
.pcard h3 a { color: var(--ink); }
.verified { color: var(--green); display: inline-flex; }
.pcard-tag { color: var(--ink-2); font-size: .92rem; margin-bottom: 14px; }
.pcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .88rem; gap: 8px; }
.price { color: var(--muted); white-space: nowrap; }
.price b { color: var(--ink); font-size: 1rem; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step-list li { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); padding: 20px 22px; border-radius: var(--radius); }
.step-list p { margin: 0; color: var(--ink-2); }
.step-list h3 { margin-bottom: .25em; }
.step-n { font: 600 2rem/1 var(--serif); color: var(--amber); min-width: 28px; }

/* Quotes */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: #2a2722; border: 1px solid #3a362f; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font: 500 1.1rem/1.45 var(--serif); color: #fff; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #c9c1b3; }
.quote figcaption a { color: var(--amber); }
.quote figcaption b { color: #fff; }

/* Cities */
.city-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.city { display: flex; flex-direction: column; justify-content: flex-end; min-height: 120px; padding: 16px; border-radius: var(--radius); color: var(--ink); text-decoration: none !important; background: linear-gradient(160deg, hsl(var(--h) 40% 88%), hsl(var(--h) 38% 76%)); transition: transform .15s; }
.city:hover { transform: translateY(-3px); }
.city b { font-family: var(--serif); font-size: 1.1rem; line-height: 1.15; }
.city small { color: hsl(var(--h) 30% 28%); font-weight: 600; }

/* CTA */
.cta { background: var(--green); color: #e8f1ec; border-radius: 24px; padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 30px; background-image: radial-gradient(500px 240px at 100% 0%, rgba(227, 154, 45, .3), transparent 70%); }
.cta h2 { color: #fff; }
.cta p { margin: 0; max-width: 34em; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Page head & crumbs */
.page-head { padding: 40px 0 26px; }
.page-head h1 { margin-bottom: .2em; }
.page-head.center { padding-top: 56px; }
.h-soft { color: var(--muted); font-weight: 500; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

/* Search */
.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; padding-bottom: 64px; }
.filters { position: sticky; top: 88px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.f-group { margin: 0 0 16px; padding: 0; border: 0; }
.f-group label, .f-group legend { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.radio, .check { display: flex !important; gap: 8px; align-items: center; text-transform: none !important; letter-spacing: 0 !important; font-size: .92rem !important; color: var(--ink) !important; font-weight: 500 !important; margin-bottom: 4px !important; cursor: pointer; }
.check { margin-bottom: 16px !important; }
.radio input, .check input { accent-color: var(--green); width: 16px; height: 16px; }
.clear { display: block; text-align: center; margin-top: 10px; font-size: .88rem; }
.results-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.filters-toggle { display: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: var(--green-tint); color: var(--green-2); font-size: .85rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.sort select { width: auto; padding: 7px 30px 7px 12px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; }
.pager a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.empty .i { color: var(--line-2); margin-bottom: 8px; }
.empty h3 { color: var(--ink); }
.empty.small { padding: 30px 10px; }
.error-page { padding: 100px 20px; }

/* Forms */
input, select, textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; transition: border-color .15s, box-shadow .15s; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e675c' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.hs-field select { background-image: none; padding-right: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 90, 71, .14); }
input[disabled] { background: var(--paper); color: var(--muted); }
textarea { resize: vertical; }
.stack { display: grid; gap: 14px; }
.stack label, .form-grid label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.stack label small { font-weight: 500; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid { grid-template-columns: 1fr 1fr; }
.span-2 { grid-column: span 2; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.fine { font-size: .82rem; color: var(--muted); text-align: center; margin: 0; display: flex; gap: 6px; justify-content: center; align-items: center; }

/* Panels */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.panel h2 { font-size: 1.3rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }

/* Profile */
.profile-head { padding: 34px 0 30px; background: linear-gradient(180deg, hsl(var(--h) 36% 90%), var(--paper)); border-bottom: 1px solid var(--line); }
.profile-head-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.profile-id { display: flex; gap: 24px; align-items: center; }
.profile-id h1 { margin-bottom: .15em; }
.profile-tag { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); color: var(--ink-2); }
.badge-green { background: var(--green-tint); border-color: #bcd6c9; color: var(--green-2); }
.badge-amber { background: var(--amber-tint); border-color: #f0d5a4; color: #7d4d08; }
.profile-score { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); padding: 14px 18px; border-radius: var(--radius); }
.profile-score small { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; }
.big-score { font: 600 2.6rem/1 var(--serif); }
.profile-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; padding: 30px 0 64px; align-items: start; }
.tabs-anchor { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 8px; position: sticky; top: 68px; background: var(--paper); z-index: 5; }
.tabs-anchor a { padding: 12px 14px; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs-anchor a:hover { border-color: var(--ink); text-decoration: none; }
.block { padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.block:last-child { border: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 0; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.facts dt { font-size: .78rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; display: flex; gap: 6px; align-items: center; }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.svc-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.svc-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.svc-list li:last-child { border: 0; }
.svc-list li > div { flex: 1; }
.svc-list small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.svc-price { font: 600 1.15rem var(--serif); }
.review-summary { display: flex; gap: 30px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 18px; }
.rs-score { text-align: center; display: grid; gap: 4px; justify-items: center; }
.rs-score b { font: 600 3rem/1 var(--serif); }
.rs-score small { color: var(--muted); font-size: .82rem; }
.rs-bars { flex: 1; display: grid; gap: 5px; }
.rs-row { display: grid; grid-template-columns: 32px 1fr 26px; gap: 10px; align-items: center; font-size: .85rem; font-weight: 600; }
.bar { height: 8px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--amber); border-radius: 99px; }
.review-list { list-style: none; margin: 0; padding: 0; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review header > div { flex: 1; }
.review header small { display: block; color: var(--muted); font-size: .8rem; }
.review p { margin: 0; color: var(--ink-2); }
.reply { margin-top: 12px; padding: 12px 14px; background: var(--green-tint); border-radius: var(--radius-sm); font-size: .92rem; }
.reply p { margin: 4px 0 0; }
.profile-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.book-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); scroll-margin-top: 90px; }
.book-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.book-head span { color: var(--muted); font-size: .88rem; }
.book-head b { font: 600 1.8rem var(--serif); }
.book-head small { font: 500 .9rem var(--sans); color: var(--muted); }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: grid; gap: 8px; }
.contact-card h3 { margin: 0; }
.contact-card a { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.contact-card p { margin: 0; }

/* Auth */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.auth-card { width: min(440px, 100% - 40px); margin: 56px auto; align-self: center; }
.auth-switch { margin-top: 18px; color: var(--muted); }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; background: #ebe5da; padding: 4px; border-radius: 12px; margin: 10px 0 20px; }
.role-switch a { text-align: center; padding: 9px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; }
.role-switch a.on { background: var(--card); box-shadow: var(--shadow); color: var(--ink); }
.demo { margin-top: 26px; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem; }
.demo summary { font-weight: 700; cursor: pointer; }
.demo ul { margin: 0; padding-left: 18px; }
.auth-art { background: var(--green); color: #e5efe9; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; gap: 34px; background-image: radial-gradient(600px 300px at 100% 100%, rgba(227, 154, 45, .25), transparent 70%); }
.auth-art-inner { display: grid; grid-template-columns: repeat(3, 84px); gap: 16px; }
.auth-art-inner span { display: grid; place-items: center; height: 84px; border-radius: 22px; background: hsl(var(--h) 35% 88%); color: hsl(var(--h) 40% 28%); transform: rotate(calc((var(--h) - 180) * .02deg)); }
.auth-art p { font: 500 1.3rem/1.4 var(--serif); max-width: 20em; text-align: center; color: #fff; }

/* Dashboard */
.stat-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat small { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.stat b { display: block; font: 600 1.7rem/1.2 var(--serif); margin-top: 6px; }
.stat-sub { font: 600 .82rem var(--sans); color: var(--muted); margin-left: 4px; }
.stat-alert { border-color: var(--amber); background: var(--amber-tint); }
.dash-grid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; padding-bottom: 48px; }
.seg { display: inline-flex; background: var(--paper); padding: 3px; border-radius: 10px; border: 1px solid var(--line); }
.seg a { padding: 5px 12px; border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.seg a.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.table-wrap { overflow-x: auto; margin: 0 -22px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th:first-child, .table td:first-child { padding-left: 22px; }
.table th:last-child, .table td:last-child { padding-right: 22px; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #faf7f1; }
.who { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.row-actions { text-align: right; white-space: nowrap; }
.row-actions > * { display: inline-block; margin: 2px 0 2px 4px; vertical-align: middle; }
.pill { display: inline-block; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.pill-pending { background: var(--amber-tint); border-color: #f0d5a4; color: #7d4d08; }
.pill-accepted, .pill-approved { background: var(--blue-tint); border-color: #c9d6e6; color: #22456e; }
.pill-completed { background: var(--green-tint); border-color: #bcd6c9; color: var(--green-2); }
.pill-declined, .pill-cancelled, .pill-suspended { background: var(--clay-tint); border-color: #eec3b3; color: #8a3517; }
.mini-list { list-style: none; margin: 0 0 14px; padding: 0; }
.mini-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.mini-list li > span:first-child { flex: 1; }
.mini-list li small { display: block; }
.add-svc { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; }
.add-svc input[name=title], .add-svc input[name=name] { grid-column: 1 / -1; }
.add-svc input, .add-svc select { padding: 8px 10px; font-size: .88rem; }
.two-col .add-svc { grid-template-columns: 1fr 1fr; }
.mini-review { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.mini-review p { margin: 6px 0 0; color: var(--ink-2); }
.reply-form { display: flex; gap: 6px; margin-top: 8px; }
.reply-form input { padding: 6px 10px; font-size: .85rem; }
.plan-panel { background: linear-gradient(160deg, var(--card), var(--amber-tint)); }
.ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: center; font-size: .94rem; }
.ticks .i { color: var(--green); }
.nudge { display: flex; gap: 14px; align-items: center; background: var(--amber-tint); border: 1px solid #f0d5a4; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; color: #6e4407; }
.tabs { display: flex; gap: 4px; margin: 6px 0 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs a { padding: 10px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; }
.tabs a.on { color: var(--ink); border-color: var(--green); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 48px; }
.inline-form select { padding: 5px 28px 5px 10px; font-size: .85rem; width: auto; }

/* Booking */
.booking-layout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; padding-bottom: 56px; }
.progress { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.progress li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); font-weight: 600; color: var(--muted); }
.progress li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: .85rem; }
.progress li.done { color: var(--green-2); border-color: #bcd6c9; background: var(--green-tint); }
.progress li.done span { background: var(--green); color: #fff; }
.msgs { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; max-height: 520px; overflow-y: auto; }
.msg { display: flex; gap: 10px; align-items: flex-end; }
.msg.mine { flex-direction: row-reverse; }
.bubble { background: var(--paper); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 14px; max-width: 75%; }
.msg.mine .bubble { background: var(--green); color: #fff; border-color: var(--green); border-radius: 16px 16px 4px 16px; }
.bubble p { margin: 0; white-space: pre-wrap; }
.bubble small { display: block; font-size: .75rem; opacity: .7; margin-top: 4px; }
.msg-event { text-align: center; font-size: .82rem; color: var(--muted); display: flex; justify-content: center; gap: 6px; align-items: center; }
.composer { display: flex; gap: 10px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 16px; }
.booking-facts dl { margin: 0 0 18px; display: grid; gap: 4px; }
.booking-facts dt { display: flex; align-items: center; gap: 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--muted); margin-top: 10px; }
.booking-facts dd { margin: 0; font-weight: 500; }
.action-stack { display: grid; gap: 8px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2.1rem; color: #d9d1c2; cursor: pointer; line-height: 1; transition: color .1s, transform .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--amber); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--amber); border-radius: 4px; }

/* Pricing */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 56px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan .ticks { flex: 1; }
.plan-hot { border: 2px solid var(--green); box-shadow: var(--shadow-lg); }
.plan-hot .ribbon { left: auto; right: 18px; top: -12px; background: var(--green); }
.plan-price { color: var(--muted); }
.plan-price b { font: 600 2.4rem var(--serif); color: var(--ink); }
.faq { max-width: 760px; margin: 0 auto 72px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 64px; }
.how-grid h2 { display: flex; gap: 10px; align-items: center; }
.how-list { padding-left: 20px; display: grid; gap: 10px; margin-bottom: 22px; }
.how-list b { display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #cfc7b9; padding: 56px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 12px; }
.footer-grid a:not(.logo) { display: block; color: #cfc7b9; font-size: .92rem; padding: 3px 0; }
.muted-light { color: #a39b8d; margin-top: 14px; max-width: 26em; }
.footer-base { border-top: 1px solid #36322b; margin-top: 40px; padding-top: 18px; font-size: .85rem; color: #8f877a; }

/* Responsive */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .city-row { grid-template-columns: repeat(3, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-search { display: none; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-links form { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 10px; }
  .sr-mobile { display: inline; }
  .hero-grid, .steps, .profile-layout, .booking-layout, .auth-wrap, .how-grid, .two-col { grid-template-columns: 1fr; }
  .hero-stack { display: none; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hs-q { grid-column: span 2; border-right: 0; border-bottom: 1px solid var(--line); }
  .hs-field:nth-child(2) { border-right: 1px solid var(--line); }
  .hero-search .btn { grid-column: span 2; }
  .card-grid, .quote-grid, .plan-grid { grid-template-columns: 1fr 1fr; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .profile-side { position: static; }
  .auth-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 600px) {
  .cat-grid, .card-grid, .card-grid-3, .quote-grid, .plan-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .city-row { grid-template-columns: 1fr 1fr; }
  .form-grid, .facts { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .profile-id { flex-direction: column; align-items: flex-start; gap: 14px; }
  .review-summary { flex-direction: column; align-items: stretch; }
  .add-svc { grid-template-columns: 1fr 1fr; }
  .section { padding: 44px 0; }
  .progress li { font-size: .82rem; padding: 10px; }
}

/* ---------- v2: notifications, photos, maps, payments ---------- */
.nav-bell { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.bell-n { position: absolute; top: -6px; left: 12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--clay); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--paper); }
.avatar-img { object-fit: cover; padding: 0; background: var(--card); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; }
.near-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 4px 12px; font: 600 .85rem var(--sans); cursor: pointer; margin-right: 6px; }
.near-chip:disabled { opacity: .6; }

/* cards with cover photo */
.pcard-cover.has-img { background: #ddd; }
.pcard-cover > img { width: 100%; height: 100%; object-fit: cover; }
.pcard-cover.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 45%); pointer-events: none; }
.pcard-cover .ribbon { z-index: 1; }

/* profile cover */
.profile-head.has-cover { position: relative; padding-top: 190px; background: var(--paper); }
.profile-head.has-cover::before { content: ""; position: absolute; inset: 0 0 auto; height: 250px; background: var(--cover) center / cover no-repeat; }
.profile-head.has-cover::after { content: ""; position: absolute; inset: 0 0 auto; height: 250px; background: linear-gradient(180deg, transparent 40%, rgba(245,241,234,.95)); }
.profile-head.has-cover .profile-head-grid { position: relative; z-index: 1; }
.profile-head.has-cover .crumbs { display: none; }
.tabs-anchor small { color: var(--muted); font-weight: 600; }

/* gallery & lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; gap: 8px; }
.g-item { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--line); }
.g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-item:hover img { transform: scale(1.04); }
.g-more-hidden { display: none; }
.g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(28,26,23,.55); color: #fff; font: 600 1.6rem var(--serif); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15,14,12,.9); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 50px 70px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: #e9e3d8; font-size: .95rem; }
.lb-close, .lb-nav { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; } .lb-next { right: 14px; top: 50%; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }

/* photo manager */
.photo-admin { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-admin li { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--line); border: 2px solid transparent; }
.photo-admin li.is-cover { border-color: var(--amber); }
.photo-admin img { width: 100%; height: 100%; object-fit: cover; }
.ph-actions { position: absolute; inset: auto 6px 6px; display: flex; justify-content: space-between; align-items: center; }
.ph-btn { background: rgba(255,255,255,.92); border: 0; border-radius: 8px; width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.ph-btn:hover { background: #fff; color: var(--clay); }
.ph-cover { background: var(--amber); color: #1c1306; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; display: inline-flex; gap: 4px; align-items: center; }
.upload-box { display: grid; grid-template-columns: 1fr; gap: 8px; }
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--line-2); border-radius: var(--radius); cursor: pointer; color: var(--muted); transition: border-color .15s, background .15s; }
.drop:hover, .drop:focus-within { border-color: var(--green); background: var(--green-tint); }
.drop span { display: grid; color: var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-box .btn { justify-self: start; }
.logo-field { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo-field > label:not(.check) { flex: 1; min-width: 220px; }
.logo-preview { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; border: 1px solid var(--line); }
.logo-empty { display: grid; place-items: center; background: var(--paper); color: var(--muted); }

/* maps */
.map { position: relative; z-index: 0; isolation: isolate; background: #e8e4dc; border-radius: var(--radius); overflow: hidden; }
.map-card { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.map-card .map { height: 240px; border-radius: 0; }
.map-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; }
.map-foot span { display: inline-flex; align-items: center; gap: 6px; }
.results-map { height: 380px; margin-bottom: 22px; border: 1px solid var(--line); }
.pick-map { height: 300px; border: 1px solid var(--line); cursor: crosshair; }
.pin-field { display: grid; gap: 8px; }
.pin-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .9rem; }
.pin-head .btn { margin-left: auto; }
.pin-icon span { display: block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.pin-me span { background: var(--amber); border-radius: 50%; transform: none; }
.map-pop { display: grid; gap: 2px; color: var(--ink) !important; text-decoration: none !important; font-family: var(--sans); }
.map-pop span { color: var(--muted); font-size: .8rem; }
.leaflet-container a.map-pop { color: var(--ink); }
.near-box select { margin-top: 8px; }
.near-on { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--green-2); background: var(--green-tint); padding: 8px 10px; border-radius: var(--radius-sm); }
.near-on a { margin-left: auto; font-size: .82rem; }
.near-err { color: var(--clay); margin: 6px 0 0; }

/* payments */
.booking-side { display: grid; gap: 0; align-content: start; }
.pay-box h2 { display: flex; align-items: center; gap: 8px; }
.pay-box.is-paid { background: var(--green-tint); border-color: #bcd6c9; }
.pay-box.is-refunded { background: var(--clay-tint); border-color: #eec3b3; }
.checkout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: start; padding-bottom: 56px; }
.term-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.term-pick a { display: grid; gap: 2px; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; background: #fff; }
.term-pick a.on { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.term-pick span { font: 600 1.1rem var(--serif); }
.term-pick small { color: var(--green); font-weight: 700; font-size: .75rem; }
.summary { margin: 0 0 12px; border-top: 1px solid var(--line); }
.summary div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 600; white-space: nowrap; }
.sum-fx { font-size: .88rem; } .sum-fx dt, .sum-fx dd { color: var(--muted); font-weight: 500; }
.sum-total dt, .sum-total dd { font: 600 1.3rem var(--serif); color: var(--ink); }
.pay-panel { min-height: 160px; }
.pay-msg { background: var(--blue-tint); border-radius: var(--radius-sm); padding: 10px 12px; font-weight: 600; font-size: .9rem; }
.plan-annual { margin-top: -8px; }
.narrow-panel { max-width: 860px; margin: 0 auto 40px; }

/* notifications */
.notif-list { list-style: none; padding: 0; overflow: hidden; }
.notif-list li + li { border-top: 1px solid var(--line); }
.notif-list a { display: flex; gap: 14px; padding: 16px 20px; color: var(--ink); text-decoration: none; }
.notif-list a:hover { background: #faf7f1; }
.notif-list li.unread a { background: #fbf6ea; }
.notif-list li.unread b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); margin-left: 8px; vertical-align: middle; }
.notif-icon { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); }
.notif-icon.k-payment, .notif-icon.k-refund { background: var(--amber-tint); color: #9a5f0d; }
.notif-icon.k-message { background: var(--blue-tint); color: #22456e; }
.notif-icon.k-review { background: var(--amber-tint); color: #9a5f0d; }
.notif-body { display: grid; gap: 2px; }
.notif-body span { color: var(--ink-2); font-size: .93rem; }
.notif-body small { color: var(--muted); font-size: .8rem; }
.toggle { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; cursor: pointer; }
.toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; }

@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 110px; }
  .nav-bell .bell-n { left: 12px; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .term-pick { grid-template-columns: 1fr; }
  .profile-head.has-cover { padding-top: 140px; }
  .profile-head.has-cover::before, .profile-head.has-cover::after { height: 190px; }
  .lightbox figure { padding: 60px 10px; }
}
.wrap.narrow.checkout, .page-head .wrap.narrow { width: min(980px, 100% - 40px); }

/* =====================================================================
   TuContratista.com brand layer
   ===================================================================== */
body { font-weight: 500; }
a { color: var(--navy-3); font-weight: 700; }
.eyebrow { color: var(--yellow-2); font-weight: 800; }
.eyebrow-light { color: var(--yellow); }

/* buttons — yellow "sticker" style like the logo */
.btn { font-weight: 800; letter-spacing: .01em; }
.btn-primary, .btn-amber { --bg: var(--yellow); --fg: var(--navy); border: 2px solid var(--navy); box-shadow: 0 3px 0 var(--navy); }
.btn-primary:hover, .btn-amber:hover { --bg: #ffd23f; box-shadow: 0 4px 0 var(--navy); transform: translateY(-1px); }
.btn-primary:active, .btn-amber:active { box-shadow: 0 1px 0 var(--navy); transform: translateY(2px); }
.btn-navy { --bg: var(--navy); --fg: #fff; }
.btn-ghost { border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost-light { --fg: #fff; border-color: rgba(255,255,255,.5); }

/* header */
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.nav { height: 72px; }
.logo img { height: 48px; width: auto; display: block; }
.nav-search { background: var(--paper); border-color: var(--line); }
.nav-links > a:not(.btn) { color: var(--navy); }
.nav-links > a:not(.btn):hover { color: var(--yellow-2); text-decoration: none; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: flex; align-items: center; gap: 5px; cursor: pointer; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 800; font-size: .82rem; color: var(--navy); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu[open] summary, .lang-menu summary:hover { border-color: var(--navy); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 150px; z-index: 40; }
.lang-list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--navy); font-weight: 700; }
.lang-list a:hover { background: var(--paper); text-decoration: none; }
.lang-list a[aria-current] { background: var(--yellow-tint); }
.bell-n { background: var(--clay); box-shadow: 0 0 0 2px #fff; }

/* avatar & stars */
.avatar { background: hsl(var(--h) 55% 90%); color: var(--navy); font-family: var(--serif); font-weight: 800; }
.avatar-xl { box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--navy); }
.stars { background: linear-gradient(90deg, var(--yellow-2) var(--p), #d5dce5 var(--p)); -webkit-background-clip: text; background-clip: text; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; color: #fff;
  background: radial-gradient(700px 380px at 85% 30%, rgba(255,195,11,.22), transparent 60%),
              radial-gradient(600px 400px at 0% 100%, rgba(27,68,104,.9), transparent 60%), var(--navy); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--paper); clip-path: ellipse(60% 100% at 50% 100%); }
.hero-grid { grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: end; }
.hero-copy { padding-bottom: 70px; position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.5rem); font-weight: 800; line-height: .98; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lede { color: #d4dfeb; }
.hero-search { border: 3px solid var(--navy-2); box-shadow: 0 6px 0 var(--navy-2), var(--shadow-lg); border-radius: 20px; }
.hs-field { color: var(--muted); }
.hero-popular { color: #b8c7d8; }
.hero-popular a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.hero-popular a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.near-chip { background: var(--yellow); color: var(--navy); font-weight: 800; }
.hero-art { position: relative; height: 470px; z-index: 1; align-self: end; }
.hero-burst { position: absolute; left: 50%; bottom: -60px; width: 440px; height: 440px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, var(--yellow) 0 58%, transparent 59%), repeating-conic-gradient(rgba(255,195,11,.18) 0 8deg, transparent 8deg 18deg); }
.mascot { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 455px; width: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.3)); }
.hero-art .stack-card { width: 250px; padding: 12px 14px; color: var(--navy); border: 2px solid var(--navy); box-shadow: 0 4px 0 var(--navy); }
.hero-art .stack-card.s1 { top: 70px; left: -40px; transform: rotate(-4deg); }
.hero-art .stack-card.s2 { top: 210px; left: auto; right: -30px; transform: rotate(3deg); }
.hero-art .stack-card b { font-size: .92rem; }
.stack-badge { right: auto; left: 0; bottom: 40px; background: var(--ok); }

/* trust bar */
.trust-bar { padding: 26px 0 6px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-grid > div { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.trust-grid .i { color: var(--navy); background: var(--yellow); border-radius: 10px; padding: 7px; width: 38px; height: 38px; }
.trust-grid span { display: grid; font-size: .84rem; color: var(--muted); line-height: 1.3; }
.trust-grid b { color: var(--navy); font-size: .95rem; }

/* sections & cards */
.section-tint { background: #e9eef4; border-color: var(--line); }
.section-ink { background: var(--navy); color: #d4dfeb; }
.section-ink h2 { color: #fff; }
.cat { border-radius: 16px; }
.cat:hover { border-color: var(--navy); box-shadow: 0 4px 0 var(--navy); }
.cat-icon, .cat:nth-child(3n+2) .cat-icon, .cat:nth-child(3n) .cat-icon { background: var(--yellow-tint); color: var(--navy); }
.cat:hover .cat-icon { background: var(--yellow); }
.cat-n { background: var(--paper); color: var(--navy); border-radius: 99px; padding: 2px 9px; }
.pcard { border-radius: 20px; }
.pcard:hover { box-shadow: 0 5px 0 var(--navy), var(--shadow-lg); border-color: var(--navy); }
.pcard.is-featured { border-color: var(--yellow-2); }
.pcard-cover { background: radial-gradient(circle at 80% 20%, rgba(255,195,11,.55), transparent 55%), linear-gradient(135deg, #dbe6f2, #b9cde2); }
.pcard-icon { color: rgba(15,44,70,.35); }
.pcard-mono .avatar { box-shadow: 0 0 0 4px #fff; }
.ribbon { background: var(--yellow); color: var(--navy); border: 2px solid var(--navy); font-weight: 800; }
.ribbon-soft { background: #fff; }
.pcard-meta a { color: var(--yellow-2); }
.pcard h3 a { color: var(--navy); }
.verified { color: #1f7ae0; }
.fav.on { background: var(--clay); border-color: var(--clay); }
.step-list li { border-radius: 16px; }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; min-width: 42px; border-radius: 12px; background: var(--yellow); color: var(--navy); font-size: 1.4rem; border: 2px solid var(--navy); }
.quote { background: var(--navy-3); border-color: rgba(255,255,255,.1); }
.quote figcaption { color: #c7d4e3; }
.city { background: linear-gradient(160deg, #fff, var(--yellow-tint)); border: 1px solid var(--line); color: var(--navy); }
.city:nth-child(even) { background: linear-gradient(160deg, #fff, #e3edf8); }
.city small { color: var(--muted); }
.cta { position: relative; background: var(--navy); background-image: radial-gradient(500px 240px at 100% 0%, rgba(255,195,11,.3), transparent 70%); padding-left: 190px; overflow: visible; }
.cta-mascot { position: absolute; left: 30px; bottom: 0; height: 230px; width: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.3)); }
.cta h2 { color: #fff; }

/* page heads, panels, pills */
.page-head h1 { color: var(--navy); }
.h-soft { color: var(--yellow-2); }
.panel { border-radius: 18px; }
.panel-navy { background: var(--navy); color: #d4dfeb; border-color: var(--navy); }
.panel-navy h2 { color: #fff; }
.panel-navy .how-list b { color: var(--yellow); }
.stat b { color: var(--navy); }
.stat-alert { border-color: var(--yellow-2); background: var(--yellow-tint); }
.seg a.on { color: var(--navy); }
.tabs a.on { border-color: var(--yellow); color: var(--navy); }
.pill-completed, .pill-paid { background: var(--ok-tint); border-color: #b9e2cb; color: #12603b; }
.pill-pending { background: var(--yellow-tint); border-color: #f3dc8a; color: #7a5400; }
.badge-green { background: #e3f0ff; border-color: #bcd6f5; color: #155ab0; }
.badge-amber { background: var(--yellow-tint); border-color: #f3dc8a; color: #7a5400; }
.chip { background: var(--yellow-tint); color: var(--navy); }
.near-on { background: var(--yellow-tint); color: var(--navy); }
.pager a.on { background: var(--navy); border-color: var(--navy); }
.progress li.done { background: var(--ok-tint); border-color: #b9e2cb; color: #12603b; }
.progress li.done span { background: var(--ok); }
.msg.mine .bubble { background: var(--navy); border-color: var(--navy); }
.pay-box { background: linear-gradient(160deg, #fff, var(--yellow-tint)); }
.pay-box.is-paid { background: var(--ok-tint); border-color: #b9e2cb; }
.plan-hot { border: 3px solid var(--navy); box-shadow: 0 6px 0 var(--navy), var(--shadow-lg); }
.plan-hot .ribbon { background: var(--yellow); color: var(--navy); }
.plan-panel { background: linear-gradient(160deg, #fff, var(--yellow-tint)); }
.ticks .i { color: var(--ok); }
.term-pick a.on { border-color: var(--navy); background: var(--yellow-tint); box-shadow: inset 0 0 0 1px var(--navy); }
.term-pick small { color: var(--ok); }
.review-summary .bar i, .bar i { background: var(--yellow-2); }
.reply { background: #eef3f9; }
.flash-success { background: var(--ok-tint); border-color: #b9e2cb; }
.notif-icon { background: var(--yellow-tint); color: var(--navy); }
.notif-list li.unread a { background: #fffaea; }
.photo-admin li.is-cover { border-color: var(--yellow); }
.ph-cover { background: var(--yellow); }
.drop:hover, .drop:focus-within { border-color: var(--navy); background: var(--yellow-tint); }
input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255,195,11,.45); }
:focus-visible { outline-color: var(--yellow-2); }
.pin-icon span { background: var(--navy); }
.pin-me span { background: var(--yellow); }
.profile-head { background: linear-gradient(180deg, #e3ecf6, var(--paper)); }
.profile-score .big-score { color: var(--navy); }
.svc-price { color: var(--navy); }
.book-card { border: 2px solid var(--navy); box-shadow: 0 6px 0 var(--navy), var(--shadow-lg); }
.add-tax { grid-template-columns: 1fr 1fr; }
.add-tax select, .add-tax .btn { grid-column: span 1; }

/* auth */
.auth-art { background: var(--navy); background-image: radial-gradient(500px 300px at 50% 40%, rgba(255,195,11,.25), transparent 70%); }
.auth-art img { width: 260px; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.auth-art p { font-family: var(--serif); font-weight: 700; }
.auth-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }
.auth-chips span { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.1); color: #fff; padding: 6px 12px; border-radius: 99px; font-weight: 700; font-size: .85rem; }
.role-switch a.on { color: var(--navy); }
.error-mascot { width: 150px; height: auto; margin: 0 auto 10px; }

/* footer */
.site-footer { background: var(--navy); color: #c7d4e3; }
.site-footer .logo img { height: 64px; }
.footer-grid h4 { color: var(--yellow); }
.footer-grid a:not(.logo) { color: #c7d4e3; font-weight: 600; }
.footer-grid a:not(.logo):hover { color: #fff; }
.muted-light { color: #9fb2c6; }
.footer-base { border-color: rgba(255,255,255,.12); color: #8ea3ba; }
.foot-lang { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: #9fb2c6; }
.foot-lang a { padding: 3px 10px !important; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); font-size: .82rem !important; }
.foot-lang a.on { background: var(--yellow); color: var(--navy) !important; border-color: var(--yellow); }

@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { height: 64px; }
  .logo img { height: 42px; }
  .nav-links { top: 64px; }
  .lang-menu summary { width: max-content; margin: 8px 0; }
  .lang-list { position: static; box-shadow: none; border: 0; padding: 0 0 6px; }
  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 10px; }
  .hero-art { display: block; height: 260px; margin: 0 auto; width: 100%; max-width: 360px; }
  .hero-burst { width: 260px; height: 260px; bottom: -40px; }
  .mascot { height: 255px; }
  .hero-art .stack-card { display: none; }
  .stack-badge { bottom: 20px; left: 0; font-size: .78rem; }
  .cta { padding-left: 32px; }
  .cta-mascot { display: none; }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .trust-grid > div { padding: 10px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero h1 { font-size: 2.6rem; }
}
.hero-grid { grid-template-columns: 1.3fr .7fr; }
.hero-search { grid-template-columns: 1.4fr 1fr 1fr auto; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-search { grid-template-columns: 1fr; }
  .hs-q, .hs-field, .hs-field:nth-child(2) { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-search .btn { grid-column: auto; }
}

/* ===================== Ads, verification, finance ===================== */
.d-block { display: block; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.pos { color: var(--ok); } .neg, .bad { color: var(--clay); } .warn { color: #9a6700; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; margin-left: 4px; }
.inline-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-row input { flex: 1 1 140px; }
.sm-input { width: 110px !important; padding: 6px 8px !important; font-size: 14px; }
.f-label { display: block; font-weight: 700; margin: 0 0 14px; }
.f-label input, .f-label select, .f-label textarea { margin-top: 6px; }
.f-label small { font-weight: 500; }
.f-title { font-weight: 800; margin: 16px 0 8px; font-size: 14px; }
.f-title small { font-weight: 500; }
.stars-sm { color: var(--yellow-2); letter-spacing: 1px; }

/* Ads Manager shell */
.ads-shell { display: grid; grid-template-columns: 236px 1fr; gap: 0; min-height: calc(100vh - 72px); }
.ads-nav { background: var(--navy); color: #fff; padding: 22px 14px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; align-self: start; min-height: calc(100vh - 72px); }
.ads-brand { display: flex; align-items: center; gap: 8px; padding: 0 10px 16px; color: var(--yellow); font-family: var(--serif); font-size: 19px; }
.ads-nav a { display: flex; align-items: center; gap: 10px; color: #cfdbe8; text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 700; font-size: 15px; }
.ads-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.ads-nav a.on { background: rgba(255,195,11,.16); color: var(--yellow); }
.ads-balance { margin-top: auto; background: rgba(255,255,255,.07); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
.ads-balance small { color: #a9bccf; } .ads-balance b { font-size: 22px; font-family: var(--serif); }
.ads-balance .btn { justify-content: center; color: var(--navy) !important; }
.ads-main { padding: 26px 30px 60px; min-width: 0; }
.ads-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ads-head h1 { margin: 2px 0 4px; font-size: 30px; }
@media (max-width: 900px) {
  .ads-shell { grid-template-columns: 1fr; }
  .ads-nav { position: static; min-height: 0; flex-direction: row; overflow-x: auto; padding: 10px; gap: 4px; }
  .ads-brand, .ads-balance { display: none; }
  .ads-nav a { white-space: nowrap; font-size: 14px; }
  .ads-main { padding: 18px 16px 50px; }
}

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 18px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.kpi small { color: var(--muted); font-weight: 700; font-size: 13px; }
.kpi b { font-size: 24px; font-family: var(--serif); line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi .spark { margin-top: 6px; width: 100%; height: 26px; }
.mini-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.mini-kpis div { background: var(--paper); border-radius: 10px; padding: 8px 10px; }
.mini-kpis small { display: block; color: var(--muted); font-size: 12px; } .mini-kpis b { font-size: 18px; }
.ads-widget h2 { display: flex; gap: 6px; align-items: center; }

/* Switch */
.switch { width: 40px; height: 22px; border-radius: 99px; border: 0; background: var(--line-2); position: relative; cursor: pointer; transition: background .15s; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch.on { background: var(--ok); } .switch.on::after { transform: translateX(18px); }
.ads-table td { vertical-align: middle; }

/* Charts */
.chart { margin: 0; position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .ax { fill: var(--muted); font: 600 11px var(--sans); }
.chart .cross { stroke: var(--line-2); stroke-width: 1; opacity: 0; }
.chart .dot { opacity: 0; }
.chart .hit:hover .cross, .chart .hit:hover .dot, .chart .hit.on .cross, .chart .hit.on .dot { opacity: 1; }
.chart .hit:hover rect.bar, .chart .hit.on rect.bar { opacity: .85; }
.chart-tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 10px; border-radius: 8px; white-space: pre; box-shadow: var(--shadow); transform: translate(-50%, calc(-100% - 10px)); z-index: 3; line-height: 1.45; }
.chart-legend { display: flex; gap: 16px; flex-wrap: wrap; margin: 0 0 10px; padding: 0; list-style: none; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.table-view { margin-top: 10px; } .table-view summary { cursor: pointer; color: var(--muted); font-weight: 700; font-size: 14px; }

/* Ad units */
.ad { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; position: relative; }
.ad:hover { box-shadow: var(--shadow); }
.ad-img { flex: none; background: var(--paper); }
.ad-img img { width: 100%; height: 100%; object-fit: cover; }
.ad-body { display: grid; gap: 4px; padding: 14px 16px; align-content: start; min-width: 0; }
.ad-tag { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
.ad-head { font-family: var(--serif); font-size: 19px; line-height: 1.2; color: var(--ink); }
.ad-text { color: var(--ink-2); font-size: 15px; }
.ad-cta { justify-self: start; margin-top: 4px; }
.ad-card { flex-direction: column; gap: 0; } .ad-card .ad-img { aspect-ratio: 16/9; }
.ad-banner { align-items: stretch; border-color: var(--yellow); background: linear-gradient(90deg, var(--yellow-tint), #fff 60%); }
.ad-banner .ad-img { width: 34%; max-width: 320px; min-height: 140px; }
.ad-banner .ad-body { align-content: center; padding: 18px 22px; }
.ad-banner .ad-head { font-size: 24px; }
.ad-side { flex-direction: column; gap: 0; } .ad-side .ad-img { aspect-ratio: 16/9; }
.ad-strip { padding: 8px 0 18px; }
.ad-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 18px; }
.ad-row .ad-card { flex-direction: row; } .ad-row .ad-card .ad-img { width: 120px; aspect-ratio: auto; }
.ad-mini { flex-direction: row; max-width: 520px; } .ad-mini .ad-img { width: 110px; aspect-ratio: auto; }
.ad-mini .ad-head { font-size: 16px; }
.ad-row-admin { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ad-row-admin:last-of-type { border-bottom: 0; }
.ad-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.add-ad { margin-top: 14px; } .add-ad summary { list-style: none; display: inline-flex; } .add-ad[open] form { margin-top: 12px; }
@media (max-width: 640px) { .ad-banner { flex-direction: column; } .ad-banner .ad-img { width: 100%; max-width: none; } }

/* Wizard */
.stepper { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: st; flex-wrap: wrap; }
.stepper li { counter-increment: st; }
.stepper a { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 14px; }
.stepper a::before { content: counter(st); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; }
.wizard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.wizard-side { position: sticky; top: 16px; }
.wizard .panel h2 { display: flex; gap: 10px; align-items: center; font-size: 21px; }
.step-n.sm { width: 28px; height: 28px; min-width: 28px; padding: 0; line-height: 1; flex: none; font-size: 14px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); }
@media (max-width: 960px) { .wizard-grid { grid-template-columns: 1fr; } .wizard-side { position: static; } }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice > span { display: grid; gap: 4px; height: 100%; padding: 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .15s, background .15s; }
.choice small { color: var(--muted); font-size: 13px; line-height: 1.4; } .choice em { font-style: normal; font-weight: 800; color: var(--navy); }
.choice input:checked + span { border-color: var(--navy); background: var(--green-tint); }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 8px; }
.chips-check { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips-check label { cursor: pointer; }
.chips-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips-check span { display: inline-block; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); font-weight: 700; font-size: 14px; }
.chips-check input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips-check input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.estimate { background: var(--yellow-tint); border-radius: 10px; padding: 10px 14px; font-weight: 700; font-size: 14px; }
.estimate:empty { display: none; }
.preview-panel .ad { margin-bottom: 12px; }
[data-show-for][hidden] { display: none !important; }

/* Balance / billing */
.balance-panel small { color: var(--muted); font-weight: 700; }
.big-money { display: block; font-family: var(--serif); font-size: 44px; line-height: 1.1; margin: 4px 0 8px; }
.topup .chips-check { margin: 14px 0 10px; }

/* Checklist */
.checklist { background: var(--card); border: 1px solid var(--yellow); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; display: grid; gap: 10px; }
.checklist-head { display: flex; justify-content: space-between; font-size: 17px; }
.checklist-bar { height: 8px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.checklist-bar i { display: block; height: 100%; background: var(--yellow-2); border-radius: 99px; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 20px; flex-wrap: wrap; }
.checklist li { display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--muted); }
.checklist li.ok { color: var(--ok); } .checklist li.wait { color: #9a6700; }
.checklist .btn { justify-self: start; }

/* Verification page */
.verif-progress { display: flex; align-items: center; gap: 10px; margin-top: 10px; max-width: 360px; font-weight: 800; }
.verif-progress .checklist-bar { flex: 1; }
.verif-step.done { border-color: var(--ok); }
.vs-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.vs-head h2 { margin: 0; font-size: 20px; } .vs-head p { margin: 2px 0 0; }
.vs-head .pill { margin-left: auto; }
.vs-n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--navy); }
.verif-step.done .vs-n { background: var(--ok-tint); color: var(--ok); }
.photo-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.photo-row .drop { flex: 1 1 220px; }
.me-photo img, .me-photo .avatar { border-radius: 50%; }
.code-row input { max-width: 160px; letter-spacing: 6px; font-weight: 800; font-size: 20px; text-align: center; }
.id-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.msg-locked { display: flex; gap: 10px; align-items: center; background: var(--paper); border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 14px; color: var(--muted); font-size: 15px; }
img.user-photo { border-radius: 50%; object-fit: cover; }

/* Admin verification + ads tabs */
.verif-card { border-bottom: 1px solid var(--line); padding: 14px 0; display: grid; gap: 12px; }
.verif-card:last-child { border-bottom: 0; }
.verif-card .who { display: flex; gap: 12px; align-items: center; }
.doc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.doc { display: grid; gap: 4px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 700; }
.doc img { width: 160px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.verif-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.verif-actions input { flex: 1 1 200px; }

/* Finance */
.quick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 16px; }
.quick { background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 18px; }
.quick small { color: #a9bccf; font-weight: 700; } .quick b { display: block; font-family: var(--serif); font-size: 26px; color: var(--yellow); }
.filter-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.custom-range { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.custom-range input, .custom-range select { width: auto; padding: 7px 10px; }
.fin-stats .stat-hero { background: var(--yellow-tint); border-color: var(--yellow); }
.delta { display: block; font-size: 13px; font-weight: 800; margin-top: 2px; }
.delta.up { color: var(--ok); } .delta.down { color: var(--clay); }
.delta em { font-style: normal; font-weight: 600; color: var(--muted); }
.mini-list li small { display: block; font-weight: 500; }
.table tfoot td { font-weight: 800; border-top: 2px solid var(--line-2); }
.setting-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: 0; }
.setting-row span { display: grid; } .setting-row input { width: 130px; flex: none; }
@media (max-width: 640px) { .quick-row { grid-template-columns: 1fr; } }

/* Customer history */
.stat-row.compact { margin-bottom: 14px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; }
.timeline li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; }
.tl-dot { position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--navy); }
.tl-body small { display: block; } .tl-meta { font-size: 14px; color: var(--muted); margin-top: 2px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* Advertiser page / setup */
.advertiser-head { display: flex; gap: 18px; align-items: center; }
.logo-field { display: flex; gap: 14px; align-items: center; }
.logo-preview { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); background: var(--card); }
.logo-preview.lg { width: 84px; height: 84px; }
.logo-empty { display: grid; place-items: center; color: var(--muted); }
@media (min-width: 901px) { .ads-shell { background: linear-gradient(90deg, var(--navy) 236px, transparent 236px); } .ads-nav { min-height: calc(100vh - 72px); } }
/* items hidden by the plan limit */
.limit-note { display: flex; gap: 8px; align-items: flex-start; background: var(--yellow-tint); border: 1px solid var(--yellow); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px; }
.mini-list li.is-hidden b, .mini-list li.is-hidden span { opacity: .55; }
.photo-admin li.is-hidden img { opacity: .4; filter: grayscale(1); }
.photo-admin li { position: relative; }
.hidden-tag { position: absolute; top: 6px; left: 6px; z-index: 2; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 99px; display: inline-flex; gap: 4px; align-items: center; }

/* ===================== Support ===================== */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; padding-bottom: 50px; }
@media (max-width: 900px) { .support-grid { grid-template-columns: minmax(0, 1fr); } }
.tk-body, .inbox-main, .ticket-list b { overflow-wrap: anywhere; }
.support-grid .panel h2 { display: flex; gap: 8px; align-items: center; }
.drop.slim { padding: 12px 14px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.ticket-list { list-style: none; margin: 0; padding: 0; }
.ticket-list li a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.ticket-list li:last-child a { border-bottom: 0; }
.ticket-list span:first-child { display: grid; min-width: 0; }
.tk-st { flex: none; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.tk-st.lg { font-size: 14px; padding: 6px 14px; }
.tk-open { background: var(--yellow-tint); color: #8a5a00; }
.tk-answered { background: var(--blue-tint); color: var(--navy); }
.tk-closed { background: var(--ok-tint); color: var(--ok); }
.tk-thread { display: grid; gap: 14px; }
.tk-msg { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--card); }
.tk-msg.staff { background: var(--green-tint); border-color: #cdd9e6; }
.tk-msg.internal { background: #fff8e1; border-style: dashed; border-color: var(--yellow); }
.tk-who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.tk-badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--yellow); }
.tk-body { white-space: pre-wrap; line-height: 1.55; }
.tk-att img { margin-top: 10px; max-width: 260px; max-height: 200px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; }
.toggle.inline { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
.inbox { list-style: none; margin: 0; padding: 0; }
.inbox li a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.inbox li:last-child a { border-bottom: 0; }
.inbox li a:hover { background: var(--paper); }
.inbox li.unread b { color: var(--navy); }
.inbox-main { display: grid; gap: 2px; min-width: 0; }
.inbox-last { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-side { display: grid; gap: 4px; justify-items: end; }
.prio { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.prio-high { background: var(--clay); } .prio-normal { background: var(--yellow-2); }
.help-link { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; margin-top: 16px; }
.help-link span { flex: 1; display: grid; }
@media (max-width: 640px) { .inbox li a { grid-template-columns: auto minmax(0, 1fr); } .inbox-side { grid-column: 2; justify-items: start; grid-auto-flow: column; } }

/* ===================== Guatemalan gateways ===================== */
.pay-methods { display: grid; gap: 10px; margin-bottom: 12px; }
.pay-method { display: flex; gap: 14px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; flex-wrap: wrap; }
.pay-method .pm-text { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.pm-or { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 10px; display: flex; align-items: center; gap: 10px; }
.pm-or::before, .pm-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.paggo-wait { text-align: center; }
.paggo-steps { text-align: left; margin: 0 auto 16px; max-width: 460px; display: grid; gap: 6px; }
.paggo-state { margin: 16px 0 8px; font-weight: 700; display: flex; gap: 8px; justify-content: center; align-items: center; }
.spinner-sm { width: 16px; height: 16px; border: 2px solid var(--line-2); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Admin → Payment gateways */
.gw-card .gw-sub { margin: -6px 0 14px; }
.gw-key { display: flex; gap: 8px; align-items: stretch; margin-top: 6px; }
.gw-key input { flex: 1 1 auto; min-width: 0; }
.gw-key .btn { flex: none; }
.gw-help { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.gw-help summary { cursor: pointer; font-weight: 700; color: var(--navy-3); }
.gw-steps { margin: 10px 0 6px; padding-left: 22px; display: grid; gap: 6px; color: var(--ink-2); }
.gw-alert { display: flex; gap: 10px; align-items: flex-start; background: var(--yellow-tint); border: 1px solid #f3dc8a; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 18px; color: #6b4a00; }
.gw-alert svg { flex: none; margin-top: 2px; }
.gw-foot { display: flex; gap: 6px; align-items: center; font-size: .88rem; }
@media (max-width: 560px) { .gw-card .form-actions { flex-direction: column-reverse; } .gw-card .form-actions .btn { width: 100%; justify-content: center; } }
