/* Variables */
:root {
  --verde-profesional: #045C4B;
  --verde-agua: #07B09B;
  --verde-claro: #75B214;
  --amarillo-verde: #D3E027;
  --tierra: #A67C52;
  --blanco: #ffffff;
  --gris-fondo: #f5f9f6;
  --negro: #333333;
}

/* Estilos para la página de Contacto */
.contact-hero {
  background: linear-gradient(rgba(4, 92, 75, 0.8), rgba(4, 92, 75, 0.8)), url('/assets/images/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 150px 0;
  text-align: center;
  position: relative;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease;
}

.contact-hero .hero-subtitle {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Sección de Información de Contacto */
.contact-info-section {
  padding: 80px 0;
  background-color: var(--gris-fondo);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.contact-card {
  background: var(--blanco);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(7, 176, 155, 0.1);
  border-top-color: var(--amarillo-verde);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--verde-profesional);
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: var(--amarillo-verde);
  color: var(--verde-profesional);
  transform: rotate(15deg);
}

.contact-card h3 {
  color: var(--verde-profesional);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.contact-card p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-link {
  display: inline-block;
  color: var(--verde-agua);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.contact-link:hover {
  color: var(--verde-profesional);
  border-bottom-color: var(--amarillo-verde);
}

/* Sección de Formulario */
.contact-form-section {
  padding: 80px 0;
  background-color: var(--blanco);
}

.form-container {
  max-width: 800px;
  margin: 0 auto 60px;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  color: var(--verde-profesional);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.form-header p {
  color: #555;
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--verde-profesional);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--verde-agua);
  box-shadow: 0 0 0 3px rgba(7, 176, 155, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background: var(--verde-profesional);
  color: var(--blanco);
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-self: center;
  min-width: 250px;
}

.submit-btn:hover {
  background: var(--verde-agua);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Sección de Horario */
.hours-section {
  padding: 80px 0;
  background-color: var(--gris-fondo);
  text-align: center;
}

.hours-content h2 {
  color: var(--verde-profesional);
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.hours-grid {
  max-width: 500px;
  margin: 0 auto 30px;
  background: var(--blanco);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.day-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px dashed #eee;
}

.day-item:last-child {
  border-bottom: none;
}

.day-item span:first-child {
  color: var(--verde-profesional);
  font-weight: 500;
}

.emergency-text {
  color: #555;
  font-size: 1.1rem;
}

.emergency-text strong {
  color: var(--verde-profesional);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2.2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .submit-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 100px 0;
  }
  
  .contact-hero h1 {
    font-size: 1.8rem;
  }
  
  .form-header h2 {
    font-size: 1.8rem;
  }
  
  .hours-content h2 {
    font-size: 1.8rem;
  }
}