.solicitud {
  --f-ink: #122d3a;
  --f-muted: #4b626b;
  --f-paper: #faf8f3;
  --f-line: #d5d8cf;
  --f-gold: #ad8543;
  color: var(--f-ink);
  background: var(--f-paper);
  padding: clamp(40px, 5.5vw, 82px) 0 clamp(56px, 8vw, 110px);
}
.solicitud *, .solicitud *::before, .solicitud *::after { box-sizing: border-box; }
.solicitud [hidden] { display: none !important; }
.f-wrap { width: min(calc(100% - 64px), 1120px); margin-inline: auto; }
.f-intro { max-width: 740px; margin-bottom: clamp(24px, 3.2vw, 42px); }
.solicitud h1, .solicitud h2, .solicitud h3 {
  color: var(--f-ink);
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.solicitud h1 { margin: 0 0 12px; font-size: clamp(40px, 5.3vw, 72px); }
.f-intro > p { max-width: 610px; margin: 0; color: var(--f-muted); font-size: clamp(16px, 1.6vw, 21px); line-height: 1.55; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(270px, .93fr); gap: clamp(20px, 4vw, 58px); align-items: start; }
.f-sheet { min-width: 0; padding: clamp(20px, 3.1vw, 42px); background: #fff; border: 1px solid var(--f-line); border-radius: 12px; }
.f-preview { margin: 0 0 24px; padding: 10px 15px; border-left: 3px solid var(--f-gold); background: #f6f3e9; color: #42545a; font-size: 14px; line-height: 1.5; }
.f-preview strong { color: var(--f-ink); }
.solicitud button, .solicitud input, .solicitud select, .solicitud textarea { font: inherit; }
.solicitud button:not(:disabled), .f-option, .f-consent { cursor: pointer; }
.solicitud :is(a,button,input,select,textarea,h2[tabindex],h3[tabindex]):focus-visible { outline: 3px solid #865e25; outline-offset: 3px; }
.f-progress { margin: 0 0 23px; }
.f-progress ol { list-style: none; display: flex; margin: 0; padding: 0; border-bottom: 1px solid var(--f-line); }
.f-progress li { flex: 1; min-width: 0; margin: 0; padding: 0; }
.f-progress button {
  display: inline-flex; width: 100%; min-height: 42px; justify-content: center; align-items: center;
  margin: 0 0 -1px; padding: 6px 3px; color: var(--f-ink); background: none; border: 0;
  border-bottom: 2px solid transparent; border-radius: 0; font-size: 14px; font-weight: 500;
}
.f-progress button:disabled { color: #64747a; opacity: 1; }
.f-progress button[aria-current=step] { border-bottom-color: var(--f-gold); font-weight: 700; }
.f-panel { margin: 0; padding: 0; border: 0; }
.f-panel h2, .f-success h2 { margin: 0 0 21px; font-size: clamp(26px, 2.8vw, 37px); }
.f-panel-intro { margin: -6px 0 20px; color: var(--f-muted); line-height: 1.5; }
.f-field,.f-radios { margin: 18px 0 0; }
.f-field label,.f-radios legend { display: block; margin: 0 0 7px; color: var(--f-ink); font-size: 16px; line-height: 1.45; font-weight: 600; }
.f-field label span { font-weight: 400; color: var(--f-muted); font-size: 14px; }
.f-field :is(input,select,textarea) {
  display: block; width: 100%; min-width: 0; min-height: 47px; padding: 10px 13px; color: var(--f-ink);
  background-color: #fff; border: 1px solid #839298; border-radius: 5px; font-size: 16px; line-height: 1.45;
}
.f-field select { padding-right: 24px; }
.f-field textarea { resize: vertical; min-height: 86px; }
.f-field input[type=date] { max-width: 19rem; }
.f-hint,.f-counter { color: var(--f-muted); font-size: 14px; line-height: 1.45; }
.f-field .f-hint { margin: -2px 0 8px; }
.f-field input + .f-hint { margin: 6px 0 0; }
.f-counter { display: block; margin-top: 4px; text-align: right; font-size: 12px; }
.f-radios { border: 0; padding: 0; min-width: 0; }
.f-radios legend { padding: 0; }
.f-radios > div { display: flex; flex-wrap: wrap; gap: 8px; }
.f-option { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 13px; border: 1px solid #839298; border-radius: 5px; }
.f-option:has(:checked) { background: #f6f3e9; border-color: var(--f-ink); }
.f-option input,.f-consent input { width: 18px; height: 18px; flex-shrink: 0; margin: 0; accent-color: var(--f-ink); }
.f-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.f-actions button { min-height: 47px; }
.f-actions .f-go {
  display: inline-flex; align-items: center; justify-content: center; margin-left: auto; padding: 11px 22px;
  border: 1px solid var(--f-ink); border-radius: 5px; background: var(--f-ink); color: #fff; font-weight: 600; text-align: center;
}
.f-actions .f-go:hover { background: #294552; }
.f-back,.f-summary button {
  padding: 6px 2px; color: var(--f-ink); background: none; border: 0; border-radius: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
}
.f-summary > div { display: flex; justify-content: space-between; align-items: start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--f-line); }
.f-summary > div:first-child { border-top: 1px solid var(--f-line); }
.f-summary > div > div { min-width: 0; }
.f-summary strong { display: block; color: var(--f-muted); font-size: 13px; font-weight: 500; }
.f-summary p { margin: 4px 0 0; overflow-wrap: anywhere; white-space: pre-line; }
.f-summary button { min-height: 36px; font-size: 14px; }
.f-privacy { margin-top: 19px; }
.f-privacy p,.f-success p,.f-nojs { margin: 0 0 14px; line-height: 1.55; }
.f-privacy p { color: var(--f-muted); font-size: 14px; }
.solicitud a { color: #6c4c1b; text-decoration: underline; text-underline-offset: .18em; }
.f-consent { display: flex; align-items: start; gap: 10px; padding: 6px 0; }
.f-consent input { margin-top: .23em; }
.f-error { margin: 16px 0 0; padding: 10px 12px; color: #802522; border-left: 3px solid #a83732; background: #fdf0ed; font-size: 15px; }
.solicitud [aria-invalid=true]:is(input,select,textarea) { border-color: #a83732; }
.f-contact {
  min-width: 0; border: 1px solid #c6c6b5; border-radius: 9px 45px 9px 9px; overflow: hidden;
  padding-top: clamp(23px, 3vw, 36px); background: #17363b; color: #fffaf0; text-align: center;
}
.f-portrait-frame { width: min(74%, 248px); margin: 0 auto; position: relative; }
.f-portrait-frame::before {
  content: ""; position: absolute; top: -5px; left: -7px; width: 100%; height: calc(100% - 29px);
  border: 1px solid #c8a76b; border-radius: 53% 47% 42% 25% / 57% 60% 36% 31%; pointer-events: none;
}
.f-portrait {
  position: relative; display: block; width: 100%; height: auto; max-height: 224px;
  aspect-ratio: 1.04; border-radius: 53% 47% 42% 25% / 57% 60% 36% 31%;
  object-fit: cover; object-position: center 13%;
}
.f-portrait-frame figcaption { margin: 10px -10px 0; color: #dce3d9; font-size: 13px; line-height: 1.4; }
.f-contact-body { padding: 19px clamp(20px, 2.7vw, 34px) clamp(23px, 3vw, 36px); }
.f-contact h2 { color: #fffaf0; font-size: clamp(24px, 2.5vw, 34px); margin: 0 0 14px; }
.f-contact address { font-style: normal; line-height: 1.55; overflow-wrap: anywhere; }
.f-contact address > a { display: table; margin: 5px auto; color: #fffaf0; }
.f-contact address p { margin: 13px 0 4px; }
.f-contact .f-map { font-size: 14px; color: #ecd3a1; }
.f-contact .f-other { display: block; padding-top: 14px; margin-top: 21px; border-top: 1px solid #5e7878; color: #fffaf0; font-weight: 600; }
.f-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 980px) {
  .f-wrap { width: min(calc(100% - 36px), 600px); }
  .f-intro { text-align: center; margin-inline: auto; }
  .f-grid { grid-template-columns: minmax(0,1fr); }
  .f-sheet,.f-panel,.f-preview,.f-hint,.f-counter,.f-success,.f-contact { text-align:center; }
  .f-preview,.f-error { border-left:0; border-top:2px solid var(--f-gold); }
  .f-field label,.f-radios legend { width:100%; text-align:center; }
  .f-field :is(input,select,textarea) { text-align:center; text-align-last:center; margin-inline:auto; }
  .f-field select { padding-inline:25px; }
  .f-radios > div,.f-actions { justify-content:center; }
  .f-actions .f-go { margin:0; }
  .f-summary > div { display:grid; justify-items:center; gap:0; }
  .f-consent { display:grid; justify-items:center; text-align:center; gap:4px; }
  .f-contact { padding-top:24px; }
  .f-portrait-frame { width:min(52%,185px); }
  .f-contact-body { padding:17px 21px 25px; }
  .f-error { border-color:#a83732; }
}
@media (max-width: 440px) {
  .solicitud { padding-top: 30px; }
  .f-wrap { width: calc(100% - 28px); }
  .f-sheet { padding: 16px 15px 20px; }
  .f-progress button { font-size: 13px; }
  .f-contact-body { padding: 16px 18px 24px; }
  .f-contact h2 { font-size: 24px; }
  .f-contact address,.f-contact .f-other { font-size: 14px; }
  .f-actions .f-go { padding-inline: 12px; }
}
