/* =========================================================
   CONFIGURACIÓN GENERAL Y FONDO AZUL MODERNO
   ========================================================= */
html {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0b192e;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top center, #102442 0%, #0b192e 100%);
  min-height: 100vh;
}

/* =========================================================
   ENCABEZADO Y LOGO DESTACADO
   ========================================================= */
.header {
  width: 100%;
  background-color: rgba(11, 25, 46, 0.95);
  padding: 10px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #00b4d8;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.04);
}

/* =========================================================
   BOTONES DE NAVEGACIÓN
   ========================================================= */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #0096c7;
  border: 1px solid #00b4d8;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  display: inline-block;
  text-align: center;
}

.nav-btn:hover,
.nav-btn.active {
  background-color: #00b4d8;
  color: #0b192e;
  border-color: #48cae4;
  font-weight: 700;
  transform: translateY(-2px);
}

.btn-highlight {
  background-color: #0077b6;
  border-color: #0096c7;
}

.btn-highlight:hover {
  background-color: #00b4d8;
  color: #0b192e;
}

/* =========================================================
   CARRUSEL / SLIDER DE IMÁGENES
   ========================================================= */
.hero-section {
  padding: 30px 20px;
  display: flex;
  justify-content: center;
}

.slider-container {
  position: relative;
  max-width: 950px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid #0096c7;
  box-shadow: 0 4px 20px rgba(0, 150, 199, 0.25);
}

.slider {
  position: relative;
  width: 100%;
  height: 460px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(11, 25, 46, 0.88);
  color: #90e0ef;
  text-align: center;
  padding: 14px;
  font-size: 18px;
  font-weight: 600;
  box-sizing: border-box;
  border-top: 1px solid rgba(0, 180, 216, 0.3);
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 25, 46, 0.8);
  color: #00b4d8;
  border: 1px solid #0096c7;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s;
}

.prev-btn:hover, .next-btn:hover {
  background: #00b4d8;
  color: #0b192e;
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */
.section-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 70px 20px;
}

.bg-alt {
  background-color: rgba(16, 36, 66, 0.6);
  border-top: 1px solid rgba(0, 180, 216, 0.2);
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
}

.section-title {
  text-align: center;
  color: #48cae4;
  font-size: 32px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-size: 16px;
}

/* SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 10px;
  padding: 25px;
  background-color: rgba(16, 36, 66, 0.7);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.service-card h3 {
  color: #48cae4;
  margin-top: 0;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #00b4d8;
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.25);
}

/* NOSOTROS */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-text h3 {
  color: #48cae4;
  font-size: 22px;
}

.about-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.info-card {
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 25px;
  border-radius: 10px;
  background-color: rgba(11, 25, 46, 0.7);
}

.info-card h4 {
  color: #48cae4;
  margin-top: 0;
  font-size: 20px;
}

/* =========================================================
   DISEÑO PROFESIONAL DE LA SECCIÓN CONTACTO
   ========================================================= */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card-info, .contact-card-form {
  background: #102442;
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.contact-card-info h2, .contact-card-form h2 {
  color: #48cae4;
  margin-top: 0;
  font-size: 24px;
}

.contact-card-info p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.contact-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 25px 0;
}

/* Botón de WhatsApp destacado */
.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  transition: transform 0.3s, background-color 0.3s;
}

.btn-whatsapp:hover {
  background-color: #1ebd56;
  transform: translateY(-2px);
}

/* Botón de Correo */
.btn-email {
  background-color: rgba(0, 180, 216, 0.15);
  color: #48cae4;
  border: 1px solid #00b4d8;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  transition: all 0.3s;
}

.btn-email:hover {
  background-color: #00b4d8;
  color: #0b192e;
}

/* Iconos de Redes Sociales (Facebook, Instagram, YouTube) */
.social-links-container h3 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid #00b4d8;
  color: #48cae4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #00b4d8;
  color: #0b192e;
  transform: translateY(-3px);
}

.social-icon.facebook:hover { background-color: #1877f2; color: #fff; border-color: #1877f2; }
.social-icon.instagram:hover { background-color: #e4405f; color: #fff; border-color: #e4405f; }
.social-icon.youtube:hover { background-color: #ff0000; color: #fff; border-color: #ff0000; }

.location-box {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 180, 216, 0.2);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.location-box p {
  margin: 10px 0;
}

.location-box i {
  color: #48cae4;
  margin-right: 8px;
}

/* Formulario estilizado en tarjeta */
.styled-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  color: #48cae4;
  font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(0, 180, 216, 0.4);
  background-color: #0b192e;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: #00b4d8;
}

.btn-submit-page {
  width: 100%;
  padding: 14px;
  background-color: #0096c7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-submit-page:hover {
  background-color: #00b4d8;
  color: #0b192e;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .contact-page-grid, .about-boxes {
    grid-template-columns: 1fr;
  }
  
  .logo-img {
    height: 85px;
  }
}