@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans-latin.woff2?v=2ee17598a9") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/bricolage-grotesque-latin.woff2?v=a79fdb52d4") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

/* Arial ajustada a las métricas de cada fuente mientras se descarga. Evita que el texto salte al
   cambiar de tipografía. Bricolage estrecha sus letras a partir de unos 40 px, por eso hay dos ajustes. */
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 100 549;
  size-adjust: 102.6%;
  ascent-override: 94.5%;
  descent-override: 24.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 550 900;
  size-adjust: 98.7%;
  ascent-override: 98.2%;
  descent-override: 25.3%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Bricolage Grotesque Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 100 900;
  size-adjust: 100.5%;
  ascent-override: 92.5%;
  descent-override: 26.9%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Bricolage Grotesque Large Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 100 900;
  size-adjust: 94%;
  ascent-override: 98.9%;
  descent-override: 28.7%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --paper: #f9f7f0;
  --surface: #fdfbf7;
  --ink: #161b2d;
  --muted: #4b5365;
  --line: #c9cad1;
  --cobalt: #244496;
  --cobalt-hover: #17337d;
  --cobalt-fade: #e8ebf6;
  --unverified: #5f6677; /* 5,36:1 sobre --paper */
  --unverified-fade: #eeede6;
  --body: "Instrument Sans", "Instrument Sans Fallback", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Bricolage Grotesque Fallback", Arial, sans-serif;
  --display-large: "Bricolage Grotesque", "Bricolage Grotesque Large Fallback", Arial, sans-serif;
  --gutter: clamp(19px, 6.5vw, 110px);
  --header-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.52 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, h4, h5, p, ul, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; }
main:focus { outline: none; }
section[id], article[id], details[id], main[id], [data-profile-heading] { scroll-margin-top: calc(var(--header-height) + 22px); }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1280px); margin-inline: auto; }

.visually-hidden, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 12;
  width: auto;
  height: auto;
  padding: 9px 16px;
  clip-path: none;
  color: var(--paper);
  background: var(--cobalt);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 60px);
}
.brand { display: inline-flex; align-items: center; gap: 8px; width: fit-content; }
.brand-symbol { flex: none; width: 35px; height: auto; }
.brand-wordmark { font: 710 1rem/1.04 var(--display); letter-spacing: -.021em; }
.navigation { display: flex; align-items: center; gap: clamp(17px, 3vw, 44px); }
.navigation { margin-left: auto; }
.navigation a, .footer-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: var(--muted);
  font-size: .91rem;
  font-weight: 570;
}
.navigation a:hover, .footer-top:hover { color: var(--cobalt); }
.experience { position: relative; isolation: isolate; overflow: clip; }
.hero-scene { position: relative; }
.light-cut, .light-reflection {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.light-cut {
  overflow: clip;
}
.light-cut-hero {
  top: -35px;
  inset-inline-end: -7vw;
  width: min(79vw, 1320px);
  height: clamp(555px, 53vw, 780px);
  opacity: var(--lens-opacity, .92);
  mask-image: radial-gradient(ellipse 69% 60% at 64% 46%, #000 14%, #000f 34%, #000a 55%, transparent 88%),
    linear-gradient(108deg, transparent 16%, #0004 37%, #000d 61%, #000 77%),
    linear-gradient(100deg, #000 84%, transparent);
  mask-composite: intersect;
  clip-path: polygon(12% 12%, 91% 0%, 100% 45%, 86% 76%, 32% 100%, 0% 88%);
  transform-origin: 72% 54%;
  transform: translate3d(var(--lens-x, 0px), var(--lens-y, 0px), 0)
    rotate(var(--lens-turn, -7deg)) scale(var(--lens-scale, 1));
}
.light-reflection {
  top: clamp(460px, 42vw, 650px);
  right: -10vw;
  width: min(83vw, 1300px);
  height: clamp(28px, 9vw, 108px);
  background: linear-gradient(92deg, transparent 18%, #c0ccf4 57%, #d6def8 73%, transparent 94%);
  clip-path: polygon(0 87%, 99% 0, 91% 100%, 14% 97%);
  opacity: var(--glint-opacity, .6);
  transform-origin: 78% 40%;
  transform: translate3d(var(--glint-x, 0px), var(--glint-y, 0px), 0)
    rotate(var(--glint-turn, -11deg));
}
.light-film, .light-film img, .light-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.light-film {
  transform: translate3d(var(--film-x, 0px), var(--film-y, 0px), 0) scale(1.38);
}
.light-film img, .light-film video { object-fit: cover; }
.light-cut-hero .light-film {
  transform: translate3d(var(--film-x, 0px), var(--film-y, 0px), 0)
    scale(1.72) rotate(34deg);
  transform-origin: 40% 38%;
}
.light-cut-hero img, .light-cut-hero video {
  filter: brightness(1.45) contrast(.76) saturate(.78);
  object-position: 62% 47%;
}
.light-film video { opacity: 0; transition: opacity .28s linear; }
.has-film-frame .light-film video { opacity: 1; }
.hero-layout {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(520px, 66svh, 680px);
  padding-block: clamp(63px, 8.4svh, 104px) clamp(71px, 8.75svh, 111px);
}
.hero-copy { position: relative; }
.hero-copy h1 {
  color: var(--ink);
  font-family: var(--display-large);
  letter-spacing: -.055em;
  line-height: .83;
}
.hero-copy h1 > span {
  display: block;
  width: fit-content;
  margin-bottom: .18em;
  font-size: clamp(2rem, 5.05vw, 5.8rem);
  font-weight: 615;
  letter-spacing: -.035em;
  line-height: .94;
}
.hero-copy strong {
  display: block;
  width: fit-content;
  margin-left: -.035em;
  color: #1a3374;
  font-size: clamp(4rem, 11.3vw, 11.8rem);
  font-weight: 700;
  letter-spacing: -.029em;
}
.hero-description {
  max-width: 26.6em;
  margin-top: clamp(28px, 3.3vw, 46px);
  color: var(--muted);
  font-size: clamp(1.02rem, 1.36vw, 1.2rem);
  line-height: 1.5;
}
.hero-discovery {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 18px;
  width: min(100%, 525px);
  margin-top: 14px;
}
.search {
  display: flex;
  flex: 1 1 240px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 49px;
  border-bottom: 1px solid var(--cobalt);
  color: var(--cobalt);
}
.search[hidden] { display: flex !important; visibility: hidden; }
.directory-tools[hidden] { display: grid !important; visibility: hidden; } /* reserva el alto antes del JS: sin CLS */
body:has(.contact-fallback) :is(.search, .directory-tools)[hidden] { display: none !important; } /* sin JS no se reserva hueco */
.search:focus-within { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.search-icon { position: relative; flex: none; width: 14px; height: 14px; margin: 0 5px 2px 2px; border: 1.5px solid; border-radius: 50%; }
.search-icon::after { position: absolute; right: -5px; bottom: -2px; width: 6px; height: 1.5px; background: currentColor; transform: rotate(44deg); content: ""; }
.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 11px 0;
  color: var(--ink);
  background: transparent;
  outline: none;
  font-size: 1rem;
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.hero-secondary, .inline-action, .case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  width: fit-content;
  border: 0;
  padding: 4px 0;
  color: var(--cobalt);
  background: transparent;
  font-size: .91rem;
  font-weight: 630;
}
.hero-secondary:hover, .inline-action:hover, .case-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.directory { position: relative; }
.directory::before {
  position: absolute;
  z-index: -1;
  inset: 48px 0 0;
  background: linear-gradient(transparent, rgb(249 247 240 / 89%) 87px, var(--paper) 215px);
  pointer-events: none;
  content: "";
}
.directory .wrap { padding-block: 0 clamp(57px, 8.8vw, 130px); }
/* Fallback normal: en móvil mide 36 px, por debajo del umbral del ajuste grande, y así corta las
   mismas líneas antes y después de cargar Bricolage. En escritorio cabe en una línea con ambos. */
.section-heading h2 {
  font: 700 clamp(2.25rem, 4vw, 4.3rem)/.95 var(--display);
  letter-spacing: -.042em;
}
.directory-tools { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "toggle chips count" "panel panel panel"; align-items: center; gap: 0 18px; margin-top: 11px; }
.filter-toggle { grid-area: toggle; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 0; border: 0; color: var(--ink); background: transparent; font-size: .91rem; font-weight: 630; }
.filter-toggle::after { width: 6px; height: 6px; margin: -3px 2px 0; border: solid var(--cobalt); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); content: ""; }
.filter-toggle[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.filter-toggle:hover { color: var(--cobalt); }
.filter-toggle-count { min-width: 1.45em; padding: 0 .35em; border-radius: 999px; color: var(--surface); background: var(--cobalt); font-size: .76rem; line-height: 1.45; text-align: center; }
.active-filters { grid-area: chips; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 3px 9px 3px 11px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: var(--surface); font-size: .84rem; font-weight: 600; }
.filter-chip > span[aria-hidden] { color: var(--cobalt); font-size: 1.05rem; line-height: 1; }
.filter-chip:hover { border-color: var(--cobalt); color: var(--cobalt); }
.active-filters .text-action { min-height: 34px; font-size: .84rem; }
.directory-tools .result-count { grid-area: count; }

.filter-panel { grid-area: panel; display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, auto); gap: 18px clamp(28px, 5vw, 80px); margin: 8px 0 14px; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.directory-tools[data-panel="closed"] .filter-panel { display: none; }
.facet-side { display: grid; align-content: start; gap: 14px; }
.facet { min-width: 0; margin: 0; padding: 0; border: 0; }
.facet legend { padding: 0; color: var(--ink); font-size: .84rem; font-weight: 660; }
.facet-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 205px), 1fr)); gap: 0 22px; margin-top: 6px; }
.facet-side .facet-options { grid-template-columns: minmax(0, 1fr); }
.facet-option { display: flex; align-items: center; gap: 9px; min-height: 38px; color: var(--ink); font-size: .91rem; cursor: pointer; }
.facet-option input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--cobalt); }
.facet-option .status { font-size: .86rem; }
.facet-count { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.facet-option:has(input:checked) { color: var(--cobalt); font-weight: 630; }
.facet-option[data-empty] { color: var(--muted); }
.directory-tools .filter-apply { display: none; } /* gana a .button: solo existe en tableta y móvil */

.directory-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 10px; }
.pagination ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin: 0; padding: 0; list-style: none; }
.pagination :is(a, .page-step, .page-gap) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; min-height: 44px; padding: 4px 8px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .91rem; font-weight: 580; font-variant-numeric: tabular-nums; }
.pagination a:hover { color: var(--cobalt); }
.pagination a[aria-current="page"] { color: var(--cobalt); border-bottom-color: var(--cobalt); font-weight: 660; }
.pagination .page-step { color: var(--cobalt); font-weight: 630; }
.pagination .page-step[data-disabled] { visibility: hidden; } /* mantiene la posición de los números */
.pagination li:first-child:has(> .page-step[data-disabled]) { display: none; } /* en la página 1, sin sangría */
.pagination .page-of { display: none; color: var(--muted); font-size: .88rem; }
.page-size { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--muted); font-size: .86rem; }
.page-size-label { display: inline-flex; align-items: center; gap: 8px; }
.page-size select { min-height: 38px; padding: 4px 6px; border: 0; border-bottom: 1px solid var(--cobalt); border-radius: 0; background: transparent; color: var(--ink); font-size: .91rem; }
.result-count { flex: none; color: var(--muted); font-size: .86rem; }
.profile-grid { border-top: 1px solid var(--line); }
.profile-card {
  display: grid;
  grid-template-columns: minmax(165px, .92fr) minmax(0, 1.18fr) minmax(118px, .57fr) auto;
  grid-template-areas: "identity body tags action";
  grid-template-rows: minmax(72px, auto);
  gap: 0 clamp(15px, 3.65vw, 64px);
  align-items: center;
  min-width: 0;
  padding-block: clamp(18px, 1.9vw, 26px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
/* Toda la tarjeta es clicable a través de su único enlace (que conserva su aria-label y su foco). */
.card-action::after { position: absolute; inset: 0; content: ""; }
.profile-card:has(.card-action:hover) h3 { color: var(--cobalt); }
.card-identity { grid-area: identity; display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.card-identity .avatar {
  width: 64px;
  height: 64px;
  margin-top: 2px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  outline: 1px solid rgb(22 27 45 / 12%);
  outline-offset: -1px;
}
.avatar-initials {
  display: grid;
  place-items: center;
  color: var(--cobalt);
  background: var(--cobalt-fade);
  font: 650 1.06rem/1 var(--display);
  letter-spacing: -.01em;
}
.card-title h3 {
  font: 710 clamp(1.33rem, 1.9vw, 1.75rem)/1.02 var(--display);
  letter-spacing: -.029em;
}
.card-title p, .card-body p { margin-top: 4px; color: var(--muted); font-size: .92rem; }
.badge {
  display: block;
  width: fit-content;
  margin-top: 5px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 660;
}
.badge-founder { color: var(--muted); } /* aviso de transparencia, no un segundo sello */
.card-availability { flex-basis: 100%; color: var(--muted); font-size: .76rem; font-weight: 560; line-height: 1.3; }
.card-availability.is-confirmed { color: var(--ink); }
.card-relation { font-size: .83rem !important; }
.card-alias { color: var(--ink); font-weight: 650; }
.card-title .card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-top: 6px; }
.card-meta .badge { margin-top: 0; }

/* Estado de la ficha: la forma (sello relleno o círculo discontinuo) y la palabra lo distinguen sin depender del color. */
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  font-size: .76rem;
  font-weight: 660;
  line-height: 1.2;
  white-space: nowrap;
}
.status-icon { flex: none; width: 1.25em; height: 1.25em; }
.status-verified { color: var(--cobalt); }
.status-verified .status-tick { stroke: var(--surface); }
.status-automatic { color: var(--unverified); }
.status-large { font-size: .92rem; }
.avatar-automatic { color: var(--unverified); background: var(--unverified-fade); }
.status-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 26px;
  margin: 8px 0 10px;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: .83rem;
}
.status-legend li { display: flex; align-items: baseline; gap: 7px; }
/* Ancho de la insignia más larga («Automática»): si las entradas se apilan, las descripciones quedan alineadas. */
.status-legend .status { min-width: 7.4em; }
.status-legend a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--cobalt);
  font-weight: 630;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (forced-colors: active) {
  .status-seal { fill: CanvasText; stroke: CanvasText; }
  .status-verified .status-tick { stroke: Canvas; }
  .status-ring, .status-automatic .status-tick { stroke: CanvasText; }
}
.card-body { grid-area: body; }
.card-body h4 { font-size: .99rem; font-weight: 660; line-height: 1.3; }
.card-body p { max-width: 29.3em; }
/* El separador ocupa el hueco entre etiquetas. Al principio de cada línea queda fuera de la lista y
   overflow lo oculta, así que ninguna línea empieza por «·». */
.tags {
  --tag-gap: 17.5px; /* 8 px a cada lado del punto, como antes */
  display: flex;
  flex-wrap: wrap;
  gap: 3px var(--tag-gap);
  grid-area: tags;
  overflow: hidden;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: .83rem;
}
.tags li { position: relative; }
.tags li + li::before {
  position: absolute;
  right: 100%;
  width: var(--tag-gap);
  color: var(--cobalt);
  text-align: center;
  content: "·";
  content: "·" / ""; /* decorativo: fuera del nombre accesible de la lista */
}
.card-action {
  display: inline-flex;
  grid-area: action;
  align-items: center;
  align-self: center;
  justify-self: end;
  gap: 8px;
  min-height: 44px;
  padding: 5px 0;
  border: 0;
  color: var(--cobalt);
  background: transparent;
  font-size: .91rem;
  font-weight: 630;
  white-space: nowrap;
}
.card-action:hover { text-decoration: underline; text-underline-offset: 3px; }
.empty { padding: 21px 0; border-bottom: 1px solid var(--line); }
.text-action { min-height: 44px; padding: 4px 0; border: 0; background: transparent; color: var(--cobalt); font-weight: 630; text-align: left; }
.text-action:hover { text-decoration: underline; }
.directory-contribute { margin-top: 14px; }

/* Bloque «¿No sabes a quién elegir?» (portada, guías y /sobre/). */
.brief-cta { display: grid; gap: 9px; margin-top: clamp(30px, 4vw, 52px); padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.brief-cta > * { max-width: 46em; } /* el filete, a todo el ancho; el texto, a su medida */
.brief-cta :is(h2, h3) { font: 690 clamp(1.33rem, 1.9vw, 1.75rem)/1.05 var(--display); letter-spacing: -.029em; }
.brief-cta p { color: var(--muted); }
.brief-cta .brief-disclosure { font-size: .86rem; }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 6px; }

.form-privacy a, .privacy-copy a, .contact-actions a, .contact-fallback a {
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-directory { position: relative; background: var(--paper); }
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px clamp(38px, 8.1vw, 130px);
  padding-block: clamp(28px, 4vw, 73px) clamp(30px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.about-layout h2 {
  font: 700 clamp(2rem, 3.4vw, 3.4rem)/.98 var(--display-large);
  letter-spacing: -.04em;
}
.about-copy { display: grid; gap: 12px; max-width: 40em; color: var(--muted); }
.about-copy a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.guides-teaser { padding-block: 0 clamp(57px, 8.8vw, 120px); }
.guides-teaser h3 { font: 690 clamp(1.33rem, 1.9vw, 1.75rem)/1.05 var(--display); letter-spacing: -.029em; }
.guides-teaser-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); margin: 14px 0 6px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
/* Mismo reparto que .about-layout: título y enlace a la izquierda, lista de una columna a la derecha. */
.guides-teaser { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; column-gap: clamp(38px, 8.1vw, 130px); }
.guides-teaser-list { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); margin: 0; }
.guides-teaser > .hero-secondary { grid-column: 1; grid-row: 2; margin-top: 8px; }
.guides-teaser-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  height: 100%;
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.guides-teaser-list a:hover { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.guides-teaser-list a > span { color: var(--cobalt); }

.contact-section { position: relative; }
.light-cut-contact {
  inset: 6% auto 0 -15vw;
  width: min(75vw, 1170px);
  height: 95%;
  min-height: 440px;
  mask-image: radial-gradient(ellipse 73% 59% at 40% 64%, #000b 23%, #0009 40%, transparent 84%),
    linear-gradient(106deg, #000 36%, #0008 60%, transparent 79%);
  mask-composite: intersect;
  clip-path: polygon(0 0, 62% 4%, 100% 54%, 53% 100%, 0 78%);
  opacity: .70;
  transform: translate3d(var(--lens-x, 0px), var(--lens-y, 0px), 0)
    scale(var(--lens-scale, 1));
}
.light-cut-contact img, .light-cut-contact video {
  filter: saturate(.76) brightness(1.34) contrast(.88);
  object-position: 83% 48%;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 24px clamp(38px, 8.1vw, 130px);
  min-height: min(554px, 70svh);
  padding-block: clamp(28px, 4vw, 73px) clamp(59px, 8.5vw, 116px);
  border-top: 1px solid var(--line);
}
.contact-intro h2 {
  color: #1a3374;
  font: 700 clamp(3.8rem, 6.45vw, 7.2rem)/.86 var(--display-large);
  letter-spacing: -.04em;
}
.contact-intro p {
  max-width: 24.6em;
  margin-top: 19px;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
}
.contact-form {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 17px;
  min-width: 0;
}
.contact-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-form .form-field :is(input, textarea, select) {
  border-top: 0;
  border-inline: 0;
  border-radius: 0;
  padding-inline: 0;
  background: transparent;
}
.contact-form .form-field textarea { min-height: 102px; }
.contact-discovery { max-width: 300px; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.contact-actions a { display: flex; align-items: center; min-height: 44px; font-size: .89rem; }
.contact-form button:disabled {
  cursor: default;
  border-color: #b6bbcc;
  color: #555d70;
  background: var(--cobalt-fade);
}
#contact-status { color: var(--muted); font-size: .89rem; }
#contact-status[data-state="error"], #contact-status[data-state="challenge"] { color: #8f3226; }
#contact-status[data-state="success"] { color: var(--cobalt); }
#contact-turnstile:empty { display: none; }
.contact-fallback { font-size: .93rem; }
.motion-control {
  width: fit-content;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: var(--cobalt);
  background: transparent;
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.motion-control:hover { color: var(--ink); }
.hero-motion {
  position: absolute;
  left: 0;
  bottom: 9px;
  z-index: 2;
}
.contact-motion { align-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid transparent;
  color: var(--paper);
  background: var(--cobalt);
  font-size: .94rem;
  font-weight: 650;
}
.button:hover { background: var(--cobalt-hover); }

.site-footer { background: var(--paper); }
.footer-top > span { color: var(--cobalt); }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); /* mismo reparto que .about-layout y .contact-layout */
  gap: 26px clamp(38px, 8.1vw, 130px);
  padding-block: clamp(34px, 4.2vw, 58px) clamp(26px, 3.2vw, 42px);
  border-top: 1px solid var(--line);
}
.footer-signature { max-width: 25em; margin-top: 14px; color: var(--muted); font-size: .89rem; text-wrap: balance; }
.footer-signature a { color: var(--ink); font-weight: 630; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.footer-signature a:hover { color: var(--cobalt); text-decoration-color: currentColor; }
.footer-signature:has(.footer-who) { text-wrap: wrap; } /* firma corta: «Quién lo mantiene» pasa entera a la segunda línea */
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(20px, 4vw, 60px); }
.footer-heading { color: var(--ink); font-size: .84rem; font-weight: 660; }
.footer-nav ul { margin: 4px 0 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); font-size: .91rem; font-weight: 570; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--cobalt); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; padding-block: 6px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-legal a, .footer-beta { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal .footer-top { margin-left: auto; font-size: .84rem; }
.footer-beta { gap: 8px; margin: 0; }
.beta-tag { padding: 1px 7px 2px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font: 650 .7rem/1.3 var(--body); letter-spacing: .04em; text-transform: uppercase; }
.privacy-details { padding-block: 3px 25px; }
.privacy-details summary { width: fit-content; padding-block: 8px; cursor: pointer; color: var(--muted); font-size: .87rem; }
.privacy-copy { display: grid; gap: 9px; max-width: 49.3em; padding-top: 6px; color: var(--muted); font-size: .89rem; }

.request-dialog {
  width: min(calc(100% - 30px), 665px);
  max-height: calc(100% - 30px);
  max-height: calc(100dvh - 30px);
  overscroll-behavior: contain;
  overflow: auto;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}
.request-dialog::backdrop { background: rgb(20 27 48 / 58%); }
.request-dialog .dialog-shell > form {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  justify-items: end;
  align-items: center;
  height: 51px;
  padding-inline: 11px;
  background: var(--paper);
}
.dialog-close {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 0;
  color: var(--cobalt);
  background: transparent;
  font-size: 1.72rem;
  line-height: 1;
}
.dialog-close:hover { background: var(--cobalt-fade); }
.request-content { padding: 0 clamp(19px, 4.5vw, 39px) clamp(21px, 4.5vw, 39px); }
.requests-intro h2 { font: 680 clamp(2rem, 4.8vw, 3.1rem)/1 var(--display); letter-spacing: -.045em; }
.requests-intro p { margin-top: 9px; max-width: 37.3em; color: var(--muted); }
.request-form {
  display: grid;
  gap: 17px;
  min-width: 0;
  max-width: 735px;
  margin-top: 19px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
.form-field { display: grid; gap: 5px; min-width: 0; }
.form-field label { font-size: .89rem; font-weight: 650; }
.form-field .field-optional { color: var(--muted); font-weight: 450; }
.request-dialog input[readonly] { background: var(--cobalt-fade); color: var(--muted); }
.form-privacy { color: var(--muted); font-size: .87rem; }
.form-privacy summary { width: fit-content; min-height: 37px; padding-block: 6px; cursor: pointer; }
.form-privacy p { padding: 0 0 4px; max-width: 37.3em; }
.form-field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 8px 10px;
  border: 1px solid #777f93;
  border-radius: 3px;
  background: var(--surface);
  font-size: 1rem;
}
.form-field textarea { min-height: 91px; resize: vertical; }
.form-field :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-grid .form-field:has(input[readonly]) { grid-column: 1 / -1; }
.form-group { display: grid; gap: 17px; }
.request-submit { border-color: transparent; }
.request-submit:disabled { cursor: default; background: var(--cobalt-fade); border-color: #b6bbcc; color: #555d70; }
.request-status { margin-top: -7px; min-height: 1.55em; color: var(--muted); font-size: .89rem; }
.request-status:empty { min-height: 0; margin: 0; }
.request-status[data-state="error"], .request-status[data-state="challenge"] { color: #8f3226; }
.request-status[data-state="success"] { color: var(--cobalt); }
.form-retry {
  width: fit-content;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: .2em;
}
#request-turnstile:empty { display: none; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (max-width: 1020px) {
  .light-cut-hero { inset-inline-end: -18vw; width: 92vw; }
  .profile-card {
    grid-template-columns: minmax(214px, 1fr) minmax(0, 1.15fr) auto;
    grid-template-areas: "identity body action" "identity tags action";
    grid-template-rows: auto auto;
    min-height: 119px;
    row-gap: 6px;
  }
  .card-body { align-self: end; }
  .tags { align-self: start; }
  .card-identity .avatar { width: 56px; height: 56px; }
  .directory-tools:not([data-panel="open"]) .filter-panel { display: none; } /* cerrado por defecto en tableta y móvil */
  .directory-tools .filter-apply { display: inline-flex; grid-column: 1 / -1; justify-content: center; width: 100%; }
}
/* Tableta: las especialidades usan todo el ancho, en columnas en las que cabe «WordPress y tiendas online»
   sin partirse, y el tipo de ficha y la disponibilidad van debajo, uno junto al otro. */
@media (min-width: 741px) and (max-width: 1020px) {
  .filter-panel { grid-template-columns: minmax(0, 1fr); }
  .facet-options { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
  .facet-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
}
@media (max-width: 740px) {
  :root { --header-height: 65px; --gutter: clamp(18px, 5.5vw, 41px); }
  .header-inner { gap: 8px; }
  .navigation { gap: clamp(13px, 5vw, 25px); }
  .navigation a:first-child { display: none; }
  .navigation a { font-size: .88rem; }
  .brand-symbol { width: 29px; }
  .brand-wordmark { font-size: .94rem; }
  .hero-layout { min-height: 0; padding-block: clamp(50px, 9.8vw, 77px) 77px; }
  .hero-copy h1 > span { font-size: clamp(2rem, 8.6vw, 3.9rem); }
  .hero-copy strong { font-size: clamp(2.68rem, 13.25vw, 7rem); }
  .hero-description { max-width: 22.6em; margin-top: 20px; color: var(--ink); }
  .light-cut-hero {
    top: 77px;
    inset-inline-end: -44vw;
    width: 132vw;
    height: clamp(290px, 86vw, 500px);
    opacity: calc(var(--lens-opacity, .92) * .58);
    mask-image: radial-gradient(ellipse 60% 57% at 66% 52%, #000 17%, #000e 35%, #0008 52%, transparent 86%),
      linear-gradient(110deg, transparent 17%, #000 52%);
  }
  .light-reflection {
    top: clamp(320px, 85vw, 500px);
    right: -24vw;
    width: 108vw;
    opacity: calc(var(--glint-opacity, .6) * .68);
  }
  .hero-motion { bottom: 12px; }
  .directory::before { inset-block-start: 75px; }
  .light-cut-contact {
    inset: -10px -32vw auto auto;
    width: 107vw;
    min-height: 0;
    height: 300px;
    clip-path: none;
    mask-image: radial-gradient(ellipse 69% 60% at 58% 46%, #000 12%, #000a 46%, transparent 80%),
      linear-gradient(104deg, transparent 8%, #000 42%, #000 82%, transparent),
      linear-gradient(transparent 4%, #000 34%, #000 58%, transparent 90%);
    opacity: .42;
  }
  .profile-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "identity identity" "body body" "tags action";
    grid-template-rows: auto auto auto;
    gap: 7px 13px;
    min-height: 0;
  }
  .card-action { align-self: end; }
  .card-body { margin-top: 4px; }
  .contact-layout, .about-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .contact-intro p { margin-top: 13px; }
  .contact-form { grid-column: auto; grid-row: auto; }
  .status-legend { gap: 2px 18px; }
  .status-legend li:not(:last-child) { align-items: baseline; padding-block: 3px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { gap: 0 18px; }
  .footer-legal .footer-top { margin-left: 0; }
  .footer-beta { flex-basis: 100%; order: -1; min-height: 0; padding-top: 12px; }
  .guides-teaser { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .guides-teaser-list, .guides-teaser > .hero-secondary { grid-column: auto; grid-row: auto; }
  .guides-teaser-list { margin: 14px 0 6px; }
  .directory-tools { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "toggle count" "chips chips" "panel panel"; }
  .directory-tools .result-count { justify-self: end; }
  .active-filters:not(:empty) { padding-block: 2px 8px; }
  .filter-panel { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 4px; }
  .facet-options { grid-template-columns: minmax(0, 1fr); }
  .facet-option { min-height: 44px; border-bottom: 1px solid var(--line); }
  .facet-count { margin-left: auto; }
  .pagination li.page-number { display: none; }
  .pagination .page-of { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; }
  .directory-pager { justify-content: center; }
  .page-size { justify-content: center; }
}
@media (max-width: 540px) {
  .search { flex-basis: 100%; }
  .hero-secondary { min-height: 38px; }
  .contact-field-pair, .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 365px) {
  .hero-discovery { gap: 2px 10px; }
}
@media (max-height: 510px) and (orientation: landscape) {
  :root { --header-height: 55px; }
  .hero-layout { min-height: 0; padding-block: 29px 40px; }
  .hero-copy h1 > span { font-size: clamp(1.78rem, 4.6vw, 3.1rem); }
  .hero-copy strong { font-size: clamp(2.85rem, 10.3vw, 6.3rem); }
  .hero-description { margin-top: 17px; }
  .hero-discovery { width: min(100%, 430px); margin-top: 6px; }
  .light-cut-hero { top: -48px; height: 390px; }
  .light-reflection { top: 279px; }
  .hero-motion { bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
