/* Estilos adicionales para optimización responsive */

/* Ajustes generales para dispositivos móviles */
@media (max-width: 768px) {
  /* Ajustes de tipografía */
  body {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  /* Ajustes de espaciado */
  .section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  /* Ajustes para formularios */
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-control {
    padding: 0.7rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
  }
  
  /* Ajustes para grids */
  .press-grid,
  .team-grid,
  .treatments-grid,
  .values-grid,
  .services-grid,
  .other-treatments-grid,
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Ajustes para secciones específicas */
  .about-us .container,
  .treatment-detail-grid,
  .contact-grid,
  .appointment-grid {
    flex-direction: column;
  }
  
  .about-us-content,
  .about-us-image,
  .treatment-detail-content,
  .treatment-detail-img,
  .contact-info,
  .contact-form-container,
  .appointment-info,
  .appointment-form-container {
    width: 100%;
  }
  
  /* Ajustes para testimonios */
  .testimonials-slider {
    flex-direction: column;
  }
  
  .testimonial {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  /* Ajustes para pasos de proceso */
  .process-steps,
  .steps-container,
  .appointment-steps {
    flex-direction: column;
  }
  
  .process-step,
  .step {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  /* Ajustes para filosofía */
  .philosophy-pillars {
    flex-direction: column;
  }
  
  .philosophy-pillar {
    width: 100%;
    margin-bottom: 1.5rem;
  }
}

/* Ajustes para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Ajustes de tipografía */
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  /* Ajustes para grids */
  .press-grid,
  .team-grid,
  .treatments-grid,
  .values-grid,
  .services-grid,
  .other-treatments-grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Ajustes para secciones específicas */
  .about-us .container,
  .treatment-detail-grid {
    gap: 2rem;
  }
  
  /* Ajustes para testimonios */
  .testimonials-slider {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .testimonial {
    width: calc(50% - 1rem);
    margin-bottom: 2rem;
  }
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 480px) {
  /* Ajustes de tipografía */
  body {
    font-size: 14px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  /* Ajustes de espaciado */
  .section {
    padding: 2.5rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  /* Ajustes para botones */
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
  
  /* Ajustes para header */
  .logo a {
    font-size: 1.5rem;
  }
  
  .logo img {
    height: 30px;
  }
  
  /* Ajustes para hero */
  .hero, .page-hero {
    padding: 6rem 0 3rem;
  }
  
  /* Ajustes para formularios */
  .form-control {
    padding: 0.6rem;
  }
  
  /* Ajustes para FAQ */
  .faq-question {
    font-size: 1.1rem;
  }
}

/* Ajustes para pantallas grandes */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  body {
    font-size: 17px;
  }
  
  h1 {
    font-size: 4rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  h3 {
    font-size: 2rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Ajustes para orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
  .hero, .page-hero {
    padding: 5rem 0 2rem;
  }
  
  .nav-menu {
    padding: 1rem;
  }
  
  .nav-menu li {
    margin: 0.8rem 0;
  }
}

/* Ajustes para impresión */
@media print {
  header, footer, .cta, .newsletter-section {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  
  img {
    max-width: 100% !important;
  }
}
