/* BROKR — Contáctanos page styles */

/* ══════════════════════════════════════════════════════
   CONTACT MAIN SECTION
   ══════════════════════════════════════════════════════ */

.ct-contact {
  padding: 6rem 3.5rem;
  background: var(--color-blanco);
}

.ct-contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: start;
}

/* ── Form column ── */

.ct-section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-celeste);
  display: block;
  margin-bottom: 0.75rem;
}

.ct-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-azul-oscuro);
  margin: 0 0 0.75rem;
}

.ct-section-desc {
  font-family: var(--font-body);
  font-size: 0.975rem;
  color: #5a6480;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ct-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ct-form-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-azul-oscuro);
}

.ct-form-input,
.ct-form-select,
.ct-form-textarea {
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--color-azul-oscuro);
  background: var(--color-blanco);
  border: 1.5px solid rgba(33,56,239,0.15);
  border-radius: 8px;
  padding: 0.7rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.ct-form-input::placeholder,
.ct-form-textarea::placeholder {
  color: #9ba3bf;
}

.ct-form-input:focus,
.ct-form-select:focus,
.ct-form-textarea:focus {
  border-color: var(--color-azul);
  box-shadow: 0 0 0 3px rgba(33,56,239,0.1);
}

.ct-form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6480' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.5rem;
}

.ct-form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.ct-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.25rem;
  flex-wrap: wrap;
}

.ct-form-privacy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #9ba3bf;
  line-height: 1.5;
  margin: 0;
}

.ct-form-privacy a {
  color: var(--color-azul);
  text-decoration: none;
}

.ct-form-privacy a:hover {
  text-decoration: underline;
}

/* Success state */
.ct-form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  background: #f5f7ff;
  border: 1px solid rgba(33,56,239,0.1);
  border-radius: 14px;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ct-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(3,204,158,0.1);
  border: 1px solid rgba(3,204,158,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-success-icon svg {
  width: 32px;
  height: 32px;
}

.ct-success-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-azul-oscuro);
  margin: 0;
}

.ct-success-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #5a6480;
  line-height: 1.7;
  margin: 0;
  max-width: 380px;
}

/* ── Info column ── */

.ct-contact__info-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 100px;
}

.ct-info-block {
  background: #f5f7ff;
  border: 1px solid rgba(33,56,239,0.08);
  border-radius: 16px;
  padding: 2rem;
}

.ct-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.ct-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.ct-info-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-blanco);
  border: 1px solid rgba(33,56,239,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-info-item__icon svg {
  width: 18px;
  height: 18px;
}

.ct-info-item__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9ba3bf;
  margin-bottom: 0.2rem;
}

.ct-info-item__value {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-azul-oscuro);
  text-decoration: none;
  line-height: 1.5;
}

a.ct-info-item__value:hover {
  color: var(--color-azul);
}

/* Social links */
.ct-info-social {
  background: var(--color-azul-oscuro);
  border-radius: 14px;
  padding: 1.75rem;
}

.ct-info-social__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 1rem;
}

.ct-info-social__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ct-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ct-social-link:hover {
  background: rgba(255,255,255,0.07);
  color: var(--color-celeste);
}

.ct-social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════ */

.ct-faq {
  padding: 6rem 3.5rem;
  background: #f5f7ff;
}

.ct-faq__inner {
  max-width: 860px;
  margin: 0 auto;
}

.ct-faq__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.ct-faq__tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-celeste);
  display: block;
  margin-bottom: 0.75rem;
}

.ct-faq__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-azul-oscuro);
  margin: 0 0 1rem;
}

.ct-faq__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #5a6480;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

.ct-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ct-faq-item {
  background: var(--color-blanco);
  border: 1px solid rgba(33,56,239,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.ct-faq-item:hover {
  box-shadow: 0 4px 20px rgba(33,56,239,0.07);
}

.ct-faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--color-azul-oscuro);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.ct-faq-item__q:hover {
  color: var(--color-azul);
}

.ct-faq-item__q[aria-expanded="true"] {
  color: var(--color-azul);
}

.ct-faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(33,56,239,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.3s ease;
}

.ct-faq-item__q[aria-expanded="true"] .ct-faq-item__icon {
  transform: rotate(180deg);
  background: var(--color-azul);
  color: white;
}

.ct-faq-item__icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.ct-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.ct-faq-item__a p {
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: #5a6480;
  line-height: 1.75;
  padding: 0 1.5rem 1.25rem;
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .ct-contact { padding: 5rem 2.5rem; }
  .ct-contact__inner { gap: 3.5rem; grid-template-columns: 1fr 360px; }
  .ct-faq { padding: 5rem 2.5rem; }
}

@media (max-width: 768px) {
  .ct-contact { padding: 4rem 1.5rem; }
  .ct-contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-form-footer { flex-direction: column; align-items: flex-start; }
  .ct-contact__info-col { position: static; }
  .ct-faq { padding: 4rem 1.5rem; }
}
