/* ========================================
   ESTILOS UNIFICADOS PARA PÁGINAS DE TRATAMIENTOS
   Clases genéricas reutilizables - Albor Fisioterapia
   ======================================== */

/* Sección de tratamiento con fondo alternado */
.tratamiento-seccion {
  background: #fafaf8;
  padding: 60px 0;
  margin: 60px 0;
  border-radius: 12px;
}

.tratamiento-seccion:nth-child(even) {
  background: #ffffff;
}

/* Cabecera de sección numerada */
.tratamiento-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
}

.tratamiento-numero {
  font-family: 'DM Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #d0b664;
  line-height: 1;
  min-width: 80px;
  flex-shrink: 0;
}

.tratamiento-titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #3a3225;
  line-height: 1.3;
  margin: 0;
}

/* Introducción/descripción de sección */
.tratamiento-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a5347;
  margin-bottom: 30px;
}

/* Lista de items dentro de sección */
.tratamiento-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.tratamiento-lista li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5a5347;
  padding: 12px 16px;
  background: #ffffff;
  border-left: 3px solid #d0b664;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.tratamiento-lista li:hover {
  background: #fafaf8;
  border-left-color: #F08714;
  transform: translateX(5px);
}

/* Grid de beneficios/características */
.tratamientos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 50px 0;
}

.tratamiento-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px 24px 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tratamiento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.tratamiento-icon,
.tratamiento-icono {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: #d0b664;
}

.tratamiento-card h3,
.tratamiento-nombre {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #3a3225;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.tratamiento-card p,
.tratamiento-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a5347;
  margin: 0;
}

/* Grid de técnicas (específico para Fisioterapia) */
.tecnicas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.tecnica-item {
  background: #fafaf8;
  border-radius: 8px;
  padding: 24px 20px;
  transition: all 0.3s ease;
  border-left: 4px solid #d0b664;
}

.tecnica-item:hover {
  background: #ffffff;
  border-left-color: #F08714;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tecnica-numero {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #d0b664;
  margin-bottom: 10px;
  line-height: 1;
}

.tecnica-titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #3a3225;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.tecnica-descripcion {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a5347;
  margin: 0;
}


/* Bloques de contenido principal */
.tratamiento-contenido {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tratamiento-bloque-inicial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
}

.tratamiento-texto h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #3a3225;
  line-height: 1.2;
  margin: 0 0 25px 0;
}

.tratamiento-texto p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a5347;
  margin: 0 0 20px 0;
}

.tratamiento-imagen {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Imagen ancho completo entre secciones */
.tratamiento-imagen-completa {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  margin: 50px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Sección SEO con degradado */
.albor-seo-section {
  background: linear-gradient(135deg, rgba(208, 182, 100, 0.08) 0%, rgba(240, 135, 20, 0.08) 100%);
  padding: 60px 40px;
  border-radius: 12px;
  margin: 60px 0;
  text-align: center !important;
}

.hoc.albor-seo-section {
  text-align: center !important;
}

.seo-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center !important;
}

.seo-titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #3a3225;
  margin: 0 0 25px 0;
  text-align: center !important;
}

.seo-descripcion {
  max-width: 900px;
  margin: 0 auto 35px;
  text-align: center !important;
}

.seo-descripcion p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a5347;
  margin: 0 0 20px 0;
  text-align: center !important;
}

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

.seo-cta {
  text-align: center !important;
  margin-top: 35px;
}

/* Botón CTA */
.btn-contactar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #d0b664 0%, #F08714 100%);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(208, 182, 100, 0.3);
}

.btn-contactar:hover {
  background: linear-gradient(135deg, #F08714 0%, #d0b664 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(208, 182, 100, 0.4);
  color: #ffffff;
}

.btn-contactar svg {
  width: 20px;
  height: 20px;
}

/* RESPONSIVE DESIGN */

/* ========================================
   CLASES GENÉRICAS REUTILIZABLES
   ======================================== */

/* Contenedores y layout */
.contenedor-centrado {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
  font-family: 'DM Sans', sans-serif;
}

.contenedor-amplio {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: 'DM Sans', sans-serif;
}

.grid-dos-columnas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 50px 0;
}

@media screen and (max-width: 768px) {
  .grid-dos-columnas {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0;
  }
  
  .grid-dos-columnas > * {
    width: 100%;
  }
  
  .imagen-destacada {
    max-width: 100%;
  }
  
  .wrapper.row3 {
    margin-top: 40px;
  }
}

.texto-centrado {
  text-align: center;
}

.margen-inferior-50 {
  margin-bottom: 50px;
}

/* Tipografía */
.titulo-principal {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #3a3225;
  margin: 0 0 30px 0;
  line-height: 1.2;
}

.titulo-h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #3a3225;
  margin: 0 0 25px 0;
  line-height: 1.2;
}

.titulo-h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #3a3225;
  margin: 0 0 20px 0;
}

.titulo-h2-espaciado {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #3a3225;
  margin: 30px 0 15px 0;
}

.parrafo-base {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a5347;
  margin-bottom: 20px;
}

.parrafo-sin-margen {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a5347;
  margin: 0;
}

.parrafo-margen-25 {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a5347;
  margin-bottom: 25px;
}

.texto-destacado {
  color: #d0b664;
  font-weight: 600;
}

.intro-seccion {
  font-size: 1.05rem;
  color: #5a5347;
  max-width: 700px;
  margin: 0 auto;
}

.intro-amplia {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a5347;
  max-width: 800px;
  margin: 0 auto;
}

/* Imágenes */
.imagen-destacada {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.imagen-completa {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.imagen-ancho-completo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.imagen-galeria {
  width: 100%;
}

/* Slider galería */
.w3-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.w3-section {
  margin: 0 !important;
  padding: 0 !important;
}

.mySlides {
  width: 100%;
  display: block;
}

.imagen-mediana {
  width: 70%;
  height: 70%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.linea-decorativa {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #d0b664 0%, #F08714 100%);
  margin: 0 auto 40px;
  border-radius: 2px;
}

/* Mapas y iframes */
.mapa-responsive {
  border: 0;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 700px;
  height: 500px;
}

/* Wrappers con fondos */
.fondo-blanco {
  background-color: #fff;
}

.fondo-alterno {
  background-color: #fafaf8;
}

.padding-60 {
  padding: 60px 20px;
}

.padding-70 {
  padding: 70px 20px;
}

.padding-cero {
  padding: 0;
  margin: 0;
}

.margen-superior-30 {
  margin-top: 30px;
}

/* ========================================
   FIN CLASES GENÉRICAS
   ======================================== */

/* ========================================
   HEADER PROFESIONAL
   ======================================== */

.wrapper.row0 {
  width: 100%;
  display: none;
}

@media (min-width: 768px) {
  .wrapper.row0 {
    display: block;
  }
}

#topbar {
  background: #3a3225;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 15px 50px;
  border-radius: 0px 0px 8px 8px;
}

#topbar ul li {
  color: #f5f3ef;
}

#topbar ul li i {
  color: #d0b664;
  margin-right: 8px;
}

.wrapper.row1 {
  width: 100%;
}

#header {
  font-family: 'DM Sans', sans-serif;
  padding-top: 25px;
  padding-bottom: 20px;
}

#logo {
  padding-top: 10px;
}

#mainav ul li a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

#mainav ul li a:hover {
  color: #F08714;
}

#mainav ul li.active a {
  color: #3a3225;
  font-weight: 700;
  background-color: #d0b664;
  padding: 8px 16px;
  border-radius: 4px;
}

.btn-talleres-especial {
  color: #3a3225 !important;
  background-color: #f5f3ef;
  padding: 5px 12px !important;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid #d0b664;
}

.btn-talleres-especial:hover {
  background-color: #d0b664 !important;
  color: #ffffff !important;
  border-color: #d0b664;
}

/* ========================================
   FOOTER
   ======================================== */

.wrapper.row4 {
  width: 100%;
}

#footer {
  background: #3a3225;
  color: #f5f3ef;
  font-family: 'DM Sans', sans-serif;
  padding: 70px 50px 50px;
}

#footer .heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #d0b664;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #d0b664;
  padding-bottom: 10px;
  display: inline-block;
}

#footer nav ul li {
  margin-bottom: 14px;
}

#footer nav ul li a {
  color: #f5f3ef;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-weight: 400;
  display: inline-block;
}

#footer nav ul li a:hover {
  color: #d0b664;
  transform: translateX(5px);
}

#footer .contact li {
  color: #f5f3ef;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.7;
}

#footer .contact li i {
  color: #d0b664;
  margin-right: 12px;
  font-size: 1.1rem;
  width: 20px;
  display: inline-block;
}

#footer .contact address {
  color: #f5f3ef;
  font-style: normal;
  line-height: 1.7;
}

.horario-label {
  font-weight: 700;
  color: #d0b664;
  margin-bottom: 18px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#footer .contact li {
  display: flex;
  align-items: flex-start;
}

.redes {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(208, 182, 100, 0.3);
}

#sociales ul {
  display: flex;
  gap: 10px;
  align-items: center;
}

#sociales ul li {
  display: inline-block;
  margin-right: 0;
}

#sociales ul li a {
  display: block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
}

#sociales ul li img {
  max-width: 70px;
  height: auto;
}

.wrapper.row5 {
  width: 100%;
}

#copyright {
  background: #2d2620;
  color: #f5f3ef;
  font-family: 'DM Sans', sans-serif;
  padding: 25px 50px;
  font-size: 0.9rem;
}

#copyright a {
  color: #d0b664;
  font-weight: 500;
  transition: color 0.3s ease;
}

#copyright a:hover {
  color: #F08714;
}

/* Botón WhatsApp */
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp i {
  color: white;
  font-size: 2rem;
}

/* Botón Back to Top */
#backtotop {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9998;
  background: #d0b664;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(208, 182, 100, 0.4);
  transition: all 0.3s ease;
}

#backtotop:hover {
  background: #F08714;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(208, 182, 100, 0.6);
}

#backtotop i {
  color: white;
  font-size: 1.2rem;
}

/* ========================================
   FIN HEADER Y FOOTER
   ======================================== */

/* RESPONSIVE DESIGN */

/* Tablets */
@media screen and (max-width: 900px) {
  .tratamientos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .tecnicas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .tratamiento-bloque-inicial {
    gap: 40px;
  }
  
  .tratamiento-texto h1 {
    font-size: 2.4rem;
  }
  
  .tratamiento-numero {
    font-size: 3rem;
    min-width: 60px;
  }
  
  .tratamiento-titulo {
    font-size: 1.7rem;
  }
}

@media screen and (max-width: 750px) {
  .tratamientos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 15px;
  }
  
  .tecnicas-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .tratamiento-bloque-inicial {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tratamiento-texto h1 {
    font-size: 2.2rem;
  }
  
  .tratamiento-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .tratamiento-numero {
    font-size: 2.5rem;
  }
  
  .tratamiento-titulo {
    font-size: 1.5rem;
  }
  
  .tratamiento-intro {
    font-size: 1rem;
  }
  
  .albor-seo-section {
    padding: 40px 25px;
  }
  
  .seo-titulo {
    font-size: 1.7rem;
  }
}

/* Móviles */
@media screen and (max-width: 600px) {
  .tratamientos-grid {
    grid-template-columns: 1fr !important;
    max-width: 100%;
    margin: 0;
    gap: 20px;
    padding: 0 20px;
  }
  
  .tratamiento-card {
    padding: 32px 24px 28px;
  }
  
  .tratamiento-texto h1 {
    font-size: 1.8rem !important;
  }
  
  .tratamiento-seccion {
    padding: 40px 15px;
  }
  
  .tratamiento-numero {
    font-size: 2rem;
  }
  
  .tratamiento-titulo {
    font-size: 1.3rem;
  }
  
  .seo-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  
  .albor-seo-section {
    padding: 35px 20px;
    margin: 40px 0;
  }
}

@media screen and (max-width: 480px) {
  .tratamiento-lista {
    grid-template-columns: 1fr;
  }
  
  .tratamiento-contenido {
    padding: 0 15px;
  }
}

/* ========================================
   ESTILOS PARA FOOTER
   ======================================== */

#footer .heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #d0b664;
  margin-bottom: 20px;
  text-transform: none;
}

#footer nav ul li {
  line-height: 1.8;
}

#footer nav ul li a {
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

#footer nav ul li a:hover {
  color: #d0b664;
}

#footer .linklist.contact li {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

#footer .linklist.contact li i {
  color: #d0b664;
  margin-right: 8px;
}

#footer .horario-label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #3a3225;
  font-family: 'DM Sans', sans-serif;
}

#copyright p {
  font-size: 0.9rem;
  color: #5a5347;
}

#copyright p a {
  color: #d0b664;
  font-weight: 500;
  transition: color 0.3s ease;
}

#copyright p a:hover {
  color: #F08714;
}
