/* =====================================================================
   WorkUco v3 — "el Valle de noche"
   Se carga después de styles.css: tokens en :root (styles.css), acá los
   componentes nuevos y los que cambian de piel.
   ===================================================================== */

/* ---------- base ---------- */
body { background: var(--cream); }
h1, h2, h3, .display, .display-sm { font-family: var(--font-display); font-optical-sizing: auto; }
h1, h2 { letter-spacing: -.03em; }
::selection { background: var(--lime); color: var(--night); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
input, textarea { caret-color: var(--green); }
a { text-underline-offset: 3px; }
html { scrollbar-color: #b9ad94 var(--cream); }
.lime { color: var(--lime); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header noche ---------- */
.site-header { background: rgba(11, 22, 18, .94); border-bottom: 1px solid rgba(200, 245, 96, .08); backdrop-filter: blur(10px); }
.site-header .brand { color: #fff; }
.site-header .nav-link { color: var(--night-muted); }
.site-header .nav-link:hover, .site-header .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
.site-header .nav-link.is-active { box-shadow: inset 0 -2px 0 var(--lime); border-radius: 8px 8px 2px 2px; }
.site-header .btn-ghost { color: #dbe6df; }
.site-header .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-header .btn-primary { background: var(--lime); color: var(--night); box-shadow: 0 4px 10px rgba(0, 0, 0, .28); }
.site-header .btn-primary:hover { background: #d6fb7c; }
.site-header .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.menu-toggle { color: #fff; }
.mobile-menu { background: var(--night); border-top-color: rgba(255, 255, 255, .08); }
.mobile-menu a { color: #dbe6df; }
.site-header :focus-visible { outline-color: var(--lime); }

/* ---------- botones ---------- */
.btn { border-radius: 12px; font-weight: 650; }
.btn-lime { background: var(--lime); color: var(--night); box-shadow: 0 6px 14px rgba(0, 0, 0, .22); }
.btn-lime:hover { background: #d6fb7c; }
.btn-primary { background: var(--green); }
.btn-night { background: var(--night); color: #fff; }
.btn-night:hover { background: var(--night-2); }
.band-night .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.band-night .btn-outline:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }

/* ---------- bandas ---------- */
.band-night { background: var(--night); color: var(--night-text); }
.band-night h1, .band-night h2, .band-night h3 { color: #fff; }
.band-night .soft-text, .band-night .hero-sub { color: var(--night-muted); }
.band-night :focus-visible { outline-color: var(--lime); }

/* =====================================================================
   HOME
   ===================================================================== */
.vh { position: relative; overflow: hidden; background: var(--night); color: var(--night-text); }
.vh-copy { position: relative; z-index: 2; padding-top: clamp(28px, 4.5vw, 60px); }
.vh-title {
  font: 800 clamp(42px, 6.8vw, 92px)/.94 var(--font-display);
  letter-spacing: -.035em; color: #fff; max-width: 20ch; text-wrap: balance; margin: 0;
}
.nowrap { white-space: nowrap; }
.vh-word { color: var(--lime); display: inline-block; white-space: nowrap; }
.vh-word.is-swapping { animation: word-out .32s var(--ease-out) forwards; }
.vh-word.is-in { animation: word-in .55s var(--ease-out); }
@keyframes word-out { to { opacity: 0; transform: translateY(-.25em); filter: blur(6px); } }
@keyframes word-in { from { opacity: 0; transform: translateY(.3em); filter: blur(6px); } }
.vh-sub { color: var(--night-muted); font-size: clamp(16px, 1.5vw, 18.5px); max-width: 58ch; margin: 18px 0 22px; }
.vh-sub strong { color: #fff; font-weight: 600; }

/* interruptor de rol */
.role-toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px;
  background: var(--night-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 999px; margin-bottom: 16px;
}
.role-toggle button {
  position: relative; z-index: 1; border: 0; background: none; color: var(--night-muted);
  font-weight: 650; font-size: 14.5px; padding: 11px 20px; border-radius: 999px; min-height: 44px;
  display: inline-flex; align-items: center; gap: 8px; justify-content: center; transition: color .3s var(--ease-out);
}
.role-toggle button[aria-pressed="true"] { color: var(--night); }
.role-thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  background: var(--lime); border-radius: 999px; transition: transform .45s var(--ease-out);
}
[data-role="employer"] .role-thumb { transform: translateX(100%); }

/* lo que cambia con el rol */
[data-role="seeker"] [data-for="employer"],
[data-role="employer"] [data-for="seeker"] { display: none !important; }
.role-swap { animation: role-in .5s var(--ease-out); }
@keyframes role-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* buscador */
.vh-search {
  display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 6px; max-width: 760px;
  background: var(--cream); border-radius: 16px; padding: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.vh-search .input { border: 0; background: transparent; min-height: 52px; font-size: 16px; padding-left: 44px; }
.vh-search select.input { padding-left: 14px; border-left: 1px solid var(--line); border-radius: 0; }
.vh-search .field { position: relative; }
.vh-search .field-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.vh-search .btn { min-height: 52px; padding: 0 26px; font-size: 15.5px; }
.vh-hint { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; color: var(--night-muted); font-size: 13.5px; }
.vh-hint a { color: #fff; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 5px 12px; transition: border-color .2s, background .2s; }
.vh-hint a:hover { border-color: var(--lime); background: rgba(200, 245, 96, .08); }
.vh-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vh-actions .btn { min-height: 54px; padding: 0 24px; font-size: 15.5px; }

/* el valle: cordillera + pueblos */
.vh-valley { position: relative; height: clamp(220px, 24vw, 340px); margin-top: clamp(-70px, -4vw, -10px); pointer-events: none; }
.vh-valley .town { pointer-events: auto; }
.vh-valley svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; display: block; }
.ly-far { fill: #17302a; }
.ly-snow { fill: #2a463d; }
.ly-mid { fill: #12261f; }
.ly-floor { fill: var(--cream); }
.town {
  position: absolute; z-index: 2; transform: translate(-50%, 0);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #fff;
}
.town-label {
  background: rgba(11, 22, 18, .88); border: 1px solid rgba(200, 245, 96, .22);
  border-radius: 12px; padding: 7px 12px 8px; line-height: 1.15; white-space: nowrap;
  transition: border-color .25s, transform .35s var(--ease-out);
}
.town-label b { display: block; font: 700 15px/1.2 var(--font-display); letter-spacing: -.01em; }
.town-label small { display: block; color: var(--lime); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.town:hover .town-label, .town:focus-visible .town-label { border-color: var(--lime); transform: translateY(-3px); }
.town-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 245, 96, .18); }
.town-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--lime);
  animation: town-pulse 2.6s var(--ease-out) infinite; animation-delay: var(--d, 0s);
}
@keyframes town-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3); opacity: 0; } }

/* entrada orquestada del hero (único momento de movimiento autoral) */
.vh-enter > * { animation: rise .9s var(--ease-out) both; }
.vh-enter > *:nth-child(2) { animation-delay: .08s; }
.vh-enter > *:nth-child(3) { animation-delay: .16s; }
.vh-enter > *:nth-child(4) { animation-delay: .24s; }
.vh-enter > *:nth-child(5) { animation-delay: .32s; }
.vh-valley .town { animation: town-in .8s var(--ease-out) both; animation-delay: calc(.45s + var(--d, 0s)); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes town-in { from { opacity: 0; transform: translate(-50%, 14px); } }

/* cinta de rubros */
.marquee { background: var(--lime); color: var(--night); overflow: hidden; border-block: 1px solid var(--lime-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a {
  display: inline-flex; align-items: center; gap: 18px; padding: 16px 22px;
  font: 800 clamp(20px, 2.4vw, 30px)/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap;
}
.marquee a::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--night); opacity: .55; }
.marquee a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* encabezados de sección */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-head { margin-bottom: 30px; align-items: flex-end; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -.035em; line-height: 1; max-width: 18ch; }
.section-head p { font-size: 16px; max-width: 54ch; margin-top: 12px; }
.link-arrow { color: var(--green); font-weight: 700; }

/* =====================================================================
   TARJETAS DE EMPLEO
   ===================================================================== */
.jobs-grid { gap: 18px; }
.job-card {
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .2s;
}
.job-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 40px -18px rgba(15, 26, 21, .35); }
.job-cover { height: 118px; background: linear-gradient(160deg, var(--night-3), var(--night)); }
.job-cover-shade { background: linear-gradient(180deg, rgba(11, 22, 18, 0) 35%, rgba(11, 22, 18, .55)); }
.job-card:hover .job-cover.has-img { filter: saturate(1.15); }
.job-title { font: 700 18.5px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.job-foot { border-top-color: var(--line); align-items: flex-end; flex-wrap: wrap; row-gap: 8px; }
.job-foot .job-pay { flex: 1 1 auto; min-width: 0; }
.job-pay b { white-space: nowrap; }
.job-pay b, .job-pay .is-empty { overflow-wrap: anywhere; }
.job-pay { display: flex; flex-direction: column; gap: 2px; }
.job-pay b { font: 700 16px/1.15 var(--font-display); color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.job-pay small { color: var(--muted); font-size: 12px; }
.job-pay .is-empty { color: var(--muted); font-weight: 600; font-family: var(--font); font-size: 13.5px; }
.badge.badge-featured { background: var(--malbec); color: #fff; font-weight: 700; }
.badge.badge-gig { background: var(--night); color: var(--lime); font-weight: 700; }
.badge { background: var(--surface-2); color: #3d4842; font-size: 12.5px; }

.match-pill {
  --pct: 0;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; color: var(--night); border-radius: 999px; padding: 4px 10px 4px 5px;
  background: #e8f7c4; font-variant-numeric: tabular-nums;
}
.match-pill::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: conic-gradient(var(--green) calc(var(--pct) * 1%), rgba(10, 130, 99, .18) 0);
  -webkit-mask: radial-gradient(circle, transparent 4px, #000 4.5px); mask: radial-gradient(circle, transparent 4px, #000 4.5px);
}
.match-pill.is-mid { background: #f6efd6; }
.match-pill.is-low { background: var(--surface-2); color: var(--muted); }
.salary-tag { font: 700 15px/1.2 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }

/* =====================================================================
   CHANGAS
   ===================================================================== */
.gigs-band { background: var(--malbec); color: #f7e9ef; position: relative; overflow: hidden; }
.gigs-band h2 { color: #fff; }
.gigs-band .section-head p { color: #ecc9d8; }
.gigs-band .link-arrow { color: #fff; }
.gigs-band :focus-visible { outline-color: var(--lime); }
.gig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
#home-gigs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.gig-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px;
  background: var(--surface); color: var(--text); border: 1px solid rgba(122, 31, 77, .14);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.gig-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 22px 40px -20px rgba(40, 6, 22, .55); }
.gig-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 6px; }
.gig-when { background: var(--malbec-soft); color: var(--malbec); font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 4px 10px; }
.gig-spots { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.gig-pay { font: 800 clamp(24px, 2.4vw, 30px)/1.05 var(--font-display); letter-spacing: -.03em; color: var(--malbec); font-variant-numeric: tabular-nums; }
.gig-title { font: 700 18px/1.2 var(--font-display); letter-spacing: -.015em; color: var(--ink); margin-top: 4px; }
.gig-company { color: var(--muted); font-size: 13.5px; }
.gig-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.gig-facts dt { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.gig-facts dd { margin: 2px 0 0; font-weight: 650; font-size: 14px; }
.gig-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--malbec); }
.gig-card:hover .gig-cta .icon { transform: translateX(3px); }
.gig-cta .icon { transition: transform .3s var(--ease-out); }

/* página /changas */
.gigs-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 60px); background:
  linear-gradient(180deg, var(--night) 0%, var(--night) 60%, #2a0f20 100%); }
.display { font: 800 clamp(40px, 6.6vw, 88px)/.95 var(--font-display); letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.display-sm { font: 800 clamp(34px, 5vw, 64px)/.98 var(--font-display); letter-spacing: -.03em; }
.gigs-hero .hero-sub { margin: 18px 0 24px; max-width: 54ch; font-size: clamp(16px, 1.5vw, 18px); }
.gig-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter {
  border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; border-radius: 999px;
  padding: 9px 16px; min-height: 42px; font-weight: 600; transition: background .2s, border-color .2s, color .2s;
}
.chip-filter:hover { border-color: var(--lime); }
.chip-filter.is-on { background: var(--lime); color: var(--night); border-color: var(--lime); }

/* =====================================================================
   CÓMO FUNCIONA / PROMESAS
   ===================================================================== */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.promise { padding: 26px 26px 6px 0; }
.promise + .promise { padding-left: 26px; border-left: 1px solid var(--line-strong); }
.promise h3 { font: 800 clamp(22px, 2.3vw, 30px)/1.02 var(--font-display); letter-spacing: -.03em; color: var(--ink); max-width: 14ch; }
.promise p { color: var(--muted); margin-top: 10px; max-width: 38ch; }

.steps-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 70px); align-items: start; }
.steps-split h2 { font-size: clamp(34px, 5vw, 64px); line-height: .98; letter-spacing: -.035em; }
.steps-list { list-style: none; counter-reset: s; display: grid; gap: 0; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.steps-list li:first-child { border-top: 1px solid var(--line-strong); }
.steps-list li::before { content: counter(s); font: 800 34px/1 var(--font-display); color: var(--green); letter-spacing: -.04em; }
.steps-list strong { display: block; font: 700 19px/1.2 var(--font-display); color: var(--ink); }
.steps-list p { color: var(--muted); margin-top: 4px; font-size: 15px; }

/* banda final */
.close-band { background: var(--night); color: var(--night-text); position: relative; overflow: hidden; }
.close-band .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: end; }
.close-band h2 { font: 800 clamp(36px, 5.6vw, 76px)/.95 var(--font-display); letter-spacing: -.035em; color: #fff; max-width: 13ch; }
.close-band p { color: var(--night-muted); max-width: 44ch; margin-bottom: 18px; }
.close-band .ridge { position: absolute; left: 0; right: 0; top: -1px; height: 70px; width: 100%; }

/* empresas */
.company-pill { border-radius: 14px; background: var(--surface); }
.company-pill:hover { border-color: var(--green); background: #fff; }
.response-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650;
  color: #1f5a3f; background: #e3f3e8; border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.response-badge.is-slow { color: #7a4a06; background: #fbf0d6; }

/* =====================================================================
   DETALLE DE OFERTA Y BÚSQUEDA
   ===================================================================== */
.detail-pay { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.detail-pay b { font: 800 clamp(24px, 2.4vw, 30px)/1.05 var(--font-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.detail-pay span { color: var(--muted); font-size: 13px; }
.detail-pay.is-text b { font-size: 18px; letter-spacing: -.01em; }
.match-box { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--bg-warm); border: 1px solid var(--line); }
.match-box.is-guest { font-size: 13.5px; color: var(--muted); }
.match-box.is-guest a { color: var(--green); font-weight: 650; text-decoration: underline; }
.match-why { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.match-why li { display: flex; gap: 7px; align-items: flex-start; font-size: 13.5px; }
.match-why .icon { color: var(--green); margin-top: 3px; }
.match-missing { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.match-missing span { background: var(--surface-2); color: #3d4842; border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.response-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.filter-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.search-page-head h1 { font: 800 clamp(32px, 4.6vw, 56px)/1 var(--font-display); letter-spacing: -.035em; }
.job-row .side { align-items: flex-end; gap: 6px; }
.filter-chip.is-active { background: var(--night); color: #fff; border-color: var(--night); }
.detail-pay b { font-size: clamp(22px, 2vw, 27px); }
.job-row .side .date { margin-right: 40px; }
.job-row .side .job-pay { text-align: right; }

/* =====================================================================
   MI PERFIL
   ===================================================================== */
.visibility-card { border-color: var(--night); box-shadow: 0 0 0 1px var(--night) inset; }
.switch-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { width: 46px; height: 28px; border-radius: 999px; background: var(--surface-3); position: relative; transition: background .25s var(--ease-out); margin-top: 1px; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); transition: transform .3s var(--ease-out); }
.switch-row input:checked + .switch { background: var(--green); }
.switch-row input:checked + .switch::after { transform: translateX(18px); }
.switch-row input:focus-visible + .switch { outline: 2px solid var(--green); outline-offset: 3px; }
.switch-row strong { display: block; font-size: 15px; color: var(--ink); }
.switch-row small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.field-label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; color: var(--ink); }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--bg-warm); border: 1px dashed var(--line-strong); }
.share-row code { flex: 1 1 220px; font-size: 13px; color: var(--green); word-break: break-all; }
.tab-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--lime); color: var(--night); font-size: 11px; font-weight: 800; }
.invite-msg { font-size: 13.5px; color: var(--text); margin-top: 6px; font-style: italic; }
.alert-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--green); flex: 0 0 auto; }
.jobs-grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.profile-main .card + .card { margin-top: 16px; }

/* =====================================================================
   PANEL DE EMPRESA: talento, ficha y wizard
   ===================================================================== */
.talent-toolbar { flex-wrap: wrap; }
.talent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 14px; }
.talent-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .3s var(--ease-out); }
.talent-card:hover { border-color: var(--line-strong); box-shadow: 0 14px 30px -18px rgba(15, 26, 21, .35); }
.talent-top { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.talent-top .match-pill { grid-column: 1 / -1; justify-self: start; }
.talent-id strong { display: block; font: 700 17px/1.2 var(--font-display); color: var(--ink); }
.talent-id span { display: block; font-size: 13.5px; color: var(--text); }
.talent-id small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.talent-about { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.talent-why { font-size: 12.5px; color: var(--green); font-weight: 600; }
.talent-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.talent-foot .muted { font-size: 12.5px; }
.invites-left { font-size: 13px; color: var(--muted); font-weight: 600; }
.quick-wa-list { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-wa-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid #b9e5cd; background: #effaf3; color: #13603f; font-weight: 650; font-size: 13px; transition: background .2s; }
.quick-wa-btn:hover { background: #dcf3e5; }
.drawer-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.tpl-block { margin: 4px 0 18px; }
.tpl-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tpl-card { text-align: left; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 12px; padding: 10px 12px; transition: border-color .2s, background .2s, transform .25s var(--ease-out); }
.tpl-card strong { display: block; font-size: 14px; color: var(--ink); }
.tpl-card small { display: block; font-size: 12px; color: var(--muted); }
.tpl-card:hover { border-color: var(--green); transform: translateY(-2px); }
.tpl-card.is-active { border-color: var(--night); background: var(--night); }
.tpl-card.is-active strong { color: #fff; }
.tpl-card.is-active small { color: var(--night-muted); }
.tpl-card.is-gig { border-color: rgba(122, 31, 77, .35); }
.gig-switch { margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--malbec-soft); }
.gig-fields { margin-top: 10px; }
.salary-grid { display: grid; grid-template-columns: 1fr 1fr 140px; gap: 10px; }
.salary-grid .hint { display: block; margin-bottom: 4px; }
.salary-nudge { margin-top: 8px; font-size: 13px; color: #7a4a06; background: #fbf0d6; border-radius: 10px; padding: 8px 12px; }
@media (max-width: 560px) { .salary-grid { grid-template-columns: 1fr 1fr; } .salary-grid > div:last-child { grid-column: 1 / -1; } }

/* =====================================================================
   CAMPANITA
   ===================================================================== */
.bell-wrap { position: relative; }
.bell {
  position: relative; width: 40px; height: 40px; border-radius: 11px; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: #fff; transition: background .2s;
}
.bell:hover { background: rgba(255, 255, 255, .12); }
.bell-count {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--lime); color: var(--night); font-size: 11px; font-weight: 800; display: grid; place-items: center;
  font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--night);
}
.bell-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(380px, calc(100vw - 24px)); z-index: 60;
  background: var(--surface); color: var(--text); border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px -12px rgba(11, 22, 18, .45); overflow: hidden;
  transform-origin: top right; animation: pop .28s var(--ease-out);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bell-head b { font: 700 16px/1 var(--font-display); }
.bell-list { max-height: min(60vh, 440px); overflow-y: auto; overscroll-behavior: contain; }
.bell-item { display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); transition: background .15s; }
.bell-item:hover { background: var(--bg-warm); }
.bell-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: transparent; }
.bell-item.is-unread::before { background: var(--green); }
.bell-item strong { display: block; font-size: 14px; line-height: 1.3; color: var(--ink); }
.bell-item span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.bell-item time { display: block; font-size: 11.5px; color: #8a8f86; margin-top: 4px; }
.bell-empty { padding: 30px 18px; text-align: center; color: var(--muted); font-size: 14px; }

/* =====================================================================
   PERFIL PÚBLICO
   ===================================================================== */
.pp-hero { padding: clamp(40px, 6vw, 72px) 0; }
.pp-hero-inner { display: flex; gap: clamp(18px, 3vw, 34px); align-items: center; flex-wrap: wrap; }
.pp-photo { width: clamp(104px, 14vw, 156px); height: clamp(104px, 14vw, 156px); border-radius: 50%; object-fit: cover; border: 4px solid var(--lime); flex: 0 0 auto; font-size: 40px; }
.pp-headline { color: #fff; font-size: clamp(17px, 1.8vw, 21px); margin-top: 10px; }
.pp-loc { color: var(--night-muted); display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; background: rgba(200, 245, 96, .12); color: var(--lime); border-radius: 999px; padding: 5px 12px; font-weight: 650; font-size: 13.5px; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.pp-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.pp-block + .pp-block { margin-top: 28px; }
.pp-block h2 { font-size: 24px; margin-bottom: 8px; }
.pp-block p { white-space: pre-line; max-width: 68ch; }
.pp-side h3 { font-size: 16px; margin: 0 0 10px; }
.pp-side h3 + p, .pp-side .chips { margin-bottom: 18px; }
.pp-side .muted { margin-bottom: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); margin-top: 0; }
.footer-brand p, .footer-col a, .footer-bottom { color: var(--night-muted); }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { border-top-color: rgba(255, 255, 255, .08); }

/* ---------- responsive ---------- */
/* el menú completo no entra con 5 links + campanita: hamburguesa antes */
@media (max-width: 1080px) {
  .site-header .main-nav { display: none; }
  .site-header .menu-toggle { display: grid; place-items: center; margin-left: 0; }
  .site-header .header-actions { margin-left: auto; }
  .mobile-menu[hidden] { display: none !important; }
}
/* en el celular la campanita queda siempre a mano; el resto va al menú */
@media (max-width: 760px) {
  .site-header .header-actions { display: flex; }
  .site-header .header-actions > :not(.bell-wrap) { display: none; }
}
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 900px) {
  .steps-split, .close-band .container, .pp-grid { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  .promise, .promise + .promise { padding: 22px 0 6px; border-left: 0; }
  .promise + .promise { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 760px) {
  .vh-search { grid-template-columns: 1fr; }
  .vh-search select.input { border-left: 0; border-top: 1px solid var(--line); }
  .vh-search .btn { width: 100%; }
  .role-toggle { display: grid; width: 100%; }
  .role-toggle button { padding: 11px 10px; font-size: 14px; }
  .town-label { padding: 5px 9px 6px; }
  .town-label b { font-size: 13px; }
  .town-label small { font-size: 11.5px; }
  .vh-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 430px) {
  .town-label { padding: 4px 8px 5px; }
  .town-label small { font-size: 11px; }
  .vh-valley { height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; }
  .town-dot::after { display: none; }
}
@media print {
  .site-header, .site-footer { display: none; }
}

/* ---------- ajustes de la revisión final ---------- */
/* logo de la empresa por encima de la portada en el detalle */
.detail-head .logo-xl { position: relative; z-index: 2; }
/* iniciales sin foto: siempre sobre un disco legible */
.avatar-fallback { background: var(--surface-3); color: var(--green-dark); border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: 0 0 auto; }
.avatar-xs.avatar-fallback { width: 26px; height: 26px; font-size: 10px; }
.site-header .avatar-fallback { background: var(--lime); color: var(--night); }
.talent-top .avatar-fallback { background: var(--night); color: var(--lime); }
/* portada sin fotos: la cordillera en lugar de una losa vacía */
.job-cover:not(.has-img) { background: url('/demo/cover-default.svg') center bottom / cover no-repeat, var(--night); }
/* el interruptor queda debajo del título: más aire arriba que abajo */
.vh-title + .role-toggle { margin-top: clamp(20px, 2.4vw, 30px); margin-bottom: 0; }
.role-toggle + .vh-sub { margin-top: 16px; }
/* en el celular los pueblos tienen que entrar en el primer viewport */
@media (max-width: 430px) {
  .vh-copy { padding-top: 18px; }
  .vh-title { font-size: 44px; }
  .vh-title + .role-toggle { margin-top: 16px; }
  .vh-sub { font-size: 15px; margin: 12px 0 14px; }
  .vh-search { padding: 4px; gap: 2px; }
  .vh-search .input, .vh-search .btn { min-height: 44px; }
  /* "Más buscados" en una sola fila que se desliza */
  .vh-hint { margin-top: 10px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .vh-hint::-webkit-scrollbar { display: none; }
  .vh-hint a, .vh-hint span { padding: 4px 10px; white-space: nowrap; flex: 0 0 auto; }
  .vh-hint span { padding-left: 0; }
  .vh-valley { height: 215px; margin-top: -30px; }
  .demo-strip { font-size: 12px; padding: 5px 12px; }
}
.ds-short { display: none; }
@media (max-width: 560px) { .ds-long { display: none; } .ds-short { display: inline; } }
/* aviso de datos de demostración */
.demo-strip { background: var(--malbec); color: #fbe9f1; font-size: 13px; font-weight: 600; text-align: center; padding: 7px 16px; }

/* =====================================================================
   v4 · AVISOS IMPORTADOS
   ===================================================================== */
.src-tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--malbec); background: var(--malbec-soft); border-radius: 999px; padding: 3px 10px; }
.claim-hint { border-color: rgba(122, 31, 77, .3); }
.unclaimed-note { margin-top: 10px; font-size: 14px; color: var(--malbec); background: var(--malbec-soft); border-radius: 10px; padding: 8px 12px; max-width: 60ch; }
.import-card .form-grid { margin-top: 12px; }
.imp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.imp-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.imp-thumb { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.imp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.imp-thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--night); color: #fff; display: grid; place-items: center; }
.imp-drafts { display: grid; gap: 14px; margin: 14px 0; }
.imp-draft-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.imp-draft-head h3 { font-size: 17px; margin-right: auto; }
.imp-draft-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.imp-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.imp-check { display: flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; }
.imp-row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.imp-removed { margin-top: 12px; }
.claim-hero { padding: clamp(40px, 6vw, 76px) 0; }
.claim-hero .hero-sub { max-width: 62ch; margin: 16px 0 24px; font-size: clamp(16px, 1.5vw, 18px); }
.claim-hero .hero-sub strong { color: var(--lime); }
.claim-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; max-width: 920px; }
.claim-choice { text-align: left; border: 1px solid rgba(255, 255, 255, .18); background: var(--night-2); color: #fff; border-radius: 14px; padding: 16px; transition: border-color .2s, transform .3s var(--ease-out); }
.claim-choice strong { display: block; font: 700 17px/1.2 var(--font-display); }
.claim-choice span { display: block; color: var(--night-muted); font-size: 13.5px; margin-top: 4px; }
.claim-choice:hover { border-color: var(--lime); transform: translateY(-2px); }
.claim-choice.is-main { background: var(--lime); color: var(--night); border-color: var(--lime); }
.claim-choice.is-main span { color: #2c3f12; }
.claim-choice.is-danger:hover { border-color: #f1a7c4; }
.claim-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.claim-grid h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.claim-panel h3 { font-size: 19px; margin-bottom: 8px; }
.claim-panel .field { margin-top: 12px; }
@media (max-width: 900px) { .claim-grid { grid-template-columns: 1fr; } .claim-panel { order: -1; } }

/* ---------- flyers ---------- */
.job-cover.is-flyer { height: 170px; background-position: center top; }
.job-cover.is-flyer .job-cover-shade { background: linear-gradient(180deg, rgba(11, 22, 18, 0) 70%, rgba(11, 22, 18, .35)); }
.detail-flyer { margin: 0; padding: 22px 28px 4px; }
.detail-flyer a { display: block; max-width: 520px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(15, 26, 21, .4); }
.detail-flyer img { width: 100%; height: auto; display: block; }
.detail-flyer figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.flyer-box { border: 1px dashed var(--line-strong); border-radius: 14px; padding: 14px; margin-bottom: 14px; background: var(--bg-warm); }
.flyer-box.has-flyer .flyer-empty .btn { display: none; }
.flyer-preview { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 14px; align-items: start; }
.flyer-preview:empty { display: none; }
.flyer-preview img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.flyer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.flyer-box.has-flyer .flyer-preview { margin-top: 10px; }
.preview-cover.has-flyer { background-size: cover; background-position: center top; height: 180px; }
.imp-draft-flyer { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 560px) { .flyer-preview { grid-template-columns: 1fr; } .detail-flyer { padding: 18px 18px 4px; } }

/* ---------- flyers completos (v4.1) ---------- */
.flyer-frame { position: relative; overflow: hidden; background: var(--night); isolation: isolate; }
.flyer-frame::before { content: ""; position: absolute; inset: -24px; background: var(--flyer-bg) center / cover no-repeat; filter: blur(22px) saturate(1.1) brightness(.75); z-index: -1; }
.flyer-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.job-cover.job-cover-flyer { height: 220px; padding: 0; background: var(--night); }
.job-cover-flyer .flyer-frame { position: absolute; inset: 0; }
.job-cover-flyer .badge { z-index: 2; }
.flyer-more { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(11, 22, 18, .82); color: #fff; font-weight: 700; font-size: 12px; border-radius: 999px; padding: 3px 9px; }
.job-card:hover .job-cover-flyer .flyer-frame img { transform: scale(1.02); }
.job-cover-flyer .flyer-frame img { transition: transform .5s var(--ease-out); }
.detail-flyers { padding: 22px 28px 6px; }
.flyer-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.flyer-rail::-webkit-scrollbar { display: none; }
.flyer-slide { flex: 0 0 100%; scroll-snap-align: start; }
.flyer-slide .flyer-frame { height: clamp(320px, 62vh, 640px); border-radius: 14px; }
.flyer-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.flyer-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line-strong); }
.flyer-dot.is-on { background: var(--green); width: 22px; border-radius: 999px; }
.flyer-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; text-align: center; }
.flyer-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.flyer-thumb { position: relative; margin: 0; width: 96px; height: 128px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--night); }
.flyer-thumb img { width: 100%; height: 100%; object-fit: contain; }
.flyer-thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(11, 22, 18, .85); color: #fff; display: grid; place-items: center; }
.flyer-main { position: absolute; left: 4px; bottom: 4px; background: var(--lime); color: var(--night); font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 1px 7px; }
.flyer-count { margin-left: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.flyer-box.has-flyer .flyer-empty .btn { display: inline-flex; }
.flyer-box.is-full .flyer-empty .btn { display: none; }
.flyer-preview { grid-template-columns: 1fr; }
.preview-flyer { height: 220px; }
@media (max-width: 560px) { .detail-flyers { padding: 18px 16px 4px; } .flyer-slide .flyer-frame { height: 70vh; } }

/* =====================================================================
   MODO FLYERS
   ===================================================================== */
.head-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.search-sort { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.flyers-page { background: var(--night); }
.flyers-page .site-footer { display: none; }
.feed-wrap { position: relative; overflow: hidden; background: var(--night); }
.feed-bg { position: absolute; inset: -40px; background: var(--night) center / cover no-repeat; filter: blur(40px) brightness(.45) saturate(1.1); transition: background-image .4s; }
/* arriba: un solo botón de lugar (izquierda); la compatibilidad va en cada aviso (derecha) */
.feed-top { position: absolute; z-index: 6; top: 12px; left: 50%; transform: translateX(-50%); width: min(460px, 100%); padding: 0 12px; pointer-events: none; }
.feed-top > * { pointer-events: auto; }
/* el nombre de la sección, chiquito y sin caja, como el "Para ti" de las apps de videos */
.feed-brand { display: inline-block; vertical-align: middle; margin-right: 8px; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); pointer-events: none; }
.feed-pill, .fround, .fmatch {
  border: 0; color: #fff; background: rgba(5, 11, 8, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.feed-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 11px; border-radius: 999px; font-weight: 650; font-size: 14px; }
.feed-pill svg { color: var(--lime); }
.feed-menu { margin-top: 8px; display: grid; width: 190px; padding: 6px; border-radius: 16px; background: rgba(11, 22, 18, .92); backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.feed-menu[hidden] { display: none; }
.feed-menu button { text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: #fff; font-weight: 600; font-size: 14.5px; }
.feed-menu button:hover { background: rgba(255, 255, 255, .08); }
.feed-menu button[aria-pressed="true"] { color: var(--lime); }
.feed {
  position: relative; z-index: 1; margin: 0 auto; width: min(460px, 100%);
  overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none;
}
.feed::-webkit-scrollbar { display: none; }
.fslide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #050b08; color: #fff; }
.fslide-media { position: absolute; inset: 0; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.fslide-media img { -webkit-user-drag: none; }
.fslide-flyers { height: 100%; border-radius: 0; }
.fslide-flyers .flyer-slide .flyer-frame { height: 100%; border-radius: 0; }
.fslide-flyers .flyer-slide { height: 100%; }
.fslide-dots { position: absolute; z-index: 3; top: 62px; left: 50%; transform: translateX(-50%); }
.fslide-dots .flyer-dot { background: rgba(255, 255, 255, .45); }
.fslide-dots .flyer-dot.is-on { background: var(--lime); }

/* compatibilidad: abierta explica, cerrada es sólo el anillo con el número */
.fmatch {
  position: absolute; z-index: 4; top: 12px; right: 12px; display: flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 4px 12px 4px 5px; border-radius: 999px; font-size: 14px; text-align: left;
  --tone: var(--lime);
}
.fmatch.is-mid { --tone: #f5c35b; }
.fmatch.is-low { --tone: #b8c4bd; }
.fmatch-ring {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: conic-gradient(var(--tone) calc(var(--pct) * 1%), rgba(255, 255, 255, .18) 0);
  -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px);
}
.fmatch b { font: 800 15px/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--tone); }
.fmatch-text { display: block; max-width: 0; overflow: hidden; opacity: 0; font-weight: 600; font-size: 12.5px; line-height: 1.15; transition: max-width .35s var(--ease-out), opacity .25s; }
.fmatch-text > span { display: block; width: 92px; }
.fmatch[aria-expanded="true"] .fmatch-text { max-width: 92px; opacity: 1; }
.fmatch[aria-expanded="false"] { gap: 6px; }

/* abajo: compartir · título · guardar, y la barra para deslizar */
.fslide-bottom {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 64px 12px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(5, 11, 8, 0), rgba(5, 11, 8, .78) 46%);
}
.fslide-row { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: end; margin-bottom: 12px; }
.fslide-info { min-width: 0; text-align: center; }
.fslide-info h2 { font: 800 clamp(20px, 5vw, 24px)/1.08 var(--font-display); letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.fslide-info p { color: #c9d6ce; font-size: 13.5px; margin-top: 4px; }
.fslide-info strong { color: var(--lime); }
.fround { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: transform .2s var(--ease-out); }
.fround:active { transform: scale(.9); }
.fround.is-on { color: #ff7aa8; }
.fround.is-on svg { fill: currentColor; }
.fswipe {
  --swipe: 0; position: relative; height: 52px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
}
.fswipe.is-drag { cursor: grabbing; }
.fswipe::before { content: ""; position: absolute; inset: 0; background: var(--lime); opacity: calc(var(--swipe) * .9); }
.fswipe-label { position: relative; padding-left: 40px; font-weight: 650; font-size: 14.5px; color: #e7efe9; opacity: calc(1 - var(--swipe) * 1.6); }
.fswipe-knob {
  position: absolute; left: 4px; top: 4px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lime); color: var(--night); touch-action: none; cursor: grab;
  -webkit-user-drag: none;
  transition: transform .35s var(--ease-out);
}
.fswipe.is-drag .fswipe-knob { transition: none; cursor: grabbing; }
.fswipe.is-done .fswipe-knob { background: var(--night); color: var(--lime); }
.fswipe.is-hint .fswipe-knob { animation: swipe-hint .7s var(--ease-out); }
@keyframes swipe-hint { 40% { transform: translateX(46px); } 100% { transform: translateX(0); } }
.fslide :focus-visible, .feed-pill:focus-visible, .feed-menu button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* mantener apretado: sólo el flyer */
.fmatch, .fslide-bottom, .fslide-dots, .feed-top { transition: opacity .2s; }
.feed.is-peek .fmatch, .feed.is-peek .fslide-bottom, .feed.is-peek .fslide-dots, .feed-wrap.is-peek .feed-top { opacity: 0; pointer-events: none; }

.fgen { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 70px 26px 170px; background: radial-gradient(120% 70% at 20% 10%, #1b3229, var(--night) 60%); overflow: hidden; }
.fgen-tag { align-self: flex-start; background: var(--malbec); color: #fff; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 5px 12px; }
.fgen-title { font: 800 clamp(34px, 9vw, 48px)/.98 var(--font-display); letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.fgen-co { color: var(--night-muted); font-size: 17px; }
.fgen-pay { font: 800 26px/1.1 var(--font-display); color: var(--lime); font-variant-numeric: tabular-nums; }
.fgen-meta { color: #d7e3db; font-size: 15px; }
.fgen-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; }
.fslide-msg { display: grid; place-items: center; text-align: center; padding: 30px; background: var(--night); }
.fslide-msg h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.fslide-msg p { color: var(--night-muted); margin-bottom: 18px; }
.fslide-loading .skeleton { position: absolute; inset: 0; border-radius: 0; opacity: .15; }
@media (min-width: 900px) {
  .feed { box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
}
@media (prefers-reduced-motion: reduce) {
  .feed-bg, .fround, .fswipe-knob, .fmatch-text, .fmatch, .fslide-bottom, .fslide-dots, .feed-top { transition: none; }
  .fswipe.is-hint .fswipe-knob { animation: none; }
}

/* =====================================================================
   ANIMACIÓN DE INICIO (una vez por visita) Y DESLIZAMIENTOS SUAVES
   ===================================================================== */
:root { --ease-in-out: cubic-bezier(.77, 0, .175, 1); }
.wk-intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--night); color: var(--cream); transition: opacity .34s var(--ease-out);
}
.wk-intro[hidden] { display: none; }
.wk-intro.is-out { opacity: 0; pointer-events: none; }
.wk-intro-word { font: 800 clamp(58px, 16vw, 112px)/1 var(--font-display); letter-spacing: -.045em; white-space: nowrap; }
/* la W del logo mide lo mismo que una mayúscula y se apoya en la línea de base */
.wk-intro-w { display: inline-block; width: 1.036em; height: .888em; vertical-align: baseline; overflow: visible; margin-right: -.03em; }
.wk-intro-w path {
  fill: none; stroke: currentColor; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0;
  animation: wk-draw .62s var(--ease-in-out) .1s forwards;
}
.wk-intro-w circle { fill: var(--lime); transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.6); animation: wk-pop .28s var(--ease-out) .58s forwards; }
.wk-intro-rest { display: inline-block; clip-path: inset(-.2em 100% -.3em 0); transform: translateX(-.14em); animation: wk-rest .52s var(--ease-out) .72s forwards; }
.wk-intro-rest b { color: var(--lime); font-weight: inherit; }
@keyframes wk-draw { 0% { opacity: 1; } 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes wk-pop { to { opacity: 1; transform: scale(1); } }
@keyframes wk-rest { to { clip-path: inset(-.2em -.1em -.3em 0); transform: translateX(0); } }

.reveal-ready .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .48s var(--ease-out), transform .48s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }

/* menú del celular: baja apenas al abrirse (al cerrarse se va sin animación) */
.mobile-menu:not([hidden]) { animation: menu-in .22s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { transform: none; transition: opacity .3s ease; }
  .mobile-menu:not([hidden]) { animation: none; }
}

/* =====================================================================
   LEGAL: consentimiento, leyenda AAIP, tus datos, avisos discriminatorios
   ===================================================================== */
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--text); cursor: pointer; }
.check-row input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.check-row a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal-note { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.legal-note a { color: inherit; text-decoration: underline; }
.footer-legal { padding-top: 14px; padding-bottom: 22px; display: grid; gap: 8px; }
.footer-legal p { margin: 0; font-size: 11.5px; line-height: 1.55; color: var(--night-muted); opacity: .85; max-width: 1000px; }
.account-data { margin-top: 18px; }
.account-data h2 { font-size: 20px; margin-bottom: 4px; }
.account-data-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn-danger-text { color: var(--red); }
.baja-form { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--red-soft); }
.baja-form p { margin: 0 0 10px; color: var(--red); }
.legal-hints { margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: var(--amber-soft); color: #6b4506; font-size: 14px; line-height: 1.45; }
.legal-hints ul { margin: 6px 0; padding-left: 18px; }
.legal-hints small { color: #6b4506; opacity: .85; }
.legal-flag { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--amber); }

/* WorkUco: "Uco" con el acento de la marca (lima sobre noche, verde sobre claro) */
.brand-name b, .auth-logo b { font-weight: inherit; }
.brand-name b { color: var(--lime); }
.auth-logo b { color: var(--green); }

/* =====================================================================
   404
   ===================================================================== */
.nf { position: relative; overflow: hidden; background: var(--night); color: #fff; min-height: 70vh; display: grid; align-items: center; }
.nf-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 150px; max-width: 760px; }
.nf-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 140px; z-index: -1; }
.nf-code { font: 800 clamp(72px, 18vw, 140px)/.9 var(--font-display); letter-spacing: -.05em; color: var(--lime); }
.nf h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.05; letter-spacing: -.03em; margin: 12px 0; text-wrap: balance; color: #fff; }
.nf-text { color: var(--night-muted); font-size: 17px; max-width: 540px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.nf-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }

/* =====================================================================
   CONTRASEÑA Y AVISOS POR MAIL
   ===================================================================== */
.forgot-link { display: inline-block; margin-top: 8px; font-size: 13.5px; color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.reset-card { width: 100%; max-width: 460px; margin: 40px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); margin-bottom: 14px; }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-opt span { display: block; text-align: center; padding: 9px 8px; border-radius: 9px; font-weight: 650; font-size: 14px; color: var(--muted); }
.seg-opt input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.account-mail { margin-top: 12px; }
.pass-form { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--surface-2); }

/* =====================================================================
   GUÍA DEL VALLE
   ===================================================================== */
.btn-wa { background: #1f9d55; color: #fff; border-color: #1f9d55; }
.btn-wa:hover { background: #188546; border-color: #188546; color: #fff; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted); margin: 18px 0 14px; }
.breadcrumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* encabezado de /guia */
.guia-hero { background: radial-gradient(120% 120% at 10% 0%, var(--night-3), var(--night) 60%); color: #fff; padding: 46px 0 0; }
.guia-hero .eyebrow { color: var(--lime); background: rgba(200, 245, 96, .12); }
.guia-hero h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1; letter-spacing: -.035em; margin: 10px 0 12px; color: #fff; text-wrap: balance; }
.guia-lead { color: var(--night-muted); font-size: 17px; max-width: 620px; }
.guia-search { display: grid; grid-template-columns: 1fr 190px auto; gap: 8px; margin-top: 22px; max-width: 760px; }
.guia-search-q { position: relative; }
.guia-search-q .field-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; }
.guia-search-q .input { padding-left: 42px; }
.guia-search .input { height: 50px; }
.guia-tabs { display: flex; gap: 6px; margin-top: 26px; overflow-x: auto; scrollbar-width: none; }
.guia-tabs::-webkit-scrollbar { display: none; }
.guia-tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px 14px; border: 0;
  border-radius: 14px 14px 0 0; background: rgba(255, 255, 255, .06); color: #dbe6df; font-weight: 700; font-size: 15px;
  transition: background .2s, color .2s;
}
.guia-tab:hover { background: rgba(255, 255, 255, .12); }
.guia-tab.is-active { background: var(--cream); color: var(--night); }
.guia-tab.is-active .icon { color: var(--green); }
.guia-body { padding-top: 22px; padding-bottom: 60px; }
.guia-filters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.guia-open { font-weight: 650; }

/* tarjeta de ficha */
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.place-card {
  position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .2s;
}
@media (hover: hover) and (pointer: fine) {
  .place-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 40px -18px rgba(15, 26, 21, .35); }
}
.place-cover { position: relative; display: block; height: 150px; background: var(--night); }
.place-cover .flyer-frame, .place-cover .place-ph { height: 100%; border-radius: 0; }
.place-feat { position: absolute; top: 10px; left: 10px; }
.place-body { padding: 14px 16px 10px; display: grid; gap: 4px; flex: 1; }
.place-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--green-dark); }
.place-name { font: 700 18px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); overflow-wrap: anywhere; }
.place-name a { color: inherit; }
.place-name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.place-loc { color: var(--muted); font-size: 13.5px; }
.place-open { font-size: 13px; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.place-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.place-open.is-open { color: #1f8a4c; }
.place-open.is-closed { color: var(--muted); }
.place-open.is-turno { color: var(--amber); }
.place-wa { position: relative; z-index: 1; margin: 4px 16px 16px; align-self: flex-start; }

/* sin foto: inicial sobre la cordillera, con el color de la sección */
.place-ph { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, var(--night-3), var(--night)); }
.place-ph.is-oficios { background: linear-gradient(160deg, #1d4d3c, #0b1612); }
.place-ph.is-servicios { background: linear-gradient(160deg, #23384a, #0b1612); }
.place-ph.is-salidas { background: linear-gradient(160deg, var(--malbec), #1a0b13); }
.place-ph.is-comida { background: linear-gradient(160deg, #5c4a12, #14110a); }
.place-ph-letter { position: relative; z-index: 1; font: 800 64px/1 var(--font-display); color: rgba(255, 255, 255, .9); letter-spacing: -.04em; }
.place-ph-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; }

.guia-empty { grid-column: 1 / -1; }
.guia-cta {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding: 26px 28px; border-radius: 20px; background: var(--night); color: #fff;
}
.guia-cta h2 { color: #fff; font-size: 24px; letter-spacing: -.02em; }
.guia-cta p { color: var(--night-muted); margin-top: 4px; }

/* banda de la portada */
.guia-band { background: var(--cream-2); }
.guia-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.guia-tile {
  display: grid; gap: 4px; padding: 18px; border-radius: 16px; color: #fff; min-height: 120px; align-content: end;
  transition: transform .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .guia-tile:hover { transform: translateY(-3px); } }
.guia-tile .icon { color: var(--lime); margin-bottom: auto; }
.guia-tile strong { font: 800 20px/1.1 var(--font-display); letter-spacing: -.02em; }
.guia-tile small { color: rgba(255, 255, 255, .72); font-size: 12.5px; }
.guia-tile.is-oficios { background: linear-gradient(160deg, #1d4d3c, var(--night)); }
.guia-tile.is-servicios { background: linear-gradient(160deg, #23384a, var(--night)); }
.guia-tile.is-salidas { background: linear-gradient(160deg, var(--malbec), #1a0b13); }
.guia-tile.is-comida { background: linear-gradient(160deg, #5c4a12, #14110a); }
.guia-home-empty { color: var(--muted); }

/* ficha */
.ficha { padding-bottom: 90px; }
.ficha-owner, .ficha-claim { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; margin-bottom: 14px; font-size: 14.5px; }
.ficha-owner { background: var(--green-soft); color: var(--green-dark); }
.ficha-claim { background: var(--amber-soft); color: #6b4506; margin-top: 18px; }
.ficha-claim .icon { flex: 0 0 auto; margin-top: 2px; }
.ficha-claim p, .ficha-owner { min-width: 0; overflow-wrap: anywhere; }
.ficha-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ficha-media { position: relative; }
.ficha-rail .flyer-frame, .ficha-ph .place-ph { height: clamp(260px, 42vw, 420px); border-radius: 18px; }
.ficha-ph .place-ph-letter { font-size: 110px; }
.ficha-info { display: grid; gap: 10px; align-content: start; }
.ficha-info .badge { justify-self: start; }
.ficha-name { font-size: clamp(30px, 5vw, 44px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
.ficha-loc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); }
.ficha-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ficha-links { font-size: 14.5px; }
.ficha-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; margin-top: 30px; }
.ficha-block h2 { font-size: 20px; margin-bottom: 10px; }
.ficha-block .prose { white-space: pre-line; overflow-wrap: anywhere; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours-table th, .hours-table td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.hours-table th { font-weight: 600; color: var(--muted); width: 45%; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--ink); font-weight: 700; }
.hours-table small { color: var(--green); font-weight: 700; }
.hours-mode { font-weight: 600; }
.ficha-sticky { display: none; }

/* reclamar ficha */
.claim-place { padding-top: 28px; padding-bottom: 60px; }
.claim-place-head h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.03em; margin: 8px 0; }
.claim-place-head .sub { max-width: 640px; color: var(--muted); }
.claim-place-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; margin-top: 22px; align-items: start; }
.claim-place-actions h2 { font-size: 20px; margin-bottom: 8px; }
.claim-sep { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

@media (max-width: 860px) {
  .ficha-grid, .ficha-cols, .claim-place-grid { grid-template-columns: 1fr; }
  .guia-tiles { grid-template-columns: repeat(2, 1fr); }
  .ficha-actions .btn-wa { display: none; }
  .ficha-sticky {
    display: flex; gap: 8px; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  .ficha-sticky .btn { flex: 1; justify-content: center; }
}
@media (max-width: 600px) {
  .guia-search { grid-template-columns: 1fr; }
  .guia-hero { padding-top: 32px; }
  .guia-cta { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .place-card, .guia-tile, .guia-tab { transition: none; }
}

/* ---------- editores de fichas ---------- */
.place-editor h2 { font-size: 22px; margin-bottom: 4px; }
.place-editor .form-grid { margin-top: 14px; }
.place-editor .check-row { align-items: center; }
.pe-count { display: block; text-align: right; font-size: 12px; color: var(--muted); margin-top: 4px; }
.pe-hours { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 16px 0; min-width: 0; }
.pe-hours legend { font-weight: 700; padding: 0 6px; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.pe-day { display: grid; grid-template-columns: 92px 1fr 1fr; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.pe-day-name { font-weight: 600; font-size: 14px; }
.pe-range { display: flex; gap: 6px; align-items: center; min-width: 0; }
.pe-range span { color: var(--muted); font-size: 13px; }
.pe-range .input { min-width: 0; padding: 8px 6px; height: 40px; }
.pe-range-2 .input { opacity: .8; }
.pe-photo-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.pe-photo { position: relative; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.pe-photo img { width: 100%; height: 100%; object-fit: cover; }
.pe-cover { position: absolute; left: 6px; bottom: 6px; background: var(--lime); color: var(--night); font-size: 11px; font-weight: 800; border-radius: 99px; padding: 2px 7px; }
.pe-ph-btn { position: absolute; top: 5px; left: 5px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(11, 22, 18, .72); color: #fff; font-size: 13px; }
.pe-ph-del { left: auto; right: 5px; }
.pe-consent { margin: 8px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--amber-soft); }
.input-sm { height: 34px; padding: 4px 8px; font-size: 13px; width: auto; }

/* "Mis servicios" y panel */
.my-places-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.my-places-head h2 { font-size: 22px; }
.my-place { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px; margin-bottom: 12px; }
.my-place-media .flyer-frame, .my-place-media .place-ph { height: 120px; border-radius: 12px; }
.my-place-media .place-ph-letter { font-size: 44px; }
.my-place-body { display: grid; gap: 4px; min-width: 0; }
.my-place-body h3 { font: 700 18px/1.2 var(--font-display); overflow-wrap: anywhere; }
.my-place-top { display: flex; gap: 6px; flex-wrap: wrap; }
.my-place-stats { font-size: 13.5px; color: var(--text); }
.my-place-stats span { color: var(--muted); margin: 0 4px; }
.my-place-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.my-places-empty { text-align: center; }
.my-places-empty .icon { display: block; margin: 0 auto 8px; color: var(--green); }
/* en el panel de empresa el título ya está arriba: queda sólo el botón */
#company-places .my-places-head > div { display: none; }
#company-places .my-places-head { justify-content: flex-end; }
.place-status.is-approved { background: var(--green-soft); color: var(--green-dark); }
.place-status.is-pending { background: var(--amber-soft); color: var(--amber); }
.place-status.is-rejected { background: var(--red-soft); color: var(--red); }
.place-status.is-hidden { background: var(--surface-2); color: var(--muted); }

/* admin */
.admin-places-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.adm-created { margin-bottom: 12px; overflow-wrap: anywhere; }
.adm-claim code, .adm-created code { font-size: 11.5px; word-break: break-all; }

@media (max-width: 600px) {
  .pe-day { grid-template-columns: 1fr; gap: 6px; }
  .pe-range .input { flex: 1; }
  .my-place { grid-template-columns: 1fr; }
  .my-place-media .flyer-frame, .my-place-media .place-ph { height: 150px; }
}

/* ---------- preferencias y avisos por mail ---------- */
.prefs-card h2 { font-size: 22px; margin-bottom: 4px; }
.prefs-group { margin-top: 20px; }
.prefs-group h3 { font-size: 16px; margin-bottom: 2px; }
.prefs-group .filter-chips { margin-top: 8px; }
.prefs-note { margin-top: 18px; }
.prefs-card + .account-data, [data-panel="prefs"] .account-data { margin-top: 16px; }
fieldset.account-mail { border: 0; padding: 0; margin: 14px 0 4px; display: grid; gap: 8px; min-width: 0; }
fieldset.account-mail legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
fieldset.account-mail legend small { font-weight: 500; color: var(--muted); }

/* ---------- arreglos en el celular (vistos al capturar el video) ---------- */
/* la columna de texto del aviso no puede ensanchar la tarjeta: el título se corta en líneas */
.job-row-info, .job-row .side { min-width: 0; }
.job-row-info .job-title { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  /* compatibilidad y fecha bajan de línea en vez de quedar debajo del corazón de Guardar */
  .job-row .side { flex-wrap: wrap; row-gap: 8px; padding-right: 44px; }
  .job-row .side .date { margin-right: 0; }
  /* el panel de novedades ocupa el ancho de la pantalla y no se sale por la izquierda */
  .bell-panel { position: fixed; left: 12px; right: 12px; top: 68px; width: auto; }
}

/* ---------- Soluciones para empresas (panel) ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sol-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 18px; border-radius: 18px; background: #fff; border: 2px solid var(--line, #e6e1d3); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sol-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,22,18,.08); }
.sol-card input { position: absolute; opacity: 0; pointer-events: none; }
.sol-card:focus-within { outline: 3px solid var(--lime); outline-offset: 2px; }
.sol-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--night); }
.sol-desc { font-size: 14.5px; line-height: 1.45; color: var(--muted, #5b635c); }
.sol-pick { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: #f1ede2; font-weight: 700; font-size: 13.5px; color: var(--night); }
.sol-pick svg { opacity: .25; }
.sol-card.is-on { border-color: var(--green); box-shadow: 0 10px 26px rgba(10,130,99,.12); }
.sol-card.is-on .sol-pick { background: var(--lime); }
.sol-card.is-on .sol-pick svg { opacity: 1; }
.sol-foot { margin-top: 18px; display: grid; gap: 14px; }
.sol-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sol-state { margin: 0; }
@media (max-width: 900px) { .sol-grid { grid-template-columns: 1fr; } }
