
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #999898;
  color: #333;
}

header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  border-bottom: 2px solid #ccc;
}

.logo {
  display: flex;
  align-items: center;  
  gap: 10px;            
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #1e2b18;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  margin-right: 30px;
}

nav a:hover {
  color: #4e6b3f;
}

nav a.active {
  border-bottom: 3px solid #4e6b3f;
  padding-bottom: 3px;              
  color: #4e6b3f;                   
}

.titulo-contacto {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 100px 10px 100px;
}

.titulo-contacto h2 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 700;
}

.titulo-contacto .celulares p {
  font-size: 1rem;
  text-align: right;
  line-height: 1.5;
  color: #333;
}

.linea-contacto {
  border: none;
  height: 2px;
  background: #4e6b3f;
  width: 90%;
  margin: 0 auto 30px auto;
}

.contenido-contacto {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 0 100px 60px 100px;
}

.formulario-contacto {
  flex: 3;
  height: 650px;
  background: #88a466;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fila {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.campo {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.campo label {
  margin-bottom: 8px;
  color: black;
  font-weight: bold;
}

.campo input {
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.campo input:focus {
  outline: none;
  border-color: black;
}

.campo-mensaje {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.campo-mensaje label {
  margin-bottom: 8px;
  color: black;
  font-weight: bold;
}

.campo-mensaje textarea {
  resize: none;
  height: 160px;
  padding: 14px;
  border: 1px solid black;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.campo-mensaje textarea:focus {
  outline: none;
  border-color: #4e6b3f;
}

.captcha {
  margin-bottom: 20px;
}

.acepto {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.acepto label {
  font-size: 0.9rem;
  color: #333;
}

.btn-enviar {
  background-color: #4e6b3f;
  color: black;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-enviar:hover {
  background-color: black;
  transform: translateY(-2px);
}

.banner-contacto {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-contacto img {
  max-width: 100%;
  border-radius: 10px;
  margin-left: 130px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

footer {
  background: #e5e5e5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

footer p {
  font-size: 14px;
  color: #333;
}

footer .redes {
  display: flex;
  gap: 25px;
  margin-left: 200px;
}

footer i {
  font-size: 1.5rem;
}

footer i:hover {
  color: #4e6b3f;
}
