/* ── LAYOUT PRINCIPAL ── */
.contacto {
  padding: 100px 80px;
}

.contacto__wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contacto__title {
  font-size: clamp(32px, 4vw, 52px);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 16px 0 40px;
}


/* ── FORMULARIO ── */
.contacto__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cf__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf__label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #444;
}

.cf__input,
.cf__select,
.cf__textarea {
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  color: #fff;
  font-family: 'manifold-extended-cf', sans-serif;
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.cf__input::placeholder,
.cf__textarea::placeholder { color: #2e2e2e; }

.cf__input:focus,
.cf__select:focus,
.cf__textarea:focus {
  border-color: rgba(57,255,20,0.4);
}

.cf__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23444' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.cf__select option {
  background: #111;
  color: #fff;
}

.cf__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Chips de selección */
.cf__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cf__chip {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: #555;
  font-family: 'manifold-extended-cf', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.cf__chip:hover {
  border-color: rgba(57,255,20,0.3);
  color: #aaa;
}

.cf__chip.selected {
  border-color: #39ff14;
  color: #39ff14;
  background: rgba(57,255,20,0.05);
}

/* Botón submit */
.cf__submit {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #39ff14;
  border: none;
  color: #0c0c0c;
  font-family: 'manifold-extended-cf', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 18px 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s, gap 0.3s;
}

.cf__submit:hover {
  background: #fff;
  gap: 24px;
}

.cf__submit-arrow {
  font-size: 16px;
  line-height: 1;
}

/* Confirmación */
.cf__confirm {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid rgba(57,255,20,0.3);
  background: rgba(57,255,20,0.04);
}

.cf__confirm.is-visible {
  display: flex;
}

.cf__confirm-icon {
  color: #39ff14;
  font-size: 18px;
  font-weight: 700;
}

.cf__confirm p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.5;
}


/* ── ASIDE ── */
.contacto__aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ca__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ca__block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.ca__label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
}

.ca__link {
  font-size: 15px;
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ca__link:hover { color: #fff; }

.ca__link--wa img {
  width: 16px;
  height: 16px;
  filter: brightness(0.5);
}

.ca__text {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.ca__social {
  display: flex;
  gap: 16px;
}

.ca__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s;
}

.ca__social a:hover { border-color: rgba(57,255,20,0.4); }

.ca__social img {
  width: 16px;
  height: 16px;
  filter: brightness(0.5);
  transition: filter 0.3s;
}

.ca__social a:hover img {
  filter: brightness(1) drop-shadow(0 0 4px #39ff14);
}

.ca__promise {
  margin-top: 8px;
}

.ca__promise blockquote {
  font-size: 14px;
  color: #333;
  font-style: normal;
  line-height: 1.7;
  font-weight: 600;
}


/* ── FAQs ── */
.faq {
  padding: 100px 80px;
}

.faq__wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq__header {
  margin-bottom: 56px;
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq__item:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.faq__q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: 'manifold-extended-cf', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition: color 0.3s;
}

.faq__q:hover { color: #39ff14; }

.faq__icon {
  font-size: 20px;
  color: #39ff14;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  line-height: 1;
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}

.faq__item.open .faq__a {
  max-height: 300px;
}

.faq__a p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  padding-bottom: 28px;
}


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .contacto { padding: 80px 40px; }
  .contacto__wrap { grid-template-columns: 1fr; gap: 56px; }
  .contacto__aside { position: static; }
  .faq { padding: 80px 40px; }
}

@media (max-width: 768px) {
  .contacto { padding: 60px 24px; }
  .cf__row { grid-template-columns: 1fr; }
  .faq { padding: 80px 24px; }
  .faq__q { font-size: 15px; }
}
