/* Thin */
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueThin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueThin-Italic.woff2') format('woff2');
  font-weight: 100;
  font-style: italic;
}

/* Light */
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueLight.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueLight-Italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
}

/* Book (puedes usar weight 350 o 400 si no lo vas a diferenciar mucho) */
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueBook.woff2') format('woff2');
  font-weight: 350;
  font-style: normal;
}
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueBook-Italic.woff2') format('woff2');
  font-weight: 350;
  font-style: italic;
}

/* Regular */
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueRegular-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueBold-Italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

/* Heavy */
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueHeavy.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueHeavy-Italic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
}

/* Black */
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueBlack.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Uni Neue';
  src: url('/assets/fonts/uni-neue/UniNeueBlack-Italic.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
}


*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: 'Uni Neue', sans-serif;
}

a {
  text-decoration: none;
}

#btn-contactos{
    color: rgb(0, 121, 131);
}
#btn-contactos:hover{
    color: rgb(0, 150, 160);

}

.hero {
  position: relative;
  height: 60vh;
  height: 60dvh; /* ajusta si tu navbar mide 70px */
  width: 100%;
  overflow: hidden;
}

.contenedor-slider{
  width: 100%;
  height: 100%;
}

.slide{
  width: 100%;
  height: 100%;
  
}
.imagen-cuerpo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  object-position: 10%;

}

.text-hero {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
  max-width: 500px;
}

.text-hero-h1 {
  font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 0.5rem;
  font-weight: 800;
}

.text-hero-h2 {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 500;
}

@keyframes bounceSuave {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  25% {
    transform: translate(-50%, -10px);
  }
  50% {
    transform: translate(-50%, 0px);
  }
  75% {
    transform: translate(-50%, -5px);
  }
}

.conocer-mas {
  position: absolute;
  bottom: 30px; /* o usa top si quieres que esté arriba */
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  text-align: center;
  color: white;
  font-size: 1.3rem;
  z-index: 2; /* asegúrate de que esté por encima de la imagen */
  animation: bounceSuave 3s ease-in-out infinite;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.conocer-mas i {
  display: block;
  margin-top: 5px;
  font-size: 1.5rem;
}


.about {
  width: 100%;
  padding: 50px 10px; /* Espaciado vertical y horizontal */
  background-color: #f9f9f9; /* opcional, para diferenciar visualmente */
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
 
}

.about-content-child{
  flex: 1 1 300px;
  padding: min(3em,8%);
  background-color:rgb(233, 250, 248);
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}


.about-content-child:hover {
  transform: scale(1.02);
}

.labs{
  width: 100%;
  padding: 20px 10px;
  background-color: rgb(73, 144, 149);
}

.labs-content{
  max-width: 1000px;
  margin: auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 3fr;


  
}

.labs-leftside{

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1rem;

}

.labs-leftside img{
  width: 55%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.labs-leftside h2{
  text-align:start;
  color: #f9f9f9;
  font-size: 2rem;
  font-weight: 600;
}

.labs-rightside{
  flex-direction: column;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;

}

@media (max-width: 710px) {
  .labs-leftside p{
    text-align: center;
  }
  .labs-content{
    grid-template-columns: 1fr ;
  }
}



.location-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;

}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



.footer {
  background-color: rgb(0, 121, 131);
  color: white;
  padding: 2rem 1rem;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  width: 120px;
  height: auto;
}

.footer-middle p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.footer-right {
  display: flex;
  gap: 1rem;
}

.footer-right a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #cccccc;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.8;
}





.promo-cardiologica {
  background-color: #e3f6f9;
  padding: 2em 1em;
  font-family: "Segoe UI", sans-serif;
}

.promo-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1em;
  padding: 2em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #093d4c;
  text-align: center;
}

.promo-container h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: #d0242a;
}

.promo-container .fecha {
  font-weight: bold;
  color: #0a5d78;
}

.promo-container .descuento {
  font-size: 1.4em;
  color: #d0242a;
  margin: 1em 0;
}

.muestras {
  background-color: #f6f6f6;
  border-left: 4px solid #d0242a;
  padding: 1em;
  border-radius: 0.5em;
  margin-top: 1em;
  font-size: 1em;
  color: #444;
}

.firma {
  margin-top: 2em;
  font-style: italic;
  color: #0a5d78;
}