.foto-testimoni-page { background: #fff; }
.ft-main { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--navbar-h) + 56px) 20px 72px; background: linear-gradient(135deg, #5a0820 0%, #8c0932 30%, #b10c41 65%, #c21050 100%); }
.ft-shapes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; fill: rgb(255 255 255 / 4%); stroke: rgb(255 255 255 / 9%); stroke-width: 1.5; }
.ft-container { position: relative; max-width: 720px; margin: 0 auto; }
.ft-heading { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid rgb(177 12 65 / 14%); }
.ft-heading h1 { color: var(--brand); text-align: center; font-size: clamp(26px, 4vw, 32px); font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
.ft-form { padding: 32px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; box-shadow: 0 16px 48px rgb(38 5 17 / 16%); }
.ft-field + .ft-field { margin-top: 28px; }
.ft-field > label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.ft-required { margin-left: 3px; color: #d92d20; font-weight: 600; }
.ft-optional { margin-left: 4px; color: #697386; font-size: 12px; font-weight: 400; }
.ft-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cdd3dc; border-radius: 6px; background: #fff; color: #17212f; font: inherit; font-size: 16px; line-height: 1.5; }
.ft-field textarea { display: block; min-height: 76px; resize: vertical; }
.ft-field textarea::placeholder { color: #7b8493; }
.ft-field [aria-invalid="true"] { border-color: #b42318; }
.ft-select { position: relative; }
.ft-select__trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cdd3dc; border-radius: 6px; background: #fff; color: #17212f; text-align: left; font: inherit; font-size: 16px; line-height: 1.5; cursor: pointer; }
.ft-select__trigger:disabled { color: #697386; cursor: default; }
.ft-select__trigger[aria-expanded="true"] { border-color: var(--brand); }
.ft-select__icon, .ft-select__chevron { flex-shrink: 0; color: #697386; }
.ft-select__chevron { margin-left: auto; }
.ft-select__trigger[aria-expanded="true"] .ft-select__chevron { transform: rotate(180deg); }
#talentValue { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-select__options { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; max-height: 220px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1.5px solid var(--gray-200); border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / 10%); scrollbar-width: thin; scrollbar-color: #d1a4b3 transparent; }
.ft-select__option { display: block; width: 100%; min-height: 44px; padding: 10px 14px; border: 0; background: #fff; color: var(--gray-900); text-align: left; font: inherit; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; cursor: pointer; touch-action: manipulation; }
.ft-select__option[aria-selected="true"], .ft-select__option:focus-visible { background: rgb(177 12 65 / 6%); color: var(--brand); }
@media (hover: hover) {
  .ft-select__option:hover { background: rgb(177 12 65 / 6%); color: var(--brand); }
}
.ft-help-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; }
.ft-help, .ft-count { color: #697386; font-size: 11px; line-height: 1.7; }
.ft-count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.ft-photo-help { flex-wrap: wrap; }
#photoHelp { white-space: nowrap; font-size: clamp(9px, 2.7vw, 11px); }
.ft-upload { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 16px; border: 1px dashed #bbc3cf; border-radius: 8px; background: #fafbfc; color: #667085; text-align: center; transition: border-color .15s, background .15s; }
.ft-upload:hover, .ft-upload:focus-within, .ft-upload.is-dragging { border-color: #667085; background: #f2f4f7; }
.ft-upload:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
.ft-upload__title { color: #344054; font-size: 14px; font-weight: 600; }
.ft-upload__hint { font-size: 11px; line-height: 1.6; }
.ft-file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.ft-preview { position: relative; overflow: hidden; border: 1px solid #e4e7ec; border-radius: 8px; }
.ft-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.ft-slides::-webkit-scrollbar { display: none; }
.ft-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; background: #f4f5f7; }
.ft-slide img { display: block; width: 100%; height: 310px; object-fit: contain; }
.ft-preview__toolbar { display: flex; align-items: center; gap: 12px; padding: 4px 10px; border-top: 1px solid #e4e7ec; }
.ft-filename { flex: 1; min-width: 0; height: 44px; overflow: hidden; color: #697386; font-size: 11px; line-height: 44px; text-overflow: ellipsis; white-space: nowrap; }
.ft-preview__navigation { display: flex; flex-shrink: 0; align-items: center; height: 44px; }
.ft-preview__navigation .ft-count { height: 44px; line-height: 44px; white-space: nowrap; }
.ft-icon-button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 32px; height: 44px; border: 0; border-radius: 6px; background: #fff; color: var(--brand); cursor: pointer; }
.ft-icon-button:disabled { opacity: .35; cursor: default; }
.ft-text-button { min-height: 44px; border: 0; background: transparent; color: var(--brand); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.ft-remove { position: absolute; top: 8px; right: 8px; z-index: 1; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 4px; background: rgb(255 255 255 / 94%); color: var(--brand); font: 500 9px/1.5 var(--font); cursor: pointer; }
.ft-remove:disabled { opacity: .5; cursor: default; }
.ft-add-photo { width: 100%; min-height: 46px; margin-top: 12px; padding: 10px 16px; border: 1px solid rgb(177 12 65 / 30%); border-radius: 6px; background: #fff; color: var(--brand); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ft-add-photo:hover:not(:disabled) { background: rgb(177 12 65 / 4%); border-color: var(--brand); }
.ft-add-photo:disabled { opacity: .45; cursor: not-allowed; }
.ft-note-count { justify-content: flex-end; }
.ft-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgb(177 12 65 / 14%); }
.ft-submit-note { min-height: 20px; color: #697386; font-size: clamp(8px, 2.5vw, 11px); line-height: 20px; white-space: nowrap; }
.ft-submit-note[data-kind="error"] { color: #b42318; }
.ft-submit { min-height: 48px; padding: 12px 22px; border: 1px solid var(--brand); border-radius: 6px; background: var(--brand); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ft-submit:hover { background: var(--brand-dark); }
.ft-submit:disabled { opacity: .5; cursor: not-allowed; }
.ft-loading { width: min(380px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 36px 20px 32px; overflow: auto; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; color: #344054; box-shadow: 0 16px 64px rgb(36 12 22 / 20%); text-align: center; }
.ft-loading::backdrop { background: rgb(38 22 29 / 28%); }
.ft-loading__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border: 1px solid rgb(177 12 65 / 8%); border-radius: 50%; background: rgb(177 12 65 / 3%); }
.ft-loading__track { stroke: rgb(177 12 65 / 12%); }
.ft-loading__spinner { stroke: var(--brand); transform-origin: 24px 24px; animation: ft-loading-spin 1s linear infinite; }
.ft-loading h2 { margin: 0 0 12px; color: #222; font-size: clamp(14px, 4vw, 17px); line-height: 1.5; font-weight: 600; white-space: nowrap; }
.ft-loading p { color: #697386; font-size: clamp(9px, 2.6vw, 12px); line-height: 1.7; white-space: nowrap; }
.ft-loading, .ft-success { overscroll-behavior: contain; }
@keyframes ft-loading-spin { to { transform: rotate(360deg); } }
.ft-success { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 28px 24px 24px; border: 0; border-radius: 14px; background: #fff; color: #444; box-shadow: 0 12px 64px rgb(36 12 22 / 20%); text-align: center; }
.ft-success::backdrop { background: rgb(38 22 29 / 28%); }
.ft-success[open] { animation: ft-dialog-enter .26s cubic-bezier(.2,.8,.2,1); }
.ft-success__icon { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; background: #e9f9ef; }
.ft-success__icon circle { fill: #fff; }
.ft-success__icon polyline { fill: none; stroke: #16a34a; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ft-success[open] .ft-success__icon { animation: ft-success-pop .4s cubic-bezier(.34,1.56,.64,1); }
.ft-success[open] polyline { stroke-dasharray: 60; animation: ft-success-draw .4s .3s both; }
.ft-success h2 { margin-bottom: 12px; color: #222; font-size: 18px; line-height: 1.5; }
.ft-success p { margin-bottom: 22px; font-size: 13px; line-height: 1.8; }
.ft-success .ft-submit { width: 100%; }
@keyframes ft-success-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes ft-dialog-enter { from { transform: translateY(6px) scale(.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes ft-success-draw { from { stroke-dashoffset: 60; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
.ft-status { margin-top: 18px; padding: 14px; border: 1px solid #d0d5dd; border-radius: 6px; background: #f9fafb; color: #344054; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.ft-status[data-kind="error"] { border-color: #fecdca; background: #fffbfa; color: #b42318; }
.ft-status[data-kind="success"] { border-color: #abefc6; background: #f6fef9; color: #067647; }
.foto-testimoni-page .footer__emailinput { font-size: 16px; }
.ft-main [hidden] { display: none !important; }
@media (max-width: 600px) {
  .ft-main { padding: calc(var(--navbar-h) + 32px) max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left)); }
  .ft-heading { margin-bottom: 24px; }
  .ft-form { padding: 22px 16px; }
  .ft-help-row { flex-wrap: wrap; gap: 4px 12px; }
  .ft-slide img { height: 260px; }
  .ft-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .ft-submit-note { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .foto-testimoni-page { scroll-behavior: auto; }
  .ft-upload { transition: none; }
  .ft-success[open], .ft-success[open] .ft-success__icon, .ft-success[open] polyline { animation: none; }
  .ft-loading__spinner { animation-duration: 2.5s; }
}
