/* ----------------------------
   VARIABLES DE COLOR
----------------------------- */
:root {
  --color-primario: #ff7b00;
  --color-secundario: #333;
  --color-texto: #555;
  --color-fondo: #fafafa;
  --color-gris-claro: #eaeaea;
  --max-width: 1200px;
  --transition: 0.25s ease-in-out;
  font-family: "Roboto", Arial, sans-serif;
}

/* ----------------------------
   RESET
----------------------------- */
body {
  background: var(--color-fondo);
  color: var(--color-texto);
  font-family: "Roboto", Arial, sans-serif;
}

a {
  color: var(--color-primario);
  text-decoration: none;
  transition: var(--transition);
  font-size: 25px;
  font-weight: bold;
}

a:hover {
  opacity: 0.75;
}

/* ----------------------------
   CONTENEDORES GENERALES
----------------------------- */
.site-header {
  background-color: white;
  height : 52px;
  .logo-header {  
      margin-left : 234px;
      margin-top : 2px;
      height : 40px;
  }
}

.logo-header.idioma {
    height : 40px;
}

main.static {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 50px;
}

.text-nueva .icono {
  margin-right: 12px;
  vertical-align: middle;
}


.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 25px;
  position: relative;
}

/* ----------------------------
   BLOQUE PRINCIPAL / HERO
----------------------------- */

.principal.informes {
  background: white;
  border-bottom: 1px solid var(--color-gris-claro);
}

.principal .imagen img {
  width: 100%;
  max-width: 450px;
  display: block;
}

.titulo-api {
  font-size: 39px;
  margin: 30px auto 10px; /* centrado horizontal y margen inferior */
  text-align: center;  /* centra el contenido de texto */
  display: block;      /* asegurar que el h1 se comporte como bloque */
}


.principal .titulo {
  text-align: left;
  padding-top: 40px;
}

.principal .titulo h1 {
  font-weight: 700;
  color: var(--color-secundario);
  display: flex;
  align-items: center;
  gap: 10px;
}

.principal .titulo .logo {
  width: 120px;
  height: 60px;
  background-image: url("img/home/logo.svg"); /* ← cámbialo si necesitas */
  background-size: contain;
  background-repeat: no-repeat;
}

.principal .titulo h2.subtitulo {
  margin-top: 10px;
  color: var(--color-texto);
}

/* ----------------------------
   LISTA DE ENLACES
----------------------------- */

.descripcion .text {
  font-size: 20px;
  padding: 18px 25px;
  background: white;
  border-left: 4px solid var(--color-primario);
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.descripcion .text:hover {
  transform: translateX(5px);
  background: #fff5f5;
}

.descripcion .section {
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ----------------------------
   GRID RESPONSIVO SIN BOOTSTRAP
----------------------------- */

.col-md-7,
.col-md-5,
.col-md-offset-1,
.col-sm-10,
.col-xs-10 {
  width: 100%;
}

.clear {
  clear: both;
}

@media (min-width: 768px) {
  .col-md-7 { width: 58%; float: left; }
  .col-md-5 { width: 42%; float: left; }
}

@media (min-width: 992px) {
  .col-md-offset-1 { margin-left: 8%; }
}

/* ----------------------------
   UTILIDADES
----------------------------- */
.hidden {
  display: none;
}

#swagger-ui {
  margin-top: 30px;
  background: white;
  border: 1px solid var(--color-gris-claro);
  border-radius: 6px;
}

.section.tarjeta-nueva {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0px;
  position: relative;
}

.tarjeta-nueva p.text {
  text-align: justify;
}

.titulo-nuevo {
  text-align: left !important;
  margin-left: 0;
  padding-left: 0;
}

.titulo-nuevo {
  position: relative;
}

.separator-img {
  display: flex;            
  justify-content: center;  
  align-items: center;      
  text-align: center;      
  margin: 0px 0px 0px 0px;
  font-size: 50%;
}

/* ----------------------------
   BOTÓN PARA CAMBIO DE IDIOMA
----------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo a la izquierda, botón a la derecha */
  background-color: white;
  height: 52px;
  padding: 0 20px; /* espacio lateral */
}

.logo-header.imagenespana {
  height: 50px;
}

.logo-header.imagenengland {
  height: 40px;
}

.btn-lang {
  background-color: var(--color-primario);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-lang.idioma {
  background-color: var(--color-primario);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  background-color:white;
}

.btn-lang:hover {
  opacity: 0.8;
}