/* Estilos para páginas secundarias */

/* Hero de página */
.page-hero {
  background-color: var(--color-beige);
  padding: 10rem 0 4rem;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 300;
}

.page-hero p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Sección Quienes Somos */
.about-us {
  padding: 5rem 0;
  background-color: #fff;
}

.about-us .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.about-us-content {
  flex: 1;
  min-width: 300px;
}

.about-us-content h2 {
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.about-us-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-us-image {
  flex: 1;
  min-width: 300px;
}

.about-us-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sección Equipo */
.team {
  background-color: var(--color-beige-light);
  padding: 5rem 0;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  color: var(--color-text);
  opacity: 0.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member-img {
  height: 300px;
  overflow: hidden;
}

.team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-member-img img {
  transform: scale(1.05);
}

.team-member-info {
  padding: 2rem;
}

.team-member-info h3 {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.team-member-role {
  color: var(--color-beige-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Sección Filosofía */
.philosophy {
  background-color: #fff;
  padding: 5rem 0;
}

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

.philosophy-content h2 {
  margin-bottom: 1.5rem;
}

.philosophy-content > p {
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.philosophy-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.philosophy-pillar {
  flex: 1;
  min-width: 250px;
  padding: 2rem;
  background-color: var(--color-beige-light);
  border-radius: 4px;
  text-align: center;
  transition: transform 0.3s ease;
}

.philosophy-pillar:hover {
  transform: translateY(-5px);
}

.philosophy-pillar i {
  font-size: 2.5rem;
  color: var(--color-beige);
  margin-bottom: 1.5rem;
}

.philosophy-pillar h3 {
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Sección Valores */
.values {
  background-color: var(--color-beige-light);
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  background-color: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.value-item h3 {
  margin-bottom: 1rem;
  color: var(--color-beige-dark);
  font-weight: 500;
}

/* Sección CTA */
.cta {
  background-color: var(--color-beige);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}

.cta h2 {
  margin-bottom: 1rem;
  color: #fff;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta .btn-primary {
  background-color: #fff;
  border-color: #fff;
  color: var(--color-beige);
}

.cta .btn-primary:hover {
  background-color: transparent;
  color: #fff;
}

/* Media queries */
@media (max-width: 992px) {
  .page-hero {
    padding: 8rem 0 3rem;
  }
  
  .about-us .container {
    flex-direction: column;
  }
  
  .about-us-content, .about-us-image {
    width: 100%;
  }
  
  .philosophy-pillars {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 7rem 0 3rem;
  }
  
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  .team-grid, .values-grid {
    grid-template-columns: 1fr;
  }
  
  .philosophy-pillar {
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  .page-hero {
    padding: 6rem 0 2.5rem;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .team-member-img {
    height: 250px;
  }
}

/* Estilos para las unidades de tratamiento */
.treatment-unit {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.treatment-unit h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.treatment-unit h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.unit-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.weight-loss-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.weight-loss-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.weight-loss-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Ajustes para las imágenes de tratamientos */
.treatment-detail-img img {
    width: 100%;
    max-width: 400px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Responsive para imágenes de tratamientos */
@media (max-width: 768px) {
    .treatment-detail-img img {
        max-width: 100%;
        height: 220px;
    }
}


/* Estilos para la alianza con Metagym */
.metagym-alliance {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.novedad-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), #20b2aa);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.metagym-logo {
    width: 40px;
    height: auto;
    border-radius: 5px;
    background: white;
    padding: 2px;
}

.metagym-services {
    margin-top: 1.5rem;
}

.metagym-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.metagym-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 25px;
}

.metagym-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.metagym-list li:last-child {
    border-bottom: none;
}

.metagym-coordination {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1.5rem;
}

.metagym-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: center;
    margin: 1rem 0 0 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

/* Responsive para la sección de Metagym */
@media (max-width: 768px) {
    .novedad-badge {
        position: static;
        margin-bottom: 1.5rem;
        align-self: flex-start;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .metagym-alliance {
        padding-top: 1rem;
    }
    
    .metagym-logo {
        width: 35px;
    }
    
    .treatment-unit {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .treatment-unit h3 {
        font-size: 1.3rem;
    }
    
    .weight-loss-info {
        padding: 1rem;
    }
}


/* Estilos para reproductores de audio y video */
.audio-player {
    width: 100%;
    max-width: 500px;
    margin-top: 15px;
    border-radius: 8px;
    outline: none;
}

.audio-player::-webkit-media-controls-panel {
    background-color: var(--primary-color);
}

.video-player {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

/* Estilos para la sección de artículos */
.articles-section {
    background-color: #f8f9fa;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.article-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.btn-download i {
    font-size: 1.1rem;
}

/* Ajustes para videos */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.video-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.video-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.video-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-item,
    .video-item {
        padding: 20px;
    }
    
    .audio-player {
        max-width: 100%;
    }
    
    .video-player {
        max-width: 100%;
    }
}


/* Ajuste específico para la imagen del Dr. Alejandro Acuña */
.team-member-img img[alt="Dr. Alejandro Acuña"] {
    object-position: center center;
    object-fit: cover;
    transform: scale(1.0);
}

.team-member:hover .team-member-img img[alt="Dr. Alejandro Acuña"] {
    transform: scale(1.05);
}



/* Estilos para la sección de videos separadores */
.video-separator {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.video-separator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-separator-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-separator-item video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Responsive para videos separadores */
@media (max-width: 992px) {
    .video-separator-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .video-separator-item video {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .video-separator {
        padding: 2rem 0;
    }
    
    .video-separator-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-separator-item video {
        height: 200px;
    }
}



/* Estilos para el botón CTA de Metagym */
.metagym-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.btn-metagym-plan {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #20b2aa);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1.4;
}

.btn-metagym-plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #20b2aa, var(--primary-color));
}

.btn-metagym-plan:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.3);
}

/* Responsive para el botón de Metagym */
@media (max-width: 768px) {
    .btn-metagym-plan {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .metagym-cta {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
}

