/* Añade esto al inicio de tu style.css o en una sección de estilos generales */
html, body {
    overflow-x: hidden; /* Esto previene el scroll horizontal */
    width: 100%; /* Asegura que ocupen el 100% del ancho del viewport */
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Ayuda a que las imágenes se comporten mejor */
}
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
  overflow-x: hidden; /* Esto es una solución temporal para ocultar el desborde si no lo encuentras */
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #777;  
}

a {
  text-decoration: none;
  color: #43aea0;
}

a:hover {
  color: #00d3b8;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6, .font-primary {
  font-family: "Lato", sans-serif;
}

p {
  font-size: 1.2rem;
}

.only-photo {
  margin: 0;
}

p span {
  color: #43aea0;
  font-weight: 600;
}

.about-photo {
  margin: 1rem;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-bg {
  background-color: #FAFAFA;
}

.section-title {
  text-align: center;
  padding: 2rem 1rem;
}

.section-title h2 {
  font-size: 2em;
  font-weight: 700;  
  padding-bottom: 0;
  color: #555;
}

.section-title p {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .section-title h2 {
  font-size: 1.5em;
}
}


/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #f6fafa;
  min-height: 40px;
  margin-top: 80px;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #6713bb;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.whapp {
  position: fixed; 
   
  opacity: 0;
  right: 65px;
  bottom: 15px;
  z-index: 99999;
  background: #00d3b8;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i, .whapp i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover, .whapp:hover {
  background: #67a3bb;
  color: #fff;
}

.back-to-top.active, .whapp.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 80px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: #67a3bb;
}

#header.header-scrolled {
  background: #466f7c;
  height: 60px;
}

#header .logo h1 {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

#header .logo h1 a, #header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
  line-height: 0;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 100px;
}

#main {
  margin-top: 80px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #d2ece9;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar li:hover > a {
  color: #fff;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
  color: #466f7c;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #70b9b0;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(7, 56, 57, 0.9);
  transition: 0.3s;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: #073839;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #70b9b0;
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #70b9b0;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  height: 85vh;
  background: url("../img/hero-background.webp") top center;
  background-size: cover;
  position: relative;
}

.hero.neuromusc {
  background: url("../img/hero-background-neuromusculoesqueletica-01.webp") top center;
}

.hero.deportivo {
  background: url("../img/hero-background-deportiva.webp") top center;
}

.hero.atm {
  background: url("../img/hero-background-atm.webp") top center;
}

.hero.suelo-pelvico {
  background: url("../img/hero-background-suelo-pelvico.webp") top center;
}


.hero.realidad-virtual {
  background: url("../img/hero-background-realidad-virtual.webp") top center;
}

.hero.onco {
  background: url("../img/hero-background-onco.webp") top center;
}


.hero:before {
  content: "";
  background: rgba(103, 163, 187, 0.70);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.hero.pag:before {
    content: "";
    background: rgba(96, 99, 100, 0.7);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.hero .hero-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  padding-top: 80px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 300;
  line-height: 56px;
  color: #fff;
}

.hero h2 {
  color: #eee;
  margin-bottom: 50px;
  font-size: 20px;
  font-weight: 300;
}

.hero .btn-get-started {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px 10px 28px;
  border-radius: 50px;
  transition: 0.5s;
  border: 1px solid #fff;
  color: #fff;
}

.hero .btn-get-started:hover {
  background: #fff;
  color: #70b9b0;
  border: 1px solid #70b9b0;
}

@media (min-width: 1024px) {
  .hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about h3 {
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 2rem;
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 10px;
}

.about ul i {
  font-size: 22px;
  padding-right: 4px;
  color: #6713bb;
  line-height: 0;
}

.about p:last-child {
  margin-bottom: 0;
}

.about .imgs {
  position: relative;
  top: 1rem;
  z-index: 2;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.icon-box {  
  padding: 2rem;
  text-align: center; 
}

.icon {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  height: 100px;
}

.icon img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.services .icon-box {
  margin-bottom: 20px;  
}

.services .icon {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.services .icon i {
  color: #67a3bb;
  font-size: 42px;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  text-transform: uppercase;
  padding-inline: 1rem;
}

.services .title a {
  color: #343a40;
  transition: 0.3s;
}

.services .icon-box:hover .title a {
  color: #67a3bb;
}

.services .description {
  line-height: 24px;
  font-size: 14px;
}
.tamanio-icon {
  width: 50px;
}


.text {
  padding: 5rem 12rem;
}

.text-white {
  color: #fff;
  background-color: #466f7c;
  position: relative;
  bottom: 2rem;
  z-index: 1;  
}

.text-white .text {
  padding: 5rem 5rem 5rem 0rem;
}

.about.us .text {
  padding: 2rem;
}

@media (max-width: 768px) {
  .text {
  padding: 5rem 2rem;
  }

  
  .about.us .text-white .text {  
    padding: 0rem 2rem 5rem 2rem;
  }


  .about .imgs {
    flex-direction: column;
  }
}



/*--------------------------------------------------------------
# Call To Action
--------------------------------------------------------------*/
.call-to-action {
  background: linear-gradient(rgba(1, 41, 42, 0.8), rgba(7, 56, 57, 0.8)), url("../img/call-to-action-bg.webp") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.call-to-action h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: #fff;
}

.call-to-action .cta-btn {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 6px 28px 10px 28px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.call-to-action .cta-btn:hover {
  background: #70b9b0;
  border: 2px solid #70b9b0;
}

/*--------------------------------------------------------------
# Our Portfolio
--------------------------------------------------------------*/
.portfolio {
  padding: 60px 0;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 0 35px 0;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  margin: 0 15px 15px 0;
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 20px;
  color: #777;
  border-radius: 4px;
  text-transform: uppercase;
  background: white;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  background: #70b9b0;
  color: #fff;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  background: #073839;
  overflow: hidden;
  min-height: 200px;
  position: relative;
  border-radius: 4px;
  margin: 0 0 30px 0;
}

.portfolio .portfolio-wrap img {
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  transition: all .3s linear;
  text-align: center;
  top: 10%;
  left: 0;
  right: 0;
}

.portfolio .portfolio-wrap .portfolio-info h3 {
  font-size: 22px;
}

.portfolio .portfolio-wrap .portfolio-info h3 a {
  color: #fff;
  font-weight: bold;
}

.portfolio .portfolio-wrap .portfolio-info a i {
  color: #fff;
  font-size: 24px;
  transition: 0.3s;
  margin: 4px;
}

.portfolio .portfolio-wrap .portfolio-info a i:hover {
  color: #70b9b0;
}

.portfolio .portfolio-wrap:hover img {
  opacity: 0.4;
  transform: scale(1.1);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
  top: calc(50% - 30px);
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #70b9b0;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #70b9b0;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(7, 56, 57, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq {
  padding: 60px 0;
}

.faq .faq-list {
  padding: 0;
  list-style: none;
}

.faq .faq-list li {
  border-bottom: 1px solid #deefed;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.faq .faq-list .question {
  display: block;
  position: relative;
  font-family: #67a3bb;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  padding-left: 25px;
  cursor: pointer;
  color: #51a59b;
  transition: 0.3s;
}

.faq .faq-list i {
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -2px;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 25px;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list .collapsed {
  color: #343a40;
}

.faq .faq-list .collapsed:hover {
  color: #70b9b0;
}

.faq .faq-list .collapsed .icon-show {
  display: inline-block;
  transition: 0.6s;
}

.faq .faq-list .collapsed .icon-close {
  display: none;
  transition: 0.6s;
}

/*--------------------------------------------------------------
# Our Team
--------------------------------------------------------------*/
.team .member {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  background: #fff;
}

.team .member img {
  max-width: 60%;
  border-radius: 50%;
  margin: 0 0 30px 0;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: #aaaaaa;
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  color: #92cac3;
  transition: 0.3s;
}

.team .member .social a:hover {
  color: #3c8b81;
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}


/* Estilos específicos para las páginas del blog y artículos */

/*--------------------------------------------------------------
# Blog List Page
--------------------------------------------------------------*/
.blog-item {
  margin-bottom: 30px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  border-radius: 8px;
  overflow: hidden;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.blog-img {
  overflow: hidden;
  max-height: 250px; /* Ajusta la altura de la imagen si es necesario */
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.blog-item:hover .blog-img img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
  background: #fff;
}

.blog-content h2.entry-title { /* Selector más específico para evitar conflictos */
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-content h2.entry-title a {
  color: #343a40;
  transition: 0.3s;
}

.blog-content h2.entry-title a:hover {
  color: #67a3bb; /* Color de hover similar al de tu navegación */
}

.blog-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
}

.blog-meta ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-meta ul li {
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.blog-meta ul li i {
  font-size: 16px;
  margin-right: 5px;
  color: #67a3bb;
}

.blog-description {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  display: inline-block;
  color: #67a3bb;
  font-weight: 600;
  transition: 0.3s;
}

.read-more:hover {
  color: #43aea0;
}

.blog-pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.blog-pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination ul li {
  margin: 0 5px;
}

.blog-pagination ul li a {
  display: block;
  padding: 8px 15px;
  border: 1px solid #ddd;
  color: #67a3bb;
  border-radius: 4px;
  transition: 0.3s;
}

.blog-pagination ul li.active a,
.blog-pagination ul li a:hover {
  background-color: #67a3bb;
  color: #fff;
  border-color: #67a3bb;
}

/*--------------------------------------------------------------
# Blog Sidebar (aplicable tanto a la lista de blog como a los artículos)
--------------------------------------------------------------*/
.blog-sidebar {
    padding: 30px;
    background: #f6fafa; /* Un tono más claro para el sidebar */
    border-radius: 8px;
    margin-top: 30px; /* Espacio para que no se pegue al contenido principal en móvil */
}

@media (min-width: 992px) {
    .blog-sidebar {
        margin-top: 0; /* Sin margen superior en escritorio */
    }
}

.blog-sidebar .sidebar-item {
    margin-bottom: 30px;
}

.blog-sidebar .sidebar-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #466f7c;
    padding-bottom: 10px;
    border-bottom: 1px solid #deefed;
}

.blog-sidebar .search-form {
    display: flex;
}

.blog-sidebar .search-form input {
    flex-grow: 1; /* Ocupa el espacio restante */
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px; /* Bordes redondeados solo a la izquierda */
    font-size: 15px;
}

.blog-sidebar .search-form button {
    background: #67a3bb;
    border: 1px solid #67a3bb;
    color: #fff;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0; /* Bordes redondeados solo a la derecha */
    cursor: pointer;
    transition: 0.3s;
}

.blog-sidebar .search-form button:hover {
    background: #43aea0;
    border-color: #43aea0;
}

.blog-sidebar .categories ul,
.blog-sidebar .recent-posts ul,
.blog-sidebar .tags ul {
    list-style: none;
    padding: 0;
}

.blog-sidebar .categories ul li,
.blog-sidebar .recent-posts ul li,
.blog-sidebar .tags ul li {
    margin-bottom: 10px;
}

.blog-sidebar .categories ul li a,
.blog-sidebar .recent-posts ul li a {
    color: #777;
    transition: 0.3s;
    display: block; /* Para que el área de click sea más grande */
}

.blog-sidebar .categories ul li a:hover,
.blog-sidebar .recent-posts ul li a:hover {
    color: #67a3bb;
}

.blog-sidebar .recent-posts .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee; /* Línea divisoria suave */
}

.blog-sidebar .recent-posts .post-item:last-child {
    border-bottom: none; /* No hay línea en el último elemento */
    padding-bottom: 0;
}

.blog-sidebar .recent-posts .post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0; /* Evita que la imagen se encoja */
}

.blog-sidebar .recent-posts .post-item h4 {
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}

.blog-sidebar .recent-posts .post-item h4 a {
    color: #343a40;
    transition: 0.3s;
}

.blog-sidebar .recent-posts .post-item h4 a:hover {
    color: #67a3bb;
}

.blog-sidebar .recent-posts .post-item time {
    display: block;
    font-size: 13px;
    color: #aaa;
}

.blog-sidebar .tags ul li {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.blog-sidebar .tags ul li a {
    display: block;
    background: #eee;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #777;
    transition: 0.3s;
}

.blog-sidebar .tags ul li a:hover {
    background: #67a3bb;
    color: #fff;
}


/*--------------------------------------------------------------
# Single Article Page
--------------------------------------------------------------*/
.article-header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px; /* Un poco de padding superior */
}

.article-header h1 {
  font-size: 38px;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 15px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .article-header h1 {
    font-size: 30px;
  }
}

.article-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.article-meta ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-meta ul li {
  margin: 0 10px;
  display: flex;
  align-items: center;
}

.article-meta ul li i {
  font-size: 18px;
  margin-right: 5px;
  color: #67a3bb;
}

.article-img {
  margin-bottom: 30px;
  max-height: 500px; /* Altura máxima de la imagen principal */
  overflow: hidden;
  border-radius: 8px;
  text-align: center; /* Centrar la imagen si es más pequeña */
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Eliminar espacio extra debajo de la imagen */
}

.article-content {
  line-height: 1.8;
  font-size: 16px;
  color: #444;
}

.article-content h2,
.article-content h3 {
  color: #343a40;
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: 600;
}

.article-content h2 {
  font-size: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.article-content h3 {
  font-size: 24px;
}

.article-content p {
  margin-bottom: 1.5em;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5em;
  padding-left: 20px;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 0.5em;
  color: #555;
}

.article-content blockquote {
  background: #f8f8f8;
  border-left: 5px solid #67a3bb;
  margin: 30px 0;
  padding: 20px;
  font-style: italic;
  color: #555;
  border-radius: 4px;
}

.article-content .quote-author {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #777;
  text-align: right;
}

.article-content figure {
  margin: 30px 0;
  text-align: center;
}

.article-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.article-content figure figcaption {
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}

.article-content .cta-inline {
  text-align: center;
  background: #f6fafa;
  padding: 30px;
  margin: 40px 0;
  border-radius: 8px;
}

.article-content .cta-inline h4 {
  font-size: 24px;
  color: #466f7c;
  margin-bottom: 15px;
}

.article-content .cta-inline .btn-cta {
  display: inline-block;
  background: #67a3bb;
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  transition: 0.3s;
  font-weight: 600;
}

.article-content .cta-inline .btn-cta:hover {
  background: #43aea0;
}

/* Sección de "Artículos Relacionados" */
.related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.related-posts h3 {
  font-size: 24px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 30px;
  text-align: center;
}

.related-post-item {
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-post-item:hover {
    transform: translateY(-5px);
}

.related-post-item img {
    width: 100%;
    height: 180px; /* Altura fija para las miniaturas */
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.related-post-content {
    padding: 15px;
    background-color: #fff;
}

.related-post-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-post-content h4 a {
    color: #343a40;
    transition: 0.3s;
}

.related-post-content h4 a:hover {
    color: #67a3bb;
}

.related-post-content .meta {
    font-size: 13px;
    color: #777;
}





/*--------------------------------------------------------------
# Contact Us
--------------------------------------------------------------*/
.contact .contact-about h3 {
  font-size: 36px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 1px;
  color: #67a3bb;  
}

.contact .contact-about p {
  font-size: 14px;
  line-height: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-family: "Lato", sans-serif;
  color: #888;
}

.contact .social-links {
  padding-bottom: 40px;
}

.contact .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #fff;
  color: #67a3bb;
  line-height: 0;
  margin-right: 4px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  border: 1px solid #67a3bb;
}

.contact .social-links a:hover {
  background: #6713bb;
  border: 1px solid #6713bb;
  color: #fff;
}

.contact .info {
  color: #777;
}

.contact .info i {
  font-size: 32px;
  color: #67a3bb;
  float: center;
  line-height: 1;

}

.contact .info p {
  padding-top: 10px;
  line-height: 28px;
  font-size: 14px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form button[type="submit"] {
  background: #70b9b0;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #92cac3;
}

@media (max-width: 768px) {
 .contact .contact-about {
  text-align: center;
 }
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/
.map {
  padding: 0;
  margin-bottom: -10px;
}

.map iframe {
  width: 100%;
  height: 380px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #466f7c;
  padding: 30px 0; /* Un padding inicial, ajustaremos el 'footer-top' después */
  color: #fff;
  font-size: 14px;
}

/* Estilos para la sección superior del footer donde están las columnas de información */
#footer .footer-top {
  padding: 60px 0 30px 0; /* Mucho más aire arriba, y un poco menos abajo para acercarse al copyright */
  background: #466f7c; /* Mismo color de fondo */
}

#footer .footer-top .footer-info h3 {
  font-size: 28px; /* Tamaño del título del negocio */
  margin: 0 0 20px 0; /* Ajuste de margen para el título */
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase; /* Opcional: para que el título destaque */
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #00d3b8; /* Un color de acento, puedes cambiarlo */
  color: #fff;
  text-decoration: none;
}

/* Estilos para las columnas de navegación y tratamientos */
#footer .footer-top .footer-links, #footer .footer-top .footer-info {
  margin-bottom: 30px;
  padding-inline: 2rem;
}


#footer .footer-top .footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 30px;
  background: #007bff; /* Color de la línea bajo el título */
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #00d3b8; /* Color del icono */
  font-size: 12px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul li a:hover {
  color: #00d3b8; /* Color al pasar el mouse */
}

/* Estilos para la columna de contacto */
#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

/* Estilos para la sección inferior del footer (Copyright, Créditos, Legales) */
#footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Línea de separación sutil */
  padding-top: 20px; /* Espacio después de la línea */
  padding-bottom: 10px; /* Espacio antes de los créditos */
  text-align: center;
  color: #fff;
}

#footer .credits {
  padding-top: 0; /* Ya no necesitamos este padding aquí, el copyright ya lo da */
  padding-bottom: 15px; /* Espacio antes de los enlaces legales */
  text-align: center;
  font-size: 13px;
  color: #fff;
}

#footer .legal-links {
  padding-top: 15px; /* Espacio encima de los enlaces legales */
  padding-bottom: 20px; /* Espacio debajo de los enlaces legales */
  text-align: center;
}

#footer .legal-links a {
  color: rgba(255, 255, 255, 0.7); /* Color de los enlaces legales */
  margin: 0 8px; /* Espacio entre los enlaces */
  transition: 0.3s;
}

#footer .legal-links a:hover {
  color: #fff; /* Color al pasar el mouse */
  text-decoration: none;
}

/* Media Queries para ajustar en pantallas más pequeñas si es necesario (ejemplo) */
@media (max-width: 768px) {
  #footer .footer-top {
    padding: 30px 0; /* Menos padding en móviles */
  }
}


/* Estilos para la columna de contacto */
#footer .footer-top .footer-contact {
  margin-block: 30px;
  text-align: end;
}

#footer .footer-top .footer-contact a {
  color: #00d3b8;
}


#footer .footer-top .footer-contact a:hover {
  color: #00d3b8;
}

#footer .footer-top .footer-contact h4 { /* Regla para el título "Contáctanos" */
  font-size: 16px; 
  font-weight: 600; 
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-contact p { /* Regla para el texto debajo de "Contáctanos" */
  line-height: 24px; 
  font-size: 14px; 
  color: #fff; 
  margin-bottom: 0; 
}

/* Estilo para el botón de cambio de idioma */
.navbar .btn-idioma {
  background-color: #676768; /* Un gris neutro, puedes cambiarlo */
  color: #fff !important; /* Texto blanco */
  padding: 8px 15px; /* Relleno para que parezca un botón */
  border-radius: 5px; /* Bordes redondeados */
  transition: all 0.3s ease; /* Transición suave al pasar el mouse */
  border: 1px solid #6c757d; /* Borde del mismo color */
}

.navbar .btn-idioma:hover {
  background-color: #5a6268; /* Un gris más oscuro al pasar el mouse */
  color: #fff !important;
  border-color: #5a6268;
}

/* Ajustes para pantallas pequeñas (menú móvil) */

@media (max-width: 991px) {
  .navbar .btn-idioma {
    display: block; /* Asegura que ocupe todo el ancho en el menú móvil */
    margin-top: 10px; /* Margen superior para separarlo */
    text-align: center;
  }

  #footer .footer-top .footer-contact {
  text-align: center;
}
}


/* Para pantallas muy pequeñas, quizás menos de 576px (extra small devices de Bootstrap) */
@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 1.2rem; /* Reduce el tamaño de la fuente para que quepa */
        line-height: 1.2;
        padding: 0 15px; /* Un poco de padding horizontal para que no toque los bordes */
    }
    .hero h2 {
        font-size: 1rem; /* Ajusta también el subtítulo */
        padding: 0 15px;
    }

    /* botones flotantes */
    .back-to-top, .whapp {
        right: 15px; /* Ajusta la posición si están demasiado pegados al borde o se salen */
        bottom: 15px;
        width: 45px; /* Quizás reducir un poco el tamaño si son muy grandes */
        height: 45px;
        font-size: 1.5rem;
    }
}

/* Para pantallas pequeñas a medianas (hasta 767.98px) */
@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2rem; /* Un tamaño un poco mayor para tablets */
    }
    .hero h2 {
        font-size: 1.4rem;
    }
}