/*
 * WhereToEarn — Home v3.1.1 (header alignment)
 * Loaded only by index.html. All selectors are scoped to body.page-home so
 * city, state and profession templates continue using style.css unchanged.
 */

body.page-home {
  --home-ink: #1f292b;
  --home-ink-deep: #131b1d;
  --home-gold: #c89b42;
  --home-gold-light: #efd597;
  --home-cream: #f3eadb;
  --home-paper: #fbfaf7;
  --home-border: rgba(31, 41, 43, 0.13);
  --home-shadow: 0 24px 70px rgba(27, 38, 40, 0.13);
  overflow-x: clip;
  background:
    radial-gradient(circle at 88% 33%, rgba(200, 155, 66, 0.08), transparent 25%),
    var(--color-bg);
}

.page-home .skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.page-home .skip-link:focus { transform: translateY(0); }

/* Header: light, durable and visually aligned with the footer. */
.page-home header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid #e7e1d8;
  box-shadow: none;
  backdrop-filter: blur(12px) saturate(1.04);
}

.page-home header.site.is-scrolled {
  box-shadow: 0 7px 22px rgba(31, 41, 43, 0.07);
}

.page-home header.site .wrap-header {
  min-height: 68px;
  padding: 10px 24px;
}

.page-home header.site .logo {
  position: relative;
  z-index: 1;
  color: var(--home-ink);
}

.page-home header.site .logo-img { height: 34px; }

.page-home .logo-halo {
  position: absolute;
  left: -12px;
  top: 50%;
  z-index: -1;
  width: 138px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.72), rgba(255,255,255,0.24) 48%, transparent 72%);
  filter: blur(2px);
  transform: translateY(-50%);
  pointer-events: none;
}

.page-home .home-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.25vw, 30px);
}

.page-home .home-nav a {
  position: relative;
  color: rgba(31, 41, 43, 0.72);
  font-size: 12.5px;
  font-weight: 680;
  text-decoration: none;
  transition: color 180ms ease;
}

.page-home .home-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--home-gold);
  transition: right 180ms ease;
}

.page-home .home-nav a:hover,
.page-home .home-nav a:focus-visible { color: var(--home-ink); }
.page-home .home-nav a:hover::after,
.page-home .home-nav a:focus-visible::after { right: 0; }

.page-home .header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(31,41,43,0.18);
  border-radius: 8px;
  background: var(--home-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.page-home .header-cta:hover {
  background: #101718;
  box-shadow: 0 9px 22px rgba(31,41,43,0.16);
  transform: translateY(-1px);
}

.page-home .header-cta i { font-size: 10px; }

.page-home .nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(31,41,43,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
}

.page-home .nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--home-ink);
  transition: transform 180ms ease;
}

.page-home .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.page-home .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.page-home .mobile-navigation {
  padding: 8px 18px 18px;
  border-top: 1px solid rgba(31,41,43,0.1);
  background: #faf8f3;
}

.page-home .mobile-navigation[hidden] { display: none; }
.page-home .mobile-navigation a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(31,41,43,0.09);
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}

/* Hero: stable two-column composition with the map as a true background. */
.page-home .hero-band.hero-home {
  position: relative;
  min-height: clamp(650px, 78vh, 790px);
  display: grid;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: clamp(74px, 8vw, 104px) 0 clamp(100px, 10vw, 132px);
  border-bottom: 0;
  background:
    radial-gradient(circle at 76% 35%, rgba(48, 94, 106, 0.32), transparent 31%),
    radial-gradient(circle at 52% 108%, rgba(200, 155, 66, 0.18), transparent 37%),
    linear-gradient(135deg, #162023 0%, #223034 54%, #11191b 100%);
  color: #fff;
  isolation: isolate;
}

.page-home .hero-band.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.29;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 17%, #000 80%, transparent);
}

.page-home .hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.page-home .hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(239,213,151,0.11);
  border-radius: 50%;
  pointer-events: none;
}
.page-home .hero-orbit--one { width: 540px; height: 540px; right: -160px; top: -210px; }
.page-home .hero-orbit--two { width: 390px; height: 390px; right: 19%; bottom: -300px; }

.page-home .hero-band .mapa-fondo-home {
  position: absolute;
  inset: 2% -14% -4% 35%;
  z-index: 0;
  width: auto;
  opacity: 0.68;
  pointer-events: none;
  transform: translate3d(var(--map-x, 0), var(--map-y, 0), 0) scale(1.02);
  transform-origin: center right;
  filter: drop-shadow(0 0 36px rgba(68,112,124,0.17));
  transition: transform 220ms ease-out, opacity 220ms ease;
}

.page-home .hero-band .mapa-fondo-home svg { overflow: visible; }
.page-home .estado-mapa-home {
  fill: rgba(255,255,255,0.035) !important;
  stroke: rgba(235,227,212,0.23) !important;
  stroke-width: 0.72 !important;
  vector-effect: non-scaling-stroke;
  transition: fill 650ms ease, stroke 650ms ease, filter 650ms ease, opacity 650ms ease;
}
.page-home .estado-mapa-home.is-active {
  fill: rgba(200,155,66,0.64) !important;
  stroke: rgba(255,223,145,0.98) !important;
  filter: drop-shadow(0 0 7px rgba(239,213,151,0.75)) drop-shadow(0 0 18px rgba(200,155,66,0.52));
  animation: homeMapStatePulse 2.6s ease-in-out infinite;
}
.page-home .mapa-fondo-home.map-pulse { animation: homeMapBreath 900ms ease-out; }

@keyframes homeMapStatePulse { 0%,100%{opacity:.82} 50%{opacity:1} }
@keyframes homeMapBreath {
  0% { filter: drop-shadow(0 0 20px rgba(68,112,124,.1)); }
  50% { filter: drop-shadow(0 0 48px rgba(200,155,66,.24)); }
  100% { filter: drop-shadow(0 0 36px rgba(68,112,124,.17)); }
}

.page-home .hero-band .contenido-hero {
  position: relative;
  z-index: 3;
  width: min(1220px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .76fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  margin: 0 auto;
  padding: 0;
}

.page-home .hero-copy {
  min-width: 0;
  animation: heroCopyIn 760ms cubic-bezier(.2,.75,.25,1) both;
}
@keyframes heroCopyIn { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }

.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--home-gold-light);
  font-size: 11px;
  font-weight: 730;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.page-home .hero-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--home-gold);
  box-shadow: 0 0 0 0 rgba(200,155,66,.52);
  animation: liveDot 2.1s ease-out infinite;
}
@keyframes liveDot { 70%{box-shadow:0 0 0 9px rgba(200,155,66,0)} 100%{box-shadow:0 0 0 0 rgba(200,155,66,0)} }

.page-home .hero-band h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.35vw, 74px);
  font-weight: 690;
  line-height: .99;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.page-home .hero-band h1 strong { display: block; color: var(--home-cream); font-weight: 690; }
.page-home .hero-lede {
  max-width: 670px;
  margin: 25px 0 0;
  color: rgba(239,237,229,.72);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.68;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}
.page-home .hero-primary,
.page-home .hero-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.page-home .hero-primary { border: 1px solid var(--home-gold); background: var(--home-gold); color: #172023; }
.page-home .hero-secondary { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.055); color: rgba(255,255,255,.82); backdrop-filter: blur(10px); }
.page-home .hero-primary:hover,
.page-home .hero-secondary:hover { transform: translateY(-2px); }
.page-home .hero-secondary:hover { border-color: rgba(239,213,151,.62); background: rgba(255,255,255,.09); }

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 22px;
  color: rgba(255,255,255,.58);
  font-size: 10.5px;
  font-weight: 610;
}
.page-home .hero-meta span { display: inline-flex; align-items: center; gap: 5px; }
.page-home .hero-meta strong { color: rgba(255,255,255,.9); font-weight: 780; }

.page-home .hero-live-panel {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(239,213,151,.19);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  box-shadow: 0 32px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(17px) saturate(1.05);
}
.page-home .hero-live-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 10px;
  pointer-events: none;
}
.page-home .hero-live-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.58);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.page-home .hero-live-head i { margin-right: 7px; color: var(--home-gold-light); }
.page-home .live-badge { display: inline-flex; align-items: center; gap: 6px; }
.page-home .live-badge > span { width: 6px; height: 6px; border-radius: 50%; background: #9ee0b9; box-shadow: 0 0 10px rgba(158,224,185,.65); }

.page-home .hero-live-panel .ticker {
  position: relative;
  min-height: 112px;
  margin: 27px 0 13px;
  color: #fff;
}
.page-home .ticker-item {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-areas: "profession salary" "place salary";
  gap: 5px 16px;
  align-items: center;
  opacity: 1;
  animation: tickerStoryIn 520ms cubic-bezier(.2,.75,.25,1) both;
}
@keyframes tickerStoryIn { from{opacity:0;transform:translateY(13px);filter:blur(4px)} to{opacity:1;transform:none;filter:none} }
.page-home .ticker-profession {
  grid-area: profession;
  overflow: hidden;
  color: #fff;
  font-size: clamp(15px,1.35vw,18px);
  font-weight: 760;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-home .ticker-place { grid-area: place; color: rgba(255,255,255,.62); font-size: 11.5px; }
.page-home .ticker-place i { margin-right: 6px; color: var(--home-gold-light); }
.page-home .ticker-salary { grid-area: salary; color: var(--home-gold-light); font-size: clamp(25px,2.45vw,36px); line-height:1; letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
.page-home .ticker-salary small { margin-left:4px; color:rgba(255,255,255,.52); font-size:10px; letter-spacing:0; }
.page-home .ticker-progress { height:2px; overflow:hidden; background:rgba(255,255,255,.09); }
.page-home .ticker-progress span { display:block; width:100%; height:100%; transform-origin:left; background:var(--home-gold); animation:tickerProgress 4.2s linear forwards; }
@keyframes tickerProgress { from{transform:scaleX(0)} to{transform:scaleX(1)} }

.page-home .hero-live-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background: rgba(255,255,255,.09);
}
.page-home .hero-live-metrics > div { min-width:0; padding:12px 10px; background:rgba(19,27,29,.68); }
.page-home .hero-live-metrics small,
.page-home .hero-live-metrics strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.page-home .hero-live-metrics small { color:rgba(255,255,255,.42); font-size:8px; font-weight:760; letter-spacing:.055em; text-transform:uppercase; }
.page-home .hero-live-metrics strong { margin-top:5px; color:rgba(255,255,255,.84); font-size:10px; }
.page-home .hero-live-note { display:flex; gap:8px; margin:16px 0 0; color:rgba(255,255,255,.47); font-size:9.5px; line-height:1.5; }
.page-home .hero-live-note i { margin-top:2px; color:var(--home-gold-light); }

/* Structural foundations intentionally live here, not in the shared stylesheet. */
.page-home .search-box-float { position:relative; z-index:2; }
.page-home .quick-starts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  color: var(--color-text-muted);
  font-size: 10.5px;
}
.page-home .quick-starts > span { margin-right:2px; font-weight:760; text-transform:uppercase; letter-spacing:.055em; }
.page-home .quick-starts button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(31,41,43,.12);
  border-radius: 999px;
  background: rgba(243,239,231,.72);
  color: var(--home-ink);
  font: 650 10.5px/1 Inter,system-ui,sans-serif;
  cursor: pointer;
  transition: background 160ms ease,border-color 160ms ease,transform 160ms ease;
}
.page-home .quick-starts button:hover { border-color:rgba(200,155,66,.58); background:#fff; transform:translateY(-1px); }
.page-home .home-search-field label span { margin-right:7px; color:#9a772f; }
.page-home .home-search-field label small { margin-left:5px; color:var(--color-text-muted); font-size:9px; font-weight:600; text-transform:none; letter-spacing:0; }

.page-home .proof-label {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:15px;
  color:var(--color-text-soft);
  font-size:10px;
  font-weight:800;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.page-home .proof-label span { width:30px; height:1px; background:var(--home-gold); }
.page-home .home-proof .trust-strip a {
  min-height:30px;
  display:inline-flex;
  align-items:center;
  padding:0 12px;
  border:1px solid rgba(31,41,43,.1);
  border-radius:999px;
  background:rgba(255,255,255,.58);
  color:var(--color-text-muted);
  font-size:10px;
  font-weight:650;
  text-decoration:none;
  white-space:nowrap;
}
.page-home .home-proof .trust-strip a:hover { border-color:rgba(200,155,66,.52); color:var(--home-ink); }

.page-home .home-section-heading--centered {
  display:block;
  max-width:820px;
  margin-inline:auto;
  text-align:center;
}
.page-home .home-section-heading--centered p { margin-inline:auto; }
.page-home .intent-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.page-home .intent-card {
  position:relative;
  min-height:270px;
  display:flex;
  flex-direction:column;
  padding:25px;
  overflow:hidden;
  border:1px solid var(--home-border);
  border-radius:14px;
  background:#fff;
  color:var(--home-ink);
  text-decoration:none;
  transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
}
.page-home .intent-card:hover { transform:translateY(-5px); border-color:rgba(200,155,66,.48); box-shadow:0 20px 45px rgba(31,41,43,.1); }
.page-home .intent-card > i { width:44px;height:44px;display:grid;place-items:center;margin-top:22px;border-radius:11px;background:var(--home-paper);color:#8b6927; }
.page-home .intent-card h3 { margin:19px 0 8px; font-size:20px; line-height:1.2; }
.page-home .intent-card p { margin:0;color:var(--color-text-muted);font-size:12px;line-height:1.65; }
.page-home .intent-index { position:absolute;top:18px;right:20px;color:rgba(31,41,43,.28);font-size:11px;font-weight:800; }
.page-home .intent-link { display:inline-flex;align-items:center;gap:9px;margin-top:auto;padding-top:20px;color:#816222;font-size:11px;font-weight:760; }
.page-home .intent-card--dark { background:var(--home-ink);border-color:var(--home-ink);color:#fff; }
.page-home .intent-card--dark > i { background:rgba(255,255,255,.08);color:var(--home-gold-light); }
.page-home .intent-card--dark h3 { color:#fff; }
.page-home .intent-card--dark p { color:rgba(255,255,255,.62); }
.page-home .intent-card--dark .intent-index { color:rgba(255,255,255,.28); }
.page-home .intent-card--dark .intent-link { color:var(--home-gold-light); }

.page-home .state-hub-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.page-home .state-hub-grid a {
  position:relative;
  min-height:145px;
  display:flex;
  flex-direction:column;
  padding:18px;
  border:1px solid var(--home-border);
  border-radius:11px;
  background:rgba(255,255,255,.72);
  color:var(--home-ink);
  text-decoration:none;
  transition:transform 170ms ease,border-color 170ms ease,background 170ms ease;
}
.page-home .state-hub-grid a:hover { transform:translateY(-3px);border-color:rgba(200,155,66,.55);background:#fff; }
.page-home .state-hub-grid a > span { color:#9a772f;font-size:10px;font-weight:850;letter-spacing:.09em; }
.page-home .state-hub-grid strong { margin-top:15px;font-size:15px;line-height:1.2; }
.page-home .state-hub-grid small { margin-top:6px;color:var(--color-text-muted);font-size:9.5px;line-height:1.35; }
.page-home .state-hub-grid i { position:absolute;right:15px;top:17px;color:rgba(31,41,43,.3);font-size:10px; }

.page-home .section-heading-aside {
  flex:0 0 164px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border:1px solid var(--home-border);
  border-radius:10px;
  background:rgba(255,255,255,.65);
}
.page-home .section-heading-aside strong { color:var(--home-ink);font-size:30px;line-height:1;letter-spacing:-.04em; }
.page-home .section-heading-aside span { color:var(--color-text-muted);font-size:9px;line-height:1.35; }

/* City clusters/cards: restore positioning, layering and non-overlapping states. */
.page-home .grid-ciudades {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:0;
}
.page-home .tarjeta-ciudad-nomad {
  position:relative;
  display:block;
  min-height:330px;
  aspect-ratio:.94 / 1;
  overflow:hidden;
  border:1px solid rgba(35,43,45,.17);
  border-radius:14px;
  background:var(--home-ink);
  color:#fff;
  text-decoration:none;
  isolation:isolate;
  box-shadow:0 13px 31px rgba(24,34,36,.12);
  transform:translateY(0);
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}
.page-home .tarjeta-ciudad-nomad .fondo { position:absolute;inset:0;z-index:-2;background:var(--home-ink); }
.page-home .tarjeta-ciudad-nomad .fondo img { width:100%;height:100%;display:block;object-fit:cover;transition:transform .48s ease,filter .48s ease; }
.page-home .tarjeta-ciudad-nomad .overlay-oscuro { position:absolute;inset:0;z-index:-1;display:block;transition:background .28s ease,opacity .28s ease; }
.page-home .tarjeta-ciudad-nomad .rank,
.page-home .tarjeta-ciudad-nomad .badge-esquina { position:absolute;z-index:4;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:9px;font-weight:800;letter-spacing:.04em; }
.page-home .tarjeta-ciudad-nomad .badge-esquina { padding:0 10px;border:1px solid rgba(255,255,255,.24);border-radius:999px; }
.page-home .tarjeta-ciudad-nomad .rank { border:1px solid rgba(255,255,255,.24);border-radius:50%; }
.page-home .tarjeta-ciudad-nomad .info-siempre,
.page-home .tarjeta-ciudad-nomad .info-hover { position:absolute;left:0;right:0;bottom:0;z-index:3; }
.page-home .tarjeta-ciudad-nomad .info-siempre { transition:opacity .25s ease,transform .25s ease; }
.page-home .tarjeta-ciudad-nomad .info-hover { max-height:0;overflow:hidden;opacity:0;transform:translateY(15px);transition:max-height .36s ease,opacity .25s ease,transform .3s ease,padding .3s ease; }
.page-home .tarjeta-ciudad-nomad:hover .info-siempre,
.page-home .tarjeta-ciudad-nomad:focus-visible .info-siempre { opacity:0;transform:translateY(10px);pointer-events:none; }
.page-home .tarjeta-ciudad-nomad:hover .info-hover,
.page-home .tarjeta-ciudad-nomad:focus-visible .info-hover { opacity:1;transform:none; }
.page-home .tarjeta-ciudad-nomad .nombre { color:#fff;font-weight:760;line-height:1.04;letter-spacing:-.035em; }
.page-home .tarjeta-ciudad-nomad .estado-txt { color:rgba(255,255,255,.68);font-size:11px;font-weight:600; }
.page-home .tarjeta-ciudad-nomad .info-extra { display:grid;grid-template-columns:repeat(3,minmax(0,1fr)); }
.page-home .tarjeta-ciudad-nomad .mini-stat { min-width:0;border:1px solid rgba(255,255,255,.13);border-radius:7px;text-align:center; }
.page-home .tarjeta-ciudad-nomad .mv,
.page-home .tarjeta-ciudad-nomad .mk { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.page-home .tarjeta-ciudad-nomad .mv { color:#fff;font-size:10px;font-weight:760; }
.page-home .tarjeta-ciudad-nomad .mk { margin-top:3px;color:rgba(255,255,255,.52);font-size:7px;font-weight:700;letter-spacing:.04em;text-transform:uppercase; }

/* Data provenance: dedicated layout matching the current HTML. */
.page-home .data-evidence {
  display:grid;
  grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);
  gap:30px;
  margin-top:18px;
  padding:clamp(24px,4vw,40px);
  border:1px solid var(--home-border);
  border-radius:16px;
  background:
    radial-gradient(circle at 0 100%,rgba(200,155,66,.11),transparent 30%),
    #f1ebdf;
}
.page-home .data-evidence-intro h3 { margin:12px 0 10px;color:var(--home-ink);font-size:clamp(23px,2.5vw,34px);line-height:1.08;letter-spacing:-.04em; }
.page-home .data-evidence-intro > p { margin:0 0 20px;color:var(--color-text-muted);font-size:12px;line-height:1.7; }
.page-home .release-note { display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:13px 0;border-top:1px solid rgba(31,41,43,.12); }
.page-home .release-note span { color:var(--color-text-muted);font-size:9px;font-weight:750;letter-spacing:.045em;text-transform:uppercase; }
.page-home .release-note strong { color:var(--home-ink);font-size:12px; }
.page-home .release-note small { grid-column:1/-1;color:var(--color-text-muted);font-size:9px; }
.page-home .data-source-grid { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px; }
.page-home .data-source-grid a {
  grid-column:span 2;
  min-height:180px;
  display:flex;
  flex-direction:column;
  padding:18px;
  border:1px solid rgba(31,41,43,.1);
  border-radius:10px;
  background:rgba(255,255,255,.78);
  color:var(--home-ink);
  text-decoration:none;
  transition:transform 170ms ease,border-color 170ms ease,box-shadow 170ms ease;
}
.page-home .data-source-grid a:nth-last-child(-n+2) { grid-column:span 3; }
.page-home .data-source-grid a:hover { transform:translateY(-3px);border-color:rgba(200,155,66,.5);box-shadow:0 15px 32px rgba(31,41,43,.08); }
.page-home .data-source-grid a > span { color:#98752f;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase; }
.page-home .data-source-grid strong { margin-top:10px;font-size:15px; }
.page-home .data-source-grid p { margin:8px 0 14px;color:var(--color-text-muted);font-size:10px;line-height:1.55; }
.page-home .data-source-grid small { margin-top:auto;color:#816222;font-size:9px;font-weight:720; }
.page-home .data-source-grid small i { margin-left:5px;font-size:8px; }
.page-home .standards-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px;overflow:hidden;border:1px solid var(--home-border);border-radius:14px;background:#fff; }
.page-home .standards-grid article { position:relative;min-height:205px;padding:22px;border-right:1px solid var(--home-border); }
.page-home .standards-grid article:last-child { border-right:0; }
.page-home .standards-grid article > span { position:absolute;right:18px;top:18px;color:rgba(31,41,43,.24);font-size:10px;font-weight:850; }
.page-home .standards-grid article > i { color:var(--home-gold);font-size:16px; }
.page-home .standards-grid h3 { margin:18px 0 8px;color:var(--home-ink);font-size:14px;line-height:1.25; }
.page-home .standards-grid p { margin:0;color:var(--color-text-muted);font-size:10px;line-height:1.62; }

/* Main rhythm */
.page-home .home-main {
  max-width: 1220px;
  padding-bottom: 0;
}

.page-home .home-section {
  margin: clamp(76px, 9vw, 124px) 0;
}

.page-home .home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 30px;
}

.page-home .home-section-heading > div:first-child {
  max-width: 790px;
}

.page-home .home-section-heading--narrow > div:first-child {
  max-width: 860px;
}

/* Cabecera plana de la seccion methodology (kicker + h2 + p como hijos
   directos): sin esto caen en el flex-row base y el h2 de 50px queda
   estrujado en una columna de ~550px (torre de 7 lineas). En columna,
   con ancho de lectura y un peldano menos de tamano. */
.page-home .home-section-heading--narrow {
  display: block;
  max-width: 880px;
}

.page-home .home-section-heading--narrow h2 {
  /* El tamano base (50px) se mantiene por consistencia con las demas
     secciones; el ancho de lectura es lo que arregla la torre. */
  max-width: 21ch;
}

.page-home .home-section-heading--narrow p {
  margin-top: 16px;
}

.page-home .home-section-heading h2,
.page-home .home-search-head h2,
.page-home .faq-intro h2 {
  margin: 8px 0 0;
  color: var(--home-ink);
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-home .home-section-heading p,
.page-home .home-search-head p,
.page-home .faq-intro > p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.74;
}

.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #816222;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.page-home .home-kicker i {
  color: var(--home-gold);
}

.page-home .section-count {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--home-border);
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 760;
}

/* Reveal + search parallax */
.js .page-home .revelar-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms);
}

.js .page-home .revelar-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-home .home-search-stage {
  position: relative;
  z-index: 8;
  margin-top: -74px;
}

.page-home .home-search-card {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(200,155,66,0.3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 95% 0%, rgba(200,155,66,0.14), transparent 34%),
    rgba(255,255,255,0.97);
  box-shadow: var(--home-shadow);
  transform: translate3d(0, var(--search-parallax, 0), 0);
}

.page-home .home-search-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(31,41,43,0.055);
  border-radius: 14px;
  pointer-events: none;
}

.page-home .home-search-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: 20px 46px;
  align-items: end;
  margin-bottom: 25px;
}

.page-home .home-search-head .home-kicker,
.page-home .home-search-head h2 {
  grid-column: 1;
}

.page-home .home-search-head h2 {
  font-size: clamp(27px, 3.5vw, 42px);
}

.page-home .home-search-head p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
}

.page-home .home-search-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(210px, 0.7fr) auto;
  gap: 13px;
  align-items: end;
}

.page-home .home-search-field label {
  display: block;
  margin: 0 0 7px 2px;
  color: var(--home-ink);
  font-size: 11px;
  font-weight: 790;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.page-home .home-select-shell {
  position: relative;
}

.page-home .home-select-shell > i {
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 2;
  color: var(--home-gold);
  transform: translateY(-50%);
  pointer-events: none;
}

.page-home .home-search-card select {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 0 42px 0 44px;
  border: 1px solid rgba(31,41,43,0.16);
  border-radius: 10px;
  background-color: #fff;
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.page-home .home-search-card select:hover,
.page-home .home-search-card select:focus {
  border-color: rgba(200,155,66,0.78);
  box-shadow: 0 0 0 4px rgba(200,155,66,0.1);
  outline: none;
}

.page-home .home-search-submit {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-inline: 23px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(31,41,43,0.18);
}

.page-home .home-search-submit i {
  transition: transform 180ms ease;
}

.page-home .home-search-submit:hover i {
  transform: translateX(4px);
}

.page-home .home-search-message {
  display: none;
  margin: 12px 0 0;
  color: var(--color-negative);
  font-size: 12px;
  font-weight: 650;
}

/* Sources + coverage */
.page-home .home-proof {
  margin: 42px 0 0;
  padding: 0 4px;
}

.page-home .home-proof .trust-strip {
  justify-content: center;
  margin-bottom: 19px;
}

.page-home .home-proof .trust-strip::before {
  content: "Verified against";
  display: inline-flex;
  align-items: center;
  color: var(--color-text-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-proof .trust-strip a {
  min-height: 30px;
  border-color: rgba(31,41,43,0.1);
  background: rgba(255,255,255,0.54);
}

.page-home .home-proof .stat-inline-row {
  overflow: hidden;
  gap: 0;
  margin: 0;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: rgba(255,255,255,0.6);
}

.page-home .home-proof-stat {
  position: relative;
  padding: 21px 24px;
  border: 0;
  border-right: 1px solid var(--home-border);
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.page-home .home-proof-stat:last-child {
  border-right: 0;
}

.page-home .home-proof-stat .v {
  font-size: 28px;
  letter-spacing: -0.035em;
}

/* City cards */
.page-home .grid-ciudades {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.page-home .tarjeta-ciudad-nomad.ciudad-extra {
  display: none;
}

.page-home .tarjeta-ciudad-nomad {
  aspect-ratio: 0.91 / 1;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(24,34,36,0.12);
}

.page-home .tarjeta-ciudad-nomad:hover,
.page-home .tarjeta-ciudad-nomad:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(200,155,66,0.86);
  box-shadow: 0 28px 60px rgba(24,34,36,0.24);
}

.page-home .tarjeta-ciudad-nomad .fondo img {
  filter: saturate(1.12) contrast(1.04) brightness(0.96);
  transform: scale(1.01);
}

.page-home .tarjeta-ciudad-nomad:hover .fondo img,
.page-home .tarjeta-ciudad-nomad:focus-visible .fondo img {
  filter: saturate(0.88) contrast(1.08) brightness(0.39);
  transform: scale(1.085);
}

.page-home .tarjeta-ciudad-nomad .overlay-oscuro {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(7,13,15,0.04) 0%, rgba(7,13,15,0.10) 38%, rgba(7,13,15,0.88) 100%);
}

.page-home .tarjeta-ciudad-nomad:hover .overlay-oscuro,
.page-home .tarjeta-ciudad-nomad:focus-visible .overlay-oscuro {
  background:
    radial-gradient(circle at 50% 68%, rgba(200,155,66,0.10), transparent 42%),
    linear-gradient(180deg, rgba(7,13,15,0.36) 0%, rgba(7,13,15,0.68) 48%, rgba(7,13,15,0.98) 100%);
}

.page-home .tarjeta-ciudad-nomad .rank,
.page-home .tarjeta-ciudad-nomad .badge-esquina {
  top: 15px;
  height: 30px;
  border-color: rgba(255,255,255,0.28);
  background: rgba(12,19,20,0.56);
  backdrop-filter: blur(11px);
}

.page-home .tarjeta-ciudad-nomad .rank {
  left: 15px;
  width: 30px;
}

.page-home .tarjeta-ciudad-nomad .badge-esquina {
  right: 15px;
}

.page-home .tarjeta-ciudad-nomad .badge-esquina.coste-low { color: #aef0c8; }
.page-home .tarjeta-ciudad-nomad .badge-esquina.coste-avg { color: #f4e5c6; }
.page-home .tarjeta-ciudad-nomad .badge-esquina.coste-high { color: #ffd989; }

.page-home .tarjeta-ciudad-nomad .info-siempre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name metric"
    "state metric";
  align-items: end;
  gap: 3px 16px;
  padding: 20px;
}

.page-home .tarjeta-ciudad-nomad .nombre {
  grid-area: name;
  font-size: clamp(23px, 2.2vw, 30px);
}

.page-home .tarjeta-ciudad-nomad .estado-txt {
  grid-area: state;
}

.page-home .city-rest-metric {
  grid-area: metric;
  min-width: 72px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.23);
  text-align: right;
}

.page-home .city-rest-metric span,
.page-home .city-rest-metric small {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 8px;
  font-weight: 770;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-home .city-rest-metric strong {
  display: block;
  margin: 3px 0 1px;
  color: var(--home-gold-light);
  font-size: 23px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.page-home .tarjeta-ciudad-nomad .info-hover {
  padding-inline: 20px;
}

.page-home .tarjeta-ciudad-nomad:hover .info-hover,
.page-home .tarjeta-ciudad-nomad:focus-visible .info-hover {
  max-height: 275px;
  padding: 0 20px 21px;
}

.page-home .tarjeta-ciudad-nomad .nombre-hover {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 670;
}

.page-home .tarjeta-ciudad-nomad .stat-salario {
  margin-top: 7px;
  color: #fff;
  font-size: clamp(35px, 3.1vw, 47px);
  transform-origin: left bottom;
}

.page-home .tarjeta-ciudad-nomad:hover .stat-salario,
.page-home .tarjeta-ciudad-nomad:focus-visible .stat-salario {
  animation: salaryLift 360ms cubic-bezier(.2,.75,.25,1) both;
}

@keyframes salaryLift {
  from { opacity: 0; transform: translateY(18px) scale(.88); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.page-home .tarjeta-ciudad-nomad .stat-label {
  color: var(--home-gold-light);
  font-size: 9.5px;
}

.page-home .tarjeta-ciudad-nomad .info-extra {
  gap: 7px;
  margin-top: 15px;
}

.page-home .tarjeta-ciudad-nomad .mini-stat {
  padding: 9px 7px;
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(8px);
}

.page-home .cities-load-more {
  display: flex;
  justify-content: center;
  margin: 30px 0 0;
}

.page-home .cities-load-more .button-secondary {
  gap: 11px;
  min-width: 218px;
  border-radius: 999px;
}

.page-home .cities-load-more .button-secondary i {
  transition: transform 180ms ease;
}

.page-home .cities-load-more .button-secondary:hover i {
  transform: translateY(3px);
}

/* Profession sectors */
.page-home .profession-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
}

.page-home .profession-filter-shell {
  position: relative;
  flex: 1 1 560px;
  max-width: 680px;
}

.page-home .profession-filter-shell i {
  position: absolute;
  left: 15px;
  top: 50%;
  color: var(--home-gold);
  transform: translateY(-50%);
}

.page-home #profession-filter {
  width: 100%;
  min-height: 46px;
  padding: 0 16px 0 43px;
  border: 1px solid rgba(31,41,43,0.14);
  border-radius: 9px;
  background: #fff;
  color: var(--home-ink);
  font: 600 13px/1.2 Inter, system-ui, sans-serif;
}

.page-home #profession-filter:focus {
  border-color: rgba(200,155,66,0.82);
  box-shadow: 0 0 0 4px rgba(200,155,66,0.1);
  outline: 0;
}

.page-home .profession-filter-status {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 720;
}

.page-home .profession-sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.page-home .profession-sector {
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 10px 28px rgba(31,41,43,0.045);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.page-home .profession-sector[open] {
  border-color: rgba(200,155,66,0.38);
  box-shadow: 0 18px 42px rgba(31,41,43,0.085);
}

.page-home .profession-sector summary {
  min-height: 90px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 13px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.page-home .profession-sector summary::-webkit-details-marker { display: none; }

.page-home .profession-sector-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200,155,66,0.2);
  border-radius: 11px;
  background: rgba(200,155,66,0.1);
  color: #8a6825;
}

.page-home .profession-sector-copy strong,
.page-home .profession-sector-copy small {
  display: block;
}

.page-home .profession-sector-copy strong {
  color: var(--home-ink);
  font-size: 14px;
  line-height: 1.25;
}

.page-home .profession-sector-copy small {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.page-home .profession-sector-count {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.page-home .profession-sector-chevron {
  color: var(--color-text-muted);
  font-size: 11px;
  transition: transform 180ms ease;
}

.page-home .profession-sector[open] .profession-sector-chevron {
  transform: rotate(180deg);
}

.page-home .profession-sector-panel {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(31,41,43,0.08);
}

.page-home .profession-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 16px;
}

.page-home .profession-link {
  position: relative;
  min-width: 0;
  min-height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 11px 34px 11px 12px;
  border: 1px solid rgba(31,41,43,0.09);
  border-radius: 8px;
  background: var(--home-paper);
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.page-home .profession-link[data-index]:not([data-index="0"]):nth-child(n+13) {
  display: none;
}

.page-home .profession-sector.is-expanded .profession-link,
.page-home .home-professions-section.is-filtering .profession-link:not([hidden]) {
  display: flex;
}

.page-home .profession-link[hidden],
.page-home .home-professions-section.is-filtering .profession-link[hidden] {
  display: none !important;
}

.page-home .profession-link:hover,
.page-home .profession-link:focus-visible {
  border-color: rgba(200,155,66,0.7);
  background: #fff;
  transform: translateY(-2px);
  outline: 0;
}

.page-home .profession-link-name {
  display: -webkit-box;
  overflow: hidden;
  color: var(--home-ink);
  font-size: 11.5px;
  font-weight: 720;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.page-home .profession-link-note {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 9.5px;
}

.page-home .profession-link > i {
  position: absolute;
  right: 12px;
  top: 50%;
  color: rgba(31,41,43,0.34);
  font-size: 10px;
  transform: translateY(-50%);
}

.page-home .profession-link:hover > i {
  color: var(--home-gold);
}

.page-home .profession-expand {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--color-surface-muted);
  color: var(--home-ink);
  font: 720 10.5px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

.page-home .profession-expand i {
  transition: transform 180ms ease;
}

.page-home .profession-sector.is-expanded .profession-expand i {
  transform: rotate(180deg);
}

/* Audience / SEO editorial UI */
.page-home .home-audience-section {
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--home-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(200,155,66,0.13), transparent 28%),
    #fff;
  box-shadow: 0 24px 64px rgba(31,41,43,0.08);
}

.page-home .audience-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.page-home .audience-card {
  min-height: 215px;
  padding: 22px;
  border: 1px solid rgba(31,41,43,0.09);
  border-radius: 14px;
  background: var(--home-paper);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-home .audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,155,66,0.46);
  box-shadow: 0 17px 36px rgba(31,41,43,0.08);
}

.page-home .audience-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--home-ink);
  color: var(--home-gold-light);
}

.page-home .audience-card h3,
.page-home .data-method-grid h3,
.page-home .purchasing-power-copy h3 {
  margin: 18px 0 8px;
  color: var(--home-ink);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-home .audience-card p,
.page-home .data-method-grid p,
.page-home .purchasing-power-copy p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.68;
}

.page-home .purchasing-power-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 16px;
  background: var(--home-ink);
  color: #fff;
}

.page-home .story-label {
  color: var(--home-gold-light);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .purchasing-power-copy h3 {
  margin-top: 11px;
  color: #fff;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

.page-home .purchasing-power-copy p {
  color: rgba(255,255,255,0.67);
  font-size: 13px;
}

.page-home .purchasing-power-copy ul {
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .purchasing-power-copy li {
  position: relative;
  padding: 8px 0 8px 25px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.77);
  font-size: 11px;
  font-weight: 620;
}

.page-home .purchasing-power-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--home-gold-light);
  font-weight: 900;
}

.page-home .salary-story-visual {
  display: grid;
  gap: 10px;
}

.page-home .salary-story-card {
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  background: rgba(255,255,255,0.055);
}

.page-home .salary-story-card > span,
.page-home .salary-story-card > small {
  display: block;
  color: rgba(255,255,255,0.56);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.page-home .salary-story-card strong {
  display: block;
  margin: 6px 0 5px;
  color: #fff;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.page-home .salary-story-card--lower strong {
  color: var(--home-gold-light);
}

.page-home .salary-story-bar {
  height: 4px;
  overflow: hidden;
  margin-top: 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
}

.page-home .salary-story-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--home-gold);
}

.page-home .salary-story-card--higher .salary-story-bar span {
  background: rgba(255,255,255,0.38);
}

.page-home .salary-story-visual > p {
  margin: 2px 3px 0;
  color: rgba(255,255,255,0.43);
  font-size: 9px;
  line-height: 1.45;
}

.page-home .data-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  overflow: hidden;
}

.page-home .data-method-grid article {
  padding: 22px;
  border-right: 1px solid var(--home-border);
  background: rgba(251,250,247,0.72);
}

.page-home .data-method-grid article:last-child { border-right: 0; }
.page-home .data-method-grid article > i { color: var(--home-gold); }
.page-home .data-method-grid h3 { margin-top: 12px; font-size: 13px; }
.page-home .data-method-grid p { font-size: 10.5px; }

/* FAQ */
.page-home .home-faq-section {
  padding: clamp(26px, 5vw, 54px);
  border-radius: 22px;
  background: #eee8dc;
}

.page-home .faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.page-home .faq-intro {
  position: sticky;
  top: 28px;
}

.page-home .faq-intro h2 {
  margin-top: 10px;
}

.page-home .faq-source-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 13px 14px;
  border: 1px solid rgba(31,41,43,0.11);
  border-radius: 10px;
  background: rgba(255,255,255,0.45);
  color: var(--color-text-muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.page-home .faq-source-note i {
  margin-top: 2px;
  color: var(--home-gold);
}

.page-home .home-faq-list {
  gap: 10px;
}

.page-home .home-faq-item {
  padding: 0;
  border: 1px solid rgba(31,41,43,0.10);
  border-radius: 12px;
  background: rgba(255,255,255,0.78);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.page-home .home-faq-item[open] {
  border-color: rgba(200,155,66,0.46);
  background: #fff;
  box-shadow: 0 14px 34px rgba(31,41,43,0.08);
}

.page-home .home-faq-item summary {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 15px 17px;
  color: var(--home-ink);
}

.page-home .home-faq-item summary::before { content: none; }

.page-home .faq-number {
  color: var(--home-gold);
  font-size: 10px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.page-home .faq-question {
  font-size: 13px;
  line-height: 1.4;
}

.page-home .faq-toggle {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--home-ink);
  color: #fff;
  font-size: 10px;
  transition: transform 180ms ease, background 180ms ease;
}

.page-home .home-faq-item[open] .faq-toggle {
  background: var(--home-gold);
  transform: rotate(45deg);
}

.page-home .home-faq-item p {
  margin: 0;
  padding: 0 62px 22px 48px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.75;
}

/* Footer brand box requested for the home */
.page-home .site-footer {
  margin-top: clamp(74px, 9vw, 120px);
}

.page-home .footer-grid {
  grid-template-columns: minmax(320px, 1.5fr) 1fr 0.72fr;
  align-items: start;
}

.page-home .footer-brand-box {
  max-width: 430px;
  padding: 25px;
  border: 1px solid rgba(200,155,66,0.34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(200,155,66,0.16), transparent 38%),
    #fff;
  color: #1d2527;
  box-shadow: 0 18px 46px rgba(0,0,0,0.16);
}

.page-home .footer-brand-box .logo {
  margin-bottom: 14px;
  color: #1d2527;
}

.page-home .footer-brand-box .logo img {
  height: 34px;
}

.page-home .footer-brand-box .footer-tagline {
  max-width: none;
  color: #2e3739;
  font-size: 13px;
  line-height: 1.65;
}

.page-home .footer-brand-source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(31,41,43,0.11);
  color: #6c6252;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-home .footer-brand-source i {
  color: var(--home-gold);
}



/* Markup-alignment corrections. */
.page-home .story-checks i {
  width: 16px;
  margin-right: 9px;
  color: var(--home-gold-light);
  text-align: center;
}
.page-home .purchasing-power-copy li { padding-left: 0; }
.page-home .purchasing-power-copy li::before { content: none; }
.page-home .salary-story-axis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 2px 2px;
  color: rgba(255,255,255,.38);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.page-home .salary-story-axis span:last-child { text-align: right; }

/* Specific heading variant must win over the shared flex heading. */
.page-home .home-section-heading.home-section-heading--centered {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.page-home .home-section-heading.home-section-heading--centered > div:first-child { max-width: none; }
.page-home .home-section-heading.home-section-heading--centered p { margin-inline: auto; }

/* Cluster sizing: fixed visual height prevents aspect-ratio minimums from
   forcing grid items wider than their tracks. */
.page-home .grid-ciudades { align-items: stretch; }
.page-home .tarjeta-ciudad-nomad {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 330px;
  aspect-ratio: auto;
}
.page-home .tarjeta-ciudad-nomad .info-siempre { gap: 3px 12px; }
.page-home .tarjeta-ciudad-nomad .nombre { font-size: clamp(21px, 1.7vw, 24px); }
.page-home .city-rest-metric {
  min-width: 70px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(10,18,20,.34);
  text-align: right;
  backdrop-filter: blur(8px);
}

@media (max-width: 1120px) {
  .page-home .tarjeta-ciudad-nomad { height: 350px; }
}
@media (max-width: 760px) {
  .page-home .tarjeta-ciudad-nomad { height: 360px; }
}
@media (max-width: 640px) {
  .page-home .tarjeta-ciudad-nomad { height: 390px; }
}

/* Responsive */
@media (max-width: 1120px) {
  .page-home .hero-band .contenido-hero { grid-template-columns:minmax(0,1fr) minmax(330px,.72fr);gap:42px; }
  .page-home .hero-band .mapa-fondo-home { inset:4% -22% -4% 30%;opacity:.55; }
  .page-home .grid-ciudades { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .page-home .state-hub-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .page-home .audience-card-grid,
  .page-home .data-method-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-home .data-method-grid article:nth-child(2) { border-right:0; }
  .page-home .data-method-grid article:nth-child(-n+2) { border-bottom:1px solid var(--home-border); }
}

@media (max-width: 920px) {
  .page-home header.site .wrap-header { min-height:66px;padding-block:9px; }
  .page-home .home-nav,
  .page-home .header-cta { display:none; }
  .page-home .nav-toggle { display:flex; }
  .page-home .hero-band.hero-home { min-height:auto;padding:70px 0 108px; }
  .page-home .hero-band .contenido-hero { grid-template-columns:1fr;gap:38px; }
  .page-home .hero-copy { max-width:760px; }
  .page-home .hero-live-panel { max-width:680px; }
  .page-home .hero-band .mapa-fondo-home { inset:7% -34% 10% 8%;opacity:.32; }
  .page-home .home-search-head { grid-template-columns:1fr; }
  .page-home .home-search-head p { grid-column:1;grid-row:auto; }
  .page-home .home-search-form { grid-template-columns:1fr 1fr; }
  .page-home .home-search-submit { grid-column:1/-1; }
  .page-home .intent-grid { grid-template-columns:1fr; }
  .page-home .intent-card { min-height:225px; }
  .page-home .state-hub-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-home .profession-sector-grid { grid-template-columns:1fr; }
  .page-home .purchasing-power-story { grid-template-columns:1fr; }
  .page-home .data-evidence { grid-template-columns:1fr; }
  .page-home .faq-layout { grid-template-columns:1fr; }
  .page-home .faq-intro { position:static; }
  .page-home .footer-grid { grid-template-columns:1fr 1fr; }
  .page-home .footer-brand { grid-column:1/-1; }
}

@media (max-width: 760px) {
  .page-home .grid-ciudades { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-home .tarjeta-ciudad-nomad { min-height:350px; }
  .page-home .data-source-grid { grid-template-columns:1fr 1fr; }
  .page-home .data-source-grid a,
  .page-home .data-source-grid a:nth-last-child(-n+2) { grid-column:span 1; }
  .page-home .data-source-grid a:last-child { grid-column:1/-1; }
  .page-home .standards-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-home .standards-grid article:nth-child(2) { border-right:0; }
  .page-home .standards-grid article:nth-child(-n+2) { border-bottom:1px solid var(--home-border); }
}

@media (max-width: 640px) {
  .page-home header.site .wrap-header { min-height:62px;padding:8px 16px; }
  .page-home header.site .logo-img { height:31px; }
  .page-home .logo-halo { left:-10px;width:126px;height:48px; }
  .page-home .hero-band.hero-home { padding:54px 0 92px; }
  .page-home .hero-band .contenido-hero { width:calc(100% - 32px);gap:30px; }
  .page-home .hero-band h1 { font-size:clamp(39px,12vw,57px); }
  .page-home .hero-eyebrow { font-size:9px;line-height:1.5; }
  .page-home .hero-lede { font-size:14.5px; }
  .page-home .hero-actions { display:grid;grid-template-columns:1fr; }
  .page-home .hero-primary,
  .page-home .hero-secondary { width:100%; }
  .page-home .hero-live-panel { padding:18px 15px; }
  .page-home .ticker-item { grid-template-columns:1fr;grid-template-areas:"profession" "place" "salary"; }
  .page-home .ticker-salary { margin-top:10px; }
  .page-home .hero-live-metrics { grid-template-columns:1fr; }
  .page-home .hero-live-metrics > div { display:flex;align-items:center;justify-content:space-between;gap:10px; }
  .page-home .hero-live-metrics strong { margin-top:0; }
  .page-home .hero-meta span:nth-child(n+3) { display:none; }
  .page-home .home-search-stage { margin-top:-48px; }
  .page-home .home-search-card { padding:23px 17px;border-radius:14px; }
  .page-home .home-search-card::after { display:none; }
  .page-home .home-search-form { grid-template-columns:1fr; }
  .page-home .home-search-submit { grid-column:auto; }
  .page-home .quick-starts { align-items:flex-start; }
  .page-home .proof-label { justify-content:flex-start;font-size:9px; }
  .page-home .home-proof .trust-strip { justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px; }
  .page-home .home-proof .trust-strip::before { flex:0 0 auto; }
  .page-home .home-proof .trust-strip a { flex:0 0 auto; }
  .page-home .home-proof .stat-inline-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .page-home .home-proof-stat { padding:15px 8px;border-right:1px solid var(--home-border); }
  .page-home .home-proof-stat .v { font-size:22px; }
  .page-home .home-proof-stat .k { font-size:8px; }
  .page-home .home-section { margin:70px 0; }
  .page-home .home-section-heading { display:block; }
  .page-home .section-count,
  .page-home .section-heading-aside { display:inline-grid;margin-top:15px; }
  .page-home .state-hub-grid { grid-template-columns:1fr 1fr; }
  .page-home .state-hub-grid a { min-height:132px;padding:15px; }
  .page-home .grid-ciudades { grid-template-columns:1fr; }
  .page-home .tarjeta-ciudad-nomad { min-height:390px;aspect-ratio:auto; }
  .page-home .profession-filter-bar { display:block; }
  .page-home .profession-filter-status { display:block;margin-top:9px; }
  .page-home .profession-sector summary { grid-template-columns:auto minmax(0,1fr) auto; }
  .page-home .profession-sector-count { display:none; }
  .page-home .profession-link-grid { grid-template-columns:1fr; }
  .page-home .audience-card-grid,
  .page-home .data-method-grid { grid-template-columns:1fr; }
  .page-home .audience-card { min-height:0; }
  .page-home .data-method-grid article { border-right:0;border-bottom:1px solid var(--home-border); }
  .page-home .data-method-grid article:last-child { border-bottom:0; }
  .page-home .home-audience-section,
  .page-home .home-faq-section { margin-inline:-4px;padding:25px 18px;border-radius:16px; }
  .page-home .purchasing-power-story { padding:22px 18px; }
  .page-home .salary-story-axis { display:none; }
  .page-home .data-evidence { padding:22px 17px; }
  .page-home .data-source-grid { grid-template-columns:1fr; }
  .page-home .data-source-grid a,
  .page-home .data-source-grid a:nth-last-child(-n+2),
  .page-home .data-source-grid a:last-child { grid-column:1;min-height:0; }
  .page-home .standards-grid { grid-template-columns:1fr; }
  .page-home .standards-grid article { min-height:0;border-right:0;border-bottom:1px solid var(--home-border); }
  .page-home .standards-grid article:last-child { border-bottom:0; }
  .page-home .home-faq-item p { padding:0 18px 20px 48px; }
  .page-home .footer-grid { grid-template-columns:1fr;padding-inline:18px; }
  .page-home .footer-brand { grid-column:auto; }
}

@media (max-width: 430px) {
  .page-home .state-hub-grid { grid-template-columns:1fr; }
  .page-home .home-proof .stat-inline-row { grid-template-columns:1fr; }
  .page-home .home-proof-stat { border-right:0;border-bottom:1px solid var(--home-border); }
  .page-home .home-proof-stat:last-child { border-bottom:0; }
}

@media (hover:none), (pointer:coarse) {
  .page-home .tarjeta-ciudad-nomad .fondo img { filter:saturate(.96) contrast(1.06) brightness(.58);transform:scale(1.035); }
  .page-home .tarjeta-ciudad-nomad .overlay-oscuro { background:linear-gradient(180deg,rgba(7,13,15,.16),rgba(7,13,15,.38) 40%,rgba(7,13,15,.96)); }
  .page-home .tarjeta-ciudad-nomad .info-siempre { opacity:0;transform:translateY(6px);pointer-events:none; }
  .page-home .tarjeta-ciudad-nomad .info-hover { max-height:275px;opacity:1;padding:0 20px 21px;transform:none;pointer-events:auto; }
}

@media (prefers-reduced-motion:reduce) {
  .page-home .estado-mapa-home.is-active,
  .page-home .mapa-fondo-home.map-pulse,
  .page-home .hero-live-dot,
  .page-home .ticker-progress span,
  .page-home .hero-copy,
  .page-home .ticker-item { animation:none !important; }
  .page-home .home-search-card,
  .page-home .hero-band .mapa-fondo-home { transform:none !important; }
}

