/* ============================================
   CONTACTO.CSS - Bilbao Consultores
   Estilos para la página de contacto
   ============================================ */

/* ===== CONTACT HERO ===== */
.contact-hero {
  background: linear-gradient(135deg, rgba(68, 160, 38, 0.05) 0%, rgba(68, 160, 38, 0.02) 100%);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.contact-hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-hero h1 {
  font-size: 48px;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin: 0;
}

/* ===== CONTACT MAIN ===== */
.contact-main {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

/* Contact Info Section */
.contact-info-section h2 {
  font-size: 28px;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.contact-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(68, 160, 38, 0.2);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(68, 160, 38, 0.1);
  border-radius: 10px;
  color: var(--color-primary);
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-details h3 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.contact-info-details p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0;
}

.contact-info-details a {
  color: var(--color-text-body);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info-details a:hover {
  color: var(--color-primary);
}

/* Contact Form Section */
.contact-form-section h2 {
  font-size: 28px;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-dark);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.contact-form {
  background: var(--color-bg-white);
  padding: 40px;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(68, 160, 38, 0.1);
}

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

.form-checkbox {
  margin-top: 20px;
  margin-bottom: 28px;
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: var(--font-weight-normal);
  font-size: 14px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-checkbox a:hover {
  text-decoration: none;
}

.contact-form .c-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
}

.contact-form .c-btn svg {
  width: 20px;
  height: 20px;
}

/* .form-message: estilo compartido definido en main.css */

/* ===== MAP SECTION ===== */
.map-section {
  padding: 0;
  margin-top: 0;
}

.map-container {
  width: 100%;
  height: 450px;
  border-top: 1px solid var(--color-border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(0.2);
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 767px) {
  .contact-hero {
    padding: 40px 0 35px;
  }

  .contact-hero h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .contact-lead {
    font-size: 16px;
  }

  .contact-main {
    padding: 50px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-info-section h2,
  .contact-form-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .contact-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .contact-info-cards {
    gap: 16px;
  }

  .contact-info-card {
    padding: 20px;
  }

  .contact-info-icon {
    width: 44px;
    height: 44px;
  }

  .contact-info-icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-form {
    padding: 28px 20px;
  }

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

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

  .map-container {
    height: 350px;
  }
}

/* ===== RESPONSIVE TABLET ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .contact-hero {
    padding: 50px 0 45px;
  }

  .contact-hero h1 {
    font-size: 40px;
  }

  .contact-grid {
    gap: 60px;
  }

  .contact-form {
    padding: 35px 30px;
  }
}

/* ===== RESPONSIVE LARGE DESKTOP ===== */
@media (min-width: 1400px) {
  .contact-hero {
    padding: 80px 0 70px;
  }

  .contact-hero h1 {
    font-size: 54px;
  }

  .contact-lead {
    font-size: 20px;
  }
}
