/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  /* Contenedor centralizado */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Separador genérico para secciones */
  .section-separator {
    width: 80%;
    height: 2px;
    background-color: #ccc;
    margin: 3rem auto;
  }
  
  /* Navbar */
  .navbar {
    background: #2c3e50;
    padding: 1rem 0;
  }
  
  .logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .nav-links li {
    margin-left: 2rem;
  }
  
  .nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #f39c12;
  }
  
  /* Sección Hero */
  .hero {
    position: relative;
    background: url('hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 4rem 0;
  }
  
  /* Overlay opcional para mejorar contraste */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 1;
  }
  
  .hero > .container {
    position: relative;
    z-index: 2;
  }
  
  .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background: #e67e22;
  }
  
  /* Secciones de Contenido */
  .services, .about, .testimonials, footer {
    padding: 4rem 0;
    text-align: center;
  }
  
  /* Agregamos un pequeño separador superior e inferior a cada sección */
  .services:before,
  .about:before,
  .testimonials:before,
  footer:before {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #f39c12;
    margin: 0 auto 2rem;
  }
  
  /* Títulos de secciones */
  .services h2, .about h2, .testimonials h2, footer h2 {
    margin-bottom: 2rem;
  }
  
  /* Grid de Servicios */
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  
  .service-item {
    background: #ecf0f1;
    padding: 2rem;
    border-radius: 10px;
    width: 300px;
    transition: transform 0.3s;
    position: relative;
  }
  
  .service-item:hover {
    transform: translateY(-10px);
  }
  
  .service-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f39c12;
  }
  
  /* Espacio para imágenes de muestra (placeholder) */
  .placeholder-image {
    width: 100%;
    height: 200px;
    background: #bdc3c7;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 5px;
    margin: 1rem 0;
  }
  
  /* Sección Acerca de */
  .about p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  /* Testimonios */
  .testimonial-slider {
    position: relative;
    overflow: hidden;
  }
  
  .testimonial {
    display: none;
  }
  
  .testimonial.active {
    display: block;
  }
  
  .testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
  }
  
  .slider-controls {
    margin-top: 1rem;
  }
  
  .slider-controls span {
    font-size: 2rem;
    margin: 0 1rem;
    cursor: pointer;
    user-select: none;
  }
  
  /* Formulario de Contacto */
  #contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
  }
  
  #contact-form input,
  #contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  #contact-form button {
    border: none;
    cursor: pointer;
    background: #f39c12;
    color: #fff;
    padding: 0.8rem;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  #contact-form button:hover {
    background: #e67e22;
  }
  
  /* Pie de Página */
  footer p {
    margin-top: 1rem;
    font-size: 0.9rem;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .services-grid {
      flex-direction: column;
      align-items: center;
    }
    
    .nav-links {
      flex-direction: column;
      margin-top: 1rem;
    }
    
    .nav-links li {
      margin: 0.5rem 0;
    }
  }
  