/* Header general */
header {
  background-color: white;
  color: #003366;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.logo img {
  max-height: 40px;
  width: auto;
}

.logo span {
  font-size: 1.3em;
  font-weight: bold;
  color: #003366;
}

/* Navegación */
nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

nav ul li a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Menú hamburguesa (solo en móviles) */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
  color: #003366;
  background: none;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 1em;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}


body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}


/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: white;
  padding: 2em;
}

.hero-text {
  margin-bottom: 1em;
  color: #003366;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;  
  max-width: 600px;
}


.hero-text h1{

  font-size: 28px;  
  max-width: 600px;
}


.hero img {
  max-width: 100%;
  height: auto;
}

/* About Section */
.about {
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-position: center;
  padding: 2em 2em;
  color: #003366;
  text-align: center;
  position: relative;
  font-size: 0.95rem;           /* Tamaño de texto más pequeño */
  line-height: 1;             /* Menor espaciado vertical */
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.about h2,
.about p {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto 0.8em auto;    /* Menor separación entre párrafos */
}

/* Services Section */
.services {
  padding: 1em 2em;
  background-color: white;
  text-align: center;
}

.services h2 {
  font-size: 1.8rem;
  margin-bottom: 2em;
  color: #003366;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
}

.service-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2em;
  text-align: left;
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1;
  min-width: 280px;
  max-width: 450px;
}

.service-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
  color: #003366;
}

.service-text p {
  font-size: 0.95rem;
  color: #333;
}

.service-image {
  flex: 1;
  min-width: 240px;
  max-width: 450px;
}

.service-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}


/* Contact Section */
.contact {
  padding: 1em;
  background-color: #fff;
}

.contact form {
  display: flex;
  flex-direction: column;
}

.contact label {
  margin-top: 1em;
}

.contact input,
.contact textarea {
  padding: 0.5em;
  margin-top: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact {
  background-color: #032d60; /* azul marino */
  color: white;
  padding: 1em 2em;
  text-align: center;
}

.contact h2 {
  margin-bottom: 0.5em;
  font-size: 1.8rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.contact label {
  margin-top: 1em;
  font-weight: bold;
  font-size: 0.95rem;
  color: white;
}

.contact .required {
  font-weight: normal;
  font-size: 0.85rem;
  color: #ddd;
}

.contact input,
.contact textarea {
  padding: 0.35em;
  margin-top: 0.4em;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  background-color: white;
  color: #333;
}

.contact textarea {
  resize: vertical;
}

.contact button {
  margin-top: 1.5em;
  padding: 0.75em 1.5em;
  background-color: #111;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact button:hover {
  background-color: #444;
}


/* Footer */
footer.footer {
  background-color: white;
  color: #003366;
  padding: 3em 2em;
  font-size: 0.95rem;
  border-top: 4px solid #003366;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}

.footer-logo img {
  height: 70px;
  width: auto;
}

.footer-logo span {
  font-weight: bold;
  color: #003366;
}

.footer-info {
  display: flex;
  gap: 4em;
}

.footer-column h4 {
  margin-bottom: 0.5em;
  font-size: 1rem;
  color: #003366;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.3em;
}

.footer-column ul li a {
  color: #003366;
  text-decoration: none;
  font-weight: 400;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

/* Estilos para la página de agradecimiento */
main.gracias {
  max-width: 700px;
  margin: 80px auto;
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

main.gracias h1 {
  font-size: 2em;
  color: #00427c;
  margin-bottom: 20px;
}

main.gracias p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 30px;
}

main.gracias .button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #00427c;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

main.gracias .button:hover {
  background-color: #0066b2;
}

