/* ====== ESTILOS GENERALES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: #f4f6f9;
  color: #333;
}

/* ====== HEADER ====== */
header {
  background: #0f112b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: relative;
  z-index: 1000; /* asegura que el nav quede sobre el hero */
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-header img {
  height: 55px;
}

.logo-header h1 {
  font-size: 1.5rem;
  color: #00c4ff;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1100; /* menú siempre sobre hero */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color .3s;
}

nav ul li a:hover {
  color: #00c3ff;
}

/* SUBMENÚ */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #001a33;
  min-width: 180px;
  display: none;
  flex-direction: column;
  border-radius: 6px;
  padding: 10px 0;
  z-index: 1200; /* 🔹 ahora sí aparece sobre hero */
}

.submenu li a {
  padding: 10px 16px;
}

nav ul li:hover > .submenu {
  display: flex;
}

/* BOTONES */
.nav-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-login {
  background: #0095c8;
  color: white;
}

.btn-login:hover {
  background: #007ba3;
}

.btn-register {
  background: #d4a100;
  color: black;
}

.btn-register:hover {
  background: #b78900;
}

.toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}


/* ====== HERO (encabezado interno) ====== */
.hero {
  background: #1a1a2e;
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-bottom: 5px solid #00c4ff;
}

.hero h1 {
  font-size: 2.5rem;
  color: #00c4ff;
}

.hero p {
  font-size: 1.2rem;
  color: #ddd;
}

/* ====== SECCIÓN MISIÓN Y VISIÓN ====== */
.mision-vision {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mision,
.vision {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.mision:hover,
.vision:hover {
  transform: translateY(-6px);
}

.mision h2,
.vision h2 {
  color: #1a1a2e;
  margin-bottom: 15px;
  border-left: 5px solid #00c4ff;
  padding-left: 10px;
}

.mision p,
.vision p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ====== FOOTER ====== */
.footer {
  background: #0a1128;
  color: #fff;
  padding: 50px 20px 25px;
  margin-top: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo img {
  width: 60px;
  filter: brightness(0) invert(1);
}

.footer-logo h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #fff;
}

.footer-logo p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-contact h4,
.footer-admin h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #00c3ff;
}

.footer-contact p {
  margin: 6px 0;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.btn-whatsapp {
  display: inline-block;
  margin-top: 10px;
  background: #25d366;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.footer-admin ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.footer-admin li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.phone-box {
  display: inline-block;
  background: #00b4d8;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer hr {
  border: 0.5px solid rgba(255,255,255,0.15);
  margin: 25px 0;
  width: 100%;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom .highlight {
  color: #f4a300;
  font-weight: 700;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #1a1a2e;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
  }

  nav ul.show {
    display: flex;
  }

  .toggle {
    display: block;
  }

  .mision-vision {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-admin {
    margin-top: 20px;
  }
}
/* =======================
   SECCIÓN NOSOTROS
======================= */
.nosotros {
  padding: 30px 15px;
}

/* Intro "Sobre Nosotros" */
.intro-nosotros {
  text-align: center;
  padding: 40px 20px;
  background: #eef6fb;
  border-radius: 10px;
  margin-bottom: 25px; /* menos separación */
}

.intro-nosotros h1 {
  font-size: 32px;
  color: #000000;
  margin-bottom: 10px;
}

.intro-nosotros p {
  font-size: 17px;
  color: #444;
}

/* Misión y Visión */
.mision-vision {
  display: flex;
  justify-content: center;
  gap: 25px; /* menos espacio entre tarjetas */
  padding: 10px;
  flex-wrap: wrap;
}

.mision-vision .card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
  max-width: 380px;
  flex: 1 1 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mision-vision .card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 5px 14px rgba(0,0,0,0.15);
}

.mision-vision h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #00aaff;
}

.mision-vision p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}
