/* Contact form and closing signature. */
.experience-page .contact-chapter{background:var(--paper);padding:65px 0 0}
.contact-chapter .contact-grid{padding-block:115px 90px;gap:10vw;align-items:start}
.contact-chapter .contact-copy{position:sticky;top:145px}
.contact-chapter .contact-copy>.section-caption{font-size:11px;margin-bottom:27px}
.contact-chapter .contact-copy h3{font-size:clamp(48px,5vw,78px);line-height:1.08;letter-spacing:-.06em;font-weight:500;outline-offset:10px}
.contact-chapter .contact-copy>p:not(.section-caption){font-size:15px;line-height:1.7;max-width:300px;margin-top:28px}
.contact-chapter .contact-email{font-size:clamp(16px,1.7vw,24px);margin-top:35px;gap:30px;width:fit-content;position:relative;padding-bottom:10px}
.contact-email:after{content:'';height:1px;position:absolute;left:0;right:0;bottom:0;background:#2287d9;transform:scaleX(0);transform-origin:left;transition:transform .4s}
.contact-email:hover:after,.contact-email:focus-visible:after{transform:scaleX(1)}
.contact-chapter .contact-copy>p.contact-mail-note{font-size:11px;margin-top:8px;color:var(--muted)}
.contact-chapter #consulta { min-width: 0; scroll-margin-top: 14px; }
.contact-chapter #contact-form { min-width: 0; border: 1px solid var(--line); padding: clamp(16px, 3vw, 32px); }
.contact-progress { color: #166fab; font-size: 14px; font-weight: 650; }
.contact-progress-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 22px; }
.contact-progress-bars span { height: 3px; background: var(--line); }
.contact-progress-bars span:first-child,
[data-step="2"] .contact-progress-bars span:nth-child(2),
[data-step="3"] .contact-progress-bars span { background: #166fab; }
.contact-step h4 { margin: 0 0 22px; font-size: clamp(22px, 3vw, 32px); font-weight: 550; line-height: 1.18; letter-spacing: -.04em; }
.contact-step .contact-field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; font-size: 13px; }
[data-step] .contact-step { min-height: 240px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; min-height: 52px; }
.contact-actions .submit-button { width: auto; max-width: 100%; }
.contact-actions .contact-back { margin-right: auto; padding: 8px 0; min-height: 44px; border: 0; background: none; color: var(--ink); font-size: 13px; }
.contact-actions .contact-next .submit-icon { font-size: 20px; }
#contact-form [hidden] { display: none; }
#contact-form #form-status { margin-top: 12px; }
#contact-form #form-status:empty { min-height: 0; margin: 0; }
@media (max-width:760px) {
  .contact-chapter #consulta { scroll-margin-top: 78px; }
  .contact-actions .submit-button { gap: 10px; padding-inline-start: 12px; }
}
.contact-field>span{display:flex;align-items:center;gap:9px;color:#526058}
.contact-field>span:before{content:'';width:4px;height:4px;border:1px solid #9baaa0;border-radius:50%;flex-shrink:0}
.contact-field.is-complete>span:before{border-color:#166fab;background:#166fab}
.contact-chapter .contact-field input,.contact-chapter .contact-field textarea{border-color:#7e8b82;padding:10px 0 15px;font-size:15px;line-height:1.55}
.contact-chapter .contact-field :is(input,textarea):focus {
  outline: none;
  border-bottom-color: #166fab;
  box-shadow: inset 0 -1px #166fab;
}
@media (forced-colors: active) {
  .contact-chapter .contact-field :is(input,textarea):focus {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}
.contact-chapter .contact-field textarea{min-height:105px}
.contact-chapter .contact-field input::placeholder,.contact-chapter .contact-field textarea::placeholder{color:#616e65}
.contact-chapter .consent{display:flex;font-size:12px;margin-block:22px;max-width:440px}
.contact-chapter .consent input{width:18px;height:18px}
.contact-chapter #consulta :is(a,button,input[type=checkbox]):focus-visible,
.closing-footer :is(a,button):focus-visible{outline:2px solid #166fab;outline-offset:3px}
.contact-chapter .submit-button{border-radius:40px;border-color:#b4c2b8;background:transparent;color:var(--ink);padding:9px 10px 9px 22px;gap:20px;font-size:13px}
.contact-chapter .submit-button .submit-label{font-size:13px;text-align:left}
.submit-icon{width:43px;height:43px;flex-shrink:0;border-radius:50%;background:#2287d9;color:white;display:grid;place-items:center;transition:background .25s,transform .35s}
.submit-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.submit-check,.submit-spinner{display:none}
.contact-chapter .submit-button:enabled:not([aria-disabled="true"]):hover{background:#e4eef5;border-color:var(--blue)}
.contact-chapter .submit-button:enabled:not([aria-disabled="true"]):hover .submit-icon{transform:rotate(45deg)}
.contact-chapter .submit-button:is(:disabled,[aria-disabled="true"]){opacity:.7;background:transparent;cursor:progress}
#contact-form[data-state=sending] .submit-arrow,#contact-form[data-state=success] .submit-arrow{display:none}
#contact-form[data-state=sending] .submit-spinner{display:block;stroke-dasharray:42 22;transform-origin:center;animation:contact-sending 1s linear infinite}
#contact-form[data-state=success] .submit-check{display:block;stroke-dasharray:1;stroke-dashoffset:0}
#contact-form[data-state=success] .submit-icon{background:#1a74b7;transform:none}
#contact-form[data-state=error] #form-status{color:#9b4138}
#form-status{min-height:2.9em;color:#1a74b7;font-size:12px;line-height:1.5}
@keyframes contact-sending{to{transform:rotate(360deg)}}
.closing-footer{border-top:1px solid var(--line);padding-block:43px 30px;position:relative;--closing-progress:1}
.closing-footer:before{content:'';position:absolute;left:0;right:0;top:-1px;height:1px;background:#2287d9;transform:scaleX(var(--closing-progress));transform-origin:left}
.closing-footer .footer-top{align-items:flex-start;display:grid;grid-template-columns:1.2fr 1fr auto;gap:40px}
.closing-footer .footer-top>p{font-size:13px;line-height:1.65}
.closing-chapters{display:grid;grid-template-columns:1fr 1fr;gap:12px 35px;font-size:11px;color:var(--muted)}
.closing-chapters a{width:fit-content;transition:color .2s}
.closing-chapters a,.closing-footer .footer-bottom nav :is(a,button){display:inline-flex;align-items:center;min-height:24px}
.closing-chapters a:hover,.closing-footer .footer-bottom nav :is(a,button):hover{color:#166fab}
.closing-footer .back-top{align-items:center;font-size:11px;gap:22px}
.back-top-orbit{display:block;width:66px;height:66px}
.back-top-orbit svg{width:100%;height:100%;fill:none;stroke:#2287d9;stroke-width:1}
.back-top-orbit .return-track{stroke:#c9d4cd}
.back-top-orbit .return-progress{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--closing-progress));transform:rotate(-90deg);transform-origin:center}
.back-top-orbit path{stroke:#303b36;transition:stroke .2s}
.back-top:hover .back-top-orbit path{stroke:#2287d9}
.experience-page .closing-footer .footer-word{transform:none;opacity:1;font-size:clamp(60px,19.7vw,350px);line-height:1.18;padding:40px 0 25px;letter-spacing:-.085em;display:flex;align-items:baseline}
.experience-page .closing-footer .footer-word>.closing-letter{position:relative;display:inline-block;color:rgb(202 211 205 / calc(1 - var(--letter-progress,1)))}
.closing-letter>i{display:block;position:absolute;inset:0;color:var(--ink);font-style:normal;clip-path:inset(calc((1 - var(--letter-progress,1))*100%) 0 0 0);transform:translateY(calc((1 - var(--letter-progress,1))*16px))}
.closing-letter.is-dot>i{color:#2287d9}
.closing-footer .footer-bottom{position:relative;padding-top:22px;font-size:11px}
@media(max-width:1100px){.contact-chapter .contact-grid{gap:7vw;padding-block:95px 65px}.contact-chapter .contact-copy{top:135px}.closing-footer .footer-top{gap:25px}.closing-chapters{gap:10px 20px}}
@media(max-width:760px){
 .experience-page .contact-chapter{padding-top:25px}
 .contact-chapter .contact-grid{padding-block:65px 40px;display:block}.contact-chapter .contact-copy{position:relative;top:auto;margin-bottom:45px}.contact-chapter .contact-copy>.section-caption{font-size:10px;margin-bottom:18px}.contact-chapter .contact-copy h3{font-size:47px}.contact-chapter .contact-copy>p:not(.section-caption){font-size:14px;max-width:340px;margin-top:21px}.contact-chapter .contact-email{font-size:18px;margin-top:25px;margin-bottom:0;gap:30px}.contact-chapter .contact-copy>.contact-mail-note{font-size:10px;margin-top:8px}.contact-chapter .contact-field input,.contact-chapter .contact-field textarea{font-size:16px}.contact-chapter .form-row{gap:20px}.contact-chapter .submit-button .submit-label{font-size:12px}.contact-chapter .submit-button{padding-left:18px}.submit-icon{width:40px;height:40px}#form-status{font-size:11px}
 .closing-footer{padding-top:30px;padding-bottom:25px}.closing-footer .footer-top{grid-template-columns:1fr auto;gap:28px 16px}.closing-footer .footer-top>p{font-size:11px}.closing-chapters{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;gap:4px 20px}.closing-footer .back-top{font-size:10px;gap:10px}.back-top-orbit{width:44px;height:44px}.experience-page .closing-footer .footer-word{font-size:19.2vw;padding:28px 0 22px}.closing-footer .footer-bottom{line-height:1.6}.closing-footer .footer-bottom nav{gap:4px 14px}
}
@media(max-width:420px){.contact-chapter .form-row{grid-template-columns:1fr;gap:0}}
@media(max-width:360px){.closing-chapters{gap:4px 18px}.closing-footer .back-top{gap:6px}.contact-chapter .contact-copy h3{font-size:43px}}
@media(prefers-reduced-motion:reduce){.closing-letter>i{transform:none!important;opacity:1!important;filter:none!important;clip-path:none!important}.submit-icon{transition:none}.submit-spinner{animation:none!important}}
