body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.hero {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.hero-container {
  position: relative;
  height: 100%;
}

.hero-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(122, 122, 122, 0.26);
  z-index: 1;
}

.hero-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: white;
  flex-direction: row;
  gap: 10px;
}

.hero-text .titulo {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
  flex: 1;
}

.hero-text .info {
  text-align: left;
  padding-left: 40px;
  flex: 2;
}

.hero-text .info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-text .info p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 769px) {
  .hero-overlay::before {
    clip-path: polygon(100% 100%, 100% 30%, 0 100%);
  }
}
/*100% 100%, 100% 0, 0 100%*/
@media (max-width: 768px) {

  .hero {
    position: relative;
    height: 100vh;
    max-height: 600px;
    overflow: hidden;
  }

  .hero-container {
    height: 100%;
  }

  .hero-container img {
    height: 100%;
    object-fit: cover;
  }

  .hero-overlay {
    height: 100%;
  }

  .hero-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    padding: 0;
    color: white;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: none;
  }

  .hero-text .titulo {
    font-size: 32px;
    margin: 0;
    padding: 0;
  }

  .hero-text .info {
    padding-left: 0;
    text-align: left;
  }

  .hero-text .info h4 {
    font-size: 16px;
    color: white;
  }

  .hero-text .info p {
    font-size: 14px;
    color: white;
  }

  .hero-overlay::before {
    display: none;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contacto-form .container {
  padding: 60px 30px; 
  max-width: 1200px;
  margin: 0 auto; 
}
.contacto-form h2 {
  text-align: center;
  font-size: 32px;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  margin-top: 40px;
  margin-bottom: 40px;
  line-height: 1.2;
}

.contacto-form h2 span {
  color: #000000; 
  font-weight: bold;
}

.form-row {
  justify-content: center;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.form-field {
  position: relative;
  flex: 1 1 300px;
  max-width: 400px;
}

.form-field textarea {
  font-family: inherit;  /* hereda la fuente del body */
  font-size: 16px;       /* ajusta el tamaño si lo ves distinto */
  font-weight: 400;      /* texto normal */
  color: #333;           /* color del texto */
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 15px 15px 15px 45px; /* espacio para ícono */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}

.form-field i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  pointer-events: none;
  font-size: 16px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.mensaje-label {
  width: 100%;
  margin: 30px 0 10px;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}


.form-field.full {
  flex: 1 1 100%;
  max-width: 90%;
  margin: 0 auto;
}

.form-button {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

button {
  padding: 15px 35px;
  font-size: 16px;
  background: #6483a2;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #001f4d;
}

@media (min-width: 768px) {
  .form-row:nth-child(1) .form-field {
    flex: 0 0 32%;
  }

  .form-row:nth-child(2) .form-field {
    flex: 0 0 48%;
  }

  .form-row:nth-child(3) .form-field {
    flex: 0 0 100%;
  }
}
