/* =========================================================
   Ajustes Hospital Geriátrico José Vionnet sobre template Docmed
   ========================================================= */

/* ---------- Logo de texto (header y footer) ---------- */
.text-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}
.text-logo span {
  color: #0181f5;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.text-logo span:last-child {
  color: #1F1F1F;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}
.text-logo--light span { color: #5DB2FF; }
.text-logo--light span:last-child { color: #fff; }
.header-area .main-header-area .logo { padding: 18px 0; }

.header-address {
  color: #727272;
  font-size: 13px;
}
.header-address i { color: #5DB2FF; margin-right: 6px; }

/* ---------- Slider ---------- */
.slider_bg_vionnet {
  background-image: url(../images/vionnet/fondo1.webp);
}
.slider_bg_vionnet_alt {
  background-position: right center !important;
}
.overlay_dark { position: relative; z-index: 0; }
.overlay_dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(10, 30, 60, 0.75) 0%, rgba(10, 30, 60, 0.45) 55%, rgba(10, 30, 60, 0.15) 100%);
}
.slider_area .single_slider .slider_text h3 { color: #fff; }
.slider_area .single_slider .slider_text h3 span { color: #83C4FF; }
.slider_area .single_slider .slider_text p { color: #e8eef5; }

/* ---------- Estadísticas (service_area) ---------- */
.service_area .single_service h3 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 0;
}
.service_area .single_service p {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
}
.service_area .single_service .icon i { font-size: 40px; }

/* ---------- Bienvenida ---------- */
.welcome_docmed_area .welcome_thumb img {
  border-radius: 5px;
  object-fit: cover;
}
.welcome_docmed_area .welcome_thumb .thumb_1 img { aspect-ratio: 4 / 5; }
.welcome_docmed_area .welcome_thumb .thumb_2 img {
  aspect-ratio: 4 / 3;
  border: 8px solid #fff;
}

/* ---------- Nosotros (tabs) ---------- */
.business_expert_area .business_thumb img {
  width: 100%;
  border-radius: 5px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.historia-scroll {
  max-height: 340px;
  overflow-y: auto;
  padding-right: 12px;
}
.historia-scroll p { margin-bottom: 12px; }
.historia-scroll::-webkit-scrollbar { width: 6px; }
.historia-scroll::-webkit-scrollbar-thumb { background: #5DB2FF; border-radius: 3px; }

/* ---------- Servicios y especialidades ---------- */
.our_department_area .service_card {
  height: calc(100% - 30px);
  padding-top: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.our_department_area .service_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(93, 178, 255, 0.2);
}
.our_department_area .service_card .service_icon img {
  width: 64px;
  height: 64px;
}
.our_department_area .service_card .department_content { padding: 18px 22px 24px; }
.our_department_area .service_card .department_content h3 {
  font-size: 19px;
  font-weight: 500;
  color: #1F1F1F;
  margin-bottom: 0;
}
.our_department_area .service_card .department_content p {
  font-size: 14px;
  line-height: 24px;
}

/* ---------- Frase ---------- */
.testmonial_bg_vionnet {
  background-image: url(../images/vionnet/foto10.webp);
  background-position: center !important;
}
.testmonial_bg_vionnet.overlay2::before { opacity: 0.6; }

/* ---------- Galería ---------- */
.gallery_area { padding: 120px 0 90px; }
.single_gallery {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 30px;
}
.single_gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s;
}
.single_gallery span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  background: rgba(1, 129, 245, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.single_gallery:hover img { transform: scale(1.08); }
.single_gallery:hover span { opacity: 1; }

/* ---------- Profesionales ---------- */
.expert_doctors_area .doctors_title p {
  color: #727272;
  max-width: 720px;
  margin-top: 10px;
}
.expert_doctors_area .single_expert .expert_thumb img {
  aspect-ratio: 450 / 575;
  object-fit: cover;
  object-position: top center;
}
.expert_doctors_area .single_expert .experts_name h3 { font-size: 18px; }

/* ---------- Bloques turnos / consulta ---------- */
.emergency_bg_vionnet_1 { background-image: url(../images/vionnet/foto3.webp); }
.emergency_bg_vionnet_2 { background-image: url(../images/vionnet/foto4.webp); }
.Emergency_contact .single_emergency { background-size: cover; background-position: center; }
.Emergency_contact .overlay_skyblue::before { opacity: 0.85; }

/* ---------- Contacto ---------- */
.contact_area { padding: 120px 0 90px; }
.contact_form .form-control {
  height: 50px;
  border: 1px solid #e5e6e9;
  border-radius: 0;
  margin-bottom: 25px;
  font-size: 14px;
  padding-left: 18px;
}
.contact_form textarea.form-control { height: auto; padding-top: 14px; }
.contact_form .form-control:focus { border-color: #5DB2FF; box-shadow: none; }
.contact_form .boxed-btn3 { border: 0; cursor: pointer; }
.contact_info_list { padding-left: 20px; }
.contact-info p a { color: #8a8a8a; word-break: break-all; }
@media (max-width: 991px) {
  .contact_info_list { padding-left: 0; margin-top: 40px; }
}

/* ---------- Footer ---------- */
.footer .footer_top .footer_widget .footer_logo { margin-bottom: 20px; }
.footer .copy-right_text .copy_right a { color: #5DB2FF; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .text-logo span:last-child { font-size: 18px; }
  .header-area .header-top_area { display: none; }
  .gallery_area, .contact_area { padding: 70px 0 40px; }
}
