@charset "UTF-8";
main {
  background: #ffffff;
}

a {
  text-decoration: none;
}

.navbar {
  background-color: #00AEEF;
}

.navbar-brand a.site-title {
  font-size: 2rem;
  color: white;
}

.navbar-nav .nav-item {
  color: white;
}
.navbar-nav .nav-item a {
  font-weight: 700;
  color: white;
}

.slider-main {
  background-color: rgba(113, 191, 71, 0.5764705882);
  min-height: 400px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.view-slider-home {
  display: flex;
}
.view-slider-home .view-content {
  display: flex;
  justify-content: center;
}
.view-slider-home .view-content .views-row {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.view-slider-home .view-content .views-row .views-field-nothing {
  display: block;
}

.titulo {
  color: black;
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
}
.titulo a {
  color: #000;
  text-decoration: none;
}

.resumen {
  font-size: 1rem;
  font-weight: 200;
  margin: 10px 0px;
}

.vermas {
  border-radius: 10px;
  background-color: #00AEEF;
  width: fit-content;
  padding: 10px;
}
.vermas a {
  color: white;
  text-decoration: none;
}

.contenido-texto {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recuadros-cursos {
  width: 100%;
  margin: 20px 0;
}
.recuadros-cursos .view-content {
  display: flex;
  width: 100%;
}
.recuadros-cursos .view-content .views-row {
  flex-basis: 33%;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.block-views-blockslider-home-block-2 {
  background-color: #00AEEF;
  padding: 10px 0px;
}
.block-views-blockslider-home-block-2 .view-content {
  display: flex;
  flex-direction: column;
}
.block-views-blockslider-home-block-2 .view-content .views-row {
  display: flex;
  flex-direction: row;
}
.block-views-blockslider-home-block-2 .view-content .views-row .views-field-field-imagen {
  flex-basis: 40%;
  padding: 10px;
}
.block-views-blockslider-home-block-2 .view-content .views-row .views-field-field-imagen img {
  width: 100%;
}
.block-views-blockslider-home-block-2 .view-content .views-row .views-field-nothing {
  flex-basis: 60%;
  padding: 10px;
}

.contacto-b {
  margin-top: 20px;
}
.contacto-b h2 {
  text-align: center;
}

.t-escuela {
  font-size: 1.5rem;
}
.t-escuela a {
  text-decoration: none;
  color: black;
  font-weight: 700;
}

.t-cuerpo {
  font-size: 1rem;
}

/* =========================================================
   Variables base (scss/_variables.scss)
   Inspirado en el look: verde suave + botón azul + títulos negros
========================================================= */
:root {
  /* Colores */
  --c-bg: #ffffff;
  --c-hero: #b9dca0; /* verde suave del hero */
  --c-text: #1a1f1a; /* casi negro */
  --c-muted: #000000; /* gris verdoso para párrafos */
  --c-border: rgba(0, 0, 0, .10);
  --c-link: #147ad6; /* azul link */
  --c-link-hover: #0f63b0;
  --c-btn: #147ad6; /* azul botón */
  --c-btn-hover: #0f63b0;
  --c-hero:#b9dca0;
  --c-text:#1a1f1a;
  --c-muted:#000000;
  --c-border:rgba(0,0,0,.10);
  --c-link:#147ad6;
  /* Tipografías */
  --ff-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  /* Escala tipográfica */
  --fs-base: 1rem; /* 16px */
  --lh-base: 1.6;
  --fw-regular: 400;
  --fw-medium: 600;
  --fw-bold: 800;
  /* Radios y sombras */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --shadow-soft: 0 8px 22px rgba(0,0,0,.10);
  /* Espaciado */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
}

/* =========================================================
   Base tipográfica (scss/base/_typography.scss)
========================================================= */
html {
  font-size: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
}

/* En Drupal, esto afecta mucho a los textos de contenido */
.page-title,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-sans);
  color: var(--c-text);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
}

/* Escala inspirada en la captura:
   H1 muy protagonista, H2 grande para secciones ("Oferta de cursos") */
h1, .h1, .page-title {
  font-weight: var(--fw-bold);
  line-height: 1.08;
  font-size: clamp(2rem, 3vw, 3rem); /* 32px a 48px */
}

h2, .h2 {
  font-weight: var(--fw-bold);
  line-height: 1.15;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem); /* 24px a 35px */
  margin-top: var(--space-6);
}

h3, .h3 {
  font-weight: var(--fw-medium);
  line-height: 1.2;
  font-size: clamp(1.25rem, 1.6vw, 1.6rem); /* 20px a 26px */
  margin-top: var(--space-5);
}

h4, .h4 {
  font-weight: var(--fw-medium);
  line-height: 1.25;
  font-size: 1.125rem; /* 18px */
  margin-top: var(--space-4);
}

p, .text-formatted p {
  color: var(--c-muted);
  margin: 0 0 var(--space-4);
  max-width: 72ch; /* legibilidad */
}

/* Texto pequeño y notas */
small, .small {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--c-muted), transparent 20%);
}

/* Links: azul como en la captura */
a {
  color: var(--c-link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--c-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--c-link), transparent 65%);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Separadores */
hr {
  border: 0;
  border-top: 1px solid var(--c-border);
  margin: var(--space-6) 0;
}

/* Blockquotes (por si usas contenido editorial) */
blockquote {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 5px solid color-mix(in srgb, var(--c-hero), #000 10%);
  background: color-mix(in srgb, var(--c-hero), transparent 80%);
  border-radius: var(--r-md);
  color: var(--c-text);
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* Code, por si hay snippets */
code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

pre {
  background: color-mix(in srgb, var(--c-hero), transparent 86%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  overflow: auto;
}

/* =========================================================
   Listados (scss/components/_lists.scss)
========================================================= */
ul, ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.2rem;
  color: var(--c-muted);
}

li {
  margin: 0.25rem 0;
}

/* Listados dentro de contenido Drupal */
.text-formatted ul,
.text-formatted ol {
  margin-bottom: var(--space-4);
}

.text-formatted ul li::marker {
  color: color-mix(in srgb, var(--c-link), transparent 10%);
}

.text-formatted ol li::marker {
  color: color-mix(in srgb, var(--c-text), transparent 35%);
  font-weight: var(--fw-medium);
}

/* Listado "limpio" tipo menú */
.list-clean {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-clean > li {
  padding: 0.4rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--c-border), transparent 20%);
}

.list-clean > li:last-child {
  border-bottom: 0;
}

/* Listado con “chip” */
.list-chips {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 var(--space-4);
}

.list-chips > li {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-hero), transparent 75%);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 8%);
  color: var(--c-text);
  font-size: 0.9rem;
}

/* =========================================================
   Botones y CTAs (scss/components/_buttons.scss)
========================================================= */
.button,
.btn,
input[type=submit],
input[type=button],
button {
  appearance: none;
  border: 0;
  border-radius: 999px; /* como el “Más información” */
  padding: 0.7rem 1.15rem;
  font-weight: var(--fw-bold);
  font-size: 1rem;
  cursor: pointer;
  background: var(--c-btn);
  color: #fff;
  box-shadow: 0 6px 16px rgba(20, 122, 214, 0.25);
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.button:hover,
.btn:hover,
input[type=submit]:hover,
input[type=button]:hover,
button:hover {
  background: var(--c-btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(20, 122, 214, 0.28);
}

.button:active,
.btn:active,
button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(20, 122, 214, 0.22);
}

.button:focus-visible,
.btn:focus-visible,
button:focus-visible,
input[type=submit]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--c-link), transparent 60%);
  outline-offset: 3px;
}

/* Botón secundario */
.btn--secondary,
.button--secondary {
  background: color-mix(in srgb, var(--c-hero), transparent 40%);
  color: var(--c-text);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 10%);
  box-shadow: none;
}

.btn--secondary:hover,
.button--secondary:hover {
  background: color-mix(in srgb, var(--c-hero), transparent 25%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

/* Link tipo botón (para cards de cursos) */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: var(--fw-medium);
}

/* =========================================================
   Cards / “Oferta de cursos” (scss/components/_cards.scss)
========================================================= */
.card,
.views-view-grid .views-row article,
.node--view-mode-teaser {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.card img,
.node--view-mode-teaser img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenido de card */
.card__body,
.node--view-mode-teaser .node__content {
  padding: var(--space-4);
}

.card__title,
.node--view-mode-teaser .node__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.card__title a,
.node--view-mode-teaser .node__title a {
  color: var(--c-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card__text {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.95rem;
}

/* Grid básico (si no usas Bootstrap) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Sección Hero verde (opcional) para replicar el look
========================================================= */
.hero-soft {
  background: var(--c-hero);
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.hero-soft__lead {
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--c-muted), #000 10%);
  max-width: 70ch;
}

/* Imagen del hero con bordes suaves como en captura */
.hero-soft__media img {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 992px) {
  .navbar-brand img {
    height: 120px;
  }
}
/* =========================================================
   NAV en 2 filas:
   - Fila 1: Branding (logo + título) centrado
   - Fila 2: Menú centrado
   Compatible con navbar collapse de Bootstrap 5
========================================================= */
/* 1) El contenedor navbar en modo "apilado" */
.navbar {
  flex-wrap: wrap; /* permite que los hijos bajen de línea */
}

/* 2) Fila 1: region branding ocupa 100% */
.navbar .region-nav-branding {
  width: 100%;
  display: flex;
  justify-content: center; /* centra el bloque branding */
}

/* Ajuste interno del branding (logo + título) */
.navbar .region-nav-branding .navbar-brand {
  margin: 0; /* quita margen default */
  justify-content: center; /* centra contenido */
  gap: 0.75rem;
  text-align: center;
  flex-wrap: wrap;
}

/* Opcional: controla tamaño logo */
.navbar .region-nav-branding .site-logo img {
  max-height: 56px;
  width: auto;
}

/* Opcional: título del sitio más presentable */
.navbar .region-nav-branding .site-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--c-text);
  line-height: 1.1;
}

/* 3) El toggler: que quede en su propia “mini fila” alineado a la derecha (móvil) */
.navbar .navbar-toggler {
  margin-left: auto;
  order: 2;
}

/* 4) Fila 2: el collapse ocupa 100% (baja a la siguiente fila) */
.navbar .navbar-collapse {
  width: 100%;
  flex-basis: 100%;
  order: 3;
  justify-content: center !important; /* anula justify-content-md-end */
}

/* 5) Menú centrado dentro del collapse */
.navbar .region-nav-main,
.navbar .menu--main {
  width: 100%;
}

.navbar .navbar-nav {
  width: 100%;
  justify-content: center !important; /* centra los items */
  gap: 0.25rem 0.75rem; /* separación entre links */
}

/* Links con estilo más “institucional” */
.navbar .nav-link {
  font-weight: 600;
  color: color-mix(in srgb, var(--c-text), transparent 20%);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: var(--c-text);
  background: color-mix(in srgb, var(--c-hero), transparent 70%);
  text-decoration: none;
}

/* Activo */
.navbar .nav-link.is-active {
  color: var(--c-text);
  background: color-mix(in srgb, var(--c-hero), transparent 55%);
}

/* 6) Desktop: mantiene 2 filas, pero sin toggler visible */
@media (min-width: 992px) {
  .navbar .navbar-toggler {
    display: none; /* Bootstrap ya lo oculta, esto refuerza */
  }
  .navbar .navbar-collapse {
    display: flex !important; /* asegura visible si hay overrides raros */
  }
}
/* 7) Móvil: deja que el collapse funcione normal (colapsado) */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse:not(.show) {
    display: none;
  }
}
/* =========================================================
   Cards para la View: .view-cursos (Oferta de cursos)
========================================================= */
.view.view-cursos {
  /* separa un poco la sección */
  margin-top: var(--space-5);
}

/* 1) Grid responsive para las cards */
.view.view-cursos .view-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .view.view-cursos .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .view.view-cursos .view-content {
    grid-template-columns: 1fr;
  }
}
/* 2) Cada .views-row como Card */
.view.view-cursos .views-row {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.view.view-cursos .views-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  border-color: color-mix(in srgb, var(--c-link), transparent 70%);
}

/* 3) Imagen arriba con recorte elegante */
.view.view-cursos .views-row .views-field-field-imagen {
  position: relative;
}

.view.view-cursos .views-row .views-field-field-imagen img {
  width: 100%;
  height: auto;
  display: block;
  /* Recorte uniforme tipo “card media” */
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Opcional: overlay suave al hover para look pro */
.view.view-cursos .views-row:hover .views-field-field-imagen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

/* 4) Cuerpo de la card (título + texto) */
.view.view-cursos .views-row .views-field-title,
.view.view-cursos .views-row .views-field-body {
  padding: 0 var(--space-4);
}

.view.view-cursos .views-row .views-field-title {
  padding-top: var(--space-4);
  padding-bottom: 0.35rem;
}

.view.view-cursos .views-row .views-field-title a {
  display: inline-block;
  font-weight: var(--fw-bold);
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--c-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.view.view-cursos .views-row .views-field-title a:hover {
  color: var(--c-link-hover);
}

/* Descripción */
.view.view-cursos .views-row .views-field-body {
  padding-bottom: var(--space-4);
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  /* “clamp” para que todas queden parecidas y no se desbalancee el grid */
  display: -webkit-box;
  -webkit-line-clamp: 3; /* cambia a 4 si quieres más texto */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 5) Un pequeño “footer” de acción (sin cambiar HTML)
   Si quieres un CTA visual, podemos dar estilo al link del título como si fuera botón.
   (opcional, descomenta si te gusta)
*/
/*
.view.view-cursos .views-row .views-field-title a {
  padding: .35rem .65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-hero), transparent 70%);
  text-decoration: none;
}
*/
/* 6) Pager más alineado con el look */
.view.view-cursos .pager {
  margin-top: var(--space-6);
}

.view.view-cursos .pagination {
  justify-content: center;
  gap: 0.35rem;
}

.view.view-cursos .page-link {
  border-radius: 999px;
  border: 1px solid var(--c-border);
  color: color-mix(in srgb, var(--c-text), transparent 20%);
}

.view.view-cursos .page-item.active .page-link {
  background: var(--c-link);
  border-color: var(--c-link);
  color: #fff;
}

/* =========================================================
   ABOUT / QUIÉNES SOMOS (clases fe-*)
   Objetivo: más color, menos blanco, look serio moderno.
========================================================= */
/* Contenedor un poco más “compacto” y elegante */
.fe-section .container {
  max-width: 1120px;
}

/* Reduce el “aire” global de secciones */
.fe-section {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

@media (max-width: 991.98px) {
  .fe-section {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }
}
/* HERO con verde suave + textura ligera */
.fe-hero-soft {
  border-bottom: 1px solid color-mix(in srgb, var(--c-hero), #000 12%);
}

/* Títulos: más presencia */
.fe-title {
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

/* Kicker tipo “etiqueta” */
.fe-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-hero), transparent 60%);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 10%);
  color: color-mix(in srgb, var(--c-text), transparent 25%);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Párrafos principales con menos ancho para lectura */
.fe-lead {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 68ch;
  margin-bottom: 1rem !important;
}

/* Caja destacada del texto largo */
.fe-highlight {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

/* Panel “Enfoque institucional” con colorcito */
.fe-panel {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 14%);
}

/* Sección suave (para escudo) con tono */
.fe-section-soft {
  border-top: 1px solid color-mix(in srgb, var(--c-hero), #000 12%);
  border-bottom: 1px solid color-mix(in srgb, var(--c-hero), #000 12%);
}

/* Titular de secciones */
.fe-section-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.fe-section-subtitle {
  color: var(--c-muted);
  margin-bottom: 1.25rem !important;
}

/* Cards: borde, sombra y una barra superior azul (serio pro) */
.fe-card {
  border: 1px solid var(--c-border);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #fff;
  position: relative;
}

.fe-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--c-link);
}

/* Listas más bonitas */
.fe-list, .fe-list-check {
  margin: 0;
  color: var(--c-muted);
}

.fe-list {
  padding-left: 1.1rem;
}

.fe-list li {
  margin: 0.4rem 0;
}

.fe-list-check {
  list-style: none;
  padding-left: 0;
}

.fe-list-check li {
  position: relative;
  padding-left: 1.55rem;
  margin: 0.55rem 0;
}

.fe-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-link);
  font-weight: 900;
}

/* Acordeón más “marca” y menos “bootstrap básico” */
.fe-accordion .accordion-item {
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 15%);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
}

.fe-accordion .accordion-button {
  font-weight: 800;
  color: var(--c-text);
  background: color-mix(in srgb, var(--c-hero), #fff 55%);
}

.fe-accordion .accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--c-link);
  box-shadow: none;
}

.fe-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--c-link), transparent 70%);
}

.fe-accordion .accordion-body {
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.95);
}

/* Imagen del escudo con “marco” */
.fe-escudo-frame {
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 14%);
  background: rgba(255, 255, 255, 0.75);
  padding: 1rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Ajuste de espacios entre bloques de la página */
.fe-section .row.g-4 {
  --bs-gutter-y: 1.25rem;
}

/* =========================================================
   Breadcrumb institucional – Fundación
   Estilo: serio, moderno, discreto
========================================================= */
/* Wrapper del bloque */
#block-fundacion-theme-breadcrumbs {
  margin-bottom: 1.25rem;
}
#block-fundacion-theme-breadcrumbs nav {
  margin: 0 auto;
}

/* Lista breadcrumb */
#block-fundacion-theme-breadcrumbs .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  margin: 0;
  background: color-mix(in srgb, var(--c-hero), #fff 65%);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 12%);
  font-size: 0.9rem;
}

/* Items */
#block-fundacion-theme-breadcrumbs .breadcrumb-item {
  color: var(--c-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
}

/* Separador elegante (no / ni >) */
#block-fundacion-theme-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 0.45rem;
  color: color-mix(in srgb, var(--c-text), transparent 55%);
  font-weight: 700;
}

/* Links */
#block-fundacion-theme-breadcrumbs .breadcrumb-item a {
  color: var(--c-link);
  text-decoration: none;
  font-weight: 700;
}

#block-fundacion-theme-breadcrumbs .breadcrumb-item a:hover {
  color: var(--c-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Último elemento (página actual) */
#block-fundacion-theme-breadcrumbs .breadcrumb-item:last-child {
  color: var(--c-text);
  font-weight: 800;
}

/* Responsive: más compacto en móvil */
@media (max-width: 575.98px) {
  #block-fundacion-theme-breadcrumbs .breadcrumb {
    font-size: 0.85rem;
    padding: 0.45rem 0.7rem;
  }
}
/* =========================================================
   Page titles – Drupal 11
   Aplica a nodos, páginas sistema y vistas
========================================================= */
/* Wrapper lógico: bloque del título */
.field--name-title {
  display: block;
  max-width: 1120px;
  margin: 0 auto 1.25rem;
}

/* El título como tal */
.field--name-title,
.page-title,
.node__title {
  font-family: var(--ff-sans);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--c-text);
  /* Tamaño fluido */
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}

/* Subrayado institucional sutil */
.field--name-title::after,
.page-title::after,
.node__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.6rem;
  background: var(--c-link);
  border-radius: 999px;
}

/* Integración con breadcrumb (compacta el espacio) */
#block-fundacion-theme-breadcrumbs + .field--name-title,
#block-fundacion-theme-breadcrumbs + .page-title {
  margin-top: 0.75rem;
}

/* Cuando el título va centrado (institucional / landing) */
.page-node-type-page .field--name-title,
.page-node-type-article .field--name-title {
  text-align: center;
}

.page-node-type-page .field--name-title::after,
.page-node-type-article .field--name-title::after {
  margin-left: auto;
  margin-right: auto;
}

/* Si el título va dentro de hero */
.fe-hero-soft .field--name-title,
.fe-hero-soft .page-title {
  margin-bottom: 0;
}

/* Responsive: más compacto en móvil */
@media (max-width: 575.98px) {
  .field--name-title,
  .page-title,
  .node__title {
    font-size: 1.6rem;
  }
  .field--name-title::after,
  .page-title::after,
  .node__title::after {
    width: 48px;
    height: 3px;
  }
}
/* =========================================================
   Slider Home – estilo coherente con el sistema FE
   Markup: .slider-main .view-slider-home .views-row ...
========================================================= */
.slider-main {
  /* fondo suave para que el módulo “sostenga” la home */
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-hero), #fff 10%) 0%, #ffffff 78%);
  border-bottom: 1px solid color-mix(in srgb, var(--c-hero), #000 12%);
  padding: 1.25rem 0 1.5rem;
}

/* contenedor del bloque */
.slider-main .slider-block.container {
  max-width: 1120px;
}

/* cada slide */
.slider-main .view-slider-home .view-content .views-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* texto | imagen */
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 14%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* en móvil: apila */
@media (max-width: 991.98px) {
  .slider-main .view-slider-home .view-content .views-row {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}
/* =========================================================
   Texto: .contenido-texto
========================================================= */
.slider-main .contenido-texto {
  max-width: 68ch;
}

.slider-main .contenido-texto .titulo a {
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--c-text);
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

/* subrayado institucional corto */
.slider-main .contenido-texto .titulo a::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.65rem;
  background: var(--c-link);
  border-radius: 999px;
}

/* resumen con el tono de tu sitio */
.slider-main .contenido-texto .resumen {
  color: var(--c-muted);
  font-size: 1.03rem;
  line-height: 1.55;
  margin: 0.25rem 0 1rem;
}

/* botón “Más información” coherente con tu button */
.slider-main .contenido-texto .vermas a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

/* flechita sobria */
.slider-main .contenido-texto .vermas a::after {
  content: "›";
  font-weight: 900;
  opacity: 0.95;
}

.slider-main .contenido-texto .vermas a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--c-link), transparent 65%);
  outline-offset: 3px;
}

/* =========================================================
   Imagen: .views-field-field-imagen img
========================================================= */
.slider-main .views-field-field-imagen {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 991.98px) {
  .slider-main .views-field-field-imagen {
    justify-content: center;
  }
}
.slider-main .views-field-field-imagen img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 16%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  /* recorte consistente para que todos los slides se vean “parejos” */
  aspect-ratio: 16/11;
  object-fit: cover;
}

/* =========================================================
   Si tu slider usa Slick/Swiper: evita saltos raros
========================================================= */
.slider-main .view-slider-home .view-content {
  /* que el slide no quede pegado al borde del viewport */
  padding: 0.25rem;
}

/* =========================================================
   Webform Contacto – estilo sutil y coherente con FE
   Aplica a: .webform-submission-contact-form (y variantes)
========================================================= */
.webform-submission-contact-form {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 14%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

/* Espaciado entre campos */
.webform-submission-contact-form .form-item {
  margin-bottom: 1rem;
}

/* Labels */
.webform-submission-contact-form label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--c-text), transparent 15%);
  letter-spacing: -0.01em;
}

/* Asterisco/required (Drupal usa .form-required) */
.webform-submission-contact-form label .form-required::after,
.webform-submission-contact-form label.form-required::after {
  /* si ya trae asterisco por defecto, no lo duplicamos */
  display: none;
}

/* Inputs y textarea */
.webform-submission-contact-form .form-control {
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--c-border), transparent 10%);
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-text);
  padding: 0.7rem 0.9rem;
  line-height: 1.4;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

/* Placeholder (si aplica) */
.webform-submission-contact-form .form-control::placeholder {
  color: color-mix(in srgb, var(--c-muted), transparent 35%);
}

/* Hover suave */
.webform-submission-contact-form .form-control:hover {
  border-color: color-mix(in srgb, var(--c-hero), #000 18%);
}

/* Focus con identidad (azul institucional) */
.webform-submission-contact-form .form-control:focus {
  border-color: color-mix(in srgb, var(--c-link), transparent 25%);
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--c-link), transparent 78%);
  background: #fff;
}

/* Textarea: un poco más “editorial” */
.webform-submission-contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Botonera */
.webform-submission-contact-form .form-actions {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--c-border), transparent 20%);
}

/* Botón submit coherente con tu sistema (pill azul) */
.webform-submission-contact-form .webform-button--submit,
.webform-submission-contact-form input[type=submit] {
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  background: var(--c-link);
  border: 0;
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 122, 214, 0.24);
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

/* Hover/active */
.webform-submission-contact-form .webform-button--submit:hover,
.webform-submission-contact-form input[type=submit]:hover {
  background: var(--c-link-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(20, 122, 214, 0.28);
}

.webform-submission-contact-form .webform-button--submit:active,
.webform-submission-contact-form input[type=submit]:active {
  transform: translateY(0);
}

/* Focus visible accesible */
.webform-submission-contact-form .webform-button--submit:focus-visible,
.webform-submission-contact-form input[type=submit]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--c-link), transparent 65%);
  outline-offset: 3px;
}

/* Responsive: menos padding en móvil */
@media (max-width: 575.98px) {
  .webform-submission-contact-form {
    padding: 1rem;
    border-radius: 16px;
  }
}
@media (min-width: 992px) {
  .webform-submission-contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
  }
  /* Subject y Message a lo ancho */
  .webform-submission-contact-form .form-item-subject,
  .webform-submission-contact-form .form-item-message,
  .webform-submission-contact-form .form-actions {
    grid-column: 1/-1;
  }
}
/* =========================================================
   Nodo (curso): imagen destacada + categoría (taxonomía)
   Markup:
   .field--name-field-imagen img
   .field--name-field-cae .field__label + .field__item a
========================================================= */
/* 1) Imagen destacada: marco, sombra, recorte consistente */
.field--name-field-imagen {
  max-width: 1120px;
  margin: 0 auto 1.25rem;
}

.field--name-field-imagen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 16%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  /* Recorte elegante para consistencia visual */
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* 2) Bloque categoría: alineado y con aire */
.field--name-field-cae {
  max-width: 1120px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Label “Categoria”: que se vea institucional (tipo kicker) */
.field--name-field-cae > .field__label {
  margin: 0;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-hero), transparent 60%);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 12%);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c-text), transparent 25%);
}

/* Item con link: chip clicable */
.field--name-field-cae .field__item a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--c-border);
  color: var(--c-link);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

/* iconito textual sobrio */
.field--name-field-cae .field__item a::before {
  content: "#";
  opacity: 0.6;
  font-weight: 900;
}

.field--name-field-cae .field__item a:hover {
  color: var(--c-link-hover);
  border-color: color-mix(in srgb, var(--c-link), transparent 65%);
  background: #fff;
  transform: translateY(-1px);
}

.field--name-field-cae .field__item a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--c-link), transparent 70%);
  outline-offset: 3px;
}

/* 3) Si el body viene vacío, que no genere “huecos” raros */
.field--name-body.field__item:empty {
  display: none;
}

/* 4) Compacto en móvil */
@media (max-width: 575.98px) {
  .field--name-field-imagen img {
    border-radius: 16px;
  }
  .field--name-field-cae {
    gap: 0.5rem;
  }
}
/* =========================================================
   Footer FE – serio, moderno, coherente con paleta
========================================================= */
.fe-footer {
  margin-top: 2.5rem;
  padding: 2.25rem 0 1.25rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-hero), #fff 55%) 0%, color-mix(in srgb, var(--c-hero), #fff 78%) 35%, #ffffff 100%);
  border-top: 1px solid color-mix(in srgb, var(--c-hero), #000 14%);
}

.fe-footer .container {
  max-width: 1120px;
}

/* Top grid */
.fe-footer__top {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--c-border), transparent 15%);
}

/* Brand */
.fe-footer__brand {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 14%);
  border-radius: 18px;
  padding: 1.1rem 1.1rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.fe-footer__logo img {
  max-height: 56px;
  width: auto;
  display: inline-block;
}

.fe-footer__title {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.75rem 0 0.35rem;
  font-size: 1.05rem;
  color: var(--c-text);
}

.fe-footer__text {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.95rem;
  max-width: 62ch;
}

/* Headings */
.fe-footer__heading {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 0.25rem 0 0.9rem;
  font-size: 1rem;
}

/* Links list */
.fe-footer__links {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.fe-footer__links a {
  color: var(--c-link);
  text-decoration: none;
  font-weight: 800;
}

.fe-footer__links a:hover {
  color: var(--c-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact meta */
.fe-footer__meta {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.fe-footer__meta-label {
  display: inline-block;
  margin-right: 0.45rem;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c-text), transparent 35%);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-hero), transparent 55%);
  border: 1px solid color-mix(in srgb, var(--c-hero), #000 12%);
}

.fe-footer__meta a {
  color: var(--c-link);
  text-decoration: none;
  font-weight: 800;
}

.fe-footer__meta a:hover {
  color: var(--c-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Phones as small chips */
.fe-footer__phone-list {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fe-footer__phone-list a {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--c-border);
}

/* Social buttons (minimal, can be replaced with icons later) */
.fe-footer__social {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.fe-footer__social-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  color: var(--c-text);
  text-decoration: none;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.fe-footer__social-btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--c-link), transparent 70%);
}

/* Bottom bar */
.fe-footer__bottom {
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--c-muted);
}

.fe-footer__bottom small {
  color: var(--c-muted);
}

.fe-footer__bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.fe-footer__bottom-right a {
  color: color-mix(in srgb, var(--c-text), transparent 25%);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
}

.fe-footer__bottom-right a:hover {
  color: var(--c-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fe-footer__dot {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 991.98px) {
  .fe-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =========================================================
   FIX GLOBAL: evitar fondos negros por transparencias/fallbacks
========================================================= */
/* Fondo base del documento SIEMPRE claro */
html, body {
  background-color: #ffffff; /* fallback */
  background-color: var(--fe-page-bg, #ffffff);
}

/* Si tienes un wrapper principal, mejor asegurarlo también */
#page,
.dialog-off-canvas-main-canvas,
.main-container,
.layout-container {
  background-color: var(--fe-page-bg, #ffffff);
}

/* Define un fondo de página consistente con tu paleta */
:root {
  --fe-page-bg: #f7fbf6; /* blanco verdoso MUY suave */
  --fe-surface: #ffffff; /* superficies */
  --fe-surface-2: #f2f7f3; /* panel suave */
}

/* Cards / paneles: que JAMÁS queden transparentes */
.fe-card,
.fe-panel,
.fe-highlight,
.fe-escudo-frame,
.slider-main .view-slider-home .view-content .views-row {
  background-color: var(--fe-surface, #ffffff); /* fallback sólido */
}

/* Donde uses gradientes con color-mix, pon un fallback antes */
.slider-main {
  background: #f7fbf6; /* fallback */
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-hero), #fff 10%) 0%, #ffffff 78%);
}

/* Si el navegador NO soporta color-mix, usamos una versión más simple */
@supports not (color: color-mix(in srgb, #000, #fff)) {
  .fe-hero-soft,
  .fe-section-soft,
  .slider-main {
    background: #f7fbf6 !important;
  }
  .fe-card,
  .fe-panel,
  .fe-highlight,
  .fe-escudo-frame {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
  }
}
/* No fuerces dark UI si no lo estás diseñando */
:root {
  color-scheme: light;
}

/* Si Bootstrap/tema mete dark backgrounds por variables */
body {
  background-color: var(--fe-page-bg, #ffffff) !important;
}

/* Ajusta el selector al wrapper real si tu tema lo usa */
.page,
#main,
main,
.layout-content,
.region-content {
  background-color: transparent;
}

/* Pero fuerza un fondo claro para el contenedor global */
.dialog-off-canvas-main-canvas {
  background-color: var(--fe-page-bg, #ffffff) !important;
}

/* =========================================================
   Bootstrap/Theme light tokens (evita textos pálidos)
========================================================= */
:root {
  color-scheme: light;
  /* Bootstrap variables (si usas bootstrap5 theme, aplica perfecto) */
  --bs-body-bg: var(--fe-page-bg, #f7fbf6);
  --bs-body-color: var(--c-text, #0f1a14);
  --bs-secondary-color: color-mix(in srgb, var(--c-text, #0f1a14), transparent 30%);
  --bs-tertiary-color: color-mix(in srgb, var(--c-text, #0f1a14), transparent 45%);
  --bs-emphasis-color: var(--c-text, #0f1a14);
  --bs-border-color: var(--c-border, rgba(0,0,0,.14));
}

/* fallback si color-mix no existe */
@supports not (color: color-mix(in srgb, #000, #fff)) {
  :root {
    --bs-secondary-color: rgba(15, 26, 20, .72);
    --bs-tertiary-color: rgba(15, 26, 20, .55);
  }
}
/* =========================================================
   Asegurar contraste en superficies FE
========================================================= */
.fe-section,
.fe-panel,
.fe-card,
.webform-submission-contact-form,
.slider-main {
  color: var(--c-text, #0f1a14);
}

.fe-section h1, .fe-section h2, .fe-section h3, .fe-section h4,
.fe-panel h1, .fe-panel h2, .fe-panel h3, .fe-panel h4,
.fe-card h1, .fe-card h2, .fe-card h3, .fe-card h4 {
  color: var(--c-text, #0f1a14);
}

/* tu texto tenue pero legible (no “fantasma”) */
.fe-muted,
.text-muted {
  color: color-mix(in srgb, var(--c-text, #0f1a14), transparent 35%) !important;
}

@supports not (color: color-mix(in srgb, #000, #fff)) {
  .fe-muted,
  .text-muted {
    color: rgba(15, 26, 20, 0.68) !important;
  }
}
/* =========================================================
   Webform: labels, placeholders, inputs (contraste real)
========================================================= */
.webform-submission-contact-form label {
  color: color-mix(in srgb, var(--c-text, #0f1a14), transparent 10%) !important;
  font-weight: 900;
}

.webform-submission-contact-form .form-control::placeholder {
  color: color-mix(in srgb, var(--c-text, #0f1a14), transparent 55%);
}

/* si algún input hereda color raro */
.webform-submission-contact-form .form-control {
  color: var(--c-text, #0f1a14);
}

/* Títulos generales dentro de content */
.region-content h1,
.region-content h2,
.region-content h3 {
  color: var(--c-text, #0f1a14);
  text-shadow: none;
}

/* =========================================================
   CONTRAST FIX (blindado sin inspección)
   Objetivo: evitar títulos/labels muy claros en otros equipos
========================================================= */
/* 1) Base de color y esquema: evita “auto dark” y herencias raras */
:root {
  color-scheme: light;
  /* tokens FE mínimos */
  --fe-text: #0f1a14;
  --fe-muted: rgba(15, 26, 20, .70);
  --fe-muted-2: rgba(15, 26, 20, .55);
  --fe-surface: #ffffff;
  --fe-page-bg: #f7fbf6;
  /* Bootstrap variables clave (si existen en tu build) */
  --bs-body-bg: var(--fe-page-bg);
  --bs-body-color: var(--fe-text);
  --bs-secondary-color: var(--fe-muted);
  --bs-tertiary-color: var(--fe-muted-2);
  --bs-emphasis-color: var(--fe-text);
}

/* 2) Fuerza fondo claro en contenedores principales */
html, body,
#page,
.dialog-off-canvas-main-canvas,
.layout-container,
.main-container,
.region-content {
  background-color: var(--fe-page-bg) !important;
  color: var(--fe-text);
}

/* 3) Títulos SIEMPRE legibles en contenido */
.region-content h1,
.region-content h2,
.region-content h3,
.region-content h4,
.node__content h1,
.node__content h2,
.node__content h3,
.node__content h4 {
  color: var(--fe-text) !important;
  opacity: 1 !important;
}

/* 4) Texto “muted” pero visible */
.text-muted,
.fe-muted {
  color: var(--fe-muted) !important;
  opacity: 1 !important;
}

/* 5) Labels y ayudas de formularios */
.region-content label,
.webform-submission-form label {
  color: var(--fe-text) !important;
  font-weight: 800;
  opacity: 1 !important;
}

/* 6) Inputs/textarea: texto y placeholder con contraste */
.region-content .form-control,
.webform-submission-form .form-control {
  color: var(--fe-text) !important;
  background-color: var(--fe-surface) !important;
}

.region-content .form-control::placeholder,
.webform-submission-form .form-control::placeholder {
  color: var(--fe-muted-2) !important;
  opacity: 1 !important;
}

/* 7) Si algún contenedor trae opacity bajo, no lo toques globalmente,
      pero sí evita que afecte títulos/labels dentro */
.region-content h1,
.region-content h2,
.region-content h3,
.region-content h4,
.region-content label,
.webform-submission-form label {
  mix-blend-mode: normal !important;
  filter: none !important;
}

/* 8) Fallback para navegadores que no soportan color-mix:
      (ya usamos rgba directos, así que aquí casi no hay nada que hacer) */
@supports not (color: color-mix(in srgb, #000, #fff)) {
  /* mantenemos valores ya definidos arriba */
}
.block-title,
.page-title {
  color: var(--fe-text) !important;
  opacity: 1 !important;
}/*# sourceMappingURL=site.css.map */