/* ==========================================================================
   Cuidados a Domicilio · Rediseño premium 2026 (capa visual)
   Se carga AL FINAL en sitio/layout y cuenta/layout: solo cambia la presentación.
   No renombra clases ni ids que use JavaScript (cd-card, data-fav, data-fijo,
   ch-verif-*, hsBurger/hsNav, data-favs-n…). Para revertir: quitar el <link>.
   ========================================================================== */

/* ---------- Tipografía propia (sin Google Fonts) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../ui-v2/fonts/inter-latin.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --c-teal: #0f766e;          /* identidad de la marca (Saas::$color) */
  --c-teal-700: #0b5f58;
  --c-teal-50: #eaf4f2;
  --c-teal-100: #d3e9e5;
  --c-pino: #12302c;          /* tinta: verde muy oscuro, no negro */
  --c-texto: #23302e;
  --c-suave: #56635f;
  --c-linea: #dce6e3;
  --c-agua: #f2f6f5;          /* fondo de secciones */
  --c-papel: #ffffff;
  --c-miel: #b7791f;          /* solo para «Destacado» */
  --c-miel-50: #fdf3e1;
  --c-ok: #15803d; --c-ok-50: #ecf8f0;
  --c-mal: #b42318; --c-mal-50: #fdeeec;

  --f-titulo: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 28px;  /* bloques grandes (hero, banda) */
  --r-lg: 20px;  /* tarjetas */
  --r-md: 14px;  /* controles grandes */
  --r-sm: 10px;  /* chips, inputs pequeños */
  --sombra-1: 0 1px 2px rgba(18, 48, 44, .06);
  --sombra-2: 0 12px 32px -16px rgba(18, 48, 44, .22);
  --foco: 0 0 0 3px #fff, 0 0 0 5px var(--c-teal);
  --t-rapida: 160ms cubic-bezier(.2, .7, .3, 1);

  --ancho: 1200px;
  --sec-y: clamp(56px, 8vw, 104px);

  /* lo que ya usaban site.css / home.css */
  --hs-heading-font: var(--f-titulo);
  --hs-body-font: var(--f-texto);
  --hs-accent: var(--c-teal);
  --hs-accent-d: var(--c-teal-700);
  --hs-soft: var(--c-agua);
}

/* ---------- Base ---------- */
body.hs, body.cu {
  font-family: var(--f-texto);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--c-texto);
  background: var(--c-papel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.hs h1, body.hs h2, body.hs h3, body.hs h4,
body.cu h1, body.cu h2 {
  font-family: var(--f-titulo);
  color: var(--c-pino);
  letter-spacing: -.02em;
  font-weight: 700;
}
body.hs a { color: var(--c-teal-700); text-underline-offset: 3px; }
body.hs :focus-visible, body.cu :focus-visible { outline: none; box-shadow: var(--foco); border-radius: 8px; }
body.hs ::selection { background: var(--c-teal-100); }
.hs-container { max-width: var(--ancho); padding-inline: clamp(16px, 4vw, 32px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Botones ---------- */
body.hs .ch-btn, body.hs .hs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15.5px/1.1 var(--f-texto); letter-spacing: 0;
  background: var(--c-teal); color: #fff; border: 1.5px solid var(--c-teal);
  text-decoration: none; box-shadow: none; cursor: pointer;
  transition: background var(--t-rapida), border-color var(--t-rapida), transform var(--t-rapida);
}
body.hs .ch-btn:hover, body.hs .hs-btn:hover { background: var(--c-teal-700); border-color: var(--c-teal-700); color: #fff; }
body.hs .ch-btn:active, body.hs .hs-btn:active { transform: translateY(1px); }
body.hs .ch-btn:disabled, body.hs .ch-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
body.hs .ch-btn-out, body.hs .hs-btn-outline {
  background: transparent; color: var(--c-teal-700); border-color: var(--c-teal-100);
}
body.hs .ch-btn-out:hover, body.hs .hs-btn-outline:hover { background: var(--c-teal-50); color: var(--c-teal-700); border-color: var(--c-teal); }
body.hs .ch-btn-claro { background: #fff; color: var(--c-pino); border-color: #fff; }
body.hs .ch-btn-claro:hover { background: var(--c-teal-50); color: var(--c-pino); border-color: var(--c-teal-50); }
body.hs .ch-btn-wa { background: #128c4a; border-color: #128c4a; }
body.hs .ch-btn-wa:hover { background: #0e723c; border-color: #0e723c; }

/* ---------- Encabezado ---------- */
body.hs .hs-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(220, 230, 227, .7);
  box-shadow: none;
}
body.hs .hs-header .hs-container { min-height: 72px; display: flex; align-items: center; gap: 24px; }
body.hs .hs-logo { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--f-titulo); color: var(--c-pino); letter-spacing: -.02em; text-decoration: none; }
body.hs .hs-logo img { border-radius: 10px; }
body.hs .hs-nav { gap: 4px; margin-inline: auto; }
body.hs .hs-nav a {
  padding: 8px 14px; border-radius: 999px; font: 500 15px/1 var(--f-texto); color: var(--c-suave); text-decoration: none;
  transition: color var(--t-rapida), background var(--t-rapida);
}
body.hs .hs-nav a:hover { color: var(--c-pino); background: var(--c-agua); }
body.hs .hs-nav a.active { color: var(--c-pino); background: var(--c-teal-50); font-weight: 600; }
body.hs .hs-head-actions { gap: 6px; }
body.hs .hs-head-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font: 500 14.5px/1 var(--f-texto); color: var(--c-pino); text-decoration: none; border: 1px solid transparent;
}
body.hs .hs-head-link:hover { background: var(--c-agua); }
body.hs .hs-head-link.cd-publicar { border-color: var(--c-linea); }
body.hs .hs-head-link i { font-size: 18px; color: var(--c-teal); }
body.hs .cd-favs-n { background: var(--c-teal); color: #fff; border-radius: 999px; font-size: 11px; min-width: 18px; padding: 1px 6px; }

/* ---------- Pestañas inferiores (solo celular) ---------- */
.cd-tab { display: none; }
@media (max-width: 767.98px) {
  body.hs { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body.hs .hs-header .hs-container { min-height: 60px; gap: 10px; }
  body.hs .hs-logo { font-size: 17px; }
  body.hs .hs-head-link span { display: none; }
  body.hs .hs-head-link { padding: 0 10px; }
  body.hs .hs-head-link.cd-favs-link, body.hs .hs-head-link.cd-publicar { display: none; }  /* van en la barra inferior */
  .cd-tab {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; inset: auto 0 0 0; z-index: 1035;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--c-linea);
  }
  .cd-tab a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 54px; border-radius: 14px; text-decoration: none;
    font: 600 11.5px/1.1 var(--f-texto); color: var(--c-suave);
  }
  .cd-tab a i { font-size: 22px; line-height: 1; }
  .cd-tab a[aria-current="page"] { color: var(--c-teal-700); background: var(--c-teal-50); }
  .cd-tab .cd-favs-n { position: absolute; top: 6px; left: calc(50% + 6px); }
  /* En el perfil manda el botón fijo «Contactar»: la barra se esconde para no encimarse */
  body.hs:has(.ch-fijo) .cd-tab { display: none; }
  body.hs:has(.ch-fijo) { padding-bottom: 0; }
}

/* ---------- Encabezados de sección ---------- */
body.hs .ch-sec { padding-block: var(--sec-y); }
body.hs .ch-sec-corta { padding-block: clamp(28px, 4vw, 48px) var(--sec-y); }
body.hs .ch-suave { background: var(--c-agua); }
body.hs .ch-head { text-align: left; max-width: 760px; margin: 0 0 clamp(28px, 4vw, 44px); }
body.hs .ch-head > span { display: none; }  /* sin etiquetas sobre cada título */
body.hs .ch-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin: 0 0 10px; }
body.hs .ch-head p { font-size: 18px; color: var(--c-suave); margin: 0; }
body.hs .ch-head-fila { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
body.hs .ch-head-fila > div > span { display: none; }

/* ---------- Hero del inicio ---------- */
body.hs .ch-hero { background: var(--c-papel); padding: clamp(12px, 2.5vw, 28px) 0 clamp(8px, 2vw, 24px); border: 0; }
body.hs .ch-hero::before, body.hs .ch-hero::after { display: none; }
body.hs .ch-portada { display: grid; grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); gap: 24px; align-items: stretch; }
body.hs .ch-hero-in {
  isolation: isolate; overflow: visible;
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 0; align-items: stretch;
  background: var(--c-agua); border-radius: var(--r-xl); min-height: 540px;
}
body.hs .ch-hero-txt { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
body.hs .ch-lado {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--c-teal-700);
  font: 600 13.5px/1 var(--f-texto); border: 1px solid var(--c-teal-100); margin-bottom: 18px;
  width: max-content; max-width: 100%;
}
body.hs .ch-hero h1 {
  font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800;
  margin: 0 0 16px; max-width: 13ch;
}
body.hs .ch-hero h1 em { font-style: normal; color: inherit; }
body.hs .ch-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--c-suave); max-width: 34ch; margin: 0 0 26px; }

/* La tarjeta-pregunta: lo memorable */
body.hs .ch-buscar {
  display: grid; gap: 0; background: #fff; border: 1px solid var(--c-linea); border-radius: 22px;
  box-shadow: var(--sombra-2); padding: 8px; overflow: visible;
}
body.hs .ch-buscar-hero { grid-template-columns: minmax(200px, 1.2fr) minmax(160px, 1fr) auto; width: calc(100% + 190px); max-width: 760px; position: relative; z-index: 3; }
body.hs .ch-fld > span { white-space: nowrap; }
body.hs .ch-buscar-4 { grid-template-columns: 1.3fr 1fr 1fr auto; }
body.hs .ch-fld { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 16px; border-radius: 14px; margin: 0; min-width: 0; cursor: pointer; transition: background var(--t-rapida); }
body.hs .ch-fld + .ch-fld { border-left: 1px solid var(--c-linea); border-radius: 0 14px 14px 0; }
body.hs .ch-fld:hover, body.hs .ch-fld:focus-within { background: var(--c-agua); }
body.hs .ch-fld > span { font: 600 12.5px/1.2 var(--f-texto); color: var(--c-suave); display: inline-flex; gap: 6px; align-items: center; text-transform: none; letter-spacing: 0; }
body.hs .ch-fld > span i { color: var(--c-teal); }
body.hs .ch-fld select, body.hs .ch-fld input {
  border: 0; background: transparent; padding: 2px 0; margin: 0; width: 100%;
  font: 600 16.5px/1.3 var(--f-texto); color: var(--c-pino); box-shadow: none; outline: none; appearance: none; -webkit-appearance: none;
}
body.hs .ch-fld select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2356635f' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; padding-right: 18px; }
body.hs .ch-fld input::placeholder { color: #8a9793; font-weight: 500; }
body.hs .ch-buscar .ch-btn { min-height: 60px; border-radius: 16px; padding: 0 26px; font-size: 16px; }

body.hs .ch-rapidos { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
body.hs .ch-rapidos > span { font: 500 14px/1 var(--f-texto); color: var(--c-suave); margin-right: 4px; }
body.hs .ch-rapidos a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-linea); color: var(--c-pino); font: 500 14px/1 var(--f-texto); text-decoration: none;
}
body.hs .ch-rapidos a:hover { border-color: var(--c-teal); color: var(--c-teal-700); }
body.hs .ch-rapidos a i { color: var(--c-teal); }
body.hs .ch-confianza { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; }
body.hs .ch-confianza li { display: inline-flex; align-items: center; gap: 8px; font: 500 14.5px/1.2 var(--f-texto); color: var(--c-pino); }
body.hs .ch-confianza i { color: var(--c-teal); font-size: 18px; }

body.hs .ch-hero-foto { position: relative; margin: 0; border-radius: 0 var(--r-xl) var(--r-xl) 0; overflow: hidden; min-height: 100%; box-shadow: none; }
body.hs .ch-hero-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
body.hs .ch-flota {
  position: absolute; left: auto; right: 20px; bottom: 20px; top: auto;
  display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); box-shadow: var(--sombra-2); animation: none;
}
body.hs .ch-flota i { font-size: 24px; color: var(--c-teal); }
body.hs .ch-flota b { display: block; font: 700 15px/1.2 var(--f-titulo); color: var(--c-pino); }
body.hs .ch-flota small { color: var(--c-suave); font-size: 13px; }

/* Cuarta parte: para profesionales */
body.hs .ch-pro {
  display: flex; flex-direction: column; background: var(--c-pino); color: #e6efed; border-radius: var(--r-xl); overflow: hidden;
  border: 0; box-shadow: none;
}
body.hs .ch-pro > img { width: 100%; flex: 1 1 180px; min-height: 180px; height: auto; object-fit: cover; display: block; border-radius: 0; }
body.hs .ch-pro-in { flex: 0 0 auto; }
body.hs .ch-pro-in { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
body.hs .ch-pro h2 { color: #fff; font-size: 24px; line-height: 1.12; margin: 0; }
body.hs .ch-pro p { color: #b9ccc8; margin: 0; font-size: 15px; }
body.hs .ch-pro ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; }
body.hs .ch-pro li { display: flex; gap: 8px; align-items: center; color: #e6efed; font-size: 15px; }
body.hs .ch-pro li i { color: #7fd1c4; }
body.hs .ch-lado-pro { background: rgba(255, 255, 255, .08); color: #bfe6df; border-color: rgba(255, 255, 255, .14); margin-bottom: 4px; }
body.hs .ch-pro .ch-btn.ch-btn-out { margin-top: auto; background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .34); }
body.hs .ch-pro .ch-btn.ch-btn-out:hover { background: #fff; color: var(--c-pino) !important; border-color: #fff; }
body.hs .ch-btn-out { color: var(--c-teal-700) !important; }

/* ---------- Servicios ---------- */
body.hs .ch-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.hs .ch-cat {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-linea); border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: inherit; box-shadow: none; transition: border-color var(--t-rapida), box-shadow var(--t-rapida);
  min-height: 0; aspect-ratio: auto;
}
body.hs .ch-cat:hover { border-color: var(--c-teal-100); box-shadow: var(--sombra-2); }
body.hs .ch-cat::after, body.hs .ch-cat::before { display: none !important; }
body.hs .ch-cat img { position: static; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; display: block; filter: none; transform: none; }
body.hs .ch-cat-txt {
  position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 4px; align-items: start;
  padding: 18px 20px 20px; background: none; color: var(--c-texto); inset: auto;
}
body.hs .ch-cat-txt i {
  grid-row: span 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--c-teal-50); color: var(--c-teal); font-size: 20px; margin: 0;
}
body.hs .ch-cat-txt strong { font: 700 19px/1.2 var(--f-titulo); color: var(--c-pino); letter-spacing: -.01em; }
body.hs .ch-cat-txt small { font-size: 14.5px; line-height: 1.45; color: var(--c-suave); opacity: 1; }
body.hs .ch-cat-txt em {
  justify-self: start; font-style: normal; font: 600 12.5px/1 var(--f-texto); color: var(--c-teal-700);
  background: var(--c-teal-50); padding: 5px 9px; border-radius: 999px; margin-top: 4px; border: 0;
}
body.hs .ch-mas { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin-top: 24px; }
body.hs .ch-mas a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-linea); color: var(--c-pino); text-decoration: none; font: 500 14.5px/1 var(--f-texto);
}
body.hs .ch-mas a:hover { border-color: var(--c-teal); color: var(--c-teal-700); }
body.hs .ch-mas a i { color: var(--c-teal); }
body.hs .ch-mas em { font-style: normal; background: var(--c-teal-50); color: var(--c-teal-700); border-radius: 999px; padding: 2px 7px; font-size: 12px; font-weight: 600; }

/* ---------- Tarjeta de profesional ---------- */
body.hs .cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
body.hs .cd-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--c-linea); border-radius: var(--r-lg); padding: 20px;
  box-shadow: var(--sombra-1); transition: border-color var(--t-rapida), box-shadow var(--t-rapida);
}
body.hs .cd-card:hover { border-color: var(--c-teal-100); box-shadow: var(--sombra-2); }
body.hs .cd-card.es-destacado { border-color: #ecd3a5; box-shadow: 0 0 0 3px var(--c-miel-50); }
body.hs .cd-card-top { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; padding-right: 40px; }
body.hs .cd-card .cd-av { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; flex: none; }
body.hs .cd-av-ini {
  display: grid; place-items: center; background: var(--c-teal-50); color: var(--c-teal-700);
  font: 700 24px/1 var(--f-titulo); letter-spacing: -.02em;
}
body.hs .cd-card h3 { font-size: 19px; line-height: 1.2; margin: 4px 0 2px; }
body.hs .cd-sub { color: var(--c-suave); font-size: 14.5px; margin: 0; line-height: 1.35; }
body.hs .cd-badges { display: flex; flex-wrap: wrap; gap: 6px; }
body.hs .cd-badge, body.hs .ch-verif-b {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  font: 600 12px/1.3 var(--f-texto); letter-spacing: 0; text-transform: none;
}
body.hs .ch-verif-b { background: var(--c-teal-50); color: var(--c-teal-700); border: 1px solid var(--c-teal-100); }
body.hs .cd-badge.dest { background: var(--c-miel-50); color: #8a5a12; border: 1px solid #f1dcb3; }
body.hs .cd-badge.dest i { color: var(--c-miel); }
body.hs .cd-badge.ec { background: var(--c-agua); color: var(--c-pino); border: 1px solid var(--c-linea); }
body.hs .cd-fav {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--c-linea); color: var(--c-suave); font-size: 18px; cursor: pointer;
  transition: color var(--t-rapida), border-color var(--t-rapida), background var(--t-rapida);
}
body.hs .cd-fav:hover { color: #c2410c; border-color: #f5c9b6; }
body.hs .cd-fav[aria-pressed="true"] { color: #fff; background: #c2410c; border-color: #c2410c; }
body.hs .cd-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
body.hs .cd-chips li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--c-agua); color: var(--c-pino); font-size: 13px; font-weight: 500; border: 0; }
body.hs .cd-chips li i { color: var(--c-teal); }
body.hs .cd-card-pie { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--c-linea); margin-top: auto; }
body.hs .cd-lugar { color: var(--c-suave); font-size: 14px; display: inline-flex; gap: 4px; align-items: center; }
body.hs .cd-precio { font: 700 15.5px/1.2 var(--f-texto); color: var(--c-pino); }
body.hs .cd-ver { width: 100%; }
body.hs .cd-cal, body.hs .ch-cal { color: var(--c-miel); font-size: 14px; }

/* ---------- Anuncios ---------- */
body.hs .ch-anuncios a { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-linea); background: #fff; box-shadow: none; }

/* ---------- Cómo funciona (sí es una secuencia: lleva número) ---------- */
body.hs .ch-pasos { counter-reset: paso; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--c-linea); }
body.hs .ch-pasos li {
  counter-increment: paso; position: relative; background: none; border: 0; border-radius: 0; box-shadow: none;
  padding: 28px 28px 8px 0; margin: 0;
}
body.hs .ch-pasos li + li { padding-left: 28px; border-left: 1px solid var(--c-linea); }
body.hs .ch-pasos li::before {
  content: counter(paso); display: block; font: 800 56px/1 var(--f-titulo); color: var(--c-teal); letter-spacing: -.04em; margin-bottom: 14px;
  position: static;
}
body.hs .ch-pasos li::after { display: none; }
body.hs .ch-pasos li > i { display: none; }
body.hs .ch-pasos h3 { font-size: 22px; margin: 0 0 8px; }
body.hs .ch-pasos p { color: var(--c-suave); margin: 0; }

/* ---------- Verificados ---------- */
body.hs .ch-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
body.hs .ch-split > img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: none; }
body.hs .ch-split h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; margin: 12px 0 14px; }
body.hs .ch-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: #fff; color: var(--c-teal-700); border: 1px solid var(--c-teal-100); font: 600 13.5px/1 var(--f-texto); text-transform: none; letter-spacing: 0;
}
body.hs .ch-estudios { list-style: none; padding: 0; display: grid; gap: 14px; }
body.hs .ch-estudios li { display: flex; gap: 14px; align-items: flex-start; }
body.hs .ch-estudios li > i {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; color: var(--c-teal); font-size: 20px; border: 1px solid var(--c-linea);
}
body.hs .ch-estudios b { display: block; color: var(--c-pino); font-weight: 600; }
body.hs .ch-estudios span { color: var(--c-suave); font-size: 15px; }

/* ---------- Banda para profesionales: sin degradado sobre la foto ---------- */
body.hs .ch-banda {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; gap: 0; padding: 0;
  background: var(--c-pino); color: #e6efed; border-radius: var(--r-xl); overflow: hidden; min-height: 0;
}
body.hs .ch-banda::before, body.hs .ch-banda::after { display: none; }
body.hs .ch-banda[style*="--foto"]::after {
  content: ""; display: block; position: static; inset: auto; z-index: auto; background: var(--foto) center / cover no-repeat; min-height: 280px;
}
body.hs .ch-banda-txt { padding: clamp(28px, 4vw, 56px); position: relative; z-index: 1; max-width: none; background: none; }
body.hs .ch-banda h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; margin: 12px 0 10px; }
body.hs .ch-banda p { color: #b9ccc8; font-size: 17px; max-width: 46ch; margin: 0 0 22px; }
body.hs .ch-eyebrow-claro { background: rgba(255, 255, 255, .08); color: #bfe6df; border-color: rgba(255, 255, 255, .14); }
body.hs .ch-banda-mini { grid-template-columns: 1fr auto; align-items: center; padding: 24px clamp(20px, 3vw, 36px); margin-top: 40px; }
body.hs .ch-banda-mini .ch-banda-txt { padding: 0; }
body.hs .ch-banda-mini h2 { font-size: 24px; margin: 0 0 4px; }
body.hs .ch-banda-mini p { margin: 0; font-size: 15.5px; }

/* ---------- Preguntas ---------- */
body.hs .cd-faq { max-width: 820px; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--c-linea); }
body.hs .cd-faq details { background: none; border: 0; border-bottom: 1px solid var(--c-linea); border-radius: 0; padding: 0; box-shadow: none; }
body.hs .cd-faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 18px/1.35 var(--f-titulo); color: var(--c-pino); letter-spacing: -.01em;
}
body.hs .cd-faq summary::-webkit-details-marker { display: none; }
body.hs .cd-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  background: var(--c-teal-50); color: var(--c-teal-700); font: 600 20px/1 var(--f-texto); transition: transform var(--t-rapida);
}
body.hs .cd-faq details[open] summary::after { content: "−"; }
body.hs .cd-faq details p { margin: -6px 0 22px; color: var(--c-suave); max-width: 70ch; }

/* ---------- Pie ---------- */
body.hs .hs-footer { background: var(--c-pino); color: #b9ccc8; padding: clamp(48px, 6vw, 72px) 0 0; margin-top: 0; }
body.hs .hs-footer .brand { font: 700 20px/1 var(--f-titulo); color: #fff; margin-bottom: 12px; }
body.hs .hs-footer p { color: #9fb5b0; font-size: 15px; max-width: 36ch; }
body.hs .hs-footer h4 { font: 600 15px/1.2 var(--f-texto); color: #fff; letter-spacing: 0; text-transform: none; margin-bottom: 14px; }
body.hs .hs-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
body.hs .hs-footer a { color: #cfe0dc; text-decoration: none; font-size: 15px; }
body.hs .hs-footer a:hover { color: #fff; text-decoration: underline; }
body.hs .hs-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 20px clamp(16px, 4vw, 32px); color: #8fa7a2; font-size: 13.5px; text-align: center; background: none; }
body.hs .hs-foot-bottom a { color: #cfe0dc; }

/* ---------- Páginas interiores (buscar, perfil) ---------- */
body.hs .ch-pag-hero { background: var(--c-agua); padding: clamp(24px, 4vw, 44px) 0 clamp(28px, 4vw, 44px); border: 0; }
body.hs .ch-pag-hero h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 8px 0 8px; max-width: 22ch; }
body.hs .ch-pag-sub { color: var(--c-suave); margin: 0 0 22px; }
body.hs .ch-migas { font-size: 14px; color: var(--c-suave); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
body.hs .ch-migas a { color: var(--c-suave); text-decoration: none; }
body.hs .ch-migas a:hover { color: var(--c-teal-700); text-decoration: underline; }
body.hs .ch-filtros-fila { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
body.hs .ch-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; scroll-snap-type: x proximity; }
body.hs .ch-pills::-webkit-scrollbar { display: none; }
body.hs .ch-pills a {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-linea); color: var(--c-pino); text-decoration: none; font: 500 14.5px/1 var(--f-texto); white-space: nowrap;
}
body.hs .ch-pills a i { color: var(--c-teal); }
body.hs .ch-pills a.on { background: var(--c-pino); color: #fff; border-color: var(--c-pino); }
body.hs .ch-pills a.on i { color: #7fd1c4; }
body.hs .ch-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--c-linea); background: #fff; color: var(--c-pino); text-decoration: none; font: 500 14.5px/1 var(--f-texto);
}
body.hs .ch-toggle.on { background: var(--c-teal-50); border-color: var(--c-teal); color: var(--c-teal-700); }
body.hs .ch-filtro-verif { display: inline-flex; align-items: center; gap: 6px; flex: none; }
body.hs .ch-verif-q { width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--c-linea); background: #fff; color: var(--c-suave); font-weight: 700; font-size: 13px; }
body.hs .ch-verif-tip { border-radius: 16px; box-shadow: var(--sombra-2); border: 1px solid var(--c-linea); }
body.hs .cd-pag { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
body.hs .cd-pag a, body.hs .cd-pag span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--c-linea); text-decoration: none; color: var(--c-pino); font-weight: 600; }
body.hs .cd-pag span[aria-current] { background: var(--c-pino); color: #fff; border-color: var(--c-pino); }

/* Estados vacíos */
body.hs .cd-vacio { text-align: center; padding: clamp(36px, 6vw, 64px) 20px; background: #fff; border: 1px dashed #c9d6d2; border-radius: var(--r-lg); }
body.hs .cd-vacio strong { font: 700 20px/1.3 var(--f-titulo); color: var(--c-pino); }
body.hs .ch-vacio-ic { font-size: 40px; color: var(--c-teal); display: block; margin-bottom: 8px; }

/* Perfil */
body.hs .ch-perfil-sec { background: linear-gradient(var(--c-agua) 0 260px, var(--c-papel) 260px); padding: clamp(16px, 3vw, 32px) 0 var(--sec-y); }
body.hs .cd-perfil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 16px; }
body.hs .cd-perfil-head {
  display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--c-linea);
  border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); box-shadow: var(--sombra-1);
}
body.hs .cd-perfil-head .cd-av { width: 120px; height: 120px; border-radius: 28px; object-fit: cover; flex: none; font-size: 40px; }
body.hs .cd-perfil-head h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 8px 0 4px; }
body.hs .ch-perfil-sub { font-size: 17px; }
body.hs .ch-perfil-precio {
  display: inline-flex; gap: 6px; align-items: center; margin: 12px 0 0; padding: 6px 12px; border-radius: 999px;
  background: var(--c-agua); color: var(--c-pino); font-weight: 600; font-size: 15px; border: 0;
}
body.hs .ch-perfil-precio i { color: var(--c-teal); }
body.hs .ch-acciones { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
body.hs .ch-acc {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-linea); color: var(--c-pino); font: 500 14.5px/1 var(--f-texto); text-decoration: none; cursor: pointer;
}
body.hs .ch-acc:hover { border-color: var(--c-teal); color: var(--c-teal-700); }
body.hs .ch-acc i { color: var(--c-teal); font-size: 17px; }
body.hs .ch-acc[aria-pressed="true"] { background: #fff4ee; border-color: #f5c9b6; color: #9a3412; }
body.hs .ch-acc[aria-pressed="true"] i { color: #c2410c; }
/* Bloques del perfil: secciones editoriales, no cajas apiladas */
body.hs .cd-perfil .cd-bloque:not(.ch-promo) {
  background: none; border: 0 !important; border-top: 1px solid var(--c-linea) !important; border-radius: 0 !important; box-shadow: none;
  padding: 28px 0 8px; margin: 0;
}
body.hs .cd-perfil .cd-bloque.ch-promo { border-radius: var(--r-lg) !important; margin: 20px 0 8px; }
body.hs .cd-perfil .cd-bloque h2 { font-size: 24px; margin: 0 0 14px; }
body.hs .ch-perfil-desc { font-size: 17.5px; line-height: 1.7; color: var(--c-texto); max-width: 68ch; white-space: pre-line; }
body.hs .cd-datos { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
body.hs .cd-datos > * { background: var(--c-agua); border-radius: 14px; padding: 14px 16px; border: 0; }
/* Columna de contacto */
body.hs .cd-contacto {
  position: sticky; top: 92px; background: #fff; border: 1px solid var(--c-linea); border-radius: var(--r-xl);
  padding: 24px; box-shadow: var(--sombra-2);
}
body.hs .cd-contacto h2, body.hs .cd-contacto h3 { font-size: 22px; margin-top: 0; }
body.hs .ch-candado { background: var(--c-agua); border: 0; border-radius: 16px; padding: 16px; }
body.hs .ch-o { color: var(--c-suave); }
body.hs .ch-promo { border-radius: var(--r-lg); }
body.hs .ch-mapa { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-linea); }
/* Botón fijo «Contactar a …» del perfil en celular (lo muestra/oculta sitio.js con .oculto) */
body.hs .ch-perfil-sec a.ch-fijo {
  bottom: calc(14px + env(safe-area-inset-bottom)); min-height: 56px; border-radius: 999px;
  background: var(--c-teal); color: #fff; font: 600 16px/1 var(--f-texto); text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(18, 48, 44, .55);
}
body.hs .ch-perfil-sec a.ch-fijo:hover { background: var(--c-teal-700); color: #fff; }

/* ---------- Formularios (sitio y cuenta) ---------- */
body.hs .cd-form label, body.hs .ch-res-form label { font: 600 14px/1.3 var(--f-texto); color: var(--c-pino); }
body.hs .cd-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.hs .cd-form select, body.hs .cd-form textarea,
body.hs .ch-res-form input:not([type=checkbox]):not([type=radio]), body.hs .ch-res-form textarea, body.hs .ch-res-form select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--c-linea); border-radius: 12px; background: #fff;
  font: 400 16px/1.4 var(--f-texto); color: var(--c-pino); transition: border-color var(--t-rapida), box-shadow var(--t-rapida);
}
body.hs .cd-form textarea, body.hs .ch-res-form textarea { min-height: 110px; }
body.hs .cd-form :is(input, select, textarea):focus, body.hs .ch-res-form :is(input, select, textarea):focus {
  outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, .14);
}
body.hs input[type=checkbox], body.hs input[type=radio] { accent-color: var(--c-teal); width: 18px; height: 18px; }
body.hs .cd-alerta { border-radius: 14px; padding: 12px 14px; border: 0; font-size: 15px; }
body.hs .cd-alerta.ok { background: var(--c-ok-50); color: #14532d; }
body.hs .cd-alerta.mal { background: var(--c-mal-50); color: #7a1a12; }
body.hs .cd-nota { color: var(--c-suave); font-size: 13.5px; }
body.hs dt, body.hs .ch-nota-centro { color: var(--c-suave); }
body.hs .ch-toast { border-radius: 14px; background: var(--c-pino); color: #fff; box-shadow: var(--sombra-2); }

/* ---------- Planes (para profesionales) ---------- */
body.hs .ch-plan { background: #fff; border: 1px solid var(--c-linea); border-radius: var(--r-lg); box-shadow: var(--sombra-1); }
body.hs .ch-plan-precio { font-family: var(--f-titulo); color: var(--c-pino); letter-spacing: -.02em; }
body.hs .ch-plan-tag { border-radius: 999px; text-transform: none; letter-spacing: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1099.98px) {
  body.hs .ch-portada { grid-template-columns: 1fr; }
  body.hs .ch-pro { display: grid; grid-template-columns: 220px 1fr; }
  body.hs .ch-pro > img { aspect-ratio: auto; height: 100%; }
  body.hs .ch-buscar-hero { width: 100%; }
}
@media (max-width: 991.98px) {
  body.hs .ch-hero-in { grid-template-columns: 1fr; min-height: 0; }
  body.hs .ch-hero-foto { min-height: 260px; order: 2; border-radius: 0 0 var(--r-xl) var(--r-xl); }
  body.hs .ch-buscar-hero { width: 100%; max-width: none; }
  body.hs .ch-buscar-4 { grid-template-columns: 1fr 1fr; }
  body.hs .ch-buscar-4 .ch-btn { grid-column: 1 / -1; }
  body.hs .ch-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.hs .cd-perfil { grid-template-columns: 1fr; }
  body.hs .cd-contacto { position: static; }
  body.hs .ch-split, body.hs .ch-banda { grid-template-columns: 1fr; }
  body.hs .ch-banda[style*="--foto"]::after { min-height: 200px; order: -1; }
}
@media (max-width: 767.98px) {
  body.hs { font-size: 16px; }
  body.hs .ch-hero { padding-top: 12px; }
  body.hs .ch-hero-in { border-radius: 24px; }
  body.hs .ch-hero-txt { padding: 24px 18px 22px; }
  body.hs .ch-hero h1 { font-size: clamp(34px, 10vw, 44px); max-width: none; }
  body.hs .ch-buscar-hero, body.hs .ch-buscar-4 { grid-template-columns: 1fr; padding: 6px; border-radius: 20px; }
  body.hs .ch-fld { padding: 12px 14px; min-height: 64px; }
  body.hs .ch-fld + .ch-fld { border-left: 0; border-top: 1px solid var(--c-linea); border-radius: 0; }
  body.hs .ch-buscar .ch-btn { width: 100%; margin-top: 6px; min-height: 56px; }
  body.hs .ch-rapidos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  body.hs .ch-rapidos::-webkit-scrollbar { display: none; }
  body.hs .ch-rapidos > span { display: none; }
  body.hs .ch-rapidos a { flex: none; }
  body.hs .ch-confianza { gap: 10px 16px; }
  body.hs .ch-confianza li { font-size: 13.5px; }
  body.hs .ch-pro { grid-template-columns: 1fr; border-radius: 24px; }
  body.hs .ch-pro > img { display: none; }
  body.hs .ch-cats { grid-template-columns: 1fr; gap: 14px; }
  body.hs .ch-cat { display: grid; grid-template-columns: 112px 1fr; }
  body.hs .ch-cat img { aspect-ratio: auto; height: 100%; min-height: 112px; }
  body.hs .ch-cat-txt { padding: 14px 14px 14px 16px; grid-template-columns: 1fr; }
  body.hs .ch-cat-txt i { display: none; }
  body.hs .ch-cat-txt strong { font-size: 17px; }
  body.hs .ch-cat-txt small { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  body.hs .ch-pasos { grid-template-columns: 1fr; border-top: 0; }
  body.hs .ch-pasos li, body.hs .ch-pasos li + li { padding: 20px 0; border-left: 0; border-top: 1px solid var(--c-linea); display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; }
  body.hs .ch-pasos li::before { font-size: 40px; margin: 0; grid-row: span 2; }
  body.hs .ch-pasos h3 { font-size: 19px; margin: 2px 0 4px; }
  body.hs .cd-card { padding: 16px; border-radius: 18px; }
  body.hs .cd-card .cd-av { width: 60px; height: 60px; border-radius: 16px; }
  body.hs .cd-perfil-head { flex-direction: column; text-align: center; align-items: center; border-radius: 24px; }
  body.hs .cd-perfil-head .cd-badges { justify-content: center; }
  body.hs .cd-perfil-head .cd-av { width: 104px; height: 104px; }
  body.hs .ch-acciones { justify-content: center; }
  body.hs .ch-acc span { display: none; }
  body.hs .ch-acc[data-fav] span { display: inline; }
  body.hs .ch-acc { min-width: 44px; justify-content: center; }
  body.hs .ch-perfil-sec { background: linear-gradient(var(--c-agua) 0 180px, var(--c-papel) 180px); }
  body.hs .ch-banda-mini { grid-template-columns: 1fr; gap: 14px; }
  body.hs .ch-head-fila .ch-btn { display: none; }
  body.hs .hs-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  body.hs .hs-footer-grid > div:first-child { grid-column: 1 / -1; }
  body.hs .hs-foot-bottom { margin-top: 32px; }
}
@media (max-width: 359.98px) {
  body.hs .hs-logo span { font-size: 15px; }
  body.hs .ch-cat { grid-template-columns: 92px 1fr; }
}

/* ---------- Pantallas de cuenta (entrar, registro, recuperar) ---------- */
body.cu { background: #fff; }
body.cu-registro h1, body.cu-registro h2 { font-family: var(--f-titulo); font-weight: 800; letter-spacing: -.03em; color: var(--c-pino); }
body.cu-registro .btn { border-radius: 999px; }
body.cu h2 { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(30px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -.03em; color: var(--c-pino); }
body.cu .sub { font-size: 16.5px; color: var(--c-suave); }
body.cu label { font: 600 14px/1.3 var(--f-texto); color: var(--c-pino); }
body.cu .in { height: 54px; border-radius: 14px; border: 1.5px solid var(--c-linea); }
body.cu .in:focus-within { border-color: var(--c-teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, .14); }
body.cu .in i { color: var(--c-teal); }
body.cu .in input, body.cu .in select { font-size: 16px; color: var(--c-pino); }
body.cu .btn { min-height: 54px; border-radius: 999px; font-weight: 600; font-size: 16px; filter: none; }
body.cu .btn:hover { filter: none; background: var(--c-teal-700); border-color: var(--c-teal-700); }
body.cu .btn.sec { background: #fff; color: var(--c-teal-700); border-color: var(--c-teal-100); }
body.cu .btn.sec:hover { background: var(--c-teal-50); color: var(--c-teal-700); }
body.cu .marca { font-family: var(--f-titulo); font-weight: 700; letter-spacing: -.02em; color: var(--c-pino); }
