/* Estilos adicionales para la página Home */

/* Hero section mejorado */
.hero {
  background-color: var(--color-beige);
  padding: 12rem 0 8rem;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05));
}

.hero h1 {
  color: #fff;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-btn {
  margin-top: 1rem;
  border-color: #fff;
  color: #fff;
  padding: 1rem 2.5rem;
}

.hero-btn:hover {
  background-color: #fff;
  color: var(--color-beige);
}

/* About section mejorado */
.about {
  background-color: var(--color-beige-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
}

.about-img {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.about-content {
  flex: 1;
  padding: 4rem;
  min-width: 300px;
  background-color: var(--color-beige-light);
}

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

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

/* Treatments section mejorado */
.treatments {
  background-color: #fff;
  padding: 6rem 0;
}

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

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

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.treatment-img {
  height: 250px;
  overflow: hidden;
}

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

.treatment-card:hover .treatment-img img {
  transform: scale(1.05);
}

.treatment-content {
  padding: 2rem;
  text-align: center;
}

.treatment-content h3 {
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.treatment-content p {
  margin-bottom: 1.5rem;
  color: var(--color-text);
  opacity: 0.9;
}

.treatment-content .btn {
  margin-top: 0.5rem;
}

/* Results section mejorado */
.results {
  background-color: var(--color-beige);
  color: #fff;
  text-align: center;
  padding: 6rem 0;
}

.results h2 {
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.3;
}

.results p {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

/* Clinic section mejorado */
.clinic {
  background-color: var(--color-beige-light);
  padding: 6rem 0;
  text-align: center;
}

.clinic-content {
  max-width: 800px;
  margin: 0 auto;
}

.clinic-content p {
  margin-bottom: 2rem;
}

/* Testimonials section mejorado */
.testimonials {
  background-color: #fff;
  padding: 6rem 0;
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  background-color: var(--color-beige-light);
  padding: 2rem;
  border-radius: 4px;
  max-width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--color-beige);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  opacity: 0.3;
}

.testimonial-author {
  font-weight: 500;
  text-align: right;
}

/* Media queries para la página Home */
@media (max-width: 992px) {
  .hero {
    padding: 10rem 0 6rem;
  }
  
  .about-content {
    padding: 3rem;
  }
  
  .treatments-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 8rem 0 5rem;
  }
  
  .about {
    flex-direction: column;
  }
  
  .about-img, .about-content {
    width: 100%;
  }
  
  .about-content {
    padding: 3rem 2rem;
  }
  
  .treatment-img {
    height: 200px;
  }
  
  .testimonials-slider {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .about-content {
    padding: 2rem 1.5rem;
  }
  
  .treatment-content {
    padding: 1.5rem;
  }
}

/* Estilos para la sección de tratamientos actualizada */
.treatments-header {
  position: relative;
  margin-bottom: 4rem;
}

.treatments-header .section-title {
  margin-bottom: 0;
  padding-right: 380px; /* Espacio para el bocadillo */
}

.novelty-badge {
  position: absolute;
  top: 60px; /* Posicionado debajo del título */
  right: 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px solid var(--color-green);
  border-radius: 15px;
  padding: 1.5rem;
  max-width: 350px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.novelty-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.novelty-content h4 {
  color: var(--color-green);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.metagym-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.novelty-content p {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

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

.novelty-content a {
  color: var(--color-green);
  text-decoration: underline;
  font-weight: 500;
}

.novelty-content a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.novelty-content strong {
  color: #222;
}

.treatments-intro {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.treatments-intro p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.treatments-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.treatments-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text);
}

.treatments-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
}

/* Responsive para el bocadillo de novedad */
@media (max-width: 768px) {
  .treatments-header .section-title {
    padding-right: 0; /* Quitar padding en móvil */
  }
  
  .novelty-badge {
    position: static;
    max-width: 100%;
    margin-bottom: 2rem;
  }
  
  .treatments-header {
    margin-bottom: 2rem;
  }
  
  .novelty-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .metagym-logo {
    height: 25px;
  }
}

@media (max-width: 480px) {
  .novelty-badge {
    padding: 1rem;
  }
  
  .novelty-content h4 {
    font-size: 1.1rem;
  }
  
  .novelty-content p {
    font-size: 0.85rem;
  }
  
  .metagym-logo {
    height: 20px;
  }
}

