/**
 * Manifiesto páginas de contenido — solo @import.
 * Editar estilos en los .css referenciados; regenerar: .\scripts\bundle-css.ps1
 */
/* --- pagina-moderna.css --- */
/**
 * Sistema visual unificado Varnolac (fábrica de pinturas).
 * Paleta: tinta #26252d · acento #c81c24 · azul logo #07008a (solo isotipo) · fondos #f6f7f8
 * Aplica a conocenos / contacto / asesor / patologias / colores / oficios.
 */
body.vl-pagina-moderna,
body.vl-layout-unificado {
  --vl-ink: #26252d;
  --vl-accent: #c81c24;
  --vl-accent-hover: #a6171e;
  --vl-navy: #07008a;
  --vl-bg: #f6f7f8;
  --vl-card: #ffffff;
  --vl-border: #d8dce0;
  --vl-muted: #6b7580;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--vl-ink);
}

body.vl-pagina-moderna .content {
  background: var(--vl-bg);
}

/* Separador pegado al header */
body.vl-pagina-moderna .box10,
.vl-layout-unificado .box10 {
  margin-top: 0;
  margin-bottom: 0;
}

body.vl-pagina-moderna .box10 img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* Heroes internos: mismo bloque que footer/header */
body.vl-pagina-moderna .hero-conocenos,
body.vl-pagina-moderna .hero-contacto,
body.vl-pagina-moderna .hero-asesor,
body.vl-pagina-moderna .hero-patologias,
body.vl-page-oficio .oficio-hub__hero {
  background: var(--vl-ink) !important;
  color: #fff;
  padding: 3.25rem 1.25rem 2.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

body.vl-pagina-moderna .hero-conocenos::before,
body.vl-pagina-moderna .hero-contacto::before,
body.vl-pagina-moderna .hero-asesor::before,
body.vl-pagina-moderna .hero-patologias::before {
  display: none !important;
}

body.vl-pagina-moderna .hero-conocenos .hero-brand {
  margin: 0 0 0.65rem;
  font-size: clamp(2.2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
}

body.vl-pagina-moderna .hero-conocenos .hero-title {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

body.vl-pagina-moderna .hero-title {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 600;
  text-shadow: none !important;
}

body.vl-pagina-moderna .hero-title i {
  display: none;
}

body.vl-pagina-moderna .hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* CTAs */
body.vl-pagina-moderna .btn-primary,
body.vl-pagina-moderna .btn-secondary,
body.vl-pagina-moderna .btn-cta {
  border-radius: 2px !important;
  font-weight: 600;
  box-shadow: none !important;
  text-transform: none;
}

body.vl-pagina-moderna .btn-primary,
body.vl-pagina-moderna a.btn-primary {
  background: var(--vl-accent) !important;
  border: 1px solid var(--vl-accent) !important;
  color: #fff !important;
}

body.vl-pagina-moderna .btn-primary:hover,
body.vl-pagina-moderna a.btn-primary:hover {
  background: var(--vl-accent-hover) !important;
  border-color: var(--vl-accent-hover) !important;
  transform: none;
}

body.vl-pagina-moderna .btn-secondary,
body.vl-pagina-moderna a.btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

body.vl-pagina-moderna .section-title i,
body.vl-pagina-moderna .vl-header__nav .vl-header__nav--active {
  color: var(--vl-accent);
}

body.vl-pagina-moderna .vl-header__nav .vl-header__nav--active {
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--vl-accent);
}

body.vl-pagina-moderna .title-line {
  background: var(--vl-accent) !important;
}

/* Cards: menos sombra, borde fino */
body.vl-pagina-moderna .historia-card,
body.vl-pagina-moderna .mv-card,
body.vl-pagina-moderna .valor-card,
body.vl-pagina-moderna .iyd-card,
body.vl-pagina-moderna .mapa-container,
body.vl-pagina-moderna .form-card,
body.vl-pagina-moderna .info-card,
body.vl-pagina-moderna .asesor-card {
  border-radius: 4px !important;
  box-shadow: 0 1px 3px rgba(38, 37, 45, 0.06) !important;
  border: 1px solid var(--vl-border);
}

body.vl-pagina-moderna .seccion-conocenos.bg-highlight,
body.vl-pagina-moderna .seccion-conocenos.bg-light,
body.vl-pagina-moderna .seccion-conocenos.bg-commitment {
  background: var(--vl-bg) !important;
}

body.vl-pagina-moderna .seccion-conocenos.bg-cta {
  background: var(--vl-ink) !important;
}

/* Colores hub */
body.vl-page-colores .ccolores-page__title {
  color: var(--vl-ink);
}

body.vl-page-colores .ccolores-notice {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--vl-accent);
  background: #fff;
  border: 1px solid var(--vl-border);
  border-left-width: 3px;
  border-left-color: var(--vl-accent);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--vl-muted);
  max-width: 44rem;
}

body.vl-page-colores .ccolores-chooser__btn.is-active {
  border-color: var(--vl-accent);
  box-shadow: inset 0 0 0 1px var(--vl-accent);
  background: #fff;
}

/* --- conocenos-profesional.css --- */
/* ============================================================================
   Conócenos — hub de marca (alineado a asesor / oficio-hub)
   ============================================================================ */

.conocenos-hub {
  background: #f6f7f8;
  color: #26252d;
  font-family: "DM Sans", system-ui, sans-serif;
}

.conocenos-hub__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* —— Hero —— */
.conocenos-hub__hero {
  position: relative;
  background: #26252d;
  color: #fff;
  padding: clamp(4.5rem, 12vw, 7rem) 0 clamp(3.5rem, 8vw, 5rem);
  overflow: hidden;
  text-align: center;
}

.conocenos-hub__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.conocenos-hub__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
}

.conocenos-hub__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(38, 37, 45, 0.55) 0%, rgba(38, 37, 45, 0.82) 100%),
    linear-gradient(90deg, rgba(200, 28, 36, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.conocenos-hub__hero-inner {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  margin: 0 auto;
}

.conocenos-hub__brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
}

.conocenos-hub__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.conocenos-hub__subtitle {
  margin: 0 auto 1.75rem;
  max-width: 34em;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.conocenos-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.conocenos-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.conocenos-hub__btn--primary {
  background: #c81c24;
  color: #fff;
  border: 1px solid #c81c24;
}

.conocenos-hub__btn--primary:hover {
  background: #a6171e;
  border-color: #a6171e;
  color: #fff;
}

.conocenos-hub__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.conocenos-hub__btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.conocenos-hub__btn--accent {
  background: #c81c24;
  color: #fff;
  border: 1px solid #c81c24;
}

.conocenos-hub__btn--accent:hover {
  background: #a6171e;
  border-color: #a6171e;
  color: #fff;
}

/* —— Sections —— */
.conocenos-hub__section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #fff;
}

.conocenos-hub__section--muted {
  background: #f6f7f8;
}

.conocenos-hub__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c81c24;
}

.conocenos-hub__h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #26252d;
  text-align: center;
}

.conocenos-hub__h2--on-dark {
  color: #fff;
}

.conocenos-hub__lead {
  margin: 0 auto 2rem;
  max-width: 36em;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #555;
}

.conocenos-hub__lead--on-dark {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}

.conocenos-hub__caption {
  margin: 1.5rem auto 0;
  max-width: 42em;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #777;
}

.conocenos-hub__caption a {
  color: #c81c24;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Esencia —— */
.conocenos-esencia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.conocenos-esencia__bloque {
  padding: 0;
}

.conocenos-esencia__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c81c24;
}

.conocenos-esencia__h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #26252d;
}

.conocenos-esencia__bloque p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #444;
}

.conocenos-esencia__etimologia {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #26252d;
}

.conocenos-esencia__plus,
.conocenos-esencia__arrow {
  color: #c81c24;
  font-weight: 600;
}

.conocenos-esencia__brand {
  color: #07008a;
  letter-spacing: 0.04em;
}

.conocenos-esencia__4p {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0;
}

.conocenos-esencia__4p-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.conocenos-esencia__4p-item span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: #c81c24;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 2px;
}

.conocenos-esencia__4p-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.2rem;
  height: 3.2rem;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #f6f7f8;
}

.conocenos-esencia__4p-logo img {
  width: 2.4rem;
  height: 2.4rem;
}

/* —— Historia —— */
.conocenos-historia {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.conocenos-historia__media {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
}

.conocenos-historia__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.conocenos-historia__body .conocenos-hub__h2 {
  text-align: left;
}

.conocenos-historia__body p {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.conocenos-historia__note {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.9rem !important;
  color: #666 !important;
}

/* —— Pilares —— */
.conocenos-pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.conocenos-pilar__media {
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 2px;
}

.conocenos-pilar__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.conocenos-pilar:hover .conocenos-pilar__media img {
  transform: scale(1.03);
}

.conocenos-pilar__title {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #26252d;
}

.conocenos-pilar p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555;
}

/* —— Medios —— */
.conocenos-hub__medios {
  text-align: center;
}

.conocenos-medios {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.conocenos-medios__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.5rem 1rem;
}

.conocenos-medios__item img {
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* —— CTA —— */
.conocenos-hub__cta {
  background: #26252d;
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
}

/* —— Motion —— */
.conocenos-hub [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.conocenos-hub [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .conocenos-hub [data-reveal],
  .conocenos-pilar__media img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .conocenos-esencia,
  .conocenos-historia,
  .conocenos-pilares {
    grid-template-columns: 1fr;
  }

  .conocenos-historia__body .conocenos-hub__h2 {
    text-align: center;
  }

  .conocenos-historia__body {
    text-align: center;
  }

  .conocenos-esencia__4p-logo {
    display: none;
  }
}

@media (max-width: 560px) {
  .conocenos-hub__hero {
    padding: 3.5rem 0 3rem;
  }

  .conocenos-hub__btn {
    width: 100%;
  }
}

/* --- contacto-profesional.css --- */
/* ============================================================================
   Contacto — hub de canales (alineado a asesor / conocenos)
   ============================================================================ */

.contacto-hub {
  background: #f6f7f8;
  color: #26252d;
  font-family: "DM Sans", system-ui, sans-serif;
}

.contacto-hub__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* —— Hero —— */
.contacto-hub__hero {
  background: #26252d;
  color: #fff;
  padding: clamp(3.5rem, 10vw, 5.5rem) 0 clamp(3rem, 7vw, 4.5rem);
  text-align: center;
}

.contacto-hub__hero-inner {
  max-width: 38rem;
  margin: 0 auto;
}

.contacto-hub__brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
}

.contacto-hub__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.contacto-hub__subtitle {
  margin: 0 auto 1.75rem;
  max-width: 34em;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.contacto-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.contacto-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}

.contacto-hub__btn--primary {
  background: #c81c24;
  color: #fff;
  border-color: #c81c24;
}

.contacto-hub__btn--primary:hover {
  background: #a6171e;
  border-color: #a6171e;
  color: #fff;
}

.contacto-hub__btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.contacto-hub__btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.contacto-hub__btn--outline {
  background: #fff;
  color: #26252d;
  border-color: #cfcfd3;
}

.contacto-hub__btn--outline:hover {
  border-color: #26252d;
  color: #26252d;
}

.contacto-hub__btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* —— Sections —— */
.contacto-hub__section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #fff;
}

.contacto-hub__section--muted {
  background: #f6f7f8;
}

.contacto-hub__h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #26252d;
  text-align: center;
}

.contacto-hub__lead {
  margin: 0 auto 2rem;
  max-width: 36em;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #555;
}

/* —— Paths —— */
.contacto-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contacto-path {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  background: #f6f7f8;
  border: 1px solid #e4e5e8;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.contacto-path:hover {
  border-color: #c81c24;
  background: #fff;
}

.contacto-path--wa {
  border-color: rgba(200, 28, 36, 0.35);
  background: #fff;
}

.contacto-path__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #c81c24;
}

.contacto-path__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #26252d;
}

.contacto-path__text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #555;
  flex: 1;
}

.contacto-path__cta {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #c81c24;
}

/* —— Datos —— */
.contacto-datos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.contacto-dato__label {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c81c24;
}

.contacto-dato p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #333;
}

.contacto-dato a {
  color: #07008a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contacto-dato a[href^="tel"] {
  color: #26252d;
  text-decoration: none;
  font-weight: 600;
}

.contacto-dato a[href^="tel"]:hover {
  color: #c81c24;
}

/* —— Form —— */
.contacto-hub__form-wrap {
  max-width: 720px;
}

.contacto-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  border-radius: 2px;
}

.contacto-msg.hidden {
  display: none;
}

.contacto-msg--ok {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.contacto-msg--err {
  background: #fdecea;
  color: #8b1a1a;
  border: 1px solid #f5c2c0;
}

.contacto-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contacto-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contacto-form__group--full {
  margin-bottom: 1rem;
}

.contacto-form__group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #26252d;
}

.contacto-form__optional {
  font-weight: 500;
  color: #888;
}

.required {
  color: #c81c24;
}

.contacto-form__group input,
.contacto-form__group select,
.contacto-form__group textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  color: #26252d;
  background: #fff;
  border: 1px solid #cfcfd3;
  border-radius: 2px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contacto-form__group input:focus,
.contacto-form__group select:focus,
.contacto-form__group textarea:focus {
  outline: none;
  border-color: #07008a;
  box-shadow: 0 0 0 3px rgba(7, 0, 138, 0.12);
}

.contacto-form__group input.error,
.contacto-form__group select.error,
.contacto-form__group textarea.error {
  border-color: #c81c24;
}

.error-message {
  min-height: 1.1em;
  font-size: 0.8rem;
  color: #c81c24;
}

.contacto-form__recaptcha {
  margin: 0.5rem 0 1.25rem;
}

.contacto-form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.contacto-form__wa-alt {
  font-size: 0.9rem;
  font-weight: 600;
  color: #07008a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contacto-form__wa-alt:hover {
  color: #c81c24;
}

/* —— Mapa —— */
.contacto-mapa {
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid #e4e5e8;
  background: #ddd;
}

.contacto-mapa iframe {
  display: block;
  width: 100%;
  min-height: 320px;
}

/* Maps / Waze — estilo anterior (rojo + gris) */
.mapa-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 1.25rem;
}

.mapa-actions-label {
  font-weight: 600;
  color: #26252d;
  flex-basis: 100%;
  text-align: center;
}

.btn-mapa {
  display: inline-block;
  padding: 12px 30px;
  background: #c81c24;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-mapa:hover {
  background: #a6171e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 28, 36, 0.3);
}

.btn-mapa-secundario {
  background: #374151;
}

.btn-mapa-secundario:hover {
  background: #4b5563;
  color: #fff;
  box-shadow: 0 4px 15px rgba(55, 65, 81, 0.3);
}

.btn-mapa i {
  margin-right: 8px;
}

@media (max-width: 560px) {
  .mapa-actions .btn-mapa {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 12px 14px;
  }
}

/* —— Reveal —— */
.contacto-hub [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contacto-hub [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .contacto-hub [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* —— Responsive —— */
@media (max-width: 800px) {
  .contacto-paths,
  .contacto-datos,
  .contacto-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contacto-hub__btn {
    width: 100%;
  }

  .contacto-form__submit {
    flex-direction: column;
    align-items: stretch;
  }

  .contacto-form__wa-alt {
    text-align: center;
  }
}

/* --- asesor-profesional.css --- */
/* ============================================================================
   Asesor — hub de decisión (alineado a oficio-hub / marca Varnolac)
   ============================================================================ */

.asesor-hub {
  background: #f6f7f8;
  color: #26252d;
  font-family: "DM Sans", system-ui, sans-serif;
}

.asesor-hub__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.asesor-hub__hero-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.asesor-hub__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0a0a0;
}

body.vl-page-asesor .hero-asesor .hero-title {
  margin: 0 0 0.85rem;
}

body.vl-page-asesor .hero-asesor .hero-subtitle {
  margin: 0 auto 1.75rem;
}

.asesor-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.asesor-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.asesor-hub__btn--primary {
  background: #c81c24;
  color: #fff;
  border: 1px solid #c81c24;
}

.asesor-hub__btn--primary:hover {
  background: #a6171e;
  border-color: #a6171e;
  color: #fff;
}

.asesor-hub__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.asesor-hub__btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.asesor-hub__btn--accent {
  background: #c81c24;
  color: #fff;
  border: 1px solid #c81c24;
}

.asesor-hub__btn--accent:hover {
  background: #a6171e;
  border-color: #a6171e;
  color: #fff;
}

.asesor-hub__section {
  padding: 2.75rem 0;
}

.asesor-hub__section--muted {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.asesor-hub__h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #26252d;
}

.asesor-hub__h2--on-dark {
  color: #fff;
}

.asesor-hub__lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: #6b7580;
  line-height: 1.5;
  font-size: 0.98rem;
}

/* Caminos */
.asesor-hub__paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.asesor-path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 100%;
}

.asesor-hub__section--muted .asesor-path,
.asesor-hub__section:not(.asesor-hub__section--muted) .asesor-path {
  background: #fff;
}

.asesor-hub__section--muted .asesor-oficio {
  background: #f6f7f8;
}

.asesor-path:hover {
  border-color: #c81c24;
  box-shadow: 0 2px 12px rgba(38, 37, 45, 0.06);
}

.asesor-path__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c81c24;
}

.asesor-path__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #26252d;
}

.asesor-path__text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #6b7580;
  flex: 1;
}

.asesor-path__cta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #26252d;
}

.asesor-path:hover .asesor-path__cta {
  color: #c81c24;
}

.asesor-path--wa {
  border-color: #d8dce0;
}

/* Oficios */
.asesor-hub__oficios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.asesor-oficio {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  text-decoration: none;
  color: #26252d;
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.15s, background 0.15s;
}

.asesor-oficio span {
  font-weight: 500;
  font-size: 0.8rem;
  color: #6b7580;
}

.asesor-oficio:hover {
  border-color: #26252d;
  background: #fff;
}

/* Tools */
.asesor-hub__tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.asesor-tool {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

.asesor-tool strong {
  font-size: 0.98rem;
  color: #26252d;
}

.asesor-tool span {
  font-size: 0.85rem;
  color: #6b7580;
}

.asesor-tool:hover {
  border-color: #c81c24;
}

/* Cierre */
.asesor-hub__close {
  background: #26252d;
  color: #fff;
  padding: 2.75rem 0;
}

.asesor-hub__close-inner {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.asesor-hub__close p {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .asesor-hub__oficios,
  .asesor-hub__tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .asesor-hub__section {
    padding: 2rem 0;
  }

  .asesor-hub__paths,
  .asesor-hub__oficios,
  .asesor-hub__tools {
    grid-template-columns: 1fr;
  }

  .asesor-hub__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .asesor-hub__btn {
    width: 100%;
  }

  .asesor-path {
    padding: 1.15rem 1rem;
  }
}

/* Compat: ocultar restos del layout viejo si quedaran en cache de estilos sueltos */
.servicios-grid,
.recursos-section,
.consulta-section {
  display: none;
}

/* --- patologias-profesional.css --- */
/* ============================================================================
   Patologías — hub de diagnóstico (alineado a asesor-hub)
   ============================================================================ */

.pato-hub {
  background: #f6f7f8;
  color: #26252d;
  font-family: "DM Sans", system-ui, sans-serif;
}

.pato-hub__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pato-hub__hero-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.pato-hub__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0a0a0;
}

body.vl-page-patologias .hero-patologias .hero-title {
  margin: 0 0 0.85rem;
}

body.vl-page-patologias .hero-patologias .hero-subtitle {
  margin: 0 auto 1.75rem;
}

.pato-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.pato-hub__actions--center {
  justify-content: center;
}

.pato-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pato-hub__btn--primary,
.pato-hub__btn--accent {
  background: #c81c24;
  color: #fff;
  border-color: #c81c24;
}

.pato-hub__btn--primary:hover,
.pato-hub__btn--accent:hover {
  background: #a6171e;
  border-color: #a6171e;
  color: #fff;
}

.pato-hub__btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.pato-hub__btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.pato-hub__section {
  padding: 2.75rem 0;
}

.pato-hub__section--muted {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.pato-hub__h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #26252d;
}

.pato-hub__h2--on-dark {
  color: #fff;
}

.pato-hub__lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: #6b7580;
  line-height: 1.5;
  font-size: 0.98rem;
}

.pato-hub__tips {
  margin: 0;
  padding-left: 1.15rem;
  color: #6b7580;
  line-height: 1.7;
}

.pato-hub__close {
  background: #26252d;
  color: #fff;
  padding: 2.75rem 0;
}

.pato-hub__close-inner {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.pato-hub__close p {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

/* Quiz */
.pato-quiz__step-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.quiz-option {
  padding: 1rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  background: #f6f7f8;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: #26252d;
  transition: border-color 0.15s, background 0.15s;
}

.quiz-option:hover {
  border-color: #c81c24;
  background: #fff;
}

.pato-quiz__back {
  margin-top: 1rem;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7580;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-result[hidden] {
  display: none !important;
}

.quiz-result.active {
  display: block;
}

.pato-result {
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  background: #f6f7f8;
}

.pato-result__media {
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
  overflow: hidden;
}

.pato-result__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pato-result__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.pato-result__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.pato-result__meta {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: #6b7580;
}

.pato-result__body p {
  margin: 0 0 0.85rem;
  line-height: 1.55;
  color: #3a3a42;
}

.pato-result__body ol,
.pato-result__body ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  line-height: 1.55;
  color: #3a3a42;
}

.pato-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.pato-result__actions .pato-hub__btn--ghost {
  color: #26252d;
  border-color: #d8dce0;
}

.pato-result__actions .pato-hub__btn--ghost:hover {
  border-color: #26252d;
  color: #26252d;
}

.pato-result__note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: #6b7580;
}

/* Filtros */
.filtros-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.filtro-btn {
  padding: 0.55rem 0.9rem;
  border: 1px solid #d8dce0;
  border-radius: 2px;
  background: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #26252d;
  cursor: pointer;
}

.filtro-btn:hover {
  border-color: #26252d;
}

.filtro-btn.active {
  background: #c81c24;
  border-color: #c81c24;
  color: #fff;
}

/* Grid */
.patologias-grid {
  margin: 0;
  padding: 0;
  max-width: none;
}

.patologias-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
}

@media (min-width: 721px) {
  .patologias-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.patologia-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.15s;
}

.patologia-card:hover {
  border-color: #c81c24;
  transform: none;
  box-shadow: none;
}

.patologia-card::before {
  display: none;
}

.patologia-card__media {
  aspect-ratio: 16 / 10;
  background: #e8eaed;
  overflow: hidden;
}

.patologia-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.patologia-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.card-sustrato,
.card-severidad {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  background: #f0f1f3;
  color: #6b7580;
}

.card-severidad.grave {
  background: #fde8e9;
  color: #c81c24;
}

.card-severidad.moderada {
  background: #fff4e5;
  color: #9a6700;
}

.card-severidad.leve {
  background: #e8f5e9;
  color: #2e7d32;
}

.card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
}

.card-description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #6b7580;
  text-align: left;
}

.card-causas,
.card-solucion,
.card-productos,
.card-prevencion {
  margin: 0;
}

.card-causas h4,
.card-solucion h4,
.card-productos h4,
.card-prevencion h4 {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #26252d;
}

.card-solucion h4 {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.solucion-content {
  display: none;
}

.card-solucion.active .solucion-content {
  display: block;
}

.causas-list,
.solucion-steps {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #3a3a42;
}

.productos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.producto-tag {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  border: 1px solid #d8dce0;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #26252d;
  text-decoration: none;
  background: #f6f7f8;
}

.producto-tag:hover {
  border-color: #c81c24;
  color: #c81c24;
}

.card-prevencion p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #6b7580;
}

.pato-card__cta {
  margin-top: auto;
  padding-top: 0.5rem;
}

@media (max-width: 640px) {
  .quiz-options {
    grid-template-columns: 1fr;
  }

  .pato-hub__section {
    padding: 2rem 0;
  }

  .pato-hub__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pato-hub__btn {
    width: 100%;
  }

  .pato-result__actions {
    flex-direction: column;
  }
}

/* Legacy noise off */
.prevencion-section .prevencion-grid,
.diagnostico-description,
.filtros-title,
.section-title i {
  /* kept for safety if old markup cached */
}
