/* Alemán Por Derecho: "Contacto" page-only rules. Loaded after page-requisitos.css (crumbs, hero wrap). No italics. */
.page-contacto .page-hero .t-h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: 1.06; text-wrap: balance; max-width: 52rem; }
.page-contacto .req-hero__wrap { padding-bottom: 4rem; }
.page-contacto .page-hero__lead { max-width: 34rem; font-size: 1.25rem; line-height: 1.4; }

.ct-sec { padding: 4.5rem 0; }
.ct-sec--tight { padding: 3rem 0; }
.ct-sec--sky { background: var(--sky-light); }
.ct-h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--obsidian); margin: 0.75rem 0 2rem; max-width: 40rem; }

/* routes */
.ct-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ct-route { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; background: var(--white); border: 1px solid var(--oat-200); border-radius: var(--r-14); padding: 1.75rem; }
.ct-route--main { background: var(--oat-50); border-color: var(--oat-200); color: var(--obsidian); }
.ct-route__tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--marigold-500); color: var(--obsidian); font-size: 0.875rem; font-weight: 600; }
.ct-route__title { font-family: var(--font-display); font-weight: 500; font-size: 1.625rem; line-height: 1.15; }
.ct-route__text { font-size: 1.0625rem; line-height: 1.5; }
.ct-route--main .ct-route__text { color: var(--sky); }
.ct-route__value { font-size: 1.25rem; font-weight: 600; overflow-wrap: anywhere; }
.ct-route .btn, .ct-route .ct-route__spacer { margin-top: auto; }
.ct-route--main .btn { background: var(--marigold-500); }
.ct-meta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; font-size: 1.0625rem; }
.ct-meta strong { font-weight: 600; }

/* form */
.ct-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; align-items: start; }
.ct-card { background: var(--white); border: 1px solid var(--oat-200); border-radius: var(--r-14); box-shadow: 0 1px 2px rgba(25, 31, 29, 0.04), 0 12px 32px rgba(25, 31, 29, 0.06); padding: 2.5rem 2.75rem; font-size: 1.125rem; line-height: 1.5; }
.ct-card h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; margin-bottom: 0.75rem; }
.ct-card h2:focus { outline: none; }
.ct-intro { color: var(--obsidian-light); margin-bottom: 1.75rem; font-size: 1.0625rem; }
.ct-field { margin-bottom: 1.25rem; }
.ct-label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.ct-opt { font-weight: 400; color: var(--obsidian-lighter); }
.ct-hint { font-size: 0.9375rem; color: var(--obsidian-light); margin: -0.15rem 0 0.5rem; }
.ct-input { width: 100%; min-height: 3.5rem; padding: 0.75rem 1rem; border: 1.5px solid var(--oat-500); border-radius: var(--r-10); background: var(--white); font: inherit; font-size: 1.125rem; color: var(--obsidian); }
.ct-input:focus-visible { border-color: var(--juniper-800); outline: 2px solid var(--juniper-800); outline-offset: 2px; }
textarea.ct-input { min-height: 9rem; resize: vertical; line-height: 1.45; }
.ct-input[aria-invalid="true"], .ct-check[aria-invalid="true"] { border-color: #a4301f; outline-color: #a4301f; }
.ct-error { color: #a4301f; font-size: 1rem; font-weight: 500; margin-top: 0.4rem; }
.ct-error:empty { display: none; }
.ct-consent { display: flex; align-items: flex-start; gap: 0.875rem; cursor: pointer; padding: 0.25rem 0; }
.ct-check { flex: none; width: 1.75rem; height: 1.75rem; margin: 0.1rem 0 0; accent-color: var(--juniper-800); }
.ct-consent a { text-decoration: underline; text-underline-offset: 3px; color: var(--juniper-800); }
.ct-status { margin-bottom: 1rem; font-weight: 600; color: #a4301f; }
.ct-status:empty { display: none; }
.ct-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: 0.75rem 2rem; border: 0; border-radius: var(--r-8); background: var(--marigold-500); color: var(--obsidian); font: inherit; font-size: 1.125rem; font-weight: 600; cursor: pointer; margin-top: 0.75rem; }
.ct-submit:hover { background: var(--marigold-400); }
.ct-submit:active { background: var(--marigold-800); }
.ct-submit:disabled { opacity: 0.6; cursor: default; }
.ct-submit:focus-visible, .ct-btn-link:focus-visible { outline: 2px solid var(--juniper-800); outline-offset: 3px; }
.ct-success { text-align: left; }
.ct-success__icon { display: block; width: 3.5rem; height: 3.5rem; margin-bottom: 1.25rem; }
.ct-success p { margin-bottom: 1.5rem; color: var(--obsidian-light); }
.ct-btn-link { display: inline-flex; align-items: center; min-height: 3.5rem; padding: 0.75rem 2rem; border-radius: var(--r-8); background: var(--marigold-500); color: var(--obsidian); font-weight: 600; text-decoration: none; }
.ct-btn-link:hover { background: var(--marigold-400); }

/* honest note panel */
.ct-note { background: var(--oat-50); color: var(--obsidian); border-radius: var(--r-14); padding: 2rem; position: sticky; top: 6rem; }
.ct-note h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.625rem; line-height: 1.15; margin-bottom: 1rem; }
.ct-note p { font-size: 1.0625rem; line-height: 1.55; margin-bottom: 1rem; }
.ct-note a { text-decoration: underline; text-underline-offset: 3px; color: var(--sky); }
.ct-note__src { font-size: 0.9375rem; padding-top: 1rem; border-top: 1px solid rgba(25, 31, 29, 0.15); margin-bottom: 0; }

/* faq */
.ct-faq { max-width: 52rem; }
.ct-faq .faq__q { font-size: 1.125rem; line-height: 1.3; }
.ct-faq .faq__rtx { font-size: 1rem; line-height: 1.6; }
.ct-fine { margin-top: 2rem; font-size: 0.875rem; line-height: 1.5; max-width: 40rem; padding-left: 0.75rem; border-left: 2px solid var(--marigold-500); }

@media screen and (max-width: 991px) {
  .ct-routes { grid-template-columns: minmax(0, 1fr); }
  .ct-layout { grid-template-columns: minmax(0, 1fr); }
  .ct-note { position: static; }
  .ct-sec { padding: 3rem 0; }
}
@media screen and (max-width: 767px) {
  .page-contacto .req-hero__wrap { padding-bottom: 2rem; }
  .ct-card { padding: 1.5rem 1.25rem 1.75rem; }
  .ct-consent { font-size: 1rem; }
  .ct-submit, .ct-btn-link { width: 100%; }
  .ct-route { padding: 1.5rem 1.25rem; }
}

/* mobile polish: tap targets, readable hints, tablet route layout */
.ct-route .btn__pad { min-height: 2.75rem; }
.ct-consent { min-height: 2.75rem; align-items: center; padding: 0.75rem 0.5rem; margin: 0 -0.5rem; }
.ct-check { margin: 0; width: 1.5rem; height: 1.5rem; }
.ct-hint { font-size: 1rem; }
.ct-error { font-size: 1rem; line-height: 1.4; }
.ct-note a, .ct-meta a, .ct-fine a { display: inline-block; padding: 0.125rem 0; }
@media screen and (min-width: 600px) and (max-width: 991px) {
  .ct-fine { font-size: 1rem; }
  .ct-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-route--main { grid-column: 1 / -1; }
}
@media screen and (max-width: 767px) {
  .ct-sec { padding: 2.5rem 0; }
  .ct-sec--tight { padding: 2rem 0; }
  .ct-h2 { margin-bottom: 1.5rem; }
  .page-contacto .page-hero .t-h1 { font-size: clamp(2.25rem, 10vw, 2.75rem); }
  .page-contacto .page-hero__lead { font-size: 1.125rem; }
  .ct-route .btn { width: 100%; }
  .ct-route__title { font-size: 1.5rem; }
  .ct-meta { gap: 0.5rem 1.5rem; }
  .ct-fine { font-size: 1rem; }
  .ct-note { padding: 1.5rem 1.25rem; }
  .ct-input { font-size: 1.0625rem; }
  .ct-success__icon { width: 3rem; height: 3rem; }
}
.ct-card, .ct-success h2, #ctForm { scroll-margin-top: 9rem; }
