/* NOTARÍA 67 — Contáctanos (sobre css/app.css) */

.ct-hd { max-width: 760px; }
.ct-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.ct {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  gap: 14px;
  align-items: start;
}
.ct-form { padding: clamp(20px, 3vw, 32px); scroll-margin-top: 80px; }
.ct-form h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -0.02em; }
.ct-form .aviso { margin-bottom: 16px; }

.ct-motivos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.ct-motivos legend, .ct-pref legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.ct-motivo { position: relative; cursor: pointer; }
.ct-motivo input { position: absolute; opacity: 0; pointer-events: none; }
.ct-motivo span {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-2);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.ct-motivo span .ti { flex: none; font-size: 20px; color: var(--icono); }
.ct-motivo:hover span { color: var(--text); }
.ct-motivo input:checked + span { color: var(--text); background: var(--primary-soft); box-shadow: inset 0 0 0 2px var(--primary); }
.ct-motivo input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--primary), var(--focus); }
.ct-motivo-ayuda { margin: 10px 0 18px; font-size: 13.5px; color: var(--text-2); }

.ct-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.ct-campos .campo { margin: 0; }
.ct-campos .campo[hidden] { display: none; }
.ct-ancho { grid-column: 1 / -1; }
.ct-campos label small { font-weight: 400; color: var(--text-3); }
.ct-campos textarea.entrada { min-height: 130px; padding-top: 12px; resize: vertical; line-height: 1.5; }
.ct-contador { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-3); text-align: right; }

.ct-pref { margin: 18px 0 0; padding: 0; border: 0; }
.ct-pref .segmentos { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.ct-pref label { position: relative; cursor: pointer; }
.ct-pref input { position: absolute; opacity: 0; pointer-events: none; }
.ct-pref label span { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.ct-pref input:checked + span { color: var(--on-primary); background: var(--primary); }
.ct-pref input:focus-visible + span { box-shadow: var(--focus); }

.ct-acepta { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.ct-acepta input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--primary); }
.ct-acepta a { color: var(--icono); text-decoration: underline; text-underline-offset: 3px; }
.ct-enviar { width: 100%; justify-content: center; height: 50px; font-size: 15px; }
.ct-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-ok { display: grid; justify-items: center; gap: 6px; padding: 26px 10px; text-align: center; }
.ct-ok-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; font-size: 34px; color: var(--accent); background: var(--accent-soft); }
.ct-ok h2 { margin: 0; }
.ct-ok p { max-width: 46ch; margin: 0; color: var(--text-2); }
.ct-codigo { margin: 10px 0 14px !important; padding: 8px 16px; border-radius: 10px; font-size: 18px; color: var(--text) !important; background: var(--surface-2); }

.ct-lado { display: grid; gap: 14px; }
.ct-lado h2 { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
.ct-canales { display: grid; gap: 4px; padding: 18px; }
.ct-canales h2 { margin-bottom: 8px; }
.ct-canal { display: flex; align-items: center; gap: 12px; padding: 10px; margin: 0 -10px; border-radius: 14px; transition: background-color 0.2s; }
a.ct-canal:hover { background: var(--surface-2); }
.ct-canal > span:nth-child(2) { flex: 1; min-width: 0; }
.ct-canal b { display: block; font-size: 14.5px; font-weight: 600; }
.ct-valor { display: block; font-size: 14px; color: var(--icono); overflow-wrap: anywhere; }
.ct-canal small { display: block; font-size: 12.5px; color: var(--text-3); }
.ct-flecha { color: var(--text-3); }
.ct-whatsapp .ico { color: #1f8f4e; }

.ct-sede { display: grid; gap: 12px; padding: 18px; }
.ct-sede-hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ct-dir { display: flex; gap: 8px; margin: 0; font-size: 14.5px; color: var(--text); }
.ct-dir .ti { flex: none; font-size: 18px; color: var(--icono); margin-top: 1px; }
.ct-horario { display: grid; gap: 6px; margin: 0; }
.ct-horario div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.ct-horario dt { color: var(--text-2); }
.ct-horario dd { margin: 0; text-align: right; font-weight: 500; }
.ct-mapa { height: 190px; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.ct-mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
[data-theme="dark"] .ct-mapa iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.6); }

.ct-faq { margin-top: 26px; }
.ct-faq-lista { padding: 6px 20px; }
.ct-faq-lista details { border-bottom: 1px solid var(--line); }
.ct-faq-lista details:last-child { border-bottom: 0; }
.ct-faq-lista summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-size: 15.5px; font-weight: 600; cursor: pointer; list-style: none; }
.ct-faq-lista summary::-webkit-details-marker { display: none; }
.ct-faq-lista summary .ti { flex: none; color: var(--text-3); transition: transform 0.25s var(--ease); }
.ct-faq-lista details[open] summary .ti { transform: rotate(180deg); }
.ct-faq-lista .faq-resp { padding-bottom: 6px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.ct-faq-lista .faq-resp p, .ct-faq-lista .faq-resp ul { margin: 0 0 12px; }
.ct-faq-lista .faq-resp ul { padding-left: 1.2em; }
.ct-faq-lista .faq-resp strong { color: var(--text); }

.ct-atajos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.ct-atajos .tile { display: flex; flex-direction: row; align-items: center; gap: 14px; min-height: 0; }
.ct-atajos .tile > span:nth-child(2) { flex: 1; }
.ct-atajos b { display: block; font-size: 15px; }
.ct-atajos small { display: block; font-size: 13px; color: var(--text-2); }
.ct-atajos .ti-arrow-right { color: var(--text-3); }

@media (max-width: 1000px) {
  .ct { grid-template-columns: 1fr; }
  .ct-atajos { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ct-motivos { grid-template-columns: 1fr 1fr; }
  .ct-campos { grid-template-columns: 1fr; }
  .ct-pref .segmentos { display: flex; }
  .ct-pref label { flex: 1; }
  .ct-pref label span { justify-content: center; width: 100%; padding: 0 8px; }
}
