/* === GENERAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: #f8f9fb;
  color: #222;
  line-height: 1.6;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #0a2342;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo span {
  color: #d4af37;
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.menu a:hover {
  color: #d4af37;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  background-color: #1eb858;
}

/* === HERO === */
.hero {
  background: linear-gradient(rgba(10, 35, 66, 0.85), rgba(10, 35, 66, 0.85)), url('hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.btn-principal {
  background-color: #d4af37;
  color: #0a2342;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-principal:hover {
  background-color: #fff;
  color: #0a2342;
}

/* === SECCIONES === */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  text-align: center;
  color: #0a2342;
  margin-bottom: 30px;
  font-size: 2rem;
}

/* === SERVICIOS === */
.servicios ul, .otros ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  list-style: none;
}

.servicios li, .otros li {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.servicios li:hover, .otros li:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* === FAQ === */
.faq-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.faq-item h3 {
  color: #0a2342;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* === CONTACTO === */
.contacto form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 20px auto;
}

.contacto input, .contacto textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contacto button {
  background-color: #0a2342;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contacto button:hover {
  background-color: #d4af37;
  color: #0a2342;
}

.contacto p {
  text-align: center;
  font-size: 1.1rem;
}

/* === MAPA === */
.mapa iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 12px;
  margin-top: 20px;
}

/* === FOOTER === */
footer {
  background-color: #0a2342;
  color: #fff;
  text-align: center;
  padding: 25px 10px;
  font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .navbar {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn-principal {
    padding: 10px 18px;
  }

  section {
    padding: 40px 15px;
  }
}
.about-page .hero {
  background: linear-gradient(135deg, #003366, #006699);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.about-page .about-intro, 
.about-page .about-values, 
.about-page .about-experience, 
.about-page .cta {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.btn {
  display: inline-block;
  background: #003366;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: #0055a5;
}
/* === NAVBAR === */
header {
  background: linear-gradient(90deg, #002b5b, #005792);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.5em;
  text-decoration: none;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

nav .logo:hover {
  color: #ffd700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffd700;
}

/* Responsivo */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  nav ul li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}
/* === SECCIÓN HERO === */
.hero {
  background: linear-gradient(120deg, #004080, #0073b1);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
}

/* === SERVICIOS === */
.servicios-container {
  max-width: 1100px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.servicio {
  background: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease;
}

.servicio:hover {
  transform: translateY(-5px);
}

.servicio h2 {
  color: #004080;
  font-size: 1.3em;
  margin-bottom: 10px;
}

/* === CTA (Llamado a la acción) === */
.cta {
  text-align: center;
  background: #004080;
  color: white;
  padding: 60px 20px;
  margin-top: 60px;
}

.cta .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ffd700;
  color: #004080;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta .btn:hover {
  background: #ffcc00;
  transform: scale(1.05);
}
/* Banner de consentimiento */
.banner-consentimiento {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2c2c2c;
  color: #fff;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 0.95rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.banner-consentimiento a {
  color: #ffd700;
  text-decoration: underline;
}

.banner-consentimiento button {
  background-color: #ff4081;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.banner-consentimiento button:hover {
  background-color: #e03570;
}
