/* Fuente base */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.95)),
              url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #333;
}


/* Encabezado */
header {
  background-color: #0F2630;
  color: #F4E9C6;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center; /* <-- Esta línea centra el contenido */
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}


.logo h1 {
  margin: 0;
  font-size: 1.5em;
}

nav {
  margin-top: 15px;
}

nav a {
  color: #F4E9C6;
  margin-right: 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Secciones */
main section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

main h2 {
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: white;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.detalle {
  margin-top: 10px;
  color: #555;
}

/* Contacto */
.contacto form {
  display: flex;
  flex-direction: column;
}

.contacto label {
  margin-top: 10px;
}

.contacto input, .contacto textarea {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contacto button {
  margin-top: 15px;
  background-color: #0F2630;
  color: #F4E9C6;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.contacto button:hover {
  background-color: #1d3a45;
}

/* Footer */
footer.footer {
  background-color: #0F2630;
  color: #F4E9C6;
  padding: 30px 20px;
  text-align: center;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-text h2 {
  margin: 0;
  font-size: 1.5em;
}

.logo-text p {
  margin: 0;
}

/* Testimonios y FAQ */
blockquote {
  background: #fff;
  border-left: 5px solid #0F2630;
  padding: 15px 20px;
  margin: 15px 0;
  font-style: italic;
}

details {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 6px;
}

/* Mapa */
iframe {
  border: none;
  border-radius: 8px;
  margin-top: 20px;
}

/* Botón de WhatsApp flotante */
a[href*="wa.me"] {
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .logo {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    display: block;
    margin-bottom: 10px;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* Contenedor interno del header */
.contenedor-header {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* Nav centrado */
nav {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

nav a {
  color: #F4E9C6;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}
#mision-vision-valores {
  background-color: #ffffff;
  padding: 40px 20px;
}

#mision-vision-valores h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #0F2630;
}

.bloques-mvv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.bloque {
  background-color: #f9f9f9;
  padding: 20px;
  border-left: 4px solid #0F2630;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.bloque h3 {
  color: #0F2630;
}

.bloque ul {
  padding-left: 20px;
  list-style: none;
}

.bloque ul li::before {
  content: "• ";
  color: #0F2630;
  margin-right: 5px;
}
.hero-header {
  position: relative;
  height: 100vh;
  background: url('https://plus.unsplash.com/premium_photo-1661497281000-b5ecb39a2114?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F4E9C6;
  text-align: center;
}

.hero-header .overlay {
  background-color: rgba(15, 38, 48, 0.85);
  width: 100%;
  height: 100%;
  padding: 40px 20px;
}

.hero-header .contenedor-header {
  max-width: 1000px;
  margin: auto;
}

.hero-header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.hero-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.hero-header nav a {
  color: #F4E9C6;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
}

.hero-header nav a:hover {
  background-color: rgba(244, 233, 198, 0.1);
}

.eslogan h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.btn-contactar {
  background-color: #F4E9C6;
  color: #0F2630;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-contactar:hover {
  background-color: #e2d6a9;
}

/* Ajustes responsive */
@media (max-width: 768px) {
  .hero-header {
    height: auto;
    padding: 60px 20px;
  }

  .hero-header .logo {
    flex-direction: column;
    text-align: center;
  }

  .eslogan h2 {
    font-size: 1.5em;
  }
}
https://plus.unsplash.com/premium_photo-1661497281000-b5ecb39a2114?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D