body {
  background: #0b0f1a;
  color: #e5e7eb;
  font-family: "Segoe UI", sans-serif;
}

/* NAV */
.glass-nav {
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(10px);
}

/* HERO */
.hero-section {
  min-height: 100vh;
  position: relative;
  background-image: url("./assets/fondo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 120px;
  overflow: hidden;
}
/* Overlay elegante para legibilidad */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 15, 26, 0.92),
    rgba(11, 15, 26, 0.75)
  );
  z-index: 1;
}

/* Elevar contenido sobre la imagen */
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero-title span {
  color: #7dd3fc;
}

.hero-text {
  max-width: 600px;
  font-size: 1.2rem;
  color: #dbeafe;
}

/* SECTIONS */
.section {
  padding: 90px 0;
}

.section-dark {
  background: #050812;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #94a3b8;
}

/* SERVICES */
.service-card {
  background: #111827;
  padding: 30px;
  border-radius: 12px;
  height: 100%;
  border: 1px solid #1e293b;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #7dd3fc;
}

.service-card h5 {
  color: #7dd3fc;
  margin-bottom: 15px;
}

.service-icon {
  font-size: 3.2rem;
  color: #7dd3fc;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover .service-icon {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

/* EMPRESA MISION Y VISION */
.empresa-slide {
  max-width: 800px;
  margin: auto;
  padding: 40px 20px;
}

.empresa-slide h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.empresa-slide p {
  font-size: 1.15rem;
  color: #cbd5f5;
  line-height: 1.8;
}

.empresa-icon {
  font-size: 3.5rem;
  color: #7dd3fc;
  margin-bottom: 25px;
}

/* Suavizar controles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(1.5);
}

/* COMPANY */
.company-text {
  max-width: 750px;
  margin: auto;
  font-size: 1.1rem;
  color: #cbd5f5;
}

/* CONTACT */
.contact-section {
  position: relative;
  background-image: url("./assets/contacto.jpg");
  background-size: cover;
  background-position: center;
}

/* Overlay */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 18, 0.88);
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

/* Card del formulario */
.contact-card {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Inputs */
.contact-card .form-control {
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #ffffff;
}

.contact-card .form-control::placeholder {
  color: #94a3b8;
}

.contact-card .form-control:focus {
  border-color: #7dd3fc;
  box-shadow: none;
  background: #0f172a;
  color: #fff;
}

.contact-info p {
  font-size: 1.1rem;
}

/* FOOTER */
.footer-premium {
  background: #050812;
  padding: 70px 0 30px;
  color: #cbd5f5;
}

.footer-text {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 320px;
}

.footer-title {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #e5e7eb;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #94a3b8;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #7dd3fc;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 40px 0 20px;
}

.footer-bottom {
  font-size: 0.85rem;
  color: #64748b;
}

/* =========================
   RESPONSIVE - MOBILE FIRST
   ========================= */

@media (max-width: 991px) {
  /* NAV */
  .navbar-brand img {
    height: 60px;
  }

  .navbar-nav {
    text-align: center;
    padding-top: 20px;
  }

  .navbar-nav .btn {
    width: 100%;
  }

  /* HERO */
  .hero-section {
    padding-top: 140px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-text {
    font-size: 1.05rem;
    margin: 0 auto;
  }

  .hero-section .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  /* SECTIONS */
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* SERVICES */
  .service-card {
    padding: 25px;
  }

  .service-icon {
    font-size: 2.8rem;
  }

  /* EMPRESA */
  .empresa-slide {
    padding: 20px 15px;
  }

  .empresa-slide h3 {
    font-size: 1.6rem;
  }

  .empresa-slide p {
    font-size: 1.05rem;
  }

  /* CONTACT */
  .contact-card {
    padding: 25px;
  }

  .contact-info {
    text-align: center;
    margin-top: 30px;
  }
}

/* =========================
   EXTRA SMALL DEVICES
   ========================= */

@media (max-width: 576px) {
  body {
    font-size: 0.95rem;
  }

  /* HERO */
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-text {
    font-size: 1rem;
  }

  /* TITLES */
  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* FOOTER */
  .footer-premium {
    text-align: center;
  }

  .footer-text {
    margin: 0 auto 20px;
  }

  .footer-links {
    margin-bottom: 20px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}
