/* 
 * CONTACT PAGE CSS - Instituto de Córnea S.A.S.
 * Estilos específicos para contact.html
 */

/* Contact Hero */
.contact-hero {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 8rem 0 4rem;
  margin-top: var(--navbar-height);
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2rem;
  }
}

/* Contact Cards */
.contact-cards {
  padding: 4rem 0;
  background: var(--light-bg);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--card-border-radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all var(--transition-base);
  border-top: 4px solid transparent;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.whatsapp-card {
  border-top-color: #25d366;
}

.phone-card {
  border-top-color: #007bff;
}

.email-card {
  border-top-color: var(--primary-orange);
}

.contact-card .contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.whatsapp-card .contact-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.phone-card .contact-icon {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.email-card .contact-icon {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-orange);
}

.contact-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.contact-card p {
  color: var(--gray-medium);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-number {
  color: var(--black);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color var(--transition-base);
}

.whatsapp-card .contact-number:hover {
  color: #25d366;
}

.phone-card .contact-number:hover {
  color: #007bff;
}

.email-card .contact-number:hover {
  color: var(--primary-orange);
}

/* Contact Info Section */
.contact-info-section {
  padding: var(--section-padding);
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Map Section */
.map-section {
  background: var(--light-bg);
  border-radius: var(--card-border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.map-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1.5rem;
  text-align: center;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  justify-content: center;
  width: 100%;
  padding: 0.8rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.map-directions-link:hover {
  color: var(--secondary-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.info-section {
  background: var(--light-bg);
  padding: 3rem;
  border-radius: var(--card-border-radius);
  height: fit-content;
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-header i {
  color: var(--primary-orange);
  font-size: 1.5rem;
}

.info-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
}

.contact-detail {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.contact-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.contact-detail h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-detail h4 i {
  color: var(--primary-orange);
  width: 20px;
}

.contact-detail p {
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.map-link,
.payment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.map-link:hover,
.payment-link:hover {
  color: var(--secondary-orange);
}

/* Form Section */
.cta-form {
  background: white;
  border: 2px solid var(--light-bg);
  border-radius: var(--card-border-radius);
  padding: 3rem;
}

.cta-form h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
}

.cta-form > p {
  color: var(--gray-medium);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--black);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color var(--transition-base);
  background: white;
}

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

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

.phone-group {
  display: flex;
  gap: 0.5rem;
}

#codigo-pais {
  width: 120px;
}

.checkbox-group {
  margin-top: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.checkbox-label a {
  color: var(--primary-orange);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .info-section,
  .cta-form,
  .map-section {
    padding: 1.5rem;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .map-container iframe {
    height: 250px;
  }
  
  .phone-group {
    flex-direction: column;
  }
  
  #codigo-pais {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    padding: 6rem 1.25rem 3rem;
  }

  .contact-hero p {
    font-size: 1.05rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .contact-card .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .contact-number {
    font-size: 1rem;
  }

  .contact-content {
    gap: 1.75rem;
  }

  .map-container iframe {
    height: 220px;
  }

  .info-section {
    padding: 1.25rem;
  }

  .cta-form {
    padding: 1.75rem 1.5rem;
  }

  .cta-form h3 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    gap: 0.75rem;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.9rem;
  }
}

