/* =========================================================
   🌐 RESET BÁSICO
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  font-family: "Inter", "Roboto", Arial, sans-serif;
  font-size: 18px; /* aumentado 2 puntos */
  line-height: 1.6;
  color: #07304a;
  background: #fff;
}

/* =========================================================
   🧭 ENCABEZADO (HEADER + NAVEGACIÓN)
   ========================================================= */
.site-header {
  background: linear-gradient(90deg, #0b6fb2, #0a5fa0);
  color: #fff;
  padding: 18px 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.header-inner {
  width: min(1200px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand .brand-box {
  display: inline-block;
  background: rgba(7,77,122,0.95);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: background .18s, transform .12s;
}
.main-nav a:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* =========================================================
   💙 HERO PRINCIPAL (Bienvenida + Buscador)
   ========================================================= */
.hero {
  background: linear-gradient(180deg, #b3e5fc, #e1f5fe);
  text-align: center;
  padding: 100px 20px;
  color: #07304a;
}
.hero-content {
  width: min(1100px, 94%);
  margin: 0 auto;
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.hero-content h1 {
  font-size: 36px;
  color: #042b3b;
  margin-bottom: 8px;
}
.hero-content .lead {
  color: #07304a;
  margin-bottom: 18px;
  opacity: 0.9;
  font-size: 20px;
}
.hero-form {
  margin: 0 auto;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  max-width: 720px;
}
.hero-form input[type="text"] {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(7,77,122,0.12);
  font-size: 16px;
}
.hero-form button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #0b6fb2;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, transform .12s;
}
.hero-form button:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* =========================================================
   🎥 SECCIÓN VIDEO DE PRESENTACIÓN
   ========================================================= */
.video-wrap {
  width: min(1100px, 94%);
  margin: 60px auto;
  text-align: center;
}
.video-wrap h2 {
  color: #0b6fb2;
  margin-bottom: 20px;
  font-size: 26px;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* proporción 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* =========================================================
   🧩 BLOQUES NUEVOS DEL HOME
   ========================================================= */
.features {
  background: #e8f6fc;
  padding: 60px 0;
  text-align: center;
}
.features h2 {
  margin-bottom: 10px;
  color: #074d7a;
  font-size: 26px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  width: min(1100px, 94%);
  margin: 40px auto 0;
}
.feature-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.feature-item h3 {
  color: #0b6fb2;
  margin-top: 8px;
  font-size: 20px;
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: min(900px, 94%);
  margin: 40px auto;
  text-align: center;
}
.stat {
  margin: 20px;
}
.stat h3 {
  color: #0b6fb2;
  font-size: 30px;
  margin-bottom: 5px;
}

.specialties {
  background: #e8f6fc;
  padding: 60px 0;
  text-align: center;
}
.specialties h2 {
  font-size: 26px;
  color: #074d7a;
}
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  width: min(900px, 94%);
  margin: 30px auto 0;
}
.specialty-item {
  background: #fff;
  border-radius: 8px;
  padding: 12px 8px;
  font-weight: 600;
  color: #0b6fb2;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.testimonials {
  padding: 60px 0;
  text-align: center;
}
.testimonials h2 {
  color: #0b6fb2;
  margin-bottom: 30px;
  font-size: 26px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: min(1100px, 94%);
  margin: 0 auto;
}
.testimonial {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.testimonial strong {
  display: block;
  color: #074d7a;
  margin-top: 10px;
}

.cta {
  background: #007dc3;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
  border-radius: 10px;
  width: min(900px, 94%);
  margin: 50px auto;
}
.btn-cta {
  display: inline-block;
  background: #fff;
  color: #007dc3;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 18px;
  margin: 10px;
  font-weight: 700;
}
.btn-cta.btn-ghost {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.home-contact {
  background: #e8f6fc;
  padding: 40px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: min(1000px, 94%);
  margin: 0 auto;
}
.footer-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* =========================================================
   📞 CONTACTO Y PIE DE PÁGINA FINAL
   ========================================================= */
.site-footer {
  padding: 18px 0;
  text-align: center;
  color: #6d7b86;
  font-size: 14px;
  background: #f6fbff;
  margin-top: 18px;
}

/* =========================================================
   📱 RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 900px) {
  .main-nav { display: none; } /* menú colapsado móvil */
  .hero-content { padding: 28px; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 18px; }
}
/* ------------------------------------------------------------
   SECCIÓN DE CONÓCENOS Y CONTACTO
------------------------------------------------------------ */
.about { padding:60px 20px; background:#ffffff; text-align:center; color:#07304a; }
.about-container { width:min(1100px,94%); margin:0 auto; }
.about h2 { color:#0b6fb2; margin-bottom:10px; }
.about p { max-width:800px; margin:0 auto 30px; line-height:1.6; }

.mission-vision-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  margin-top:40px;
}
.mission-box, .vision-box, .dream-box {
  background:#e8f6fc;
  border-radius:12px;
  padding:20px;
  box-shadow:0 2px 10px rgba(0,0,0,0.04);
}
.mission-box h3, .vision-box h3, .dream-box h3 {
  color:#0b6fb2;
  margin-bottom:10px;
}

/* CONTACTO */
.contact-section {
  background:#f9fcfe;
  padding:60px 20px;
  text-align:center;
}
.contact-section h2 { color:#0b6fb2; margin-bottom:6px; }
.contact-subtitle { color:#07304a; opacity:0.9; margin-bottom:30px; }

.contact-container {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
  gap:30px;
  width:min(1100px,94%);
  margin:0 auto;
  text-align:left;
}

/* LADO IZQUIERDO */
.contact-info h3 { color:#074d7a; margin-bottom:16px; }
.contact-card {
  display:flex;
  gap:15px;
  background:#fff;
  padding:16px;
  border-radius:10px;
  margin-bottom:16px;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
  align-items:center;
}
.contact-card i { color:#0b6fb2; }

/* FORMULARIO */
.contact-form h3 { color:#074d7a; margin-bottom:16px; }
.contact-form form { background:#fff; padding:20px; border-radius:10px; box-shadow:0 2px 8px rgba(0,0,0,0.05); }
.contact-form label { display:block; margin-top:10px; font-weight:600; color:#07304a; }
.contact-form input, .contact-form textarea {
  width:100%; padding:10px; border:1px solid #c5ddee; border-radius:6px; margin-top:6px; font-family:inherit;
}
.contact-form button {
  margin-top:16px;
  background:#007dc3;
  color:#fff;
  border:none;
  padding:12px 16px;
  font-weight:700;
  border-radius:8px;
  cursor:pointer;
}
.contact-form button:hover { opacity:0.9; }

