/* Contactanos / Súmate — formularios estilo moderno (escala rem del template) */

.contact-modern .container {
  max-width: 1280px;
}

.contact-modern {
  position: relative;
  background: #f8fafc;
}

.contact-modern__header {
  max-width: 820px;
  margin: 0 auto 4.5rem;
  text-align: center;
}

.contact-modern__header h2,
.contact-modern__header h3 {
  margin: 0 0 1.2rem;
  color: #0c2548;
  font-size: clamp(3.2rem, 4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.15;
}

.contact-modern__header p {
  margin: 0;
  color: #5b6b7c;
  font-size: 2rem;
  line-height: 1.5;
}

.contact-modern__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-modern__grid {
    grid-template-columns: 1.35fr 0.9fr;
    gap: 4.5rem;
  }
}

.contact-panel {
  background: #fff;
  border: 1px solid rgba(12, 37, 72, 0.08);
  border-radius: 1.8rem;
  box-shadow: 0 14px 40px rgba(8, 20, 40, 0.06);
  padding: 3rem 2.8rem 2.8rem;
}

.contact-panel h3,
.contact-panel h4 {
  margin: 0 0 2.2rem;
  color: #0c2548;
  font-size: 2.4rem;
  font-weight: 700;
}

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

@media (min-width: 640px) {
  .bo-form {
    grid-template-columns: 1fr 1fr;
  }
}

.bo-field {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bo-field--full {
  grid-column: 1 / -1;
}

.bo-field label {
  color: #0c2548;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0;
}

.bo-field input,
.bo-field textarea {
  width: 100%;
  margin: 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(12, 37, 72, 0.14);
  border-radius: 1rem;
  background: #fff;
  color: #0c2548;
  font-size: 1.7rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

.bo-field textarea {
  min-height: 12rem;
  resize: vertical;
}

.bo-field input::placeholder,
.bo-field textarea::placeholder {
  color: #8a97a6;
}

.bo-field input:focus,
.bo-field textarea:focus {
  border-color: var(--bo-cyan);
  box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.15);
}

.bo-field--file {
  gap: 0.9rem;
}

.bo-field--file .bo-file {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem;
  border: 1px dashed rgba(0, 163, 255, 0.4);
  border-radius: 1rem;
  background: rgba(0, 163, 255, 0.04);
}

.bo-field--file input[type="file"] {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.55rem;
}

.bo-field--file .bo-hint {
  color: #6b7a8a;
  font-size: 1.4rem;
}

.bo-form__note {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0;
  color: #6b7a8a;
  font-size: 1.45rem;
  line-height: 1.45;
}

.bo-form__actions {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.bo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 5.2rem;
  padding: 1.2rem 2.6rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bo-cyan) 0%, var(--bo-cyan-deep) 100%);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 119, 204, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.bo-btn:hover,
.bo-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 119, 204, 0.34);
  color: #fff;
  opacity: 1;
}

.contact-aside h3,
.contact-aside h4 {
  margin: 0 0 2.2rem;
  color: #0c2548;
  font-size: 2.4rem;
  font-weight: 700;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}

.contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
}

.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  flex-shrink: 0;
  border-radius: 1.1rem;
  background: rgba(0, 163, 255, 0.12);
  color: var(--bo-cyan-deep);
}

.contact-list__icon--wa {
  background: rgba(37, 211, 102, 0.14);
  color: #128c7e;
}

.contact-list__icon svg {
  width: 2.3rem;
  height: 2.3rem;
  fill: currentColor;
}

.contact-list__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.contact-list__label {
  color: #0c2548;
  font-size: 1.7rem;
  font-weight: 700;
}

.contact-list__value {
  color: #5b6b7c;
  font-size: 1.65rem;
  line-height: 1.35;
  word-break: break-word;
  text-decoration: none;
}

.contact-list__value:hover {
  color: var(--bo-cyan-deep);
}

.contact-social {
  margin-top: 0.5rem;
}

.contact-social__title {
  margin: 0 0 1.4rem;
  color: #0c2548;
  font-size: 1.8rem;
  font-weight: 700;
}

.contact-social__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-social__row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1.1rem;
  background: rgba(0, 163, 255, 0.12);
  color: var(--bo-cyan-deep);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-social__row a:hover {
  transform: translateY(-2px);
  background: rgba(0, 163, 255, 0.2);
}

.contact-social__row svg {
  width: 2.1rem;
  height: 2.1rem;
  fill: currentColor;
}
