/* Trabaja con nosotros: hub, candidacy form and job offers. Scoped to .tc-page. */
.tc-page {
    --tc-gutter: max(24px, calc((100vw - 1240px) / 2));
    --tc-line: rgba(167, 162, 153, .45);
    --tc-text: #4f4c47;
    --tc-label: #716d65;
}
.tc-page main strong { font-weight: 500; }

.tc-section { padding: 148px var(--tc-gutter) 112px; }
.tc-section--soft { background: var(--bg-card); }
.tc-eyebrow {
    margin: 0 0 18px;
    color: var(--tc-label);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.tc-eyebrow a { color: inherit; text-decoration: none; }
.tc-eyebrow a:hover { color: var(--brand-anthracite); }
.tc-title {
    margin: 0 0 18px;
    color: var(--brand-anthracite);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: 1.05;
}
.tc-lead { max-width: 560px; margin: 0; color: var(--tc-text); font-size: 16px; line-height: 1.75; }
.tc-head { margin-bottom: 56px; }

.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid var(--brand-anthracite);
    background: var(--brand-anthracite);
    color: var(--brand-paper);
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .22s, color .22s;
}
.tc-btn:hover { background: transparent; color: var(--brand-anthracite); }
.tc-btn--block { width: 100%; }
.tc-link {
    display: inline-flex;
    gap: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: var(--brand-anthracite);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
}

/* ---- Hub: three doors ---- */
.tc-doors {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--tc-line);
    border-left: 1px solid var(--tc-line);
}
.tc-door {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 36px 32px 32px;
    border-right: 1px solid var(--tc-line);
    border-bottom: 1px solid var(--tc-line);
    color: var(--brand-anthracite);
    text-decoration: none;
    transition: background .3s;
}
.tc-door:hover { background: var(--brand-paper); }
.tc-door__num { color: var(--brand-warm-grey); font-size: 11px; letter-spacing: .18em; }
.tc-door h2 { margin: 72px 0 14px; font-size: clamp(24px, 2.3vw, 30px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.tc-door p { margin: 0 0 28px; color: var(--tc-text); font-size: 15px; line-height: 1.65; }
.tc-door__go {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--tc-line);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.tc-door__go span:last-child { transition: transform .3s; }
.tc-door:hover .tc-door__go span:last-child { transform: translateX(6px); }
.tc-door__count { color: var(--tc-label); }

/* ---- Offers ---- */
.tc-offers { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--tc-line); }
.tc-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--tc-line);
    color: var(--brand-anthracite);
    text-decoration: none;
}
.tc-offer h2 { margin: 0 0 8px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; letter-spacing: -.02em; }
.tc-offer p { margin: 0; color: var(--tc-text); font-size: 15px; line-height: 1.6; }
.tc-offer:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.tc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; padding: 0; list-style: none; color: var(--tc-label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tc-offer__arrow { font-size: 20px; }
.tc-empty { padding: 44px 0; border-top: 1px solid var(--tc-line); border-bottom: 1px solid var(--tc-line); }
.tc-empty p { margin: 0 0 24px; color: var(--tc-text); font-size: 16px; line-height: 1.7; }

/* ---- Apply ---- */
.tc-apply { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.tc-apply__copy { position: sticky; top: 120px; }
.tc-apply__copy .tc-lead + .tc-meta { margin-top: 24px; }
.tc-description { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--tc-line); color: var(--tc-text); font-size: 15px; line-height: 1.75; }
.tc-description p { margin: 0 0 14px; }
.tc-form-card { padding: clamp(24px, 3.4vw, 44px); background: var(--brand-paper); color: var(--brand-anthracite); }
.tc-errors { margin: 0 0 22px; padding: 14px 16px; border-left: 3px solid #9c352c; background: #fff5f3; color: #7d2a23; font-size: 13px; line-height: 1.55; }
.tc-errors p { margin: 0; }
.tc-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.tc-group { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.tc-group legend {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--brand-beige);
    font-size: 15px;
}
.tc-group legend span { color: var(--brand-warm-grey); font-size: 11px; letter-spacing: .14em; }
.tc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.tc-field { min-width: 0; }
.tc-field--wide { grid-column: 1 / -1; }
.tc-field label { display: block; margin: 0 0 8px; color: var(--grey); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.tc-field label small { font-size: inherit; letter-spacing: inherit; color: var(--brand-warm-grey); }
.tc-field input,
.tc-field select,
.tc-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px;
    border: 1px solid #cfc8bb;
    border-radius: 0;
    background: #fbfaf7;
    color: var(--brand-anthracite);
    font-family: var(--body);
    font-size: 16px;
    font-weight: 300;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .18s, background .18s;
}
.tc-field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.tc-field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23232323' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}
.tc-field input:focus,
.tc-field select:focus,
.tc-field textarea:focus { border-color: var(--brand-anthracite); background-color: #fff; }
.tc-field ::placeholder { color: #a7a299; }

.tc-file { position: relative; display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 16px; border: 1px dashed #bdb5a6; background: #fbfaf7; cursor: pointer; transition: border-color .18s, background .18s; }
.tc-file:hover, .tc-file:focus-within { border-color: var(--brand-anthracite); background: #fff; }
.tc-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tc-file svg { flex: none; width: 22px; height: 22px; }
.tc-file__text { display: grid; gap: 3px; min-width: 0; }
.tc-file__name { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.tc-file__hint { color: var(--tc-label); font-size: 12px; }
.tc-file.has-file { border-style: solid; border-color: var(--brand-anthracite); }

.tc-privacy { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; margin: 4px 0 24px; color: var(--grey); font-size: 12px; line-height: 1.55; }
.tc-privacy input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand-anthracite); }
.tc-privacy a { color: var(--brand-anthracite); }

/* ---- Thanks ---- */
.tc-thanks { display: grid; place-items: center; min-height: 72vh; padding: 140px 24px 96px; text-align: center; }
.tc-thanks .tc-title { font-size: clamp(30px, 4vw, 44px); }
.tc-thanks .tc-lead { margin: 0 auto 36px; }

@media (max-width: 900px) {
    .tc-doors { grid-template-columns: 1fr; }
    .tc-door { min-height: 0; }
    .tc-door h2 { margin-top: 36px; }
    .tc-apply { grid-template-columns: 1fr; }
    .tc-apply__copy { position: static; }
}
@media (max-width: 700px) {
    .tc-section { padding: 116px 20px 72px; }
    .tc-head { margin-bottom: 36px; }
    .tc-door { padding: 28px 22px 24px; }
    .tc-fields { grid-template-columns: 1fr; }
    .tc-form-card { margin: 0 -20px; padding: 28px 20px; }
    .tc-offer { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
    .tc-offer__arrow { display: none; }
}
