* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  /* Header */
  header {
    background: white;
    color: #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo {
    height: 50px;
    width: auto;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  nav a:hover {
    color: #0038a8;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
  }
  
  /* Sections */
  section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
  }
  
  section h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .section-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .section-text {
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  /* Services Grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .service-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
  }
  
  /* Contact Section */
  #contacto {
    background: #f8f9fa;
  }
  
  .contact-info {
    text-align: center;
    margin-top: 2rem;
  }
  
  .contact-info a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
  }
  
  .contact-info a:hover {
    text-decoration: underline;
  }
  
  .contact-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
  }
  
  .cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    margin: 2rem auto;       /* centra horizontalmente */
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    display: inline-block;   /* se ajusta al texto */
    font-weight: 600;
  }
  

  /* Footer */
  footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 2rem;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .header-content {
      flex-direction: column;
      gap: 1rem;
    }
  
    nav ul {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
  
    .hero h1 {
      font-size: 2rem;
    }
  
    .section-content {
      grid-template-columns: 1fr;
    }
  
    .services-grid {
      grid-template-columns: 1fr;
    }
  }