* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans", sans-serif;
}

/* ---------------- Hero ---------------- */
.hero-image {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: white;
  text-align: left;
  z-index: 2;
  max-width: 600px;
}
.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 600;
}

/* ---------------- Contacto ---------------- */
.contact-section {
  padding: 60px 20px;
  background-color: #f9faff;
  font-family: 'Segoe UI', sans-serif;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}
.contact-info h2 {
  font-size: 2rem;
  color: #0f2b4d;
  margin-bottom: 15px;
}
.contact-info p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.info-item i {
  font-size: 1.2rem;
  color: #03c3d0;
  background: #e9f3ff;
  padding: 10px;
  border-radius: 50%;
}
.info-item strong {
  display: block;
  color: #212455;
}

.social-icons {
  margin-left: 50px;
  margin-top: 20px;
  display: flex;
  gap: 40px;
}
.social-icons a {
  font-size: 1.4rem;
  color: #01c4d4;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #019aaa;
}

/* ---------------- Formulario ---------------- */
.contact-form {
  flex: 1;
  min-width: 350px;
  background-color: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* ? FIX: los inputs de texto SI ocupan 100%, el checkbox NO */
.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #dde4ec;
  background-color: #f4f8fc;
  font-size: 1rem;
  color: #333;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color: #03c3d0;
  color: white;
  border: none;
  padding: 14px 30px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form button:hover {
  background-color: #212455;
}

/* ---------------- Loader ---------------- */
.loader {
  margin-top: 20px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #01c4d4;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
  margin-left: auto;
  margin-right: auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------------- Mapa ---------------- */
.map-banner {
  width: 100%;
  height: auto;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.map-banner iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ---------------- Carrusel ---------------- */
.carrusel {
  height: 50vh;
  display: flex;
  align-items: center;
}
.carrusel-items {
  display: flex;
  overflow-x: hidden;
  overflow-y: hidden;
  gap: 3rem;
}
.carrusel-item {
  min-width: 300px;
  max-width: 300px;
  height: 150px;
}
.carrusel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------------- Consentimiento (checkbox) ---------------- */
/* ? Alineado como en la imagen: check a la izquierda, texto a la derecha */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
  margin: 12px 0;
  color: #333;
  text-align: left;
}

/* ? El checkbox NO ocupa 100% */
.contact-form input[type="checkbox"] {
  width: auto;
  height: auto;
  padding: 0;
  margin-top: 2px;  /* pequeña corrección visual */
  flex-shrink: 0;
  display: inline-block;
}

.consent-row label {
  flex: 1;
  cursor: pointer;
}

.consent-row a {
  text-decoration: underline;
  color: #007bff;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .contact-form {
    margin-top: 30px;
  }
  .form-row {
    flex-direction: column;
  }
}
