@font-face {
    font-family: 'Font Awesome Brands';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/fa-brands-400.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome Solid';
    font-style: normal;
    font-weight: 900;
    src: url('../webfonts/fa-solid-900.woff2') format('woff2');
    font-display: swap;
}
/* Variables de diseño */
    :root {
      --primary: #0056b3;  /* Azul IT */
      --primary-light: #007bff; /* Azul IT claro */
      --secondary: #28a745; /* Verde energía */
      --dark: #333;
      --light: #f8f9fa;
      --white: #ffffff;
  }
  
  /* Reset y estilos base */
  * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
  }
  
  body {
      margin: 0 auto; 
      width: 80%;
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--dark);
      background-color: var(--white);
  }
  
  a {
      text-decoration: none;
      color: inherit;
  }
  
  img {
      max-width: 100%;
      height: auto;
  }
  
  /* Header principal */
  .main-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      background-color: var(--white);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      top: 0;
      position: sticky;
      z-index: 100;
  }
  @media (max-width: 960px) {
     body {
          width: 100%;
         
      }
      .main-header {
          position: inherit;
      }
  }
  .logo img {
      height: 50px;
      width: auto;
  }
  .logo h1 {
      font-size: 2rem;
      color: var(--primary);
  }
  .logo a h1:hover {
    color: var(--primary-light);
}
  nav ul {
      display: flex;
      list-style: none;
      color: var(--primary);
  }
  
  nav ul li {
      margin-left: 2rem;
  }
  
  nav ul li a {
      font-weight: 600;
      transition: color 0.3s;
  }
  
  nav ul li a:hover {
      color: var(--primary-light);
  }
  
  /* Hero Section */
  header.hero {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/logohero.avif') no-repeat center center;
      background-size: cover;
      background-position: center;
      color: var(--white);
      padding: 8rem 2rem;
      text-align: center;
  }
  
  .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
      line-height: 1.2;
  }
  
  .hero p {
      font-size: 1.2rem;
      margin-bottom: 2.5rem;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
  }
  
  .btn {
      display: inline-block;
      padding: 0.8rem 2rem;
      background: var(--secondary);
      color: var(--white);
      border-radius: 5px;
      font-weight: bold;
      transition: all 0.3s;
      border: 2px solid transparent;
  }
  
  .btn:hover {
      background: transparent;
      border-color: var(--secondary);
      transform: translateY(-3px);
  }

  .btnsolicitud {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--secondary);
    color: var(--white);
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btnsolicitud:hover {
    background: transparent;
    border-color: var(--secondary);
    transform: translateY(-3px);
    color: var(--dark);
}
  
  /* Servicios */
  .services {
      padding: 5rem 2rem;
      text-align: center;
      background-color: var(--light);
  }
  
  .services h2 {
      font-size: 2rem;
      margin-bottom: 3rem;
      color: var(--primary);
      position: relative;
      display: inline-block;
  }
  
  .services h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background-color: var(--secondary);
  }
  
  .service-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
  }
  
  .service-card {
      background: var(--white);
      border-radius: 10px;
      padding: 2rem;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: all 0.3s;
  }
  
  .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .service-card i {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 1.5rem;
  }
  
  .service-card h3 {
      margin-bottom: 1rem;
      color: var(--primary);
  }
  
  /* Clientes */
  .clients {
      padding: 5rem 2rem;
      text-align: center;
      background-color: var(--white);
  }
  
  .clients h2 {
      font-size: 2rem;
      margin-bottom: 3rem;
      color: var(--primary);
      position: relative;
      display: inline-block;
  }
  
  .clients h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background-color: var(--secondary);
  }
  
  .client-slider {
      width: 100%;
      overflow: hidden;
      margin: 3rem 0;
  }
  
  .client-track {
      display: inline-block;
      white-space: nowrap;
      animation: scroll 20s linear infinite;
  }
  
  .client-logo {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 0 1.5rem;
      font-weight: bold;
      font-size: 1.1rem;
      color: var(--primary);
      padding: 1rem 2rem;
      background: var(--light);
      border-radius: 50px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      height: 60px;
  }
  
  @keyframes scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
  }
  
  /* Contacto */
  .contact {
      padding: 5rem 2rem;
      text-align: center;
      background-color: var(--light);
  }
  
  .contact h2 {
      font-size: 2rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
      position: relative;
      display: inline-block;
  }
  
  .contact h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background-color: var(--secondary);
  }
  
  .contact p {
      margin-bottom: 2rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
  }
  
  .contact-form {
      max-width: 500px;
      margin: 0 auto;
      text-align: left;
  }
  
  .contact-form label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 600;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
      width: 100%;
      padding: 0.8rem;
      margin-bottom: 1.5rem;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-family: inherit;
  }
  
  .contact-form button {
      width: 100%;
      cursor: pointer;
  }
  
  /* Footer */
  footer {
      background: var(--dark);
      color: var(--white);
      text-align: center;
      padding: 3rem 2rem;
  }
  
  .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      text-align: left;
  }
  
  .footer-column h3 {
      color: var(--white);
      margin-bottom: 1.5rem;
      font-size: 1.2rem;
  }
  
  .footer-column ul {
      list-style: none;
  }
  
  .footer-column ul li {
      margin-bottom: 0.8rem;
  }
  
  .footer-column ul li a:hover {
      color: var(--secondary);
  }
  
  .social-icons {
      margin: 2rem 0;
  }
  
  .social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      margin: 0 0.5rem;
      transition: all 0.3s;
  }
  
  .social-icons a:hover {
      background: var(--secondary);
      transform: translateY(-3px);
  }
  
  .copyright {
      margin-top: 2rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
      .main-header {
          flex-direction: column;
          padding: 1rem;
      }
      
      .logo {
          margin-bottom: 1rem;
      }
      
      nav ul {
          flex-wrap: wrap;
          justify-content: center;
      }
      
      nav ul li {
          margin: 0 1rem 0.5rem;
      }
      
      .hero h1 {
          font-size: 2rem;
      }
      
      .service-grid {
          grid-template-columns: 1fr;
      }
  }