
body {
  background-color: #f2f4f8;
  font-family: 'Roboto Condensed', serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Modo alto contraste CORREGIDO */
body.high-contrast {
  background: #000000 !important;
  color: #ffffff !important;
}

body.high-contrast * {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

body.high-contrast .hero-section {
  background: #000000 !important;
  color: #ffff00 !important;
}

body.high-contrast .content-card {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

body.high-contrast .navbar,
body.high-contrast footer,
body.high-contrast .top-bar {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}

body.high-contrast a {
  color: #ffff00 !important;
}

body.high-contrast .btn-capsule {
  background-color: #000000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}

body.high-contrast .item-menu:hover {
  background-color: #ffff00 !important;
  color: #000000 !important;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 94vh;
}

.hero-section {
  background: linear-gradient(1deg, #0b3c7c 30%, rgba(0,0,0,0)), 
  url('https://deguello.cundinamarca.gov.co/mat_coco/public/images/web_deguello/Cows.png');
  background-size: cover;
  background-position: center 30%; 
  height: 350px;
  display: flex;
  align-items: center;
  color: #fff;
  padding-left: 4rem;
  font-weight: bold;
}

.item-menu {
  color: #4b4b4b;
  font-size: 1em;
  font-weight: 500;
  transition: background-color 0.3s, border-radius 0.3s;
}

.item-menu:hover {
  background-color: #3366cc;
  color: white;
  padding: 3px;
  border-radius: 5px;
}

.active-menu {
  background-color: #3366cc;
  color: white;
  padding: 3px;
  border-radius: 5px;
}

.content-card {
  margin-top: -80px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  background: white;
}

footer { 
  background-color: #3366cc; 
  color: white; 
}

footer a { 
  color: #fff; 
  text-decoration: none; 
}

.top-bar { 
  background: #3366cc; 
  color: white; 
  padding: 6px 20px; 
}

.social-icons {
  display: flex;
  flex-wrap: wrap;  
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
  text-align: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #2b7bbf;
  font-weight: bold;
  transition: 0.3s ease;
}

.social-icons a .icon-circle {
  width: 40px;
  height: 40px;
  background: #2b7bbf;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.social-icons a .icon-circle i {
  color: white;
  font-size: 18px;
}

.social-icons a:hover {
  color: #0b3c7c;
}

.social-icons a:hover .icon-circle {
  background: #0b3c7c;
  transform: scale(1.15);
}

.btn-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 2px solid #0b3c7c;
  background-color: transparent;
  color: #0b3c7c;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-capsule .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid #0b3c7c;
  border-radius: 50%;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.btn-capsule:hover {
  background-color: #0b3c7c;
  color: #fff;
}

.btn-capsule:hover .icon {
  border-color: #fff;
}

.btn-idioma {
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 0.313rem;
  background-color: #FFFFFF;
  cursor: pointer;
  padding: 0;
  border: 0.125rem solid #FFFFFF;
  font-size: 10px;
}

.btn-idioma:hover {
  border: 0.125rem solid #FFFFFF;
  background-color: #0b3c7c;
  color: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* BARRA DE ACCESIBILIDAD */
.accesibilidad-menu {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  background: #0078d4;
  border-radius: 12px 0 0 12px;
  padding: 10px 6px;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.14), -2px 0 4px rgba(0, 0, 0, 0.12);
}

.accesibilidad-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accesibilidad-items li {
  margin: 0;
  padding: 0;
}

.accesibilidad-items li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.accesibilidad-items li a:hover {
  background: #e1dfdd;
}

.accesibilidad-items li a:active {
  background: #d2d0ce;
}

.accesibilidad-items li a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.accesibilidad-items li a span {
  position: absolute;
  right: 35px;
  top: 50%;  
  transform: translateY(-50%) translateX(30px); 
  background: #0078d4;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px 0 0 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.accesibilidad-items li a:hover span {
  opacity: 1;
  transform: translateY(-50%) translateX(0); 
}

/* Modo alto contraste para barra de accesibilidad */
body.high-contrast .accesibilidad-menu {
  background: #000000 !important;
  border: 1px solid #ffffff !important;
}

body.high-contrast .accesibilidad-items li a {
  background: #000000 !important;
  border: 1px solid #ffffff !important;
}

body.high-contrast .accesibilidad-items li a img {
  filter: invert(1) brightness(2);
}

body.high-contrast .accesibilidad-items li a span {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 1px solid #ffff00 !important;
}

@media (max-width: 768px) {
  .accesibilidad-menu {
    right: 0;
  }

  .accesibilidad-items li a {
    width: 30px;
    height: 30px;
  }

  .accesibilidad-items li a img {
    width: 15px;
    height: 15px;
  }
  
  .hero-section {
    padding-left: 2rem;
    height: 300px;
  }
}

.voucher-certificate {
background: #fff;
border: 2px dashed #ddd;
border-radius: 8px;
/* margin: 25px 95px 25px 95px; */
padding: 25px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: relative;
}

.pse-button {
display: flex;
align-items: center;
justify-content: space-between;
background: #fff;
border: 0.8px solid #00466ea4;
border-radius: 8px;
padding: 10px 20px;
transition: all 0.3s ease;
min-height: 50px;
}

.pse-button:hover {
background: #f8f9fa;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.pse-button span {
color: #00456E;
font-weight: 500;
margin-right: 8px;
}

.certificate-button {
color: var(--dark-color);
display: flex;
align-items: center;
justify-content: space-between;
/* background: var(--primary-color); */
border: 0.8px solid #00466ea4;
border-radius: 8px;
padding: 10px 20px;
transition: all 0.3s ease;
min-height: 120px;
}

.certificate-button:hover {
background: #f8f9fa;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.pse-button:hover {
background: #f8f9fa;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.logo-gov {
width: 60%;    /* móvil */
}

.logo-cund {
width: 50%;    /* móvil */
}

@media (min-width: 768px) {
.logo-cund {
  width: 30%;   /* desktop */
}
.logo-gov {
  width: 15%;   /* desktop */
}
}

.certificate-logo {
width: 90px;
height: 80px;
margin-left: 10px;
}

.certificate-button span {
color: #00456E;
font-weight: 500;
margin-right: 8px;
}

.pse-logo {
width: 90px;
height: 80px;
margin-left: 10px;
}

.pse-button span {
color: #00456E;
font-weight: 500;
margin-right: 8px;
}

.consulting-form {
background: var(--white-color);
border-radius: 18px;
position: relative;
overflow: hidden;
padding: 45px;
}

.voucher {
background: #fff;
border: 2px dashed #ddd;
border-radius: 8px;
margin: 25px 95px 25px 95px;
padding: 25px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: relative;
}

.voucher-certificate {
background: #fff;
border: 2px dashed #ddd;
border-radius: 8px;
/* margin: 25px 95px 25px 95px; */
padding: 25px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: relative;
}

.voucher::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 8px;
background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%, transparent 75%, #f8f9fa 75%);
background-size: 8px 8px;
}

.voucher-content {
padding: 10px;
}

.voucher-header h4 {
color: var(--dark-color);
font-weight: 600;
}

.voucher-section li {
font-size: 0.95rem;
color: #4a4a4a;
}

.voucher-section .border-bottom {
border-color: #dee2e6 !important;
}

.text-valor {
/* font-size: 20px; */
color: red !important;
}

.dotted-line {
border-bottom: 1px dotted #ccc;
margin: 15px 0;
}

.section-title {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 15px;
padding-bottom: 8px;
}

.voucher-section ul li span {
font-weight: 600;
color: #333;
margin-right: 5px;
}

#btnTop {
position: fixed;
bottom: 8%;
right: 25px;
width: 55px;
height: 55px;
border-radius: 50%;
background-color: #2b7bbf; /* Círculo externo azul */
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 9999;
transform: scale(0.8);
transition: opacity .25s ease, transform .25s ease;

/* Sombra suave como en tu imagen */
box-shadow: 0px 10px 20px rgba(0,0,0,0.15);
}

#btnTop::before {
content: "";
width: 70%;
height: 70%;
background: white;
border-radius: 50%;
position: absolute;
}

#btnTop i {
position: relative;
color: #2b7bbf;
font-size: 22px;
}

#btnTop.show {
opacity: 1;
visibility: visible;
transform: scale(1);
}

@media (max-width: 420px) {
#btnTop {
  width: 48px;
  height: 48px;
  font-size: 20px;
  bottom: 12%;
  right: 18px;
}
}