/* ==== PALETA - Coherente con el sitio ==== */
:root {
  --primary: #0B6B21;
  --primary-dark: #084f19;
  --primary-light: #e8f5e9;
  --accent-lime: #BAF235;
  --gold-accent: #ECC101;
  --dark: #1b2a38;
  --dark-light: #2d3e4f;
  --gray: #f5f5f5;
  --gray-dark: #e0e0e0;
}

/* ===== SECCIÓN DE INFORMACIÓN DE CONTACTO ===== */
.contact-info-section {
  padding: 60px 0;
}

.contact-info-section .section-title {
  text-align: center;
  color: var(--dark);
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 32px;
  position: relative;
}

.contact-info-section .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 15px auto 0;
}

/* GRID */
.contact-info-section .contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .contact-info-section .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .contact-info-section .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TARJETAS ===== */
.contact-info-section .contact-info-card {
  background: #fff;
  color: var(--dark);
  padding: 25px;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-dark);
  border-left: 4px solid var(--primary);
}

.contact-info-section .contact-info-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-left-color: var(--primary-dark);
}

/* HEADER DE TARJETA */
.contact-info-section .contact-info-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-dark);
}

/* ÍCONO */
.contact-info-section .contact-info-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 0;
}

.contact-info-section .contact-info-icon i {
  font-size: 20px;
  color: #fff;
}

/* TÍTULO */
.contact-info-section .contact-info-title {
  font-size: 18px;
  color: var(--dark);
  font-weight: 600;
  margin: 0;
}

/* TEXTO Y ENLACES */
.contact-info-section .contact-info-content {
  color: var(--dark);
}

.contact-info-section .contact-info-content p {
  color: #555;
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.contact-info-section .contact-info-content a {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info-section .contact-info-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-info-section .contact-info-content strong {
  color: var(--dark);
}

.contact-info-section .contact-info-note {
  font-size: 13px;
  color: #777;
  font-style: italic;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-dark);
}

/* BOTÓN WHATSAPP */
.whatsapp-btn-container {
  margin-top: 12px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 0;
  background: #25d366;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  color: white;
}

.whatsapp-btn i {
  font-size: 18px;
}

/* Redes sociales */
.contact-social .footer-social {
  display: flex;
  gap: 10px;
}

.contact-social .footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: #fff;
  font-size: 16px;
  border-radius: 0;
  transition: all 0.3s;
}

.contact-social .footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== SECCIÓN DEL FORMULARIO ===== */
.contact-form-section {
  background: var(--gray);
  padding: 60px 0;
}

.contact-form-section .section-title {
  text-align: center;
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 32px;
}

.contact-form-section .section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 16px;
}

/* FORMULARIO */
.contact-form-section form {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.contact-form-section .form-group {
  margin-bottom: 20px;
}

.contact-form-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
}

.contact-form-section input,
.contact-form-section select,
.contact-form-section textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-dark);
  border-radius: 0;
  font-size: 15px;
  transition: border-color 0.3s;
  background: #fff;
}

.contact-form-section input:focus,
.contact-form-section select:focus,
.contact-form-section textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form-section textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-section button[type="submit"] {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form-section button[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== MAPA ===== */
.contact-map-section {
  padding: 0;
}

.contact-map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ===== FORM ICONS ===== */
.contact-form-section .form-group {
  position: relative;
}

.contact-form-section .form-group > .form-icon {
  position: absolute;
  left: 15px;
  bottom: 13px;
  color: var(--primary);
  font-size: 16px;
  pointer-events: none;
  z-index: 2;
}

/* Textarea icon - top of textarea */
.contact-form-section .form-group:has(textarea) > .form-icon {
  bottom: auto;
  top: 48px;
}

/* Add padding to inputs for icon space */
.contact-form-section .form-group input,
.contact-form-section .form-group select {
  padding-left: 45px;
}

.contact-form-section .form-group textarea {
  padding-left: 45px;
}

/* Select wrapper positioning */
.contact-form-section .select-wrapper {
  position: relative;
}

.contact-form-section .select-wrapper .form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 16px;
  pointer-events: none;
  z-index: 2;
}

.contact-form-section .select-wrapper select {
  padding-left: 45px;
}

/* Form text helper */
.contact-form-section .form-text {
  font-size: 12px;
  color: #888;
  margin-top: 5px;
  padding-left: 45px;
}

/* Icon adjustment for fields with helper text below */
.contact-form-section .form-group:has(.form-text) > .form-icon {
  bottom: 33px;
}

/* Submit button styling */
.contact-form-section .submit-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-top: 10px;
}

.contact-form-section .submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Form note */
.contact-form-section .form-note {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 25px;
  padding: 15px;
  background: #fff8e1;
  border-left: 4px solid #ffc107;
}
