:root {
  --primary: #2563eb;
  --dark: #0f172a;
  --bg: #f8fafc;
}

/* RESET */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--dark);
}

a { text-decoration: none; color: inherit; }

.about-us {
  background: linear-gradient(180deg, #0b0f1a, #0f172a);
  padding: 80px 20px;
  color: #e5e7eb;
  margin-bottom: 30px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-us h2 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.about-us p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 22px;
  color: #d1d5db;
}

.about-us p:last-child {
  margin-bottom: 0;
}

.about-highlight {
  margin-top: 35px;
  padding-left: 18px;
  border-left: 4px solid #38bdf8;
  font-weight: 500;
  color: #f8fafc;
}


/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  padding: 20px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

.nombreEmpresa {
  color: orange;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.btn-outline {
  border: 2px solid var(--primary);
  padding: 10px 20px;
  border-radius: 24px;
  color: var(--primary);
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--dark);
}

/* HERO */
.hero {
  position: relative;
  padding: 140px 8% 120px;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-bg.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37,99,235,.6),
    rgba(15,23,42,.6)
  );
}

.hero-content {
  position: relative;
  max-width: 700px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 14px 28px;
  border-radius: 30px;
  min-width: 220px;
  text-align: center;
}

.btn-primary {
  background: white;
  color: var(--primary);
  border: none;
}

.btn-secondary {
  border: 2px solid white;
  color: white;
}

/* SECCIONES */
.section {
  padding: 80px 8%;
  text-align: center;
}

.section-dark {
  background: var(--dark);
  color: white;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 16px;
}

/* FORM */
form {
  max-width: 500px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input, textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
}

/* FOOTER */
.footer {
  padding: 40px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 30px 0;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .3s;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero { text-align: center; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 767px) {
  .hero-actions {
    flex-direction: column;
  }

  .logo{
    font-size: 16px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }
}
