/* nicociana.com · Design system v1.1
   Black + White + Nico Orange · Archivo + Inter
   Referencia: https://claude.ai/artifact/Ug6M3xXEJfRU5Zx8YHNUyD */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 700 900;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --orange: #FF6500;
  --orange-deep: #B84900;   /* solo links chicos sobre claro */
  --black: #050505;
  --black-2: #111111;
  --white: #FFFFFF;
  --off-white: #F2F0EB;
  --gray: #8A8A8A;          /* secundario sobre oscuro */
  --gray-dark: #5E5E5E;     /* secundario sobre claro */
  --line-dark: #2A2A2A;
  --line-light: #D9D6CF;

  --display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 4px; --r-md: 8px; --r-lg: 16px;
  --ancho: 76rem;
  --margen: clamp(20px, 5vw, 48px);
  --seccion: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 28px;
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 16px; }
h1, h2, h3 { margin: 0; }
ul, dl { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--margen); }
.saltar { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--black); color: var(--white); padding: 8px 16px; border-radius: var(--r-md); }
.saltar:focus { left: 8px; }

/* ---------- Tipografía de marca ---------- */
.etiqueta {
  font-size: 13px; line-height: 16px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-dark);
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
}
.etiqueta::before { content: ""; width: 28px; height: 3px; background: var(--orange); flex: none; }
.etiqueta--negra { color: var(--black); }
.etiqueta--negra::before { background: var(--black); }

.titulo {
  font-family: var(--display);
  font-weight: 800; font-stretch: 78%;
  text-transform: uppercase;
  font-size: clamp(34px, 5.6vw, 56px);
  line-height: .95; letter-spacing: -.005em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.titulo--grande { font-size: clamp(38px, 6.8vw, 76px); font-weight: 900; }

/* Palabra clave: resaltador naranja sobre claro, naranja sobre oscuro */
.resaltador {
  background: var(--orange); color: var(--black);
  padding: 0 .1em; margin: 0 -.02em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.acento { color: var(--orange); }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: var(--r-md); border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 16px; line-height: 20px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: none; }
.boton--primario { background: var(--orange); color: var(--black); }
.boton--negro { background: var(--black); color: var(--white); }
.boton--secundario { background: transparent; color: var(--white); border-color: var(--gray); }
.boton--secundario:hover { border-color: var(--white); }
.boton--chico { min-height: 44px; padding: 10px 18px; font-size: 15px; }

.icono { width: 24px; height: 24px; flex: none; }
.icono--flecha { width: 18px; height: 18px; }

/* ---------- Cabecera ---------- */
.cabecera { padding: 20px 0; }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 104px; height: auto; }
@media (max-width: 52rem) { .logo img { width: 88px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero__grilla { display: grid; gap: 40px; align-items: center; }
@media (min-width: 56rem) { .hero__grilla { grid-template-columns: 7fr 5fr; gap: 48px; } }
.hero__titulo {
  font-family: var(--display);
  font-weight: 900; font-stretch: 75%;
  text-transform: uppercase;
  font-size: clamp(44px, 8vw, 92px);
  line-height: .92; letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero__bajada { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--gray-dark); max-width: 34ch; margin-bottom: 32px; }

.numeros { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 48px; border-top: 1px solid var(--line-light); max-width: 36rem; }
@media (min-width: 36rem) { .numeros { grid-template-columns: repeat(4, 1fr); } }
.numeros div { display: flex; flex-direction: column; justify-content: flex-start; padding: 16px 16px 0 0; }
.numeros dd { order: -1; }
.numeros dd { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 36px; line-height: 1; }
.numeros dt { font-size: 14px; line-height: 20px; color: var(--gray-dark); margin-top: 6px; }

.hero__foto { position: relative; max-width: min(440px, 78vw); justify-self: center; width: 100%; }
@media (min-width: 56rem) { .hero__foto { justify-self: end; } }
.hero__foto { aspect-ratio: 1 / 1.2; }
.hero__foto::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
/* La foto se recorta con el círculo abajo y queda libre arriba: la cabeza sale del círculo */
.hero__foto img {
  position: absolute; left: 0; bottom: 0; width: 100%; height: auto;
  -webkit-mask: linear-gradient(#000, #000) top / 100% 60.01% no-repeat, radial-gradient(circle closest-side at 50% 60%, #000 99.4%, transparent 100%);
          mask: linear-gradient(#000, #000) top / 100% 60.01% no-repeat, radial-gradient(circle closest-side at 50% 60%, #000 99.4%, transparent 100%);
}

/* ---------- Herramientas ---------- */
.herramientas__caja {
  background: var(--white); border-radius: var(--r-lg);
  padding: 24px clamp(20px, 3vw, 32px);
  display: grid; gap: 16px; align-items: center;
}
@media (min-width: 56rem) { .herramientas__caja { grid-template-columns: 12rem 1fr; gap: 32px; } }
.herramientas__titulo { margin: 0; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-dark); }
.herramientas__lista { display: flex; flex-wrap: wrap; gap: 8px 0; }
.herramientas__lista li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-stretch: 90%;
  font-size: 19px; line-height: 28px;
  padding: 0 clamp(14px, 2vw, 24px);
  border-left: 1px solid var(--line-light);
}
.herramientas__lista li:first-child { border-left: 0; padding-left: 0; }
@media (min-width: 72rem) {
  .herramientas__lista { display: grid; grid-template-columns: repeat(6, 1fr); }
  .herramientas__lista li, .herramientas__lista li:first-child { padding: 0 0 0 16px; border-left: 1px solid var(--line-light); font-size: 17px; }
}

.logo-herramienta { width: 22px; height: 22px; flex: none; }
@media (max-width: 71.99rem) {
  .herramientas__lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
}
@media (min-width: 40rem) and (max-width: 71.99rem) {
  .herramientas__lista { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 71.99rem) {
  .herramientas__lista li, .herramientas__lista li:first-child { border-left: 0; padding: 0; }
}

/* ---------- Secciones ---------- */
.seccion { padding: var(--seccion) 0; }
.seccion--blanca { background: var(--white); }
.seccion__cabeza { margin-bottom: 48px; }
.seccion__cabeza--centro { text-align: center; }
.seccion__cabeza--centro .etiqueta { justify-content: center; }

/* Caminos */
.caminos { display: grid; gap: 16px; }
@media (min-width: 56rem) { .caminos { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.camino__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1.5px solid var(--line-light); border-radius: var(--r-lg);
  padding: 28px; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.camino__link:hover { border-color: var(--black); transform: translateY(-3px); }
.camino__icono { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--black); display: grid; place-items: center; margin-bottom: 24px; }
.camino__titulo { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 26px; line-height: 1.08; margin-bottom: 12px; }
.camino__texto { color: var(--gray-dark); font-size: 16px; line-height: 24px; margin-bottom: 24px; }
.camino__accion { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.camino__link:hover .camino__accion .icono--flecha { transform: translateX(3px); }
.icono--flecha { transition: transform .15s ease; }

/* Sistema */
.sistema__centro { text-align: center; max-width: 60rem; }
.sistema__centro .etiqueta { justify-content: center; }
.sistema__texto { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--gray-dark); max-width: 46ch; margin: 8px auto 0; }

/* Formatos: el bloque de acento */
.formatos { background: var(--orange); color: var(--black); padding: var(--seccion) 0; }
.formatos__grilla { display: grid; gap: 40px; align-items: center; }
@media (min-width: 56rem) { .formatos__grilla { grid-template-columns: 5fr 7fr; gap: 56px; } }
.formatos__texto p:not(.etiqueta) { max-width: 40ch; margin-bottom: 32px; }
.formatos__lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 40rem) { .formatos__lista { grid-template-columns: repeat(3, 1fr); } }
.formatos__lista li {
  background: var(--white); border-radius: var(--r-lg);
  padding: 24px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 15px; line-height: 20px;
}
.formatos__lista .icono { width: 32px; height: 32px; color: var(--orange); margin-bottom: 12px; }
.formatos__lista strong { font-weight: 600; }
.formatos__lista span { color: var(--gray-dark); }

/* YouTube */
.youtube { background: var(--black); color: var(--white); padding: clamp(64px, 8vw, 104px) 0; }
.youtube .etiqueta { color: var(--gray); }
.youtube__grilla { display: grid; gap: 32px; align-items: end; }
@media (min-width: 56rem) { .youtube__grilla { grid-template-columns: 1fr auto; gap: 64px; } }
.youtube__texto { color: var(--gray); margin: 0; }
.youtube__dato { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.youtube__dato p { margin: 0; color: var(--gray); font-size: 16px; }
.youtube__dato strong { display: block; color: var(--white); font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 64px; line-height: .95; }

/* Preguntas */
.faq { display: grid; gap: 40px; }
@media (min-width: 56rem) { .faq { grid-template-columns: 5fr 7fr; gap: 64px; } }
.faq__cabeza p:not(.etiqueta) { color: var(--gray-dark); max-width: 34ch; }
.faq__cabeza a { color: var(--orange-deep); font-weight: 600; }
.faq__lista { display: grid; gap: 10px; align-content: start; }
.faq__item { background: var(--white); border-radius: var(--r-md); }
.faq__item summary {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 17px; line-height: 24px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__mas { width: 20px; height: 20px; color: var(--orange-deep); transition: transform .2s ease; }
.faq__item[open] .faq__mas { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 20px 20px 56px; color: var(--gray-dark); font-size: 16px; line-height: 26px; }

/* Cierre */
.cierre { background: var(--white); padding: var(--seccion) 0; }
.cierre__grilla { display: grid; gap: 32px; align-items: center; }
@media (min-width: 56rem) { .cierre__grilla { grid-template-columns: 7fr 5fr; gap: 64px; } .cierre__accion { border-left: 1px solid var(--line-light); padding-left: 48px; } }
.cierre .titulo { margin: 0; }
.cierre__accion p { color: var(--gray-dark); margin-bottom: 28px; }

/* Pie */
.pie { background: var(--black); color: var(--gray); font-size: 14px; line-height: 20px; padding: 40px 0; }
.pie__fila { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.pie .logo img { width: 84px; }
.pie__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.pie__nav a { text-decoration: none; }
.pie__nav a:hover { color: var(--white); }
.pie__copy { margin: 0; }
@media (max-width: 40rem) { .pie__nav { margin-left: 0; width: 100%; } }

/* ---------- /links ---------- */
.layout-minimal { background: var(--black); color: var(--white); }
.links { max-width: 30rem; margin: 0 auto; padding: 56px var(--margen) 48px; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 100svh; }
.links__foto { width: 112px; height: 112px; border-radius: 50%; margin-bottom: 20px; }
.links .logo img { width: 112px; }
.links__promesa { color: var(--gray); font-size: 16px; line-height: 24px; margin: 16px 0 32px; max-width: 30ch; }
.links ul { width: 100%; display: grid; gap: 12px; }
.links li a { display: block; padding: 18px 20px; border-radius: var(--r-md); border: 1.5px solid var(--line-dark); background: var(--black-2); text-decoration: none; font-weight: 600; transition: border-color .15s ease; }
.links li a:hover { border-color: var(--gray); }
.links li small { display: block; font-weight: 400; color: var(--gray); font-size: 14px; line-height: 20px; margin-top: 2px; }
.links li a.principal { background: var(--orange); border-color: var(--orange); color: var(--black); }
.links li a.principal small { color: var(--black); }
.links__legal { margin-top: auto; padding-top: 40px; font-size: 13px; color: var(--gray); }
.links__legal a { text-decoration: none; margin: 0 8px; }

/* ---------- Páginas de texto (legales, 404) ---------- */
.texto-legal { padding: clamp(40px, 7vw, 88px) 0 var(--seccion); }
.texto-legal .contenedor { max-width: 52rem; }
.texto-legal h1 { font-family: var(--display); font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: clamp(36px, 6vw, 60px); line-height: .95; margin-bottom: 12px; }
.texto-legal h2 { font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: 24px; line-height: 1.15; margin: 40px 0 12px; }
.texto-legal p, .texto-legal li { max-width: 68ch; }
.texto-legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.texto-legal a { color: var(--orange-deep); }
.texto-legal .fecha { color: var(--gray-dark); font-size: 15px; }
.pendiente { background: #FFE2CC; border-radius: var(--r-sm); padding: 0 .3em; font-weight: 600; }
.tabla { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; margin: 8px 0 16px; }
.tabla th, .tabla td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.tabla th { font-weight: 600; }
.error-404 { padding: var(--seccion) 0; text-align: center; }
.error-404 .titulo { font-size: clamp(56px, 12vw, 128px); }
.error-404 p { color: var(--gray-dark); margin-bottom: 32px; }

/* ---------- Funnel /calificar ---------- */
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.boton--fantasma { background: transparent; color: var(--black); border-color: var(--line-light); }
.boton--fantasma:hover { border-color: var(--black); }
.icono--atras { transform: rotate(180deg); }
.boton--fantasma:hover .icono--atras { transform: rotate(180deg) translateX(3px); }

.layout-funnel { background: var(--off-white); }
.funnel { max-width: 40rem; margin: 0 auto; padding: 0 var(--margen) 48px; min-height: 100svh; display: flex; flex-direction: column; }
.funnel__barra { position: sticky; top: 0; z-index: 2; background: var(--off-white); padding: 16px 0 0; margin-bottom: clamp(32px, 7vh, 64px); }
.funnel__cabeza { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.funnel .logo img { width: 84px; height: auto; }
.funnel__paso { margin: 0; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-dark); }
.progreso { height: 4px; background: var(--line-light); border-radius: 2px; overflow: hidden; }
.progreso span { display: block; height: 100%; background: var(--orange); transition: width .3s ease; }

.funnel__form { display: flex; flex-direction: column; }
.funnel__pregunta {
  font-family: var(--display); font-weight: 800; font-stretch: 80%;
  text-transform: uppercase;
  font-size: clamp(28px, 6vw, 40px); line-height: 1; letter-spacing: -.005em;
  margin-bottom: 14px; text-wrap: balance;
}
.funnel__ayuda { color: var(--gray-dark); font-size: 16px; line-height: 24px; margin-bottom: 24px; max-width: 52ch; }
.funnel__pregunta + .opciones, .funnel__pregunta + .campo, .funnel__pregunta + .visualmente-oculto + .campo { margin-top: 14px; }
.funnel__error {
  margin: 0 0 16px; padding: 12px 16px;
  background: var(--white); border-left: 4px solid var(--black); border-radius: var(--r-sm);
  font-size: 16px; line-height: 24px; font-weight: 600;
}

.campo {
  width: 100%; min-height: 56px; padding: 14px 16px;
  font: inherit; font-size: 18px; line-height: 26px; color: var(--black);
  background: var(--white); border: 1.5px solid var(--line-light); border-radius: var(--r-md);
  -webkit-appearance: none; appearance: none;
}
.campo::placeholder { color: #9A978F; }
.campo:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px var(--orange); }
.campo[aria-invalid="true"] { border-color: var(--black); }
.campo--largo { min-height: 152px; resize: vertical; }

.opciones { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.opcion { position: relative; }
.opcion > input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcion > label {
  display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 14px 16px;
  background: var(--white); border: 1.5px solid var(--line-light); border-radius: var(--r-md);
  font-size: 17px; line-height: 24px; font-weight: 500; cursor: pointer;
  transition: border-color .15s ease;
}
.opcion > label::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--gray-dark); background: var(--white);
}
.opcion > label:hover { border-color: var(--black); }
.opcion > input:checked + label { border-color: var(--black); }
.opcion > input:checked + label::before { border-color: var(--black); background: var(--orange); box-shadow: inset 0 0 0 4px var(--white); }
.opcion > input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.opcion__detalle { display: none; padding: 12px 2px 4px; }
.opcion > input:checked ~ .opcion__detalle { display: block; }
.opcion__detalle label { display: block; font-size: 15px; line-height: 20px; font-weight: 600; margin-bottom: 6px; }
.opcion__detalle input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 17px; background: var(--white); border: 1.5px solid var(--line-light); border-radius: var(--r-md); }
.opcion__detalle input:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px var(--orange); }

.consentimiento { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; font-size: 15px; line-height: 22px; }
.consentimiento input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--black); }
.consentimiento a { color: var(--orange-deep); font-weight: 600; }

.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.funnel__acciones { display: flex; gap: 12px; margin-top: 28px; }
.funnel__acciones .boton { flex: 1 1 auto; }
.funnel__acciones .boton--fantasma { flex: 0 0 auto; }
@media (min-width: 40rem) { .funnel__acciones { justify-content: flex-end; } .funnel__acciones .boton { flex: 0 0 auto; min-width: 11rem; } }
.funnel__siguiente[disabled] { opacity: .6; cursor: progress; transform: none; }

.funnel--fin .funnel__form { align-items: flex-start; }
.prueba { margin-top: 48px; width: 100%; background: var(--white); border: 1.5px dashed var(--gray-dark); border-radius: var(--r-md); padding: 20px; font-size: 15px; line-height: 22px; }
.prueba ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.prueba small { color: var(--gray-dark); }
.prueba a { color: var(--orange-deep); font-weight: 600; }

/* ---------- /no-califica, /agenda, /confirmacion ---------- */
.funnel__form > .etiqueta { margin-bottom: 14px; }
.funnel__alternativa { margin: 20px 0 0; font-size: 15px; line-height: 22px; color: var(--gray-dark); }
.funnel__alternativa a, .reserva a, .aviso a { color: var(--orange-deep); font-weight: 600; }

.oferta { background: var(--white); border-radius: var(--r-lg); padding: 24px; border: 1.5px solid var(--line-light); }
.oferta__nombre { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 24px; line-height: 1.1; margin: 0 0 4px; }
.oferta__precio { font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 44px; line-height: 1; margin: 0 0 18px; }
.oferta__lista { display: grid; gap: 12px; margin-bottom: 18px; }
.oferta__lista li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 24px; }
.oferta__lista .icono { width: 22px; height: 22px; color: var(--black); margin-top: 1px; }
.oferta__nota { margin: 0; padding-top: 16px; border-top: 1px solid var(--line-light); color: var(--gray-dark); font-size: 15px; line-height: 22px; }

.agenda__subtitulo { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-dark); margin: 8px 0 12px; scroll-margin-top: 96px; }
.agenda__pista { margin-top: 16px; }
.dias { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px 20px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.dia {
  flex: 0 0 64px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 4px; border-radius: var(--r-md);
  background: var(--white); border: 1.5px solid var(--line-light); text-decoration: none;
  font-size: 13px; line-height: 16px; transition: border-color .15s ease;
}
.dia:hover { border-color: var(--black); }
.dia__nombre, .dia__mes { color: var(--gray-dark); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.dia__num { font-family: var(--display); font-weight: 900; font-stretch: 80%; font-size: 26px; line-height: 1.1; }
.dia--activo { background: var(--black); border-color: var(--black); color: var(--white); }
.dia--activo .dia__nombre, .dia--activo .dia__mes { color: var(--gray); }

.horarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 30rem) { .horarios { grid-template-columns: repeat(4, 1fr); } }
.horario {
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  background: var(--white); border: 1.5px solid var(--line-light); border-radius: var(--r-md);
  font-weight: 600; font-size: 17px; text-decoration: none; transition: border-color .15s ease;
}
.horario:hover { border-color: var(--black); }
.horario--activo { background: var(--orange); border-color: var(--orange); color: var(--black); }

.confirmar { margin-top: 24px; padding: 20px; background: var(--white); border-radius: var(--r-lg); border: 1.5px solid var(--black); scroll-margin-top: 96px; }
.confirmar__texto { font-size: 17px; line-height: 26px; margin-bottom: 8px; }
.confirmar__email { font-size: 15px; line-height: 22px; color: var(--gray-dark); margin-bottom: 18px; overflow-wrap: anywhere; }
.confirmar .boton { width: 100%; }

.reserva { background: var(--white); border-radius: var(--r-lg); padding: 8px 20px; margin: 8px 0 24px; width: 100%; }
.reserva div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.reserva div:last-child { border-bottom: 0; }
.reserva dt { font-size: 14px; color: var(--gray-dark); font-weight: 600; }
.reserva dd { margin: 0; font-size: 16px; line-height: 24px; overflow-wrap: anywhere; }
.aviso { background: #FFE2CC; border-radius: var(--r-md); padding: 14px 16px; font-size: 15px; line-height: 22px; margin-bottom: 24px; }
.funnel--fin .funnel__ayuda strong { overflow-wrap: anywhere; }
.pie__app { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 19px; color: var(--gray); max-width: 70ch; }
.pie__app a { color: var(--white); }

/* Cómo empezar (home) */
.pasos { display: grid; gap: 16px; counter-reset: none; margin: 0 0 24px; padding: 0; list-style: none; }
@media (min-width: 56rem) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pasos li { background: var(--white); border-radius: var(--r-lg); padding: 24px; color: var(--gray-dark); font-size: 16px; line-height: 24px; }
.pasos strong { display: block; color: var(--black); font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 22px; line-height: 1.15; margin-bottom: 8px; }
.pasos__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--black); font-weight: 700; margin-bottom: 16px; }
.como__nota { text-align: center; color: var(--gray-dark); font-size: 15px; line-height: 22px; max-width: 60ch; margin: 0 auto; }
.como__nota a { color: var(--orange-deep); font-weight: 600; }
.resumen-en { margin-top: 16px; padding: 16px; background: var(--white); border-radius: var(--r-md); font-size: 15px; line-height: 22px; }
.agenda-app .etiqueta { margin-bottom: 12px; }
.agenda-app__bajada { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--gray-dark); }
.agenda-app ol { padding-left: 22px; margin-bottom: 16px; }
.agenda-app .boton { color: var(--black); text-decoration: none; margin-top: 8px; }

/* ---------- Panel de administración ---------- */
.layout-admin { background: var(--off-white); font-size: 15px; line-height: 22px; }
.adm-barra { background: var(--white); border-bottom: 1px solid var(--line-light); position: sticky; top: 0; z-index: 5; }
.adm-barra__fila { display: flex; align-items: center; gap: 16px; padding: 12px var(--margen); max-width: 90rem; margin: 0 auto; }
.adm-barra .logo img { width: 72px; height: auto; }
.adm-nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; }
.adm-nav a { padding: 8px 12px; border-radius: var(--r-md); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.adm-nav a[aria-current="page"] { background: var(--black); color: var(--white); }
.adm-nav__salir { color: var(--gray-dark); }
.adm { max-width: 76rem; margin: 0 auto; padding: 24px var(--margen) 64px; }
.adm--ancho { max-width: 100rem; }
.adm-migas { margin: 0 0 8px; font-size: 14px; color: var(--gray-dark); }
.adm-migas a, .adm a:not(.boton) { color: var(--orange-deep); }
.adm-cabeza { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.adm-titulo { font-family: var(--display); font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: clamp(28px, 4vw, 40px); line-height: 1; margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.adm-filtros select, .adm-filtros input[type="search"], .adm-acciones select, .tarjeta__mover select { min-height: 40px; padding: 6px 10px; border: 1.5px solid var(--line-light); border-radius: var(--r-md); background: var(--white); font: inherit; }
.adm-filtros input[type="search"] { min-width: 15rem; }
.adm-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.adm-aviso { max-width: 76rem; margin: 16px auto 0; padding: 10px 14px; background: var(--white); border-left: 4px solid var(--orange); border-radius: var(--r-sm); font-weight: 600; }
.adm .adm-aviso { margin: 0 0 16px; }
.adm-aviso--alerta { background: #FFE2CC; }
.adm-label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }

.adm-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 48rem) { .adm-kpis { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 72rem) { .adm-kpis { grid-template-columns: repeat(6, 1fr); } }
.adm-kpi { background: var(--white); border-radius: var(--r-lg); padding: 16px; }
.adm-kpi__n { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 36px; line-height: 1; display: flex; flex-direction: column; gap: 2px; }
.adm-kpi__n span { font-size: 26px; }
.adm-kpi__t { margin: 6px 0 2px; font-weight: 600; }
.adm-kpi__s { margin: 0; color: var(--gray-dark); font-size: 13px; line-height: 18px; }

.adm-grilla { display: grid; gap: 16px; }
@media (min-width: 56rem) { .adm-grilla { grid-template-columns: 1fr 1fr; } .adm-caja--ancha { grid-column: 1 / -1; } }
.adm-caja { background: var(--white); border-radius: var(--r-lg); padding: 20px; min-width: 0; }
.adm-caja h2 { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 20px; line-height: 1.2; margin: 0 0 12px; }
.adm-vacio { color: var(--gray-dark); font-size: 14px; margin: 4px 0; }
.adm-tabla { width: 100%; border-collapse: collapse; }
.adm-tabla th, .adm-tabla td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.adm-tabla thead th { font-size: 13px; color: var(--gray-dark); font-weight: 600; }
.adm-tabla--respuestas th { font-weight: 600; width: 45%; font-size: 14px; }
.adm-lista { display: grid; gap: 10px; margin-bottom: 12px; }
.adm-chip { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--off-white); border: 1px solid var(--line-light); font-size: 12px; line-height: 18px; font-weight: 600; vertical-align: middle; font-family: var(--sans); text-transform: none; letter-spacing: 0; }
.adm-chip--alerta { background: #FFE2CC; border-color: #FFC9A3; }
.adm-chip--ok { background: #E3F1E6; border-color: #C3E1CA; }
.adm-datos div { display: grid; grid-template-columns: 8rem 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line-light); }
.adm-datos div:last-child { border-bottom: 0; }
.adm-datos dt { color: var(--gray-dark); font-size: 14px; }
.adm-datos dd { margin: 0; overflow-wrap: anywhere; }
.adm-motivos { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.adm-reserva { padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.adm-reserva:last-child { border-bottom: 0; }
.adm-reserva p { margin: 0 0 6px; }
.adm-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-acciones form { display: flex; gap: 6px; }
.adm-form { display: grid; gap: 10px; margin-bottom: 12px; }
.adm-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.adm-form input, .adm-form select, .adm-form textarea { min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--line-light); border-radius: var(--r-md); background: var(--white); font: inherit; font-weight: 400; }
.adm-form textarea { min-height: 84px; resize: vertical; }
.adm-form__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adm-form .boton, .adm-acciones .boton { justify-self: start; }
.adm-comentario { padding: 10px 0; border-top: 1px solid var(--line-light); }
.adm-comentario p { margin: 0 0 4px; }
.adm-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.adm-timeline time { display: inline-block; min-width: 8.5rem; color: var(--gray-dark); font-size: 13px; font-variant-numeric: tabular-nums; }
.adm-inline { display: inline; }
.adm-link { background: none; border: 0; padding: 0 4px; color: var(--orange-deep); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

.tablero { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(13.5rem, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: start; }
.columna { background: #E8E5DE; border-radius: var(--r-lg); padding: 12px; min-height: 12rem; transition: background-color .15s ease; }
.columna--sobre { background: #FFE2CC; }
.columna__titulo { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin: 2px 4px 10px; }
.columna__titulo span { color: var(--gray-dark); }
.columna__lista { display: grid; gap: 8px; }
.tarjeta { background: var(--white); border-radius: var(--r-md); padding: 12px; border: 1.5px solid transparent; cursor: grab; }
.tarjeta:hover { border-color: var(--line-light); }
.tarjeta--arrastrando { opacity: .5; }
.tarjeta__nombre { font-weight: 700; text-decoration: none; color: var(--black) !important; }
.tarjeta__meta { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--gray-dark); }
.tarjeta__reunion { margin: 6px 0 0; font-size: 13px; font-weight: 600; }
.tarjeta__mover { display: flex; gap: 6px; margin-top: 10px; }
.tarjeta__mover select { flex: 1; min-height: 34px; font-size: 13px; }
.tarjeta__mover .boton { min-height: 34px; padding: 4px 10px; font-size: 13px; }

/* ---------- Herramientas: link desde la home ---------- */
.herramientas__link { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--orange-deep); text-decoration: none; }
.herramientas__link:hover { text-decoration: underline; }

/* ---------- /herramientas ---------- */
.herr-cabeza { padding: clamp(48px, 8vw, 96px) 0 32px; }
.herr-cabeza .titulo--grande { max-width: 16ch; }
.herr-cabeza__bajada { max-width: 46ch; margin: 20px 0 16px; color: var(--gray-dark); }
.herr-aviso { max-width: 62ch; margin: 0; padding: 12px 16px; background: var(--white); border-left: 4px solid var(--orange); border-radius: var(--r-sm); font-size: 15px; line-height: 22px; }
.herr { padding: 8px 0 var(--seccion); }
.herr-buscar { display: flex; gap: 8px; max-width: 34rem; margin-bottom: 16px; }
.herr-buscar input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line-light); border-radius: var(--r-md); background: var(--white); font: inherit; font-size: 16px; }
.herr-buscar input:focus { border-color: var(--black); outline: none; }
.herr-categorias { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 40px; scrollbar-width: none; }
.herr-categorias a { flex: none; padding: 6px 14px; border: 1.5px solid var(--line-light); border-radius: 999px; text-decoration: none; font-size: 15px; line-height: 24px; font-weight: 600; background: var(--white); }
.herr-categorias a:hover { border-color: var(--black); }
.herr-categorias a[aria-current="page"] { background: var(--black); border-color: var(--black); color: var(--white); }
.herr-grupo { margin-bottom: 48px; }
.herr-grupo__titulo { font-family: var(--display); font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.1; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); }
.herr-lista { display: grid; gap: 12px; }
@media (min-width: 40rem) { .herr-lista { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .herr-lista { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.herr-ficha { background: var(--white); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; border: 1.5px solid transparent; }
.herr-ficha--destacada { border-color: var(--black); }
.herr-ficha__cabeza { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.herr-ficha__nombre { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 22px; line-height: 1.1; }
.herr-ficha__texto { margin: 0; font-size: 16px; line-height: 24px; color: var(--gray-dark); flex: 1; }
.herr-ficha__boton { align-self: flex-start; margin-top: 4px; }
.herr-logo { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); background: var(--off-white); }
.herr-logo .logo-herramienta { width: 26px; height: 26px; }
.herr-logo--img { object-fit: contain; padding: 6px; }
.herr-logo--inicial { background: var(--black); color: var(--orange); font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 26px; line-height: 1; }
.herr-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--orange); color: var(--black); font-size: 12px; line-height: 18px; font-weight: 600; }
.herr-vacio { color: var(--gray-dark); margin: 24px 0 48px; }
.herr-vacio a { color: var(--orange-deep); }
.herr-cierre { margin-top: 24px; padding: 32px; background: var(--black); color: var(--white); border-radius: var(--r-lg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.herr-cierre p { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; max-width: 28ch; }

/* ---------- Panel: herramientas ---------- */
.adm-scroll { overflow-x: auto; }
.adm-num { text-align: right !important; font-variant-numeric: tabular-nums; }
.adm-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--off-white); padding: 2px 6px; border-radius: var(--r-sm); overflow-wrap: anywhere; }
.adm-subtitulo { margin-top: 20px !important; font-size: 17px !important; }
.adm-error { color: #A12A00; font-weight: 600; font-size: 13px; }
.adm-ayuda { color: var(--gray-dark); font-weight: 400; font-size: 13px; line-height: 18px; }
.adm-prefijo { display: flex; align-items: stretch; border: 1.5px solid var(--line-light); border-radius: var(--r-md); background: var(--white); overflow: hidden; }
.adm-prefijo span { display: flex; align-items: center; padding: 0 4px 0 12px; color: var(--gray-dark); font-weight: 400; white-space: nowrap; }
.adm-form .adm-prefijo input { border: 0; border-radius: 0; flex: 1; min-width: 0; padding-left: 0; }
.adm-fieldset { border: 1.5px solid var(--line-light); border-radius: var(--r-md); padding: 12px; margin: 0; display: grid; gap: 10px; }
.adm-fieldset legend { font-size: 14px; font-weight: 600; padding: 0 4px; }
.adm-logo-actual { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray-dark); }
.adm-form .adm-check { display: flex; grid-template-columns: none; font-weight: 400; }
.adm-form .adm-check input { min-height: 0; }
