 /* STRUCTURE */
  
  .wrapper {
    display: flex;
    align-items: center;
    flex-direction: column; 
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 20px;
  }
  
  #formContent {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    position: relative;
    padding: 0px;
    -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
    box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
    text-align: center;
  }
  
  #formFooter {
    background-color: #f6f6f6;
    border-top: 1px solid #dce8f1;
    padding: 25px;
    text-align: center;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
  }
  
  
  /* FORM TYPOGRAPHY*/
  
  input[type=button], input[type=submit], input[type=reset]  {
    background-color: #0ac472   ;
    border: none;
    color: white;
    padding: 15px 80px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
    box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 5px 20px 40px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  
  input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover  {
    background-color: #0ac472;
  }
  
  input[type=button]:active, input[type=submit]:active, input[type=reset]:active  {
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -o-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
  }
  
  input[type=text] {
    background-color: #f6f6f6;
    border: none;
    color: #0d0d0d;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 85%;
    border: 2px solid #f6f6f6;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
  }
  
  input[type=text]:focus {
    background-color: #fff;
    border-bottom: 2px solid #0ac472;
  }
  
  input[type=text]:placeholder {
    color: #cccccc;
  }
  
  input[type=password] {
    background-color: #f6f6f6;
    border: none;
    color: #0d0d0d;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 85%;
    border: 2px solid #f6f6f6;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
  }
  
  input[type=password]:focus {
    background-color: #fff;
    border-bottom: 2px solid #0ac472;
  }
  
  input[type=password]:placeholder {
    color: #cccccc;
  }
  
  
  
  /* ANIMATIONS */
  
  /* Simple CSS3 Fade-in-down Animation */
  .fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  
  @-webkit-keyframes fadeInDown {
    0% {
      opacity: 0;
      -webkit-transform: translate3d(0, -100%, 0);
      transform: translate3d(0, -100%, 0);
    }
    100% {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
    }
  }
  
  @keyframes fadeInDown {
    0% {
      opacity: 0;
      -webkit-transform: translate3d(0, -100%, 0);
      transform: translate3d(0, -100%, 0);
    }
    100% {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
    }
  }
  
  /* Simple CSS3 Fade-in Animation */
  @-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  @-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  @keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  
  .fadeIn {
    opacity:0;
    -webkit-animation:fadeIn ease-in 1;
    -moz-animation:fadeIn ease-in 1;
    animation:fadeIn ease-in 1;
  
    -webkit-animation-fill-mode:forwards;
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;
  
    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    animation-duration:1s;
  }
  
  .fadeIn.first {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
  }
  
  .fadeIn.second {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    animation-delay: 0.6s;
  }
  
  .fadeIn.third {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
  }
  
  .fadeIn.fourth {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
  }
  
  /* Simple CSS3 Fade-in Animation */
  .underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #0ac472;
    content: "";
    transition: width 0.2s;
  }
  
  .underlineHover:hover {
    color: #0d0d0d;
  }
  
  .underlineHover:hover:after{
    width: 100%;
  }
  
  
  
  /* OTHERS */
  
  *:focus {
      outline: none;
  } 
  
  #icon {
    width:60%;
  }


@media screen and (min-width: 400px) {
    .box-baja {
        margin-left: 0%;
    }
}

@media screen and (min-width: 800px) {
    .box-baja {
        margin-left: 14%;
    }

}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.popup-close-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.popup-close-btn:hover {
  background-color: #0056b3;
}
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== POPUP PROMOCIONAL ===== */
.promo-popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease-in-out;
}

.promo-popup-content {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  width: 90%;
  max-width: 900px;
  height: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: popUp 0.5s ease;
  position: relative;
}

/* === MODO BANNER === */
.banner-mode {
  background: url('https://servi-health.com/assets/img/Banner.png') center/cover no-repeat;
  color: #fff;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner-body {
  width: 100%;
  padding: 3rem 1rem;
  display: flex;
  align-items: center;
}

.banner-text {
  max-width: 410px;
  text-align: left;
  /* background: rgba(0,0,0,0.4); */
  padding: 2rem 1rem;
  border-radius: 12px;
  /* backdrop-filter: blur(4px); */
}

.banner-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
  margin-bottom: 57px;
  text-align: center;
}

.banner-text h2 span {
  /* color: #ffc107; */
}

.banner-text p {
  font-size: 1.5rem;
  color: #eee;
  margin-top: 10px;
  text-align: center;
}

.promo-popup-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.promo-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.promo-view {
  background-color: #0d6efd;
  color: white;
}
.promo-view:hover {
  background-color: #0b5ed7;
}

.promo-buy {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
    padding: 18px 25px;
    margin: 0 0 0 5px;
    border-radius: 50px;
    transition: 0.3s;
    text-transform: uppercase;
    width: 47%;
    text-align: center;
    font-family: var(--nav-font);
}
.promo-buy:hover {
  background-color: #198754;
  color: white;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .promo-buy {
    width: 100%;             /* botón ocupa todo el ancho */
    font-size: 14px;         /* texto un poco más grande */
    padding: 16px 0;         /* menos padding lateral */
    margin: 8px 0;           /* separa botones verticalmente */
    border-radius: 40px;     /* suaviza un poco más las esquinas */
  }
}

@media (max-width: 480px) {
  .promo-buy {
    font-size: 13px;
    padding: 14px 0;
    width: 58%;
    margin: 0% 7%;
  }
}

.promo-popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  color: #1e3e27;
  cursor: pointer;
  transition: 0.2s;
  z-index: 10;
}
.promo-popup-close:hover {
  color: #ffc107;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .banner-body {
    justify-content: left;
    padding: 0px;
  }
  .banner-text {
    text-align: center;
    background: rgba(0,0,0,0.6);
    padding: 1.5rem;
  }
  .banner-text h2 {
    font-size: 1.8rem;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes popUp {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}
/* === Banner Mobile === */
@media (max-width: 768px) {
  .promo-popup-close {
    color: #fff;
  }
  .banner-mode {
    background: url('https://servi-health.com/assets/img/Banner.png') center center / contain no-repeat, #1e3e27;
    background-color: #1e3e27; /* rellena los bordes vacíos */
    background-size: 180%;
    justify-content: center;
    align-items: center;
    min-height: 514px;
    background-position: 30% center;
    /* width: 63%; */
  }

  .banner-text {
    background: none;
    border-radius: 10px;
    padding: 0px;
    width: 90%;
    text-align: left;
  }

  .banner-text h2 {
    font-size: 1.8rem;
    text-align: left;
    margin: auto 10%;
  }

  .banner-text p {
    font-size: 1.12rem;
    width: 60%;
    margin-left: inherit;
    margin-left: unset;
    margin-left: 5%;
  }
}


.media-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.portfolio-img {
  width: 40%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
}

.portfolio-video {
  width: 55%;
  height: 320px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsivo */
@media (max-width: 992px) {
  .portfolio-img, .portfolio-video {
    width: 80%;
  }
}

@media (max-width: 576px) {
  .portfolio-img, .portfolio-video {
    width: 100%;
    height: auto;
  }
}
