/* The contact panel (/contacto/): three choices first, then the matching path. And the meeting
   booking of its «a medida» path: steps in one card, days and times as plain buttons (no pills),
   with site.css's tokens for the light and dark themes. */

.contact-head { max-width: 760px; }
.contact-head h1:focus { outline: none; }
.contact-panel:not([data-at="choose"]) .contact-head .lead { display: none; }
.contact-panel:not([data-at="choose"]) .contact-head h1 { font-size: clamp(30px, 4vw, 44px); }
.contact-noscript { margin-top: 24px; }

.route-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.route-choices[hidden] { display: none; }
.route-choice { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon text arrow"; gap: 14px; align-items: start; min-height: 132px; padding: 24px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); transition: border-color 140ms, transform 140ms var(--ease); }
.route-choice:hover { border-color: var(--accent); }
.route-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.route-icon { grid-area: icon; color: var(--accent); margin-top: 2px; }
.route-text { grid-area: text; display: grid; gap: 6px; }
.route-text strong { font: 500 20px/1.25 var(--serif); color: var(--ink); }
.route-text span { font-size: 15px; color: var(--ink-2); }
.route-choice .arrow { grid-area: arrow; color: var(--accent); font-size: 18px; margin-top: 2px; transition: transform 140ms var(--ease); }
.route-choice:hover .arrow { transform: translateX(3px); }

.route-path { margin-top: 28px; }
.route-path h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 460; letter-spacing: -0.02em; }
.route-path h2:focus { outline: none; }
.route-path .sec-head h2 { margin-top: 0; }
.route-back { margin-bottom: 24px; font-size: 15px; }
.route-back a { color: var(--ink-2); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.route-back a:hover { color: var(--accent); }
.route-card { max-width: 720px; display: grid; gap: 16px; }
.route-card > p { color: var(--ink-2); }
.route-card .ctas { margin-top: 4px; }
.route-card .facts { margin-top: 8px; }
.route-status:empty { display: none; }
.route-status { font-weight: 600; color: var(--ink); }
.route-path .sec-head .facts + .meeting-facts { margin-top: 20px; }

.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-button:hover { color: var(--ink); }
.link-button[disabled] { opacity: 0.6; cursor: progress; }
.meeting-other { font-size: 14.5px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 16px; }
.meeting-count[hidden] { display: none; }

.meeting { display: grid; gap: 20px; scroll-margin-top: 96px; }
.meeting-step { display: grid; gap: 16px; }
.meeting-step > header { display: grid; gap: 6px; }
.meeting-step h3 { font-size: 24px; font-weight: 480; }
.meeting-step h3:focus { outline: none; }
.meeting-step h3:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.meeting-count { font: 600 12px/1 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); }

.meeting fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.meeting legend { padding: 0; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.choices label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font: 600 14px/1.25 var(--sans); color: var(--ink-2); text-align: center; cursor: pointer; transition: border-color 140ms, background 140ms; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label:hover { border-color: var(--ink-3); }
.choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); }
.choices label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.meeting-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.slot-label { font-weight: 600; font-size: 14px; color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slots.times { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.slot { display: grid; gap: 2px; justify-items: center; align-content: center; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink); font: 600 14px/1.2 var(--sans); cursor: pointer; transition: border-color 140ms, background 140ms; text-transform: none; }
.slot:hover { border-color: var(--ink-3); }
.slot[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); }
.slot-sub { font: 500 12px/1.2 var(--sans); color: var(--ink-3); }
.slot[aria-pressed="true"] .slot-sub { color: var(--accent-ink); }
.meeting-zone { font-size: 13.5px; color: var(--ink-3); }
.meeting-summary { font-weight: 600; color: var(--ink); min-height: 1.5em; }
.meeting-summary:empty { display: none; }
.meeting-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.meeting-actions .btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.meeting-done { display: grid; gap: 12px; }
.meeting-done .when { font: 500 20px/1.35 var(--serif); color: var(--ink); }
.meeting-done p { color: var(--ink-2); }

.meeting-facts { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.meeting-facts li { display: flex; gap: 10px; }
.meeting-facts li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--accent); }

/* La página de cancelación (/reunion/). */
.meeting-page { max-width: 560px; margin: 0 auto; padding: 72px 16px; display: grid; gap: 20px; }
.meeting-page .brand { display: inline-flex; align-items: center; gap: 10px; font: 500 19px/1 var(--serif); color: var(--ink); text-decoration: none; }
.meeting-page h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 470; }
.meeting-page h1:focus { outline: none; }
.meeting-page .when { font: 500 20px/1.35 var(--serif); color: var(--ink); }

@media (max-width: 900px) {
  .route-choices { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .route-choice { min-height: 0; padding: 20px 18px; }
}
@media (max-width: 640px) {
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meeting-pair { grid-template-columns: 1fr; }
  .meeting-actions .btn { width: 100%; height: auto; min-height: 48px; padding-top: 10px; padding-bottom: 10px; white-space: normal; text-align: center; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  .slot, .choices label, .route-choice, .route-choice .arrow { transition: none; }
  .route-choice:hover .arrow { transform: none; }
}
