/* GENERAL */
:root {
  --color-primario: #1E3A5F;     /* azul acero corporativo */
  --color-secundario: #B7410E;  /* amarillo maquinaria */
  --fondo: #F4F4F4;      /* gris claro técnico */
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--fondo);
  color: #333;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* NAV */
.navbar {
  position: sticky;
  top: 0;
  background: var(--color-primario);
  padding: 1rem 5%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 4px 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: transform .3s ease, box-shadow .3s ease;
}
.logo-container:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}
.logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.links {
  display: flex;
  gap: 1.5rem;
}
.links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.links a:hover {
  text-decoration: underline;
}
.cta {
  background: var(--color-secundario);
  padding: .5rem 1rem;
  border-radius: 6px;
}
.call-number {
  display: none;
  position: absolute;
  top: 80px;
  right: 20px;
  background: #1E3A5F;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}
.call-number.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}




/* Hamburguesa (solo móvil) */
.hamburger {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background: var(--color-primario);
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* SECCIÓN TRABAJA */
.trabaja {
  background: #fff;
  padding: 4rem 2rem;
  text-align: center;
}
.trabaja h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0a2a43;
}
.trabaja p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* FORMULARIO */
.formulario {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.campo {
  margin-bottom: 1.5rem;
}
.campo label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.campo input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* BOTÓN */
.boton {
  background: #0a2a43;
  color: #fff;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.boton:hover {
  background: #1c4765;
}

/* FOOTER */
.footer {
  background: #0a2a43;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}
