/* ==================================================================
   Componentes añadidos en la versión SEO/GEO.
   Se cargan después de style.css; no modifican el tema original.
   Colores del tema: fondo #000 / #090909, primario #209bde, texto #a8a8a8.
   ================================================================== */

/* Enlace "saltar al contenido" (accesibilidad) */
.seo-saltar {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 10px 16px;
  background: #209bde;
  color: #fff;
}
.seo-saltar:focus {
  left: 8px;
  top: 8px;
}

/* Página actual en el menú (el tema pinta .active en negro sobre negro) */
.header-style-1 .header-nav .nav > li > a[aria-current="page"] {
  color: #209bde;
}

/* Título principal en banners interiores y en la home */
.seo-h1 {
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
}
.seo-h2 {
  margin-bottom: 24px;
}

/* Texto corrido sobre fondo oscuro */
.seo-prosa {
  color: #c9c9c9;
  font-size: 18px;
  line-height: 1.75;
  max-width: 900px;
}
.seo-prosa p {
  margin-bottom: 16px;
}
.seo-prosa h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin: 26px 0 10px;
}
.seo-prosa ul,
.seo-prosa ol {
  margin: 0 0 18px 22px;
  padding: 0;
}
.seo-prosa ul {
  list-style: disc;
}
.seo-prosa ol {
  list-style: decimal;
}
.seo-prosa li {
  margin-bottom: 8px;
}
.seo-prosa a,
.seo-respuesta a,
.seo-ftr-cred a {
  color: #209bde;
  text-decoration: underline;
}
.seo-prosa strong {
  color: #fff;
  font-weight: 600;
}
.seo-prosa table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
.seo-prosa th,
.seo-prosa td {
  border: 1px solid #222;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.seo-prosa th {
  color: #fff;
  background: #090909;
}

/* Respuesta directa al inicio de cada página de procedimiento */
.seo-respuesta {
  color: #e6e6e6;
  font-size: 21px;
  line-height: 1.65;
  border-left: 4px solid #209bde;
  padding-left: 20px;
  margin-bottom: 28px;
}
.seo-respuesta p:last-child {
  margin-bottom: 0;
}

/* Ficha "En resumen" */
.seo-ficha {
  padding: 26px 30px;
  margin-bottom: 20px;
}
.seo-ficha__titulo {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}
.seo-ficha__lista {
  margin: 0;
}
.seo-ficha__lista > div {
  display: flex;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #222;
}
.seo-ficha__lista > div:last-child {
  border-bottom: 0;
}
.seo-ficha__lista dt {
  flex: 0 0 42%;
  color: #209bde;
  font-weight: 600;
}
.seo-ficha__lista dd {
  flex: 1;
  margin: 0;
  color: #d5d5d5;
}

/* Video o imagen principal */
.seo-media {
  margin: 0 0 20px;
}
.seo-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #090909;
}
.seo-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
}
.seo-media figcaption {
  color: #8f8f8f;
  font-size: 14px;
  margin-top: 8px;
}
.seo-media--ancha {
  max-width: 900px;
}

/* Preguntas frecuentes */
.seo-faq {
  max-width: 900px;
}
.seo-faq__item {
  border: 2px solid #222;
  background: #090909;
  border-radius: 6px;
  margin-bottom: 12px;
}
.seo-faq__item summary {
  cursor: pointer;
  padding: 16px 20px;
  list-style-position: outside;
}
.seo-faq__p {
  display: inline;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}
.seo-faq__r {
  padding: 0 20px 16px;
  font-size: 17px;
}

/* Llamada a cita */
.seo-cta {
  border: 2px solid #209bde;
  border-radius: 8px;
  padding: 28px 30px;
  margin: 10px 0 30px;
  text-align: center;
}
.seo-cta__titulo {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 6px;
}
.seo-cta__texto {
  color: #c9c9c9;
  margin-bottom: 18px;
}
.seo-cta__botones .site-button {
  margin: 6px;
  display: inline-block;
}
.seo-cta__tel {
  background-color: transparent !important;
  border: 2px solid #209bde !important;
}

/* Caja de autor */
.seo-autor {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #090909;
  border: 2px solid #222;
  border-radius: 8px;
  padding: 22px 24px;
  margin-bottom: 30px;
}
.seo-autor__foto {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 96px;
}
.seo-autor__nombre {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.seo-autor__nombre a {
  color: #fff;
}
.seo-autor__puesto {
  color: #c9c9c9;
  margin-bottom: 6px;
}
.seo-autor__cred,
.seo-autor__rev {
  color: #8f8f8f;
  font-size: 14px;
  margin-bottom: 4px;
}

/* Otros procedimientos */
.seo-relacionados__titulo {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.seo-relacionados ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.seo-relacionados a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #209bde;
  border-radius: 999px;
  color: #fff;
}
.seo-relacionados a:hover {
  background: #209bde;
}

/* Tarjetas de procedimiento (home e índice de alta especialidad) */
.seo-tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.seo-tarjeta {
  background: #090909;
  border: 2px solid #222;
  border-radius: 8px;
  padding: 22px 24px;
  height: 100%;
}
.seo-tarjeta__titulo {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}
.seo-tarjeta__titulo a {
  color: #fff;
}
.seo-tarjeta__texto {
  color: #c9c9c9;
  margin-bottom: 12px;
}
.seo-tarjeta__mas {
  color: #209bde;
  font-weight: 600;
}

/* Aseguradoras */
.seo-aseguradoras {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 44px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.seo-aseguradoras img {
  max-height: 56px;
  width: auto;
}

/* Pie: títulos de columna y credenciales */
.seo-ftr-titulo {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.seo-ftr-dir {
  font-style: normal;
  margin: 0;
}
.seo-ftr-cred {
  border-top: 1px solid #222;
  padding: 18px 0 6px;
  text-align: center;
  color: #8f8f8f;
  font-size: 14px;
}
.seo-ftr-cred p {
  margin-bottom: 6px;
}
.footer-copy-right a {
  color: #c9c9c9;
  text-decoration: underline;
}

/* Página 404 */
.seo-404 {
  text-align: center;
  color: #c9c9c9;
}
.seo-404__codigo {
  color: #209bde;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.seo-404__lista {
  list-style: none;
  margin: 18px 0 30px;
  padding: 0;
}
.seo-404__lista a {
  color: #209bde;
  text-decoration: underline;
}

/* Formulario de contacto: avisos y campo trampa */
.seo-form-aviso {
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.seo-form-aviso--ok {
  border: 2px solid #2e9e5b;
  color: #d8f5e3;
}
.seo-form-aviso--error {
  border: 2px solid #c0392b;
  color: #f8d7d3;
}
.seo-trampa {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .seo-prosa {
    font-size: 17px;
  }
  .seo-respuesta {
    font-size: 19px;
  }
  .seo-ficha__lista > div {
    display: block;
  }
  .seo-autor {
    flex-direction: column;
  }
  .seo-cta__titulo {
    font-size: 23px;
  }
}
