/* =========================
   VARIABLES GOV
   ========================= */
:root {
  --gov-azul: #38A533;
  --gov-azul-oscuro: #1B4FA3;
  --gov-gris: #F2F4F8;
  --gov-texto: #1B1B1B;
}

:root {
  --govcolor-cobalt: #38A533;
  --govcolor-white: #FFFFFF;
  --govcolor-havelock-lue: #4672C8;
}


.barra-superior-govco {
  background-color: var(--govcolor-cobalt);
  width: 100%;
  height: 3.5rem;
  padding-left: 3.75rem;
  position: relative;
  display: flex;
  align-items: center;
}

.barra-superior-govco a {
  content: url('https://cdn.www.gov.co/layout-govco-v5/assets/images/logo.svg');
  height: calc(1.5rem * 1.5);
}

.barra-superior-govco a:focus-visible {
  outline: 0.125rem solid var(--govcolor-white);
  border-radius: 0.313rem;
}

.barra-superior-govco .idioma-btn-barra-superior-govco {
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 0.313rem;
  background-color: var(--govcolor-white);
  cursor: pointer;
  padding: 0;
  border: 0.063rem solid var(--govcolor-white);
  font-size: 0.625rem;
  position: absolute;
  right: 5.375rem;
  top: 1rem;
}

.barra-superior-govco .idioma-btn-barra-superior-govco:hover,
.barra-superior-govco .idioma-btn-barra-superior-govco:focus-visible {
  background-color: var(--govcolor-havelock-lue);
}

.barra-superior-govco .idioma-btn-barra-superior-govco:focus-visible {
  outline: 0.063rem solid var(--govcolor-white);
  outline-offset: max(0.188rem, 0.188rem);
}

.barra-superior-govco .idioma-btn-barra-superior-govco::before {
  font-family: "Nunito_Sans-Regular";
  content: 'EN';
  color: var(--govcolor-cobalt);
  font-size: 12px;
}

.barra-superior-govco .idioma-btn-barra-superior-govco:hover::before,
.barra-superior-govco .idioma-btn-barra-superior-govco:focus-visible::before {
  color: var(--govcolor-white);
}

@media (max-width: 600px) {
  .barra-superior-govco {
    justify-content: center;
    padding: 0;
  }

  .barra-superior-govco .idioma-btn-barra-superior-govco {
    right: 1.25rem;
  }
}

/* =========================
   BASE
   ========================= */
html, body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
  margin: 0;
  color: var(--gov-texto);
  background: var(--gov-gris);
}

* {
  box-sizing: border-box;
}

/* =========================
   BARRA SUPERIOR / LOGIN
   ========================= */
.barra-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 16px;
}

.login-container {
  display: flex;
  justify-content: flex-end;
  padding: 12px 24px;
  background-color: #f6f8f9;
}

.btn-login-gov {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #3366cc;
  color: #ffffff;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-login-gov i {
  font-size: 16px;
}

.btn-login-gov:hover {
  background-color: #254b99;
  color: #ffffff;
}

/* =========================
   BOTÓN VOLVER
   ========================= */
.volver-container {
  max-width: 1200px;
  margin: 8px auto 16px;
  padding: 0 24px;
}

.btn-volver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: #38A533;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-volver:hover {
  background-color: #e6b93c;
  transform: translateX(-2px);
}

/* =========================
   HEADER
   ========================= */
.header-pqr {
  background: #fff;
  text-align: center;
  padding: 40px 20px 30px;
}

.header-pqr .logo {
  max-height: 80px;
  margin-bottom: 12px;
}

.header-pqr h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.header-pqr p {
  margin: 0;
  font-size: 16px;
}

/* =========================
   CONTENIDO
   ========================= */
.container-gov {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

.acciones-pqr {
  display: grid;
  margin-bottom: 80px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card-gov {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  color: var(--gov-texto);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-gov h2 {
  margin-top: 0;
  color: var(--gov-azul);
  font-size: 18px;
}

.card-gov p {
  margin-bottom: 0;
  font-size: 14px;
}

.card-gov:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* =========================
   FOOTER SIEMBRA + (FINAL)
   ========================= */
.footer-siembra {
  background: #38A533;
  padding: 0;
}

/* Panel blanco */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 12px;
  background: #fff;
  border-radius: 8px;
  position: relative;
  top: -18px;
}

/* Quitar cursiva */
.footer-container address {
  font-style: normal;
  margin: 0;
}

/* Logo */
.footer-logo {
  margin-bottom: 2px;
}

.footer-logo img {
  height: 70px;
}

/* Grid ultra compacto */
.infoBox {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 14px;
  row-gap: 2px;
}

/* Item */
.infoBox li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

/* Iconos */
.infoBox i {
  width: 16px;
  height: 16px;
  font-size: 10px;
  border-radius: 50%;
  background: rgba(47,102,200,0.15);
  color: #38A533;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Texto */
.infoContent {
  font-size: 11.5px;
  line-height: 1.2;
  margin: 0;
  color: #38A533;        /* valor */
  font-weight: 400;
}

/* Etiqueta */
.infoContent strong {
  font-weight: 700;     /* bold */
  color: #000;          /* negro */
  display: inline;
  margin-right: 4px;
}

/* Links como valor */
.footer-siembra a {
  color: #38A533;
  text-decoration: none !important;
  font-weight: 400;
}

.footer-siembra a:hover {
  color: #38A533;
  text-decoration: none !important;
}

/* Contenedor de redes */
.footer-redes {
  display: flex;
  justify-content: center;   /* ?? centrado */
  align-items: center;
  gap: 14px;                 /* más separación */
  margin-top: 10px;
}

/* Íconos de redes */
.footer-redes a {
  font-size: 20px;           /* antes ~14px */
  color: #38A533;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover suave */
.footer-redes a:hover {
  transform: scale(1.15);
  color: #2e8e2c;            /* verde un poco más oscuro */
}

/* Copyright */
.footer-copy {
  margin-top: 10px;
  text-align: center;        /* ?? centrado */
  font-size: 13.5px;         /* antes ~11px */
  color: #38A533;
}

/* Responsive */
@media (max-width: 900px) {
  .infoBox {
    grid-template-columns: 1fr;
    row-gap: 3px;
  }
}

/* =========================
   FIX FONDO FORMULARIO
   ========================= */

/* Contenedor Muse del iframe */
#u1542 {
  background: #ffffff !important;
  position: relative;
  z-index: 2;
}

/* Iframe */
#u1542 iframe {
  background: #ffffff !important;
  display: block;
}

/* Capa de corte antes del footer (evita que se vea el azul) */
#u1542::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: #ffffff;
  z-index: 3;
}
