/* ===============================
   CONTACT PAGE STYLES
   =============================== */

/* Centrado de la sección */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 40px 0;
}

/* Contenedor principal */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  background-color: var(--color-bg-alt);
  border-radius: 20px;
  box-shadow: 16px 16px 0 #8c4731;
  padding: 40px 50px;
  max-width: 1100px;
  width: 90%;
  margin: auto;
}

/* ============================================
   ESTRUCTURA DE COLUMNAS
   ============================================ */
.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 15px;
  background-color: var(--color-card-1);
  box-shadow: var(--shadow-card);
  padding: 40px;
  flex: 1 1 45%;
}

.contact-info {
  margin-bottom: 10px;
  color: var(--black-color);
  text-align: center;
}

.contact-info h2 {
  font-family: var(--font-h2-h3);
  font-size: var(--h2-size);
  color: #8c4731;
  margin-bottom: 0px;
}

.contact-info h5 {
  font-family: var(--font-body);
  font-weight: var(--font-semi-bold);
  color: #8c4731;
  margin-top: 0;
}

.contact-info h1 {
  font-family: var(--font-h2-h3);
  font-size: var(--h1-size);
  color: #5e684e;
}

.contact-info p {
  font-family: var(--font-body);
  color: #2e2117;
  line-height: 1.6;
}

/* ============================================
   FORMULARIO
   ============================================ */
.contact-form {
  flex: 1 1 45%;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form label {
  font-family: var(--font-body);
  font-weight: var(--font-semi-bold);
  color: #2e2117;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid var(--text-color-alt);
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--btn-secondary);
  box-shadow: 0 0 0 3px rgba(115, 127, 93, 0.1);
}

.contact-form textarea {
  resize: none;
}

/* Contador de palabras */
.textarea-wrapper {
  position: relative;
  width: 100%;
}

.word-counter {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 12px;
  color: var(--text-color-alt);
  pointer-events: none;
}

/* Botón */
.contact-form button {
  margin-top: 10px;
  background-color: var(--btn-secondary);
  background-color: #5f6e47;
  color: var(--white-color);
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: var(--font-semi-bold);
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form button:hover {
  background-color: #384520;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(115, 127, 93, 0.4);
}

/* ============================================
   BOTONES DE NAVEGACIÓN (FAQ / AVISOS)
   ============================================ */
.contact-navigation {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  background-color: #8c4731;  
  border: 2px solid #a67856;
  border-radius: 10px;
  text-decoration: none;
  color: var(--white-color);
  background-color: #8c4731;
  border: 2px solid #8c4731;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.nav-link-item:hover {
  background-color: #a67856;
  border-color: #8c4731;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.nav-link-item:hover .nav-link-content h5 {
  color: #2e2117;
}

.nav-link-item:hover .nav-link-content p {
  color: #2e2117;
}

.nav-link-item:hover i {
  color: #2e2117;
  background-color: #5f6e47;
  border-color: #5f6e47;
  transform: translateX(5px);
  color: white;
  box-shadow: 0 4px 12px rgba(197, 214, 162, 0.3);
}

.nav-link-item:hover .nav-link-content h5 {
  color: #ffffff;
}

.nav-link-item:hover .nav-link-content p {
  color: #ffffff;
}

.nav-link-item:hover i {
  color: #ffffff;
  transform: translateX(5px);
}

.nav-link-content {
  flex: 1;
}

.nav-link-content h5 {
  font-family: var(--font-body);
  font-weight: var(--font-semi-bold);
  color: var(--white-color);
  margin-bottom: 5px;
  transition: color 0.3s;
}

.nav-link-content p {
  font-family: var(--font-body);
  color: var(--color-bg);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  transition: color 0.3s;
}

.nav-link-item i {
  color: var(--color-bg);
  font-size: 1.5rem;
  transition: all 0.3s;
  margin-left: 15px;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
  }

  .contact-left,
  .contact-form {
    flex: 1 1 100%;
  }

  .nav-link-item {
    flex-direction: column;
    text-align: center;
  }

  .nav-link-item i {
    margin-left: 0;
    margin-top: 10px;
  }
}