/* ======= GLOBAL ======= */
body {
  margin: 0 !important;
  padding: 0px !important;
  overflow-x: hidden;
  background-color: #000000;
}

.sombra-titulo {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.check-mark::before,
.check-mark-gris::before {
  content: "\2713";
  margin-right: 10px;
  font-weight: bold;
}
.check-mark::before { color: #E1570A; }
.check-mark-gris::before { color: #A4A2A2; }

/* ======= NAVBAR ======= */
.navbar {
  position: relative;
  z-index: 1;
  height: 200px;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('/img/fondo_navbar.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: -1;
}

@media (max-width: 576px) {
  .navbar {
    height: 150px;
  }

  .navbar img {
    width: 120px;
    height: auto;
  }

  .navbar::before {
    background-image: url('/img/calde.jpg');
    height: 150px;
  }
}

/* ======= PARALLAX ======= */
.parallax,
.parallax2 {
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax { background-image: url('/assets/caldera.jpg'); }
.parallax2 { background-image: url('/assets/para2.jpg'); }

@media (max-width: 768px) {
  .parallax {
    background-image: url('/assets/aver1.jpg');
    background-attachment: scroll;
    background-size: contain;
  }

  .parallax2 {
    background-image: url('/assets/aver2.jpg');
    background-attachment: scroll;
    background-size: contain;
  }
}

/* ======= QUIENES SOMOS ======= */
#quienessomos {
  background: linear-gradient(135deg, #1e1e1e, #2c2c2c);
  color: #fff;
  padding: 20px 0;
  margin: 0 !important;
  width: 100vw;
  overflow-x: hidden; 
}

#quienessomos > .container-fluid,
#quienessomos .row {
 margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100vw;
}

#quienessomos .col-md-6.text-center {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.col-md-6.text-center img {
  width: 100%;
  max-width: 650px;
  height : 333px;
  aspect-ratio: 4 / 3; /* o 3 / 2, ajustá según lo que te quede mejor */
  object-fit: cover;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .col-md-6.text-center img {
    height: auto;
    aspect-ratio: auto;
  }
}

/* ======= GLASS STYLES ======= */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px;
  color: #fff;
}

.glass-1, .glass-2, .glass-3, .glass-4 {
  background: rgba(255, 165, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .glass-1, .glass-2, .glass-3, .glass-4 {
    margin: 10px 0;
    padding: 12px;
    font-size: 0.95rem;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }

  h1, h2, h3 {
    font-size: 1.2rem;
  }
}

/* ======= IMAGES ======= */
.img-responsive-custom {
  width: 100%;
  max-width: 525px;
  height: auto;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .img-responsive-custom {
    height: 350px;
    width: 525px;
  }

  .img-labo {
    margin-top: 36px;
  }
}

/* ======= CARDS ======= */
.card-responsive {
  flex: 0 0 19%;
  max-width: 19%;
}

@media (max-width: 768px) {
  .card-responsive {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.custom-col {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .custom-col {
    flex: 0 0 19%;
    max-width: 19%;
  }
}

.card-body {
  display: flex;
  flex-direction: column;
}
.card-title {
  min-height: 4.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.card-text {
  flex-grow: 1;
}

/* ======= FORMULARIO ======= */
.glass-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control,
.form-select {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 5px rgba(225, 87, 10, 0.8);
  border-color: #E1570A;
}

/* ======= BOTONES ======= */
.btn-warning {
  background-color: #E1570A !important;
  border: none;
}
.btn-warning:hover {
  background-color: #c24b07 !important;
}

/* ======= EFECTOS ======= */
.animate-fade-in {
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.grayscale-hover {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.grayscale-hover:hover {
  filter: grayscale(0%);
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* oculta scroll horizontal si se pasa */
}

/* Ajustes para resolución 1366×768 */
@media (min-width: 1366px) {
  .col-md-6.text-center img {
    max-width: 650px;
    height: 333px;
  }
}
/**********************************************/
/* Ajustes para resolución 1920×1080 y más */
/**********************************************/


@media (min-width: 1920px) {
  .container-fluid.px-0 {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  h2 {
    font-size: 2.8rem;
  }
  p {
    font-size: 1.2rem;
  }

  .col-md-6.text-center img {
    max-width: 850px;
    height: 450px;
  }

  section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}