/* ==========================================================================
   Adaptación Responsive para Tarjetas Apilables (Mobile / Tablet)
   ========================================================================== */

.breadcrumb {
    padding: .75rem 0rem;
}

.btn-light {
background: #fff !important;
color: #007180}

.btn-light:hover {
background: #fff !important;
color: #007180}


.faq-search-box .form-control {
  border: 1px solid #dee2e6;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.faq-search-box .form-control:focus {
  border-color: #007180; /* Podés reemplazarlo por el color verde/azul principal de tu marca */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  outline: none;
}
@media (max-width: 991px) {




.interna {
       margin-top: 120px;
} 
    
    
    .navbar-brand-regular { 
    height: auto !important
}

    
.navbar-sticky-on .navbar-brand-sticky {
    height: auto !important
}


  /* Ajuste del contenedor de la tarjeta */
  .stack-card {
    min-height: auto;
    background-color: #ffffff; /* Fondo blanco base para el texto superior */
    /* La imagen de fondo se posiciona abajo al 100% del ancho */
    background-position: center bottom !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
  }

  /* Ajuste del espacio interno */
  .card-inner {
    padding: 2rem 1.5rem 330px 1.5rem !important; 
    /* El padding-bottom (240px) deja el espacio libre abajo para ver la foto */
  }

  /*
   * Gradiente vertical para Mobile: 
   * Cubre de blanco el área de texto arriba y se vuelve transparente abajo sobre la foto
   */
  .stack-card.card-bg-internacion,
  .stack-card.card-bg-adultos,
  .stack-card.card-bg-pediatria {
    background-image: 
      linear-gradient(to bottom, 
        #ffffff 0%, 
        #ffffff 55%, 
        rgba(255, 255, 255, 0.85) 68%, 
        rgba(255, 255, 255, 0) 85%
      ),
      url('assets/img/servicios/adultos-mayores.jpg') !important; /* Mantiene la imagen original correspondiente */
  }

  /* Re-aplicamos la imagen específica de cada tarjeta con su gradiente vertical */
  .stack-card.card-bg-internacion {
    background-image: 
      url('../img/servicios/internacion-mobile.webp') !important;
  }

  .stack-card.card-bg-adultos {
    background-image: 
      url('../img/servicios/cuidado-mobile.webp') !important;

  }

  .stack-card.card-bg-pediatria {
    background-image: 
      url('../img/servicios/pediatria-mobile.webp') !important;

  }

  /* Ajustes de tipografía para celulares */
  .card-title {
    font-size: 1.70rem !important;
    line-height: 1.25;
  }

  .card-description {
    font-size: 0.95rem !important;
    line-height: 1.5;
  }

  .card-tags {
    gap: 0.4rem;display: none !important
  }

  .tag {
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
      
  }
    
    .btn-card-link {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 113, 128, 0.35);
  color: #007180;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
            border-bottom: 0px solid #007180 !important;
}
    
    
}
/*footer { 
    background-color: #027e8e;
}

footer h3 { 
    color: #fff;
}

footer li { 
    color: #fff;
}


*/
.video-overlay {
    background: linear-gradient(180deg, rgba(0, 113, 128, 0.7) 0%, rgba(86, 206, 212, 0.2) 100%);
    z-index: 1;
}
.single-work p {
    font-size: 13px;
    background-color: #fff;
    padding: 0px 10px;
    width: fit-content;
    color: #007180;
    border-radius: 30px;
    margin: 0 auto;
    font-weight: 600;
}


.work-content p {    
font-size: 16px
}
.section-heading p {    
font-size: 16px
}
.section-heading-2 > h2::after {    
    left: 5% !important
}
.footer-bottom {
    background-color: rgb(86, 206, 212); 
    color: #fff
}
.copyright-area {
    border-top: 0px solid rgba(0, 0, 0, 0.2);
}
.contact-us .social-icon {
    display: inline-block;
    height: 36px;
    width: 36px;
    line-height: 38px;
    font-size: 18px;
    text-align: center;
    background-color: rgb(86, 206, 212);
    color: rgb(255, 255, 255);
    border-radius: 44px;transition: all 0.4s
}
.contact-us .social-icon:hover {
    background-color: #007e8f;
}


/* ==========================================================================
   Sticky Stacking Cards Component - Estar Cuidado en Casa
   ========================================================================== */

.services-stack-section {
  position: relative; 
}

.stack-cards-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 4rem;
}

/* Estructura de Tarjeta Full Width */
.stack-card {
  position: sticky;
  top: 100px;
  width: 100%;
  min-height: 440px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.01), 0 20px 40px rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

/* Posición Sticky en Cascada */
#card-1 { top: 140px; z-index: 1; }
#card-2 { top: 160px; z-index: 2; }
#card-3 { top: 180px; z-index: 3; }
/* ==========================================================================
   Fondos con Imagen + Overlay para legibilidad del texto
   ========================================================================== */

/* Card 01: Internación Domiciliaria */
.stack-card.card-bg-internacion {
  background-image:     url('../img/servicios/internacion.webp');
}

/* Card 02: Cuidado de Adultos Mayores */
.stack-card.card-bg-adultos { 
  background-image: url('../img/servicios/cuidado.webp');
}

/* Card 03: Pediatría de Alta Complejidad */
.stack-card.card-bg-pediatria {

  background-image:   url('../img/servicios/pediatria.webp');
}

/* 
.stack-card.card-bg-adultos { 
  background-image: linear-gradient(135deg, #007180 0%, #0196ae59 100%),
    url('../img/servicios/adultos.jpg');
}Card 02: Cuidado de Adultos Mayores */
/* Capa de contenido interno */
.card-inner {
  position: relative;
  height: 100%;
  padding: 3.5rem 3rem;
  color: #ffffff;
}

.card-number {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #007180;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 2.75rem;
  font-weight: 600;
  color: #007180;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.card-description {
  font-size: 16px;
  line-height: 1.4;
  color: #007180;
  margin-bottom: 1.75rem;
  max-width: 450px;    
  font-weight: 400;
}

/* Tags estilo píldora */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
    max-width: 500px
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 113, 128, 0.35);
  color: #007180;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
}

/* Botón de Enlace */
.btn-card-link {
  display: inline-block;
  color: #007180;
  font-weight: 400;
  font-size: 1.0rem;
  text-decoration: none;
  border-bottom: 2px solid #007180;
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}

.btn-card-link:hover {
  opacity: 0.8;
  color: #007180;
}

/* ==========================================================================
   Adaptación Mobile
   ========================================================================== */
@media (max-width: 768px) {
    .contacto-bg {
    background: rgba(0, 0, 0, 0) url("../img/contacto-bg.webp") no-repeat  center center / cover;
   padding: 200px 0 !important;
    }
    
    br {
    display: none
}
  .stack-card {
    min-height: auto;
    top: 70px;
  }

  .card-inner {
    padding: 2rem 1.5rem;
  }

  .card-title {
    font-size: 1.85rem;
  }

  .card-description {
    font-size: 1rem;
  }
}

.service-icon span {
    height: 34px;
    width: 34px; 
    line-height: 34px;
    font-size: 18px; 
} 

.single-service p {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #565656;
    margin-bottom: 0;
}
.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: center;
}
/* Soporte Responsive para videos de YouTube (Proporción 16:9) */
.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    padding-top: 56.25%; /* Relación de aspecto 16:9 (9 / 16 * 100) */
    content: "";
}

.ratio > iframe,
.ratio > embed,
.ratio > object,
.ratio > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.icon-text h3 {
font-weight: 400}

.ig-feed-wrapper {
  position: relative;
  width: 100%;
  padding-top: 22%; /* ajustable */
  overflow: hidden;
}

.ig-feed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0; 
  width: 100%;
  display: block;
}

.ig-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.ig-mobile {
  display: none;
}

@media (max-width: 768px) {
  .ig-desktop {
    display: none;
  }

  .ig-mobile {
    display: block;
        padding-top: 133%; /* ajustable */
  }
}

/*SECTION HEADING*/
.section-heading {
    margin-bottom: 40px;
}

/* Configuración de la sección Hero */
.welcome-area {
    position: relative;
    min-height: 85vh; /* O 100vh para pantalla completa */
    background-color: #0b1a28; /* Color de fondo mientras carga el video */
}

/* Configuración de la sección Hero */
.dropdown-toggle::after { 
 }

/* Video de fondo para cubrir todo el contenedor */
#bg-video {
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

 

/* Elevación de capa para el texto y botones */
.z-index-2 {
    z-index: 2;
}

/* Transición suave (fade) entre los textos */
.carousel-fade .carousel-item {
    transition-duration: 0.8s;
}

/* Estilo para los indicadores del carrusel */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: #ffffff;
    width: 26px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-brand-regular { 
    height: 80px
}

.navbar-sticky-on .navbar-brand-sticky {
        height: 80px
}

.btn, .btn:active, .btn.sApp-btn:before, .bg-overlay::after, .benifits-item:after {
    background: linear-gradient(-47deg, #56a6b1 0%, #007180 100%);
}

.bg-overlay-2::after {
    background: linear-gradient(-47deg, #00718000 0%, #56a6b1 100%);
}

.bg-overlay::after {
    opacity: 0.9;
    z-index: -1;
}

.bg-overlay-2::after {
    opacity: 0.9;
    z-index: -1;
}
.bg-overlay-2 {
    position: relative;
    z-index: 0;
}
.bg-overlay-2::after  {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

#scrollUp {
    left: 2%;
}

.mail-fijo {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 30px;
    right: 30px;
    background-color: #49bfc7;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    padding: 15px;
    z-index: 500000000000000;
}

.mail-fijo:hover {
    background-color: #56a6b1;
}

.social-icons > a.instagram {
    background-color: #fe168a !important;
}

.homepage-3 .welcome-area {
    background: rgba(0, 0, 0, 0) url(../img/slider/1.jpg) no-repeat scroll center center / cover;
}

.navbar-dark .navbar-nav .nav-link {
color: #fff;
    /* text-transform: uppercase; */
    font-weight: 500;
    font-size: 14px;
}

.dropdown-toggle:after {
    display: none
}
.dropdown-item {
    color: #49bfc7;
}

.download-area {
    background: rgba(0, 0, 0, 0) url(../img/bg/1.jpg) no-repeat fixed center center / cover;
}

.overlay-dark::after {
    background-color: rgb(255 255 255 / 70%);
    opacity: 0.80;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
    z-index: -1;
}

.dropdown-toggle:after {
    color: #fff;
}

.section-heading > h2::after { 
    background-color: #85ddea; 
}
 

.plan-title > h3 {
    letter-spacing: 0px;
}

 
.single-price-plan {
    margin-bottom: 4em;
}

.single-work::after {
    position: absolute;
    content: '\f054';
    font-size: 25px;
    font-weight: 600;
    color: #fff;
    font-family: 'Font Awesome 5 Free';
    top: 50%;
    right: 0;
    margin-right: -30px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: transform 0.3s;
    transition: transform 0.3s;
}
.service-photo img{
-webkit-box-shadow: 0 0.313rem 0.875rem rgba(45, 49, 54, 0.09);
    box-shadow: 0 0.313rem 0.875rem rgba(45, 49, 54, 0.09);
    background-color: #fff;
    border-radius: 30px;
    margin-bottom: 2em
}

a:hover {
color: #007180}

.breadcrumb-area {
/*    padding-top: 50px;
    height: 300px;*/
    z-index: 1;
}
.post-thumb {
    width: 40%;
}

.blog-details h3 {
    font-size: 30px;
}

.navbar-dark.navbar-sticky-on .navbar-nav .nav-link:hover, .navbar-dark.navbar-sticky-on .navbar-nav .nav-link:focus, .navbar-dark.navbar-sticky-on .navbar-nav .nav-link.active, .navbar-dark.navbar-sticky-on .navbar-nav .nav-link.current-menu-item {
    color: #56a6b1;
}
.card-header .btn {

    line-height: 1.2;
}

@media (max-width: 767px) {
.welcome-area, .homepage-5 .welcome-area {
    height: 100% !important;
    padding: 150px 0px;
}
    .navbar-brand {
        max-width: 240px
}
    .breadcrumb-content > h3 {
    font-size: 38px;
    line-height: 1.1;
    margin-top: 50px;
}
}