/* =====================================================================
   Nuskë Vet Center — Identidad «Indigo / Vermilion» (propuesta)
   Rama: design/nuske-indigo-vermilion · solo capa visual.
   Se activa únicamente con <html data-identity="indigo">; si se quita el
   atributo o el <link>, la página vuelve al estilo publicado.
   Iconos: trazados de Lucide (ISC License, lucide.dev).
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Fuentes autoalojadas (WOFF2, subconjunto latino). Licencias en assets/fonts/.
   DM Sans: interfaz y lectura · DM Serif Display: encabezados institucionales.
   Las caras solo se descargan si un texto visible las usa; las páginas de
   urgencias no usan la serif y no la descargan.
   --------------------------------------------------------------------- */
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dmsans/dmsans-var.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url('/assets/fonts/dmserifdisplay/dmserifdisplay-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Roboto'); size-adjust: 103.97%; ascent-override: 95.41%; descent-override: 29.82%; line-gap-override: 0.00%; }
@font-face { font-family: 'DM Serif Display Fallback'; src: local('Georgia'), local('Times New Roman'); size-adjust: 100.37%; ascent-override: 103.22%; descent-override: 33.38%; line-gap-override: 0.00%; }
/* Material Symbols Outlined: subconjunto local de 32 iconos (landings). Apache 2.0. */
@font-face { font-family: 'Material Symbols Outlined'; font-style: normal; font-weight: 400; font-display: block; src: url('/assets/fonts/materialsymbols/material-symbols-outlined-subset.woff2') format('woff2'); }
.material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }

/* ---------------------------------------------------------------------
   1. Paleta (valores de marca) — no usar directamente en componentes
   --------------------------------------------------------------------- */
html[data-identity] {
  --nk-indigo-950: #0b152b;   /* Azul nocturno · fondo del tema oscuro */
  --nk-indigo-900: #0f1f44;
  --nk-indigo-800: #142958;   /* Deep Indigo · autoridad institucional */
  --nk-indigo-700: #1c3670;
  --nk-indigo-600: #2e4a8a;
  --nk-indigo-300: #9db4ea;
  --nk-indigo-200: #c4d1f2;
  --nk-indigo-100: #e7ecf7;
  --nk-stone-400: #b8becb;    /* Stone Grey · superficies y detalles */
  --nk-stone-300: #d3d8e1;
  --nk-stone-200: #e3e6ec;
  --nk-pearl: #f2f4f7;        /* Gris perla · fondos alternos */
  --nk-white: #ffffff;        /* Blanco clínico */
  --nk-ink: #0f1a33;          /* Texto de lectura (índigo casi negro) */
  --nk-slate: #4a5368;        /* Texto secundario sobre claro */
  --nk-vermilion: #e93d0d;    /* Vermilion · solo acentos gráficos */
  --nk-vermilion-700: #c52e0b;/* Vermilion accesible · botón de urgencias */
  --nk-vermilion-800: #a32508;
  --nk-vermilion-300: #ff7a50;/* Vermilion sobre fondo nocturno (texto) */
  --nk-wa-700: #0f7a3b;       /* WhatsApp accesible (texto blanco 5.43:1) */
  --nk-wa-800: #0b6531;
  --nk-wa-brand: #25d366;     /* WhatsApp de marca (texto índigo 9.16:1) */
  --nk-logo-navy: #1d3f68;    /* Referencia: azul del SVG institucional */
  --nk-logo-red: #ff0000;     /* Referencia: rojo del SVG institucional */

  /* -------------------------------------------------------------------
     2. Tokens semánticos — tema claro
     ------------------------------------------------------------------- */
  --c-bg: var(--nk-white);
  --c-bg-alt: var(--nk-pearl);
  --c-surface: var(--nk-white);
  --c-surface-sunken: var(--nk-pearl);
  --c-surface-inst: var(--nk-indigo-800);      /* superficies institucionales */
  --c-surface-inst-2: var(--nk-indigo-900);
  --c-text: var(--nk-ink);
  --c-heading: var(--nk-indigo-800);
  --c-text-2: var(--nk-slate);
  --c-text-on-inst: #ffffff;
  --c-text-2-on-inst: #cdd3df;                 /* 9.2:1 sobre Deep Indigo */
  --c-border: var(--nk-stone-200);
  --c-border-strong: var(--nk-stone-400);
  --c-border-on-inst: rgba(184, 190, 203, .26);
  --c-control-border: #7c8496;                 /* límite de controles 3.75:1 */
  --c-link: var(--nk-indigo-800);
  --c-link-hover: var(--nk-indigo-600);
  --c-link-on-inst: #ffffff;

  --c-action: var(--nk-indigo-800);            /* acción primaria */
  --c-action-hover: var(--nk-indigo-950);
  --c-action-text: #ffffff;
  --c-action-2-border: var(--nk-indigo-800);   /* acción secundaria */
  --c-action-2-text: var(--nk-indigo-800);
  --c-action-2-hover: var(--nk-indigo-100);
  --c-urgent: var(--nk-vermilion-700);         /* urgencias */
  --c-urgent-hover: var(--nk-vermilion-800);
  --c-urgent-text: #ffffff;
  --c-urgent-accent: var(--nk-vermilion);      /* punto, regla, icono */
  --c-urgent-tint: #fdebe5;
  --c-wa: var(--nk-wa-700);
  --c-wa-hover: var(--nk-wa-800);
  --c-wa-text: #ffffff;
  --c-success: #0f7a3b;
  --c-warning: #8a5a00;
  --c-error: #b3261e;
  --c-disabled-bg: var(--nk-stone-200);
  --c-disabled-text: #6b7385;
  --c-focus: var(--nk-indigo-600);
  --c-selection: var(--nk-indigo-100);
  --c-star: var(--nk-indigo-800);

  --nk-radius-sm: 8px;
  --nk-radius: 12px;
  --nk-radius-lg: 16px;
  --nk-shadow-1: 0 1px 2px rgba(20, 41, 88, .06), 0 4px 14px rgba(20, 41, 88, .06);
  --nk-shadow-2: 0 2px 6px rgba(20, 41, 88, .08), 0 18px 40px rgba(20, 41, 88, .10);
  --nk-ease: cubic-bezier(.22, 1, .36, 1);

  /* -------------------------------------------------------------------
     3. Puente con las variables heredadas de styles.css
     ------------------------------------------------------------------- */
  --bg: var(--c-bg);
  --bg2: var(--c-bg-alt);
  --text: var(--c-text);
  --muted: var(--c-text-2);
  --card: var(--c-surface);
  --border: var(--c-border);
  --primary: var(--c-action);
  --primary2: var(--nk-indigo-600);
  --danger: var(--c-urgent);
  --wa: var(--c-wa);
  --a11y-link: var(--c-link);
  --shadow: var(--nk-shadow-2);
  --shadow2: var(--nk-shadow-1);
  --radius: var(--nk-radius);
  --radius2: var(--nk-radius-lg);
  --focus: 3px solid var(--c-focus);
  --focusOffset: 3px;
}

/* Tema oscuro: no es una inversión. Noche índigo, superficies Deep Indigo,
   acciones claras y Vermilion reservado a urgencias. */
html[data-identity][data-theme="dark"] {
  --c-bg: var(--nk-indigo-950);
  --c-bg-alt: var(--nk-indigo-950);           /* tres fondos: noche, superficie, institucional */
  --c-surface: #12224a;
  --c-surface-sunken: var(--nk-indigo-950);
  --c-surface-inst: var(--nk-indigo-800);
  --c-surface-inst-2: #10204a;
  --c-text: #f3f5fa;
  --c-heading: #ffffff;
  --c-text-2: var(--nk-stone-400);              /* 9.7:1 sobre la noche */
  --c-text-on-inst: #ffffff;
  --c-text-2-on-inst: #cdd3df;
  --c-border: rgba(184, 190, 203, .18);
  --c-border-strong: rgba(184, 190, 203, .38);
  --c-border-on-inst: rgba(184, 190, 203, .24);
  --c-control-border: #6f7a96;                 /* 3.9:1 sobre la noche */
  --c-link: var(--nk-indigo-200);               /* 11.9:1 */
  --c-link-hover: #ffffff;
  --c-action: #eef1f8;                          /* acción primaria clara */
  --c-action-hover: #ffffff;
  --c-action-text: var(--nk-indigo-800);
  --c-action-2-border: rgba(196, 209, 242, .55);
  --c-action-2-text: #ffffff;
  --c-action-2-hover: rgba(196, 209, 242, .12);
  --c-urgent: var(--nk-vermilion-700);
  --c-urgent-hover: #d8360f;
  --c-urgent-accent: var(--nk-vermilion-300);
  --c-urgent-tint: rgba(233, 61, 13, .16);
  --c-wa: var(--nk-wa-brand);
  --c-wa-hover: #3ee07c;
  --c-wa-text: var(--nk-indigo-950);
  --c-success: #4ade80;
  --c-warning: #f5c451;
  --c-error: #ff8a80;
  --c-disabled-bg: rgba(184, 190, 203, .16);
  --c-disabled-text: #8d95a6;
  --c-focus: var(--nk-indigo-300);
  --c-selection: rgba(157, 180, 234, .35);
  --c-star: var(--nk-indigo-200);
  --nk-shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 16px rgba(0, 0, 0, .25);
  --nk-shadow-2: 0 2px 6px rgba(0, 0, 0, .4), 0 20px 44px rgba(0, 0, 0, .35);
  --primary: var(--nk-indigo-800);
  --primary2: var(--nk-indigo-300);
}

/* ---------------------------------------------------------------------
   4. Base y superficies del navegador
   --------------------------------------------------------------------- */
html[data-identity][data-theme] body {
  background: var(--c-bg);
  color: var(--c-text);
  accent-color: var(--c-action);
  caret-color: var(--c-heading);
}
html[data-identity] ::selection { background: var(--c-selection); color: inherit; }
html[data-identity][data-theme] :is(h1, h2, h3, h4) { color: var(--c-heading); }
html[data-identity][data-theme] :is(h1, h2) { letter-spacing: -.025em; text-wrap: balance; }
html[data-identity] .muted,
html[data-identity] .lead { color: var(--c-text-2); }
html[data-identity] :focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
html[data-identity] a:not(.btn):not(.nav__link):not(.mobile-nav__item) { text-underline-offset: .22em; text-decoration-thickness: 1px; }
html[data-identity] :is(.link, .home-service__secondary, .home-service__link, .home-reviews__source) {
  color: var(--c-link);
  font-weight: 700;
}
html[data-identity] :is(.link, .home-service__secondary, .home-service__link):hover { color: var(--c-link-hover); text-decoration-thickness: 2px; }
@supports (scrollbar-color: auto) {
  html[data-identity] { scrollbar-color: var(--c-border-strong) var(--c-bg); }
}

/* 5. Iconografía: ver sección 19 (clases .nk-ic generadas desde assets/icons). */

/* ---------------------------------------------------------------------
   6. Botones — una familia, cuatro intenciones
   --------------------------------------------------------------------- */
html[data-identity] .btn {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .005em;
  box-shadow: none;
  filter: none;
  transition: background-color .18s var(--nk-ease), border-color .18s var(--nk-ease), color .18s var(--nk-ease), transform .12s var(--nk-ease), box-shadow .18s var(--nk-ease);
}
html[data-identity] .btn:hover { transform: translateY(-1px); filter: none; }
html[data-identity] .btn:active { transform: translateY(1px); }
html[data-identity] .btn--primary {
  background: var(--c-action);
  border-color: var(--c-action);
  color: var(--c-action-text);
}
html[data-identity] .btn--primary:hover { background: var(--c-action-hover); border-color: var(--c-action-hover); box-shadow: var(--nk-shadow-1); }
html[data-identity] .btn--ghost {
  background: transparent;
  border: 1.5px solid var(--c-control-border);
  color: var(--c-action-2-text);
  box-shadow: none;
}
html[data-identity] .btn--ghost:hover { border-color: var(--c-action-2-border); background: var(--c-action-2-hover); }
html[data-identity] .btn--danger {
  background: var(--c-urgent);
  border-color: var(--c-urgent);
  color: var(--c-urgent-text);
}
html[data-identity] .btn--danger:hover { background: var(--c-urgent-hover); border-color: var(--c-urgent-hover); box-shadow: 0 8px 22px rgba(197, 46, 11, .22); }
html[data-identity] .btn--whatsapp {
  background: var(--c-wa);
  border-color: var(--c-wa);
  color: var(--c-wa-text);
}
html[data-identity] .btn--whatsapp:hover { background: var(--c-wa-hover); border-color: var(--c-wa-hover); }
html[data-identity] .btn:is([disabled], [aria-disabled="true"]) {
  background: var(--c-disabled-bg); border-color: var(--c-disabled-bg); color: var(--c-disabled-text); transform: none; cursor: not-allowed;
}
html[data-identity] .btn:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }

/* ---------------------------------------------------------------------
   7. Encabezado y navegación
   --------------------------------------------------------------------- */
html[data-identity] .header {
  background: color-mix(in srgb, var(--c-bg) 94%, transparent);
  border-bottom: 1px solid var(--c-border);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
          backdrop-filter: saturate(1.4) blur(10px);
}
html[data-identity] .nav__link {
  position: relative;
  color: var(--c-heading);
  font-weight: 600;
}
html[data-identity] .nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-heading);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--nk-ease);
}
html[data-identity] .nav__link:hover { color: var(--c-heading); background: transparent; }
html[data-identity] .nav__link:hover::after { transform: scaleX(1); }

/* Selector de idioma como control segmentado */
html[data-identity] .lang {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-surface);
  box-shadow: none;
}
html[data-identity] .lang .chip {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--c-text-2);
  font-weight: 700;
  box-shadow: none;
  min-width: 44px;
}
html[data-identity] .lang .chip[aria-pressed="true"] { background: var(--c-heading); color: var(--c-bg); }
html[data-identity][data-theme="dark"] .lang .chip[aria-pressed="true"] { background: #eef1f8; color: var(--nk-indigo-800); }
html[data-identity] .icon-btn {
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-surface);
  color: var(--c-heading);
  box-shadow: none;
}
html[data-identity] .icon-btn:hover { border-color: var(--c-border-strong); }

/* «Llamar» del encabezado: indicador de atención 24 h (punto fijo, sin pulso) */
html[data-identity] .header__actions a.btn--ghost[href^="tel:"] {
  position: relative;
  color: var(--c-heading);
}
html[data-identity] .header__actions a.btn--ghost[href^="tel:"]::after {
  content: "";
  position: absolute;
  top: 7px; right: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-urgent-accent);
  box-shadow: 0 0 0 2px var(--c-bg);
}

/* Menú móvil */
@media (max-width: 900px) {
  html[data-identity] .nav__menu { background: var(--c-bg); border-color: var(--c-border); box-shadow: var(--nk-shadow-2); }
  html[data-identity][data-theme="dark"] .nav__menu { background: var(--c-bg-alt); }
  html[data-identity] .nav__toggle { border-color: var(--c-border); border-radius: 10px; background: var(--c-surface); }
}

/* ---------------------------------------------------------------------
   8. Portada — hero editorial
   --------------------------------------------------------------------- */
html[data-identity] .home-hero {
  background: var(--c-bg);
  isolation: isolate;
}
html[data-identity] .home-hero .hero__bg-blob { display: none; }
/* Campo Deep Indigo a sangre en el borde derecho: la fotografía lo cruza. */
html[data-identity] .home-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0; bottom: 0; right: 0;
  width: 27%;
  background: var(--c-surface-inst);
}
html[data-identity] .home-hero { padding-bottom: 0; }
html[data-identity] .home-hero .hero__inner { position: relative; z-index: 1; padding-block: clamp(40px, 6vw, 84px) clamp(28px, 3.5vw, 48px); min-height: min(720px, calc(100svh - 90px)); }
@media (min-width: 901px) {
  html[data-identity] .home-hero .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}
html[data-identity] .home-hero .hero__title {
  color: var(--c-heading);
  font-weight: 400;
  letter-spacing: var(--ls-serif);
  font-size: var(--fs-display);
  line-height: 1.06;
  max-width: 21ch;
  margin-bottom: 22px;
}
/* Acento Vermilion: una sola regla corta, sin texto (no es un «eyebrow»). */
html[data-identity] .home-hero .hero__content::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-bottom: 26px;
  border-radius: 2px;
  background: var(--c-urgent-accent);
}
html[data-identity] .home-hero .lead { color: var(--c-text-2); font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; }
html[data-identity] .home-hero .hero__cta { gap: 10px; }
html[data-identity] .home-hero .hero__cta .btn { min-height: 52px; padding-inline: 20px; font-size: 1rem; }
html[data-identity] .home-hero .hero__img {
  border-radius: var(--nk-radius-lg);
  box-shadow: 0 30px 60px -20px rgba(11, 21, 43, .45);
  aspect-ratio: 4 / 4.2;
}
@media (max-width: 900px) {
  html[data-identity] .home-hero .hero__content::before { margin-top: 18px; margin-bottom: 20px; }
  html[data-identity] .home-hero::before { top: auto; left: 0; width: auto; height: 34%; }
  html[data-identity] .home-hero .hero__inner { padding-bottom: 32px; }
  html[data-identity] .home-hero .image-wrapper { max-width: none; justify-self: stretch; }
  html[data-identity] .home-hero .hero__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  html[data-identity] .home-hero .hero__cta .btn { flex: 1 1 150px; min-height: 50px; padding-inline: 14px; font-size: .98rem; }
  html[data-identity] .home-hero .hero__cta .btn--ghost { flex-basis: 100%; }
}

/* ---------------------------------------------------------------------
   9. Ritmo de secciones (portada)
   --------------------------------------------------------------------- */
html[data-identity] .section--alt { background: var(--c-bg-alt); border-color: transparent; }
html[data-identity][data-theme="dark"] .section--alt { border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
html[data-identity] .section__head h2,
html[data-identity] .section__title { font-weight: 600; font-size: clamp(1.85rem, 3vw, 2.6rem); line-height: 1.12; }
html[data-identity] .section__head p { max-width: 62ch; }

/* Certificación */
html[data-identity] .section--cert { background: var(--c-bg); }
html[data-identity] .section--cert .cert__blob { display: none; }
html[data-identity] .section--cert .eyebrow {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--c-text-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html[data-identity] .badge-verified {
  background: transparent;
  color: var(--c-success);
  border: 1px solid currentColor;
  box-shadow: none;
}
html[data-identity] .cert-archive__item img { border-radius: var(--nk-radius-sm); box-shadow: var(--nk-shadow-1); }
html[data-identity] .home-history__profile {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--nk-radius-lg);
  box-shadow: none;
}

/* Servicios */
html[data-identity] .home-service {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--nk-radius-lg);
  box-shadow: none;
  transition: transform .2s var(--nk-ease), box-shadow .2s var(--nk-ease), border-color .2s var(--nk-ease);
}
html[data-identity] .home-service:hover { transform: translateY(-2px); box-shadow: var(--nk-shadow-2); border-color: var(--c-border-strong); }
html[data-identity] .home-services-grid .home-service--groom { border-color: var(--c-border); }
html[data-identity] .home-services-grid .home-service--urgent { border-color: color-mix(in srgb, var(--c-urgent-accent) 38%, var(--c-border)); }
html[data-identity] .home-service h3 { font-weight: 600; letter-spacing: -.01em; }
html[data-identity] .home-service__head { gap: 12px; }
html[data-identity] .home-service__head::before { content: none; }
html[data-identity] .home-services-other h3 { color: var(--c-text-2); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html[data-identity] .home-services-other__links a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-heading);
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: border-color .18s var(--nk-ease), background-color .18s var(--nk-ease);
}
html[data-identity] .home-services-other__links a::after {
  content: ""; inline-size: 14px; block-size: 14px; background: currentColor; opacity: .55;
  -webkit-mask: var(--ic-arrow-right) center / contain no-repeat; mask: var(--ic-arrow-right) center / contain no-repeat;
  transition: transform .2s var(--nk-ease), opacity .2s;
}
html[data-identity] .home-services-other__links a:hover { border-color: var(--c-heading); }
html[data-identity] .home-services-other__links a:hover::after { transform: translateX(3px); opacity: 1; }
html[data-identity] .promo-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--nk-radius-lg);
  box-shadow: none;
}
html[data-identity] #promoBadge { color: var(--c-text-2); }

/* Equipo */
html[data-identity] .section--equipo { background: var(--c-bg); }
html[data-identity] .doctor-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--nk-radius-lg);
  box-shadow: none;
}
html[data-identity] .doctor-card__specialty {
  background: var(--c-bg-alt);
  color: var(--c-heading);
  border: 0;
  box-shadow: none;
}
html[data-identity] .doctor-card__role { color: var(--c-text-2); font-weight: 700; }
html[data-identity] .doctor-card__publications a { color: var(--c-link); }

/* Instalaciones — superficie institucional Deep Indigo, la fotografía manda */
html[data-identity] #instalaciones {
  background: var(--c-surface-inst);
  color: var(--c-text-on-inst);
}
html[data-identity] #instalaciones :is(h2, h3) { color: var(--c-text-on-inst); }
html[data-identity] #instalaciones .muted { color: var(--c-text-2-on-inst); }
html[data-identity] #instalaciones .gallery-item {
  border-radius: var(--nk-radius);
  box-shadow: none;
  background: var(--c-surface-inst-2);
}
html[data-identity] #instalaciones .gallery-item img { transition: transform .5s var(--nk-ease); }
html[data-identity] #instalaciones .gallery-item:hover img { transform: scale(1.03); }
html[data-identity] #instalaciones .gallery-overlay { background: linear-gradient(to top, rgba(11, 21, 43, .92), rgba(11, 21, 43, 0) 100%); color: #fff; font-weight: 600; }
html[data-identity] #instalaciones .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
html[data-identity] #instalaciones .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
html[data-identity] #instalaciones :focus-visible { outline-color: #fff; }

/* Testimonios — contenido intacto, lectura más editorial */
html[data-identity] .home-google-rating,
html[data-identity] .home-review {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--nk-radius-lg);
  box-shadow: none;
}
html[data-identity] :is(.home-google-rating__stars, .home-review__stars) { color: var(--c-star) !important; letter-spacing: .08em; }
html[data-identity] .home-google-rating__stars > span { opacity: .3; }
html[data-identity] .home-review blockquote { color: var(--c-heading); font-weight: 500; }
html[data-identity] .home-review--featured {
  background: var(--c-bg-alt);
  border-color: transparent;
}
html[data-identity] .home-review--featured blockquote { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.3; letter-spacing: -.015em; }
html[data-identity] .home-review__topic { color: var(--c-text-2); }
html[data-identity] .home-review footer { border-color: var(--c-border); }

/* Planes, blog, calculadora, ayuda */
html[data-identity] :is(.blog-card, .post-card, .card, .faq-item, details.faq, .help-faq details, .calc-card, .panel) {
  border-color: var(--c-border);
  box-shadow: none;
}
html[data-identity][data-theme] :is(select, input[type="text"], input[type="search"], input[type="number"], input[type="email"], textarea) {
  border-color: var(--c-control-border);
  border-radius: 10px;
  background-color: var(--c-surface);
  color: var(--c-text);
}
html[data-identity][data-theme] :is(select, input, textarea):focus-visible { outline: 3px solid var(--c-focus); outline-offset: 1px; border-color: var(--c-focus); }
html[data-identity] #faq details { background: var(--c-surface); border-color: var(--c-border); box-shadow: none; }
html[data-identity] .chip { border-color: var(--c-border); box-shadow: none; }
html[data-identity] .chip:is(.is-active, [aria-pressed="true"], [aria-selected="true"]) { background: var(--c-heading); border-color: var(--c-heading); color: var(--c-bg); }
html[data-identity][data-theme="dark"] .chip:is(.is-active, [aria-pressed="true"], [aria-selected="true"]) { background: #eef1f8; color: var(--nk-indigo-800); }

/* ---------------------------------------------------------------------
   9b. Fichas de servicio y catálogo (service-detail.css / services.html)
   --------------------------------------------------------------------- */
html[data-identity] .service-detail #serviceName,
html[data-identity] .services-page h1,
html[data-identity] main > section:first-child h1 { color: var(--c-heading); }
html[data-identity] .service-detail :is(.sd-kicker, .eyebrow) { color: var(--c-text-2); letter-spacing: .1em; }
html[data-identity] .service-detail .sd-hero { position: relative; isolation: isolate; }
html[data-identity] .service-detail .sd-hero__media {
  border: 0;
  border-radius: var(--nk-radius-lg);
  background: var(--c-surface-inst);
  box-shadow: 0 30px 60px -24px rgba(11, 21, 43, .45);
}
html[data-identity] .service-detail .sd-hero__media figcaption { background: var(--c-surface-inst); color: var(--c-text-on-inst); border: 0; }
html[data-identity] .service-detail .sd-hero__facts span { background: var(--c-bg-alt); border-color: transparent; color: var(--c-heading); font-weight: 600; }
html[data-identity] .service-detail .section:nth-of-type(even) { background: var(--c-bg-alt); }
html[data-identity] .service-detail :is(.card, .sd-card, details, .sd-list li) { border-color: var(--c-border); box-shadow: none; }
html[data-identity] .breadcrumb a, html[data-identity] .sd-breadcrumb a { color: var(--c-link); }

/* Catálogo de servicios */
html[data-identity] .service-card, html[data-identity] .srv-card {
  border: 1px solid var(--c-border);
  border-radius: var(--nk-radius-lg);
  box-shadow: none;
  background: var(--c-surface);
}

/* ---------------------------------------------------------------------
   10. Pie institucional Deep Indigo
   --------------------------------------------------------------------- */
html[data-identity] .home-footer {
  background: var(--c-surface-inst);
  color: var(--c-text-2-on-inst);
  border-top: 0;
  padding-top: clamp(48px, 6vw, 80px);
}
html[data-identity][data-theme="dark"] .home-footer { background: var(--nk-indigo-800); border-top: 1px solid var(--c-border-on-inst); }
html[data-identity] .home-footer :is(h2, h3, strong, address, .home-footer__status) { color: var(--c-text-on-inst); }
html[data-identity] .home-footer h2 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--c-text-2-on-inst); }
html[data-identity] .home-footer .home-footer__status { font-size: 1.15rem; font-weight: 700; }
html[data-identity] .home-footer .home-footer__status::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%;
  background: var(--nk-vermilion-300); vertical-align: .12em;
}
html[data-identity] .home-footer a:not(.btn),
html[data-identity] .home-footer .home-footer__utilities button,
html[data-identity] .home-footer summary { color: var(--c-link-on-inst); }
html[data-identity] .home-footer a:not(.btn):hover { color: #fff; text-decoration-thickness: 2px; }
html[data-identity] .home-footer__bottom { border-top: 1px solid var(--c-border-on-inst); color: var(--c-text-2-on-inst); }
html[data-identity] .home-footer :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
html[data-identity] .home-footer .btn--whatsapp { background: var(--nk-wa-brand); border-color: var(--nk-wa-brand); color: var(--nk-indigo-950); }
html[data-identity] .home-footer .btn--whatsapp:hover { background: #3ee07c; border-color: #3ee07c; }
html[data-identity] .home-footer .btn--danger { box-shadow: 0 0 0 1px rgba(255, 255, 255, .45); }
/* Logotipo institucional: variante blanca autorizada sobre Deep Indigo. */
html[data-identity]:not([data-theme="dark"]) .home-footer .brand__logo--light { display: none !important; }
html[data-identity]:not([data-theme="dark"]) .home-footer .brand__logo--dark { display: block !important; }
html[data-identity] .home-footer__map iframe { border-radius: var(--nk-radius); }

/* ---------------------------------------------------------------------
   11. Elementos flotantes y capas
   --------------------------------------------------------------------- */
html[data-identity] .panic__btn {
  background: var(--c-urgent);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(197, 46, 11, .32);
  animation: none;
  gap: 8px;
}
html[data-identity] .panic__btn::before,
html[data-identity] .panic__btn::after { content: none !important; animation: none !important; }
html[data-identity] .panic__btn:hover { background: var(--c-urgent-hover); }

html[data-identity] .mobile-nav {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -6px 24px rgba(11, 21, 43, .08);
}
html[data-identity] .mobile-nav__item { color: var(--c-heading); }
html[data-identity] .mobile-nav .urgent-item { color: var(--c-urgent); }
html[data-identity][data-theme="dark"] .mobile-nav .urgent-item { color: var(--nk-vermilion-300); }
html[data-identity] .mobile-nav .urgent-item .icon-container {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--c-urgent) !important;
  border-color: var(--c-bg) !important;
  box-shadow: 0 6px 14px rgba(197, 46, 11, .3) !important;
  animation: none !important;
}
html[data-identity] .mobile-nav .urgent-item .mobile-nav__label { color: inherit; font-weight: 800; }
html[data-identity][data-theme="dark"] .mobile-nav .urgent-item .mobile-nav__label { color: var(--nk-vermilion-300); }

html[data-identity] .modal__panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--nk-radius-lg);
  box-shadow: 0 30px 80px rgba(11, 21, 43, .35);
}
html[data-identity] .modal__overlay { background: rgba(11, 21, 43, .62); }

/* Asistente virtual (shadow DOM): solo se reasignan sus variables. */
html[data-identity] nuske-assistant {
  --assistant-hover: var(--nk-indigo-600);
  --assistant-focus: var(--c-focus);
  --assistant-focus-on-head: var(--nk-indigo-200);
  --assistant-action: var(--c-action);
  --assistant-action-text: var(--c-action-text);
  --reply-link: var(--c-link);
  --blue: var(--nk-indigo-800);
  --line: var(--nk-stone-200);
  --soft: var(--nk-pearl);
  --ink: var(--nk-ink);
  --muted: var(--nk-slate);
}
html[data-identity][data-theme="dark"] nuske-assistant {
  --blue: var(--nk-indigo-800);
  --surface: #12224a;
  --soft: #0e1a36;
  --line: rgba(184, 190, 203, .24);
  --ink: #f3f5fa;
  --muted: var(--nk-stone-400);
  --reply-link: var(--nk-indigo-200);
}

/* El lanzador flotante cruza superficies índigo: anillo claro para separarlo. */
html[data-identity] nuske-assistant:not([data-inline-launcher]) {
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 10px 26px rgba(11, 21, 43, .28);
}
html[data-identity][data-theme="dark"] nuske-assistant:not([data-inline-launcher]) { box-shadow: 0 0 0 2px rgba(196, 209, 242, .55), 0 10px 26px rgba(0, 0, 0, .4); }

/* Aviso de cookies (nuske-consent.js) */
html[data-identity] body .nuske-consent { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border); }
html[data-identity] body .nuske-consent__btn { border-radius: 10px; background: var(--c-action); border-color: var(--c-action); color: var(--c-action-text); }
html[data-identity] body .nuske-consent__btn--link { background: transparent; border-color: transparent; color: var(--c-link); }
html[data-identity] body .nuske-consent__text a { color: var(--c-link); }
html[data-identity] body .nuske-consent__opt input { accent-color: var(--c-heading); }
html[data-identity] body :is(.nuske-consent__btn, .nuske-consent input, .nuske-consent a):focus-visible { outline: 3px solid var(--c-focus); }
html[data-identity][data-theme="dark"] body .nuske-consent { background: #12224a; color: #f3f5fa; border-color: rgba(184, 190, 203, .24); }
html[data-identity][data-theme="dark"] body .nuske-consent__opt span { color: var(--nk-stone-400); }

/* ---------------------------------------------------------------------
   13. Ajustes de contraste medidos (WCAG 2.2 AA)
   --------------------------------------------------------------------- */
html[data-identity] .card__badge { background: var(--c-heading); color: var(--c-bg); box-shadow: none; }
html[data-identity] .service-detail .sd-groomer__role { color: var(--c-link); }
/* Landings (Tailwind): acento sobre superficies índigo y texto legal del pie */
html[data-identity] :is(.nuske-gradient, .bg-nuske-blue, .bg-nuske-dark) .text-nuske-teal { color: var(--nk-indigo-200); }
html[data-identity] footer .text-white\/40 { color: rgba(255, 255, 255, .74); }
html[data-identity] .material-symbols-outlined.text-green-500 { color: var(--nk-wa-700); }
html[data-identity] :is(.shadow-emergency-red\/20, .shadow-nuske-teal\/20, .shadow-nuske-accent-cyan\/20) { --tw-shadow-color: rgba(11, 21, 43, .18); }

/* =====================================================================
   14. Sistema tipográfico definitivo (B): DM Serif Display + DM Sans
   ===================================================================== */
html[data-identity] {
  --ff-sans: 'DM Sans', 'DM Sans Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-serif: 'DM Serif Display', 'DM Serif Display Fallback', Georgia, 'Times New Roman', serif;
  --fs-display: clamp(2.35rem, 1.55rem + 2.6vw, 3.6rem);   /* H1 institucional */
  --fs-title: clamp(1.95rem, 1.5rem + 1.55vw, 2.85rem);    /* títulos de sección */
  --fs-h3: clamp(1.1rem, 1.02rem + .35vw, 1.3rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .78rem;
  --lh-display: 1.05;
  --lh-title: 1.1;
  --lh-heading: 1.22;
  --lh-body: 1.62;
  --ls-serif: -.012em;
  --ls-sans-heading: -.018em;
  --ls-label: .08em;
  --measure: 66ch;
  font-synthesis-weight: none;
  font-synthesis-style: none;
  font-optical-sizing: auto;
}
html[data-identity] body {
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[data-identity] :is(button, input, select, textarea, .btn, .chip, .nav__link) { font-family: var(--ff-sans); }
html[data-identity] :is(p, li, blockquote, dd) { text-wrap: pretty; }
html[data-identity] :is(h1, h2, h3, h4, h5, h6, .section__title, .font-display) { font-family: var(--ff-sans); }
html[data-identity] :is(h3, h4) { font-weight: 700; letter-spacing: var(--ls-sans-heading); line-height: var(--lh-heading); }
html[data-identity][data-theme] h3 { font-size: var(--fs-h3); }
html[data-identity] .lead,
html[data-identity] .section__head > p { max-width: var(--measure); }
html[data-identity] nuske-assistant { font-family: var(--ff-sans); }
html[data-identity] body .nuske-consent { font-family: var(--ff-sans); }
html[data-identity] .material-symbols-outlined { font-family: 'Material Symbols Outlined'; }

/* Serif solo en encabezados institucionales y editoriales; nunca en urgencias,
   modales, formularios ni acciones. Peso natural 400, sin negrita artificial. */
html[data-identity]:not([data-urgent-page]) :is(
  .home-hero .hero__title,
  .section__head > h2,
  .section__title,
  .home-history h2,
  .service-detail #serviceName,
  .service-detail .section h2:not(#redFlagsTitle):not(.sr-only),
  .section__head > h1,
  main > .section:first-child h1
):not(.modal *):not(.nuske-consent *),
html[data-identity]:not([data-theme]):not([data-urgent-page]) main :is(h1, h2):not(.text-sm):not(.text-xs):not(.uppercase) {
  font-family: var(--ff-serif);
  font-weight: 400;
  letter-spacing: var(--ls-serif);
  line-height: var(--lh-title);
  text-wrap: balance;
}
html[data-identity]:not([data-urgent-page]) :is(.home-hero .hero__title, .service-detail #serviceName, main > .section:first-child h1) {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
}
html[data-identity]:not([data-urgent-page]) :is(.section__head > h2, .section__title, .home-history h2) { font-size: var(--fs-title); }
/* Urgencias: DM Sans 800, alto contraste, sin serif */
html[data-identity][data-urgent-page] :is(h1, h2) { font-family: var(--ff-sans); font-weight: 800; letter-spacing: -.025em; }
html[data-identity] :is(.modal h2, #panicTitle) { font-family: var(--ff-sans); font-weight: 800; letter-spacing: -.02em; }
/* Etiquetas y botones */
html[data-identity] .btn { font-weight: 700; letter-spacing: 0; }
html[data-identity] .nav__link { font-weight: 600; }
html[data-identity] :is(.eyebrow, .sd-kicker, .home-footer h2) { font-family: var(--ff-sans); font-size: var(--fs-label); letter-spacing: var(--ls-label); }
html[data-identity] :is(.home-google-rating__score, .plan-card__amount, [class*="price"]) { font-variant-numeric: tabular-nums; }
/* Landings Tailwind: la clase .font-display de botones y etiquetas pasa a DM Sans */
html[data-identity]:not([data-theme]) .font-display:not(h1):not(h2) { font-family: var(--ff-sans); }

/* =====================================================================
   15. Hero de portada — composición editorial, altura según contenido
   ===================================================================== */
html[data-identity] .home-hero::before { content: none; }
html[data-identity] .home-hero { padding-top: 0; padding-bottom: 0; overflow: hidden; }
html[data-identity] .home-hero .hero__inner {
  min-height: 0 !important;
  padding-block: clamp(24px, 3.2vw, 48px) clamp(44px, 5vw, 76px);
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
}
@media (min-width: 901px) {
  html[data-identity] .home-hero .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}
html[data-identity] .home-hero .hero__content::before { margin-bottom: 22px; }
html[data-identity] .home-hero .hero__title { max-width: 20ch; margin-bottom: 18px; font-size: clamp(2.35rem, 1.6rem + 2.2vw, 3.3rem) !important; }
html[data-identity] .home-hero .lead { margin-bottom: 26px; }
html[data-identity] .home-hero .image-wrapper {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 600px;
  justify-self: end;
}
/* Bloque índigo anclado a la fotografía: nace a media altura y sale a sangre
   por la derecha; termina dentro del hero, sin cortar en el borde de sección. */
html[data-identity] .home-hero .image-wrapper::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 14%;
  bottom: -36px;
  left: 24%;
  right: -100vw;
  border-radius: 16px 0 0 16px;
  background: var(--c-surface-inst);
}
html[data-identity] .home-hero .hero__img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 48px -28px rgba(11, 21, 43, .55);
}
html[data-identity] .home-hero .hero__cta { gap: 10px; }
html[data-identity] .home-hero .hero__cta .btn { min-height: 52px; padding-inline: 18px; font-size: 1rem; white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px) {
  html[data-identity] .home-hero .hero__cta .btn--ghost { flex-basis: auto; }
}
@media (max-width: 900px) {
  html[data-identity] .home-hero .hero__inner { padding-bottom: 40px; gap: 26px; }
  html[data-identity] .home-hero .hero__content::before { margin-top: 14px; margin-bottom: 18px; }
  html[data-identity] .home-hero .hero__title { max-width: 18ch; }
  html[data-identity] .home-hero .image-wrapper { max-width: none; justify-self: stretch; }
  html[data-identity] .home-hero .image-wrapper::before { top: 38%; bottom: -40px; left: -50vw; right: -50vw; border-radius: 0; }
  html[data-identity] .home-hero .hero__img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
}
/* Móvil: urgencias a todo el ancho; las dos acciones restantes, sin cortes */
@media (max-width: 600px) {
  html[data-identity] .home-hero .hero__cta { display: grid; grid-template-columns: 1fr; }
  html[data-identity] .home-hero .hero__cta .btn { width: 100%; white-space: normal; }
}

/* =====================================================================
   16. Transiciones y certificaciones
   ===================================================================== */
html[data-identity] .section--cert { padding-block: clamp(44px, 5.5vw, 80px) clamp(36px, 4.5vw, 64px); }
html[data-identity] .section--cert .cert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start !important;
}
html[data-identity] .section--cert .cert__text { padding-top: 6px; }
html[data-identity] .section--cert .eyebrow-wrapper { gap: 12px; margin-bottom: 14px; }
html[data-identity] .section--cert .cert__desc { max-width: 60ch; }
html[data-identity] .section--cert .cert__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 22px; }
html[data-identity] .cert-archive {
  padding: clamp(18px, 2vw, 26px);
  border-radius: 16px;
  background: var(--c-bg-alt);
}
html[data-identity] .cert-archive h3 { font-size: 1.05rem; margin: 0; }
html[data-identity] .cert-archive > p { margin: 4px 0 16px; }
html[data-identity] .cert-archive__grid { gap: 14px; }
html[data-identity] .cert-archive__item a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px 10px;
  text-align: left;
  text-decoration: none;
  color: var(--c-heading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
html[data-identity] .cert-archive__item img {
  grid-column: 1 / -1;
  border-radius: 8px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: none;
}
html[data-identity] .cert-archive__item .link { font-size: var(--fs-small); text-decoration: underline; }
html[data-identity] .home-history { padding-top: clamp(28px, 3.5vw, 48px); margin-top: clamp(28px, 3.5vw, 48px); border-top: 1px solid var(--c-border); }
@media (max-width: 900px) {
  html[data-identity] .section--cert .cert { grid-template-columns: 1fr; }
}
/* Sombra única y discreta; tarjetas planas con borde */
html[data-identity] :is(.doctor-card, .home-service, .home-review, .promo-card, .home-history__profile) { box-shadow: none; }

/* =====================================================================
   17. Controles flotantes
   ===================================================================== */
@media (min-width: 1024px) {
  /* Urgencias a la izquierda y asistente a la derecha: no se apilan sobre
     el contenido y ocupan los márgenes laterales del contenedor. */
  html[data-identity] .panic {
    left: max(18px, env(safe-area-inset-left, 0px));
    right: auto;
    bottom: 20px;
  }
  html[data-identity] .panic__btn {
    min-height: 44px;
    padding: 8px 16px 8px 14px;
    font-size: .92rem;
    box-shadow: 0 6px 18px rgba(11, 21, 43, .2);
  }
  html[data-identity] nuske-assistant:not([data-inline-launcher]) {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 6px 18px rgba(11, 21, 43, .2);
  }
}
html[data-identity] .panic__btn .nk-ic { --nk-ic-size: 18px; }

/* En fichas de escritorio compacto, el acceso flotante no cubre las acciones del hero. */
@media (1024px <= width < 1200px) {
  html[data-identity] .service-detail .panic {
    left: auto;
    right: max(18px, env(safe-area-inset-right, 0px));
  }
}

/* En portada movil se reserva el lateral para el asistente. */
@media (max-width: 520px) {
  html[data-identity] .home-hero .hero__cta { padding-inline-end: 60px; }
  html[data-identity].cookie-banner-visible .home-hero .hero__content::before {
    margin-block: 0 12px;
  }
  html[data-identity].cookie-banner-visible .home-hero .hero__title { margin-bottom: 10px; }
  html[data-identity].cookie-banner-visible .home-hero .lead { margin-bottom: 14px; }
  html[data-identity].cookie-banner-visible .home-hero .hero__cta { gap: 8px; }
  html[data-identity].cookie-banner-visible .home-hero .hero__cta .btn { min-height: 48px; }
}


/* Portada a 320–360 px: el H1 cabe en dos líneas sin separar «24 horas». */
@media (max-width: 360px) {
  html[data-identity] .home-hero .hero__title { font-size: 1.78rem !important; letter-spacing: -.02em; }
}
/* /urgencias a 320–360 px: hero compacto para que la primera pantalla termine
   por encima de la barra fija de contacto (solo presentación). */
@media (max-width: 360px) {
  html[data-identity][data-urgent-page]:not([data-theme]) main h1 { font-size: 1.9rem; line-height: 1.06; }
  html[data-identity][data-urgent-page]:not([data-theme]) main h1 + p { font-size: 1rem; line-height: 1.55; }
  html[data-identity][data-urgent-page]:not([data-theme]) main a[data-track="call_hero_cta"],
  html[data-identity][data-urgent-page]:not([data-theme]) main a[data-track="open_maps_urgencias_hero"] { height: 3.25rem; }
  html[data-identity][data-urgent-page]:not([data-theme]) .emergency-contact-bar a { min-height: 48px; height: 48px; }
}

/* Fichas en móvil: acciones antes que los datos breves, para que la primera
   pantalla muestre los botones por encima del asistente flotante. */
@media (max-width: 480px) {
  html[data-identity] .service-detail .sd-hero__actions { order: 1; }
  html[data-identity] .service-detail .sd-hero__facts { order: 2; }
  html[data-identity] .service-detail .sd-hero__note { order: 3; }
  html[data-identity] .service-detail #serviceIntro { font-size: .98rem; line-height: 1.58; }
  html[data-identity] .service-detail .sd-hero__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; width: 100%; align-self: stretch; }
  html[data-identity] .service-detail .sd-hero__actions:has(> :nth-child(3)) { grid-template-columns: 1fr; }
  html[data-identity] .service-detail .sd-hero__copy > [data-nuske-assistant-slot] { order: 4; }
  html[data-identity] .service-detail .sd-hero__actions > :first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  html[data-identity] .service-detail .sd-hero__actions > * { justify-content: center; padding-inline: 10px; }
}
/* Objetivos táctiles de 44 px en navegación de escritorio y redes de las landings */
html[data-identity] .nav__link { min-height: 44px; display: inline-flex; align-items: center; }
html[data-identity]:not([data-theme]) footer a:has(> .material-symbols-outlined) { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }

/* =====================================================================
   18. Iconos en componentes
   ===================================================================== */
html[data-identity] .icon-btn .nk-ic { --nk-ic-size: 18px; }
html[data-identity] .header__actions a[href^="tel:"] .nk-ic { --nk-ic-size: 18px; }
html[data-identity] .btn .nk-ic { --nk-ic-size: 1.15em; }
html[data-identity] #servicios .home-service__icon { --nk-ic-size: 28px; width: 28px; height: 28px; border-radius: 0; background: currentColor; color: var(--c-heading); }
html[data-identity] #servicios .home-service--urgent .home-service__icon { color: var(--c-urgent); }
html[data-identity][data-theme="dark"] #servicios .home-service--urgent .home-service__icon { color: var(--nk-vermilion-300); }
html[data-identity][data-theme="dark"] #servicios .home-service__icon { color: var(--nk-indigo-200); }
html[data-identity] .mobile-nav__icon { --nk-ic-size: 22px; }
html[data-identity] .mobile-nav .urgent-item .icon-container .nk-ic { --nk-ic-size: 17px; color: #fff; }
html[data-identity] .mobile-nav a[href*="wa.me"] .mobile-nav__icon { color: var(--c-wa); }
html[data-identity] .badge-verified .nk-ic { --nk-ic-size: 15px; vertical-align: -.2em; }
html[data-identity] .modal .btn .nk-ic,
html[data-identity] .card__badge .nk-ic { --nk-ic-size: 1.1em; vertical-align: -.18em; }
html[data-identity] .service-icon-box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--c-bg-alt);
  color: var(--c-heading);
  font-size: 0;
}
html[data-identity] .service-icon-box .nk-ic { --nk-ic-size: 30px; }
html[data-identity] .service-icon-box.bg-danger-light { background: var(--c-urgent-tint); color: var(--c-urgent); }
html[data-identity][data-theme="dark"] .service-icon-box { background: rgba(196, 209, 242, .1); color: var(--nk-indigo-200); }
html[data-identity][data-theme="dark"] .service-icon-box.bg-danger-light { background: var(--c-urgent-tint); color: var(--nk-vermilion-300); }
html[data-identity] .service-icon-box.bg-grooming { background: var(--c-bg-alt); color: var(--c-heading); }
html[data-identity] .sd-arrival__notice-head .nk-ic { --nk-ic-size: 26px; color: var(--c-urgent); flex: none; }
html[data-identity][data-theme="dark"] .sd-arrival__notice-head .nk-ic { color: var(--nk-vermilion-300); }
html[data-identity] h3 > .nk-ic { --nk-ic-size: 1em; vertical-align: -.12em; margin-right: .2em; }
/* Hechos y botones de fichas: icono decorativo desde CSS (texto intacto) */
html[data-identity] .service-detail :is(#detailFactOne, #detailFactTwo, #waBtn, #callBtn, #serviceBookingCta) { display: inline-flex; align-items: center; gap: 8px; }
html[data-identity] .service-detail :is(#detailFactOne, #detailFactTwo, #waBtn, #callBtn, #serviceBookingCta)::before {
  content: "";
  flex: none;
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
}
html[data-identity] .service-detail #waBtn::before { --i: var(--ic-whatsapp); }
html[data-identity] .service-detail #callBtn::before { --i: var(--ic-phone); }
html[data-identity] .service-detail #serviceBookingCta::before { --i: var(--ic-calendar-check); }
html[data-identity] .service-detail--wellness #detailFactOne::before { --i: var(--ic-map-pin); }
html[data-identity] .service-detail--grooming #detailFactOne::before { --i: var(--ic-calendar-check); }
html[data-identity] .service-detail--grooming #detailFactTwo::before { --i: var(--ic-stethoscope); }
html[data-identity] .service-detail--emergency #detailFactOne::before { --i: var(--ic-ambulance); color: var(--c-urgent); }
html[data-identity] :is(.service-detail--wellness, .service-detail--emergency) #detailFactTwo::before { --i: var(--ic-info); }

/* =====================================================================
   19. Iconografía SVG — Lucide (ISC) + SVG Nuskë, en currentColor
   Generado desde assets/icons/ (solo los iconos usados). Decorativos: aria-hidden.
   ===================================================================== */
html[data-identity] {
  --ic-ambulance: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M10 10H6' /%3E %3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2' /%3E %3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14' /%3E %3Cpath d='M8 8v4' /%3E %3Cpath d='M9 18h6' /%3E %3Ccircle cx='17' cy='18' r='2' /%3E %3Ccircle cx='7' cy='18' r='2' /%3E %3C/svg%3E");
  --ic-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M5 12h14' /%3E %3Cpath d='m12 5 7 7-7 7' /%3E %3C/svg%3E");
  --ic-badge-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z' /%3E %3Cpath d='m16 9-5.5 5.5L8 12' /%3E %3C/svg%3E");
  --ic-bandage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M10 10.01h.01' /%3E %3Cpath d='M10 14.01h.01' /%3E %3Cpath d='M14 10.01h.01' /%3E %3Cpath d='M14 14.01h.01' /%3E %3Cpath d='M18 6v12' /%3E %3Cpath d='M6 6v12' /%3E %3Crect x='2' y='6' width='20' height='12' rx='2' /%3E %3C/svg%3E");
  --ic-bed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M2 4v16' /%3E %3Cpath d='M2 8h18a2 2 0 0 1 2 2v10' /%3E %3Cpath d='M2 17h20' /%3E %3Cpath d='M6 8v9' /%3E %3C/svg%3E");
  --ic-bird: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M16 7h.01' /%3E %3Cpath d='M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20' /%3E %3Cpath d='m20 7 2 .5-2 .5' /%3E %3Cpath d='M10 18v3' /%3E %3Cpath d='M14 17.75V21' /%3E %3Cpath d='M7 18a6 6 0 0 0 3.84-10.61' /%3E %3C/svg%3E");
  --ic-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M8 2v3' /%3E %3Cpath d='M16 2v3' /%3E %3Crect x='3' y='3' width='18' height='18' rx='2' /%3E %3Cpath d='M3 9h18' /%3E %3C/svg%3E");
  --ic-calendar-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M8 2v3' /%3E %3Cpath d='M16 2v3' /%3E %3Crect x='3' y='3' width='18' height='18' rx='2' /%3E %3Cpath d='M3 9h18' /%3E %3Cpath d='m9 15 2 2 4-4' /%3E %3C/svg%3E");
  --ic-cat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z' /%3E %3Cpath d='M8 14v.5' /%3E %3Cpath d='M16 14v.5' /%3E %3Cpath d='M11.25 16.25h1.5L12 17l-.75-.75Z' /%3E %3C/svg%3E");
  --ic-dog: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M11.25 16.25h1.5L12 17z' /%3E %3Cpath d='M16 14v.5' /%3E %3Cpath d='M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309' /%3E %3Cpath d='M8 14v.5' /%3E %3Cpath d='M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5' /%3E %3C/svg%3E");
  --ic-endoscope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E %3Crect x='3' y='2' width='6' height='7' rx='1.5'/%3E%3Cpath d='M9 4.5h2'/%3E%3Cpath d='M6 9v2a4 4 0 0 0 4 4h5a3 3 0 0 1 3 3v.5'/%3E%3Ccircle cx='18' cy='20.5' r='1.5'/%3E %3C/svg%3E");
  --ic-grooming: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E %3Ccircle cx='6' cy='18' r='2.5'/%3E%3Ccircle cx='12' cy='19.5' r='2.5'/%3E%3Cpath d='M7.6 16.1 13 9'/%3E%3Cpath d='M11 17.2 8.6 9'/%3E%3Crect x='14' y='3' width='7' height='3' rx='1'/%3E%3Cpath d='M15.5 6v2.5'/%3E%3Cpath d='M17.5 6v2.5'/%3E%3Cpath d='M19.5 6v2.5'/%3E %3C/svg%3E");
  --ic-heart-handshake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762' /%3E %3C/svg%3E");
  --ic-heart-pulse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5' /%3E %3Cpath d='M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27' /%3E %3C/svg%3E");
  --ic-house: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8' /%3E %3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z' /%3E %3C/svg%3E");
  --ic-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Ccircle cx='12' cy='12' r='10' /%3E %3Cpath d='M12 16v-4' /%3E %3Cpath d='M12 8h.01' /%3E %3C/svg%3E");
  --ic-joint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpath d='M7.5 3 11 10'/%3E%3Cpath d='M13 14l3.5 7'/%3E%3Ccircle cx='12' cy='12' r='2.3'/%3E%3Cpath d='m5.7 3.9 3.6-1.8'/%3E%3Cpath d='m14.7 21.9 3.6-1.8'/%3E %3C/svg%3E");
  --ic-map-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0' /%3E %3Ccircle cx='12' cy='10' r='3' /%3E %3C/svg%3E");
  --ic-microscope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M6 18h8' /%3E %3Cpath d='M3 22h18' /%3E %3Cpath d='M14 22a7 7 0 1 0 0-14h-1' /%3E %3Cpath d='M9 14h2' /%3E %3Cpath d='M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z' /%3E %3Cpath d='M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3' /%3E %3C/svg%3E");
  --ic-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384' /%3E %3C/svg%3E");
  --ic-refresh-cw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8' /%3E %3Cpath d='M21 3v5h-5' /%3E %3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16' /%3E %3Cpath d='M8 16H3v5' /%3E %3C/svg%3E");
  --ic-ribbon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M12 11.22C11 9.997 10 9 10 8a2 2 0 0 1 4 0c0 1-.998 2.002-2.01 3.22' /%3E %3Cpath d='m12 18 2.57-3.5' /%3E %3Cpath d='M6.243 9.016a7 7 0 0 1 11.507-.009' /%3E %3Cpath d='M9.35 14.53 12 11.22' /%3E %3Cpath d='M9.35 14.53C7.728 12.246 6 10.221 6 7a6 5 0 0 1 12 0c-.005 3.22-1.778 5.235-3.43 7.5l3.557 4.527a1 1 0 0 1-.203 1.43l-1.894 1.36a1 1 0 0 1-1.384-.215L12 18l-2.679 3.593a1 1 0 0 1-1.39.213l-1.865-1.353a1 1 0 0 1-.203-1.422z' /%3E %3C/svg%3E");
  --ic-scalpel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpath d='M14.5 3.5c2.5-1 5 .5 6 2L10 16l-2.5-2.5z'/%3E%3Cpath d='m7.5 13.5-4 4a2.1 2.1 0 0 0 3 3l4-4'/%3E %3C/svg%3E");
  --ic-scan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M3 7V5a2 2 0 0 1 2-2h2' /%3E %3Cpath d='M17 3h2a2 2 0 0 1 2 2v2' /%3E %3Cpath d='M21 17v2a2 2 0 0 1-2 2h-2' /%3E %3Cpath d='M7 21H5a2 2 0 0 1-2-2v-2' /%3E %3C/svg%3E");
  --ic-shield-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z' /%3E %3Cpath d='m9 12 2 2 4-4' /%3E %3C/svg%3E");
  --ic-siren: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M7 18v-6a5 5 0 1 1 10 0v6' /%3E %3Cpath d='M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z' /%3E %3Cpath d='M21 12h1' /%3E %3Cpath d='M18.5 4.5 18 5' /%3E %3Cpath d='M2 12h1' /%3E %3Cpath d='M12 2v1' /%3E %3Cpath d='m4.929 4.929.707.707' /%3E %3Cpath d='M12 12v6' /%3E %3C/svg%3E");
  --ic-stethoscope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M11 2v2' /%3E %3Cpath d='M5 2v2' /%3E %3Cpath d='M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1' /%3E %3Cpath d='M8 15a6 6 0 0 0 12 0v-3' /%3E %3Ccircle cx='20' cy='10' r='2' /%3E %3C/svg%3E");
  --ic-sun-moon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M12 2v2' /%3E %3Cpath d='M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715' /%3E %3Cpath d='M16 12a4 4 0 0 0-4-4' /%3E %3Cpath d='m19 5-1.256 1.256' /%3E %3Cpath d='M20 12h2' /%3E %3C/svg%3E");
  --ic-tooth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpath d='M12 6c-1.5-1.5-4-2.5-6-2-2.2.6-3 3-2.5 5.5.5 2.5 1.5 4 2 6.5.5 2.5 1 5 2.5 5s1.6-2.5 2.2-4.2c.4-1.2 1-1.8 1.8-1.8s1.4.6 1.8 1.8c.6 1.7.7 4.2 2.2 4.2s2-2.5 2.5-5c.5-2.5 1.5-4 2-6.5.5-2.5-.3-4.9-2.5-5.5-2-.5-4.5.5-6 2z'/%3E %3C/svg%3E");
  --ic-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
  --ic-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M18 6 6 18' /%3E %3Cpath d='m6 6 12 12' /%3E %3C/svg%3E");
  --ic-xray: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E %3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='m9.6 9.6 4.8 4.8'/%3E%3Ccircle cx='8.4' cy='9.6' r='1.3'/%3E%3Ccircle cx='9.6' cy='8.4' r='1.3'/%3E%3Ccircle cx='14.4' cy='15.6' r='1.3'/%3E%3Ccircle cx='15.6' cy='14.4' r='1.3'/%3E %3C/svg%3E");
}
html[data-identity] .nk-ic {
  display: inline-block;
  flex: none;
  width: var(--nk-ic-size, 1.25em);
  height: var(--nk-ic-size, 1.25em);
  vertical-align: -.22em;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
}
html[data-identity] .nk-ic--ambulance { --i: var(--ic-ambulance); }
html[data-identity] .nk-ic--arrow-right { --i: var(--ic-arrow-right); }
html[data-identity] .nk-ic--badge-check { --i: var(--ic-badge-check); }
html[data-identity] .nk-ic--bandage { --i: var(--ic-bandage); }
html[data-identity] .nk-ic--bed { --i: var(--ic-bed); }
html[data-identity] .nk-ic--bird { --i: var(--ic-bird); }
html[data-identity] .nk-ic--calendar { --i: var(--ic-calendar); }
html[data-identity] .nk-ic--calendar-check { --i: var(--ic-calendar-check); }
html[data-identity] .nk-ic--cat { --i: var(--ic-cat); }
html[data-identity] .nk-ic--dog { --i: var(--ic-dog); }
html[data-identity] .nk-ic--endoscope { --i: var(--ic-endoscope); }
html[data-identity] .nk-ic--grooming { --i: var(--ic-grooming); }
html[data-identity] .nk-ic--heart-handshake { --i: var(--ic-heart-handshake); }
html[data-identity] .nk-ic--heart-pulse { --i: var(--ic-heart-pulse); }
html[data-identity] .nk-ic--house { --i: var(--ic-house); }
html[data-identity] .nk-ic--info { --i: var(--ic-info); }
html[data-identity] .nk-ic--joint { --i: var(--ic-joint); }
html[data-identity] .nk-ic--map-pin { --i: var(--ic-map-pin); }
html[data-identity] .nk-ic--microscope { --i: var(--ic-microscope); }
html[data-identity] .nk-ic--phone { --i: var(--ic-phone); }
html[data-identity] .nk-ic--refresh-cw { --i: var(--ic-refresh-cw); }
html[data-identity] .nk-ic--ribbon { --i: var(--ic-ribbon); }
html[data-identity] .nk-ic--scalpel { --i: var(--ic-scalpel); }
html[data-identity] .nk-ic--scan { --i: var(--ic-scan); }
html[data-identity] .nk-ic--shield-check { --i: var(--ic-shield-check); }
html[data-identity] .nk-ic--siren { --i: var(--ic-siren); }
html[data-identity] .nk-ic--stethoscope { --i: var(--ic-stethoscope); }
html[data-identity] .nk-ic--sun-moon { --i: var(--ic-sun-moon); }
html[data-identity] .nk-ic--tooth { --i: var(--ic-tooth); }
html[data-identity] .nk-ic--whatsapp { --i: var(--ic-whatsapp); }
html[data-identity] .nk-ic--x { --i: var(--ic-x); }
html[data-identity] .nk-ic--xray { --i: var(--ic-xray); }

/* ---------------------------------------------------------------------
   12. Movimiento
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html[data-identity] *, html[data-identity] *::before, html[data-identity] *::after {
    transition-duration: .01ms !important;
  }
  html[data-identity] .btn:hover,
  html[data-identity] .home-service:hover { transform: none; }
}

/* Iconos locales y foco del acordeón en las landings Tailwind. */
html[data-identity]:not([data-theme]) .nk-ic.material-symbols-outlined { --nk-ic-size: 1em; }
html[data-identity] .nk-ic--menu {
  background: linear-gradient(currentColor 0 0) center 21% / 76% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 76% 2px no-repeat,
    linear-gradient(currentColor 0 0) center 79% / 76% 2px no-repeat;
}
html[data-identity]:not([data-theme]) input[name="faq"]:focus-visible + label {
  outline: 3px solid var(--c-focus);
  outline-offset: -3px;
}
html[data-identity]:not([data-theme]) #mobile-menu-btn {
  min-width: 44px;
  min-height: 44px;
}
/* Trazados de Lucide reutilizados en campañas y estados de página. */
html[data-identity] .nk-ic--activity { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--check { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M20 6 9 17l-5-5%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--chevron-down { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22m6 9 6 6 6-6%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--circle-check { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 /%3E %3Cpath d=%22m16 9-5.5 5.5L8 12%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--clipboard-plus { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Crect width=%228%22 height=%224%22 x=%228%22 y=%222%22 rx=%221%22 ry=%221%22 /%3E %3Cpath d=%22M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2%22 /%3E %3Cpath d=%22M9 14h6%22 /%3E %3Cpath d=%22M12 17v-6%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--hand-heart { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16%22 /%3E %3Cpath d=%22m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95%22 /%3E %3Cpath d=%22m2 15 6 6%22 /%3E %3Cpath d=%22m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--hospital { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M12 7v4%22 /%3E %3Cpath d=%22M14 21v-3a2 2 0 0 0-4 0v3%22 /%3E %3Cpath d=%22M14 9h-4%22 /%3E %3Cpath d=%22M18 11h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2%22 /%3E %3Cpath d=%22M18 21V5a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--message-circle { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--paw-print { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Ccircle cx=%2211%22 cy=%224%22 r=%222%22 /%3E %3Ccircle cx=%2218%22 cy=%228%22 r=%222%22 /%3E %3Ccircle cx=%2220%22 cy=%2216%22 r=%222%22 /%3E %3Cpath d=%22M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--scissors { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Ccircle cx=%226%22 cy=%226%22 r=%223%22 /%3E %3Cpath d=%22M8.12 8.12 12 12%22 /%3E %3Cpath d=%22M20 4 8.12 15.88%22 /%3E %3Ccircle cx=%226%22 cy=%2218%22 r=%223%22 /%3E %3Cpath d=%22M14.8 14.8 20 20%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--search { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22m21 21-4.34-4.34%22 /%3E %3Ccircle cx=%2211%22 cy=%2211%22 r=%228%22 /%3E %3C/svg%3E"); }
html[data-identity] .nk-ic--syringe { --i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22m18 2 4 4%22 /%3E %3Cpath d=%22m17 7 3-3%22 /%3E %3Cpath d=%22M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5%22 /%3E %3Cpath d=%22m9 11 4 4%22 /%3E %3Cpath d=%22m5 19-3 3%22 /%3E %3Cpath d=%22m14 4 6 6%22 /%3E %3C/svg%3E"); }

/* Tipografía editorial y estados de confirmación. */
html[data-identity] :is(.article-hero h1, .article-body h2, #tour-title) {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: var(--lh-title);
  text-wrap: balance;
}
html[data-identity] :is(.article-hero h1, #tour-title) { font-size: var(--fs-display); }
html[data-identity] .article-body h2 { font-size: var(--fs-title); }
html[data-identity] .article-page nav a { overflow-wrap: anywhere; }
html[data-identity] :is(.error-art, .confirmation-art) {
  --nk-ic-size: 3.25rem;
  color: var(--c-heading);
  margin-bottom: 1rem;
}
html[data-identity] .error-code {
  font-family: var(--ff-serif);
  font-weight: 400;
  color: var(--c-heading);
  opacity: 1;
}
html[data-identity] .error-title { color: var(--c-heading); }
