/* ==========================================================================
   Horizons Realty — /trabaje-con-nosotros/ (template/template-trabaje.php)
   Scope: .tcn — every rule lives under it so Houzez and Bootstrap stay out.
   Mobile first; breakpoints 700 / 900 / 1200 (brand guide v1.0).
   Motion: CSS only. Scroll-linked effects are progressive enhancement
   (@supports animation-timeline); without it, and with reduced motion,
   everything shows in its final state.
   ========================================================================== */

.tcn {
  --tcn-navy: #0E2A3A;
  --tcn-navy2: #0A1F2B;
  --tcn-navy3: #133548;
  --tcn-blue: #186B99;
  --tcn-sky: #2781AD;
  --tcn-skysoft: #9CCBE6;
  --tcn-gold: #ADAA97;
  --tcn-mist: #F2F6F8;
  --tcn-slate: #4A5A66;
  --tcn-line: rgba(14, 42, 58, .12);
  --tcn-lined: rgba(255, 255, 255, .12);
  --tcn-ease: cubic-bezier(.2, .7, .2, 1);
  --tcn-fd: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --tcn-fb: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tcn-fu: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  display: block;
  overflow-x: clip;
  background: #FFFFFF;
  color: var(--tcn-slate);
  font: 300 16px/1.7 var(--tcn-fb);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.tcn *, .tcn *::before, .tcn *::after { box-sizing: border-box; }
.tcn h1, .tcn h2, .tcn h3, .tcn h4, .tcn p, .tcn ul, .tcn ol, .tcn li,
.tcn figure, .tcn fieldset, .tcn legend, .tcn form { margin: 0; padding: 0; }
.tcn ul, .tcn ol { list-style: none; }
.tcn img { display: block; max-width: 100%; height: auto; }
.tcn a { color: var(--tcn-blue); text-decoration: none; }
.tcn a:hover { color: var(--tcn-navy); }
.tcn button { font: inherit; }
.tcn :focus-visible { outline: 2px solid var(--tcn-sky); outline-offset: 3px; }
.tcn ::selection { background: var(--tcn-navy); color: #FFFFFF; }
.tcn .tcn-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.tcn .tcn-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Layout ---------- */
.tcn-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.tcn-sec { position: relative; padding: 84px 0; scroll-margin-top: 90px; }
.tcn-mist { background: var(--tcn-mist); }
.tcn-dark { background: var(--tcn-navy); color: rgba(255, 255, 255, .76); }
.tcn .tcn-k { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 10.5px/1.5 var(--tcn-fu); letter-spacing: .22em; text-transform: uppercase; color: var(--tcn-blue); }
.tcn-k__r { display: block; flex: none; width: 36px; height: 1px; background: var(--tcn-gold); transform-origin: 0 50%; }
.tcn-dark .tcn-k, .tcn-apply__panel .tcn-k, .tcn-hero .tcn-k { color: rgba(255, 255, 255, .8); }
.tcn h2 { font: 500 38px/1.08 var(--tcn-fd); letter-spacing: -.01em; color: var(--tcn-navy); padding-bottom: .04em; text-transform: none; }
.tcn h2 em { font-style: italic; color: var(--tcn-blue); }
.tcn-dark h2, .tcn-apply__panel h2 { color: #FFFFFF; }
.tcn-dark h2 em, .tcn-apply__panel h2 em { color: var(--tcn-skysoft); }
.tcn-head { margin-bottom: 40px; }
.tcn .tcn-lead { margin-top: 18px; max-width: 520px; font-size: 16.5px; line-height: 1.7; }

/* ---------- Buttons ---------- */
.tcn .tcn-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 1px solid var(--tcn-blue); border-radius: 0; background: var(--tcn-blue); color: #FFFFFF; font: 600 12px/1 var(--tcn-fu); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: color .35s var(--tcn-ease), border-color .35s var(--tcn-ease); }
.tcn .tcn-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tcn-sky); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s var(--tcn-ease); }
.tcn .tcn-btn:hover { color: #FFFFFF; }
.tcn .tcn-btn:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
.tcn .tcn-btn svg { width: 18px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .45s var(--tcn-ease); }
.tcn .tcn-btn:hover svg { transform: translateX(6px); }
.tcn .tcn-btn[disabled] { opacity: .7; cursor: progress; }
.tcn .tcn-btn--line { min-height: 0; padding: 0 0 7px; border: 0; border-bottom: 1px solid var(--tcn-gold); background: none; color: #FFFFFF; }
.tcn .tcn-btn--line::before { display: none; }
.tcn .tcn-btn--line { overflow: visible; }
.tcn .tcn-btn--line::after { content: ""; position: absolute; left: -8px; right: -8px; top: -14px; bottom: -10px; } /* 44 px touch target, same look */
.tcn .tcn-btn--line:hover { color: var(--tcn-skysoft); }
.tcn .tcn-btn--gold { background: none; border-color: var(--tcn-gold); color: var(--tcn-navy); }
.tcn .tcn-btn--gold::before { background: var(--tcn-navy); }
.tcn .tcn-btn--gold:hover { color: #FFFFFF; border-color: var(--tcn-navy); }
.tcn .tcn-btn--block { width: 100%; }

/* ---------- Hero ---------- */
.tcn-hero { position: relative; overflow: hidden; padding-bottom: 60px; background: var(--tcn-navy); color: #FFFFFF; }
.tcn-hero__media { position: relative; height: 440px; overflow: hidden; }
.tcn-hero__media picture { display: block; height: 100%; }
.tcn-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: tcn-kb 2.8s var(--tcn-ease) both; }
.tcn-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14, 42, 58, .3) 0%, rgba(14, 42, 58, 0) 26%, rgba(14, 42, 58, .72) 70%, #0E2A3A 100%); }
.tcn-hero__cap { position: absolute; right: 14px; top: 22px; z-index: 2; writing-mode: vertical-rl; font: 600 9px/1 var(--tcn-fu); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .8); animation: tcn-fade 1.4s var(--tcn-ease) 1.2s both; }
.tcn-hero__text { position: relative; z-index: 2; margin-top: -156px; }
.tcn .tcn-hero h1 { font: 400 46px/1.03 var(--tcn-fd); letter-spacing: -.015em; color: #FFFFFF; text-transform: none; }
.tcn-hero h1 .tcn-ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.tcn-hero h1 .tcn-ln > span, .tcn-hero h1 .tcn-ln > em { display: block; animation: tcn-line-up 1.2s var(--tcn-ease) both; }
.tcn-hero h1 em { font-style: italic; font-weight: 500; }
.tcn-hero h1 .tcn-ln:nth-child(1) > span { animation-delay: .3s; }
.tcn-hero h1 .tcn-ln:nth-child(2) > em { animation-delay: .45s; }
.tcn .tcn-hero__lede { margin: 20px 0 30px; max-width: 500px; font: italic 400 21px/1.45 var(--tcn-fd); color: rgba(255, 255, 255, .9); }
.tcn-hero__ctas { display: grid; gap: 22px; justify-items: start; }
.tcn-hero__ctas .tcn-btn:first-child { width: 100%; }
.tcn .tcn-facts { display: grid; gap: 12px; margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); font: 600 10.5px/1.4 var(--tcn-fu); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.tcn-facts li { display: flex; align-items: center; gap: 10px; }
.tcn-facts li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--tcn-gold); transform: rotate(45deg); }
.tcn-ld { animation: tcn-rise 1.1s var(--tcn-ease) both; }
.tcn-ld1 { animation-delay: .15s; } .tcn-ld4 { animation-delay: .7s; } .tcn-ld5 { animation-delay: .85s; } .tcn-ld6 { animation-delay: 1s; }
.tcn-cue { display: none; }

@keyframes tcn-kb { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes tcn-line-up { from { transform: translateY(106%); } to { transform: none; } }
@keyframes tcn-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes tcn-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Perfiles ---------- */
.tcn-pcards { display: grid; gap: 16px; }
.tcn-pcard { position: relative; padding: 28px 24px 30px; background: #FFFFFF; border: 1px solid var(--tcn-line); transition: transform .55s var(--tcn-ease), box-shadow .55s var(--tcn-ease), border-color .4s; }
.tcn-pcard__top { position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--tcn-blue); transform-origin: 0 50%; transition: height .4s var(--tcn-ease); }
.tcn .tcn-pcard__k { margin-bottom: 12px; font: 600 10px/1 var(--tcn-fu); letter-spacing: .22em; text-transform: uppercase; color: var(--tcn-blue); }
.tcn .tcn-pcard h3 { margin-bottom: 10px; font: 500 25px/1.2 var(--tcn-fd); color: var(--tcn-navy); text-transform: none; letter-spacing: 0; }
.tcn .tcn-pcard p:last-child { font-size: 15.5px; line-height: 1.7; }
.tcn-honest { position: relative; display: grid; gap: 18px; margin-top: 32px; padding-top: 24px; }
.tcn-honest__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--tcn-gold); transform-origin: 0 50%; }
.tcn .tcn-honest p { font-size: 15.5px; line-height: 1.65; }
.tcn-honest strong { font-weight: 500; color: var(--tcn-navy); }
.tcn .tcn-link { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding-bottom: 7px; border-bottom: 1px solid var(--tcn-gold); font: 600 11.5px/1 var(--tcn-fu); letter-spacing: .14em; text-transform: uppercase; color: var(--tcn-blue); }
.tcn-link svg { width: 10px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; animation: tcn-nudge 1.9s var(--tcn-ease) infinite; }
@keyframes tcn-nudge { 50% { transform: translateY(3px); } }

/* ---------- Lo que ponemos (oscuro) ---------- */
.tcn .tcn-eco { position: relative; width: 300px; height: 300px; margin: 36px auto 44px; }
.tcn-eco svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tcn-eco__logo { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; box-shadow: 0 0 0 5px var(--tcn-navy), 0 10px 26px rgba(0, 0, 0, .35); }
.tcn-eco .ring { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.tcn-eco .orbit { fill: none; stroke: rgba(173, 170, 151, .6); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 200px 200px; animation: tcn-spin 90s linear infinite; }
.tcn-eco .spoke { stroke: rgba(255, 255, 255, .24); stroke-width: 1; transition: stroke .4s; }
.tcn-eco .spoke.is-on { stroke: var(--tcn-skysoft); stroke-width: 1.5; }
.tcn-eco .halo { fill: none; stroke: rgba(156, 203, 230, .45); stroke-width: 1; transform-origin: 200px 200px; animation: tcn-halo 3.6s var(--tcn-ease) infinite; }
.tcn-eco .node { transform-box: fill-box; transform-origin: center; }
.tcn-eco .node circle { fill: var(--tcn-navy); stroke: rgba(173, 170, 151, .8); stroke-width: 1.3; transition: fill .4s, stroke .4s; }
.tcn-eco .node .ic { fill: none; stroke: #FFFFFF; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.tcn-eco .node.is-on circle { fill: var(--tcn-blue); stroke: var(--tcn-skysoft); }
.tcn-eco .pulse { fill: var(--tcn-skysoft); opacity: 0; animation: tcn-pulse 3.2s var(--tcn-ease) infinite; }
.tcn-eco .p1 { --dx: 0px; --dy: -60px; }
.tcn-eco .p2 { --dx: 42.4px; --dy: -42.4px; animation-delay: .4s; }
.tcn-eco .p3 { --dx: 60px; --dy: 0px; animation-delay: .8s; }
.tcn-eco .p4 { --dx: 42.4px; --dy: 42.4px; animation-delay: 1.2s; }
.tcn-eco .p5 { --dx: 0px; --dy: 60px; animation-delay: 1.6s; }
.tcn-eco .p6 { --dx: -42.4px; --dy: 42.4px; animation-delay: 2s; }
.tcn-eco .p7 { --dx: -60px; --dy: 0px; animation-delay: 2.4s; }
.tcn-eco .p8 { --dx: -42.4px; --dy: -42.4px; animation-delay: 2.8s; }
@keyframes tcn-spin { to { transform: rotate(360deg); } }
@keyframes tcn-halo { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
@keyframes tcn-pulse { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }

.tcn-lg-head { display: none; }
.tcn .tcn-ledger { border-top: 1px solid var(--tcn-lined); }
.tcn .tcn-lg-row { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid var(--tcn-lined); }
.tcn-lg-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(39, 129, 173, .2), rgba(39, 129, 173, 0) 76%); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--tcn-ease); pointer-events: none; }
.tcn-lg-row.is-on::before { transform: scaleX(1); }
.tcn-lg-ic { position: relative; grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(173, 170, 151, .75); border-radius: 50%; transition: background .4s, border-color .4s, transform .5s var(--tcn-ease); }
.tcn-lg-ic svg { width: 19px; height: 19px; fill: none; stroke: #FFFFFF; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.tcn-lg-row.is-on .tcn-lg-ic { background: var(--tcn-blue); border-color: var(--tcn-skysoft); }
.tcn-lg-what { position: relative; grid-column: 2; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.tcn-lg-how { position: relative; grid-column: 2; display: flex; gap: 10px; align-items: flex-start; font-size: 16px; font-weight: 400; line-height: 1.5; color: #FFFFFF; }
.tcn-lg-check { flex: none; width: 15px; height: 15px; margin-top: 4px; fill: none; stroke: var(--tcn-gold); stroke-width: 1.6; stroke-dasharray: 22; transition: stroke .35s; }
.tcn-lg-row.is-on .tcn-lg-check { stroke: var(--tcn-skysoft); animation: tcn-check .6s var(--tcn-ease); }
@keyframes tcn-check { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
.tcn-inc__cta { display: grid; gap: 20px; margin-top: 40px; }
.tcn .tcn-inc__cta p { font: italic 400 26px/1.3 var(--tcn-fd); color: #FFFFFF; }

/* ---------- Requisitos ---------- */
.tcn .tcn-req { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; align-items: start; padding: 24px 0 26px; }
.tcn-req__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--tcn-gold); transform-origin: 0 50%; }
.tcn-req__badge { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--tcn-gold); border-radius: 50%; background: #FFFFFF; transition: background .45s var(--tcn-ease), border-color .45s, transform .5s var(--tcn-ease); }
.tcn-req__ic { width: 24px; height: 24px; fill: none; stroke: var(--tcn-blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .45s; }
.tcn .tcn-req h3 { margin: 4px 0 6px; font: 500 18px/1.35 var(--tcn-fb); color: var(--tcn-navy); text-transform: none; letter-spacing: 0; }
.tcn .tcn-req p { font-size: 15.5px; line-height: 1.65; }

/* ---------- Respaldo ---------- */
@property --tcn-v15 { syntax: "<integer>"; inherits: false; initial-value: 15; }
@property --tcn-v1600 { syntax: "<integer>"; inherits: false; initial-value: 1600; }
.tcn .tcn-stats { display: grid; border-top: 1px solid var(--tcn-line); }
.tcn .tcn-stat { padding: 30px 0 32px; border-bottom: 1px solid var(--tcn-line); }
.tcn-stat__n { display: flex; align-items: flex-end; height: 76px; font: 500 76px/1 var(--tcn-fd); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; color: var(--tcn-navy); }
.tcn-stat__n i { margin-right: .04em; font-style: normal; color: var(--tcn-gold); }
.tcn-stat__n--txt { font-size: 48px; letter-spacing: -.01em; }
.tcn-cnt15 { counter-reset: tcn-c15 var(--tcn-v15, 15); }
.tcn-cnt15::after { content: counter(tcn-c15); }
.tcn-cnt1600 { counter-reset: tcn-c16 var(--tcn-v1600, 1600); }
.tcn-cnt1600::after { content: counter(tcn-c16); }
.tcn-stat__l { display: block; margin-top: 14px; max-width: 320px; font-size: 15.5px; line-height: 1.55; }

/* ---------- Proceso (vertical en celular) ---------- */
.tcn-steps-wrap { position: relative; }
.tcn-track { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: rgba(14, 42, 58, .14); }
.tcn-track__fill { position: absolute; inset: 0; background: var(--tcn-gold); transform-origin: 50% 0; }
.tcn .tcn-steps { position: relative; display: grid; gap: 34px; }
.tcn .tcn-step { position: relative; padding-left: 44px; }
.tcn-step__dot { position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border: 1px solid var(--tcn-gold); border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 6px #FFFFFF; }
.tcn-step__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--tcn-gold); }
.tcn-step__n { display: block; margin-bottom: 8px; font: italic 400 34px/1 var(--tcn-fd); font-variant-numeric: lining-nums; color: var(--tcn-gold); }
.tcn .tcn-step h3 { margin-bottom: 4px; font: 500 18px/1.35 var(--tcn-fb); color: var(--tcn-navy); text-transform: none; letter-spacing: 0; }
.tcn .tcn-step p { font-size: 15.5px; line-height: 1.65; }

/* ---------- Postularme ---------- */
.tcn-apply { scroll-margin-top: 90px; }
.tcn-apply__panel { position: relative; padding: 84px 20px 56px; background: var(--tcn-navy); color: rgba(255, 255, 255, .78); }
.tcn .tcn-apply__intro { margin-top: 18px; max-width: 420px; font-size: 16px; line-height: 1.7; }
.tcn .tcn-apply__contact { margin-top: 28px; font: 500 13px/1.9 var(--tcn-fu); color: rgba(255, 255, 255, .74); }
.tcn .tcn-apply__contact a { color: #FFFFFF; }
.tcn .tcn-apply__contact a:hover { color: var(--tcn-skysoft); }
.tcn-apply__form { padding: 48px 20px 84px; }
.tcn .tcn-fgrid { display: grid; gap: 26px; }
.tcn .tcn-fld { display: grid; gap: 9px; align-content: start; min-width: 0; border: 0; }
.tcn .tcn-lbl, .tcn .tcn-fld legend { padding: 0; font: 600 10px/1.45 var(--tcn-fu); letter-spacing: .16em; text-transform: uppercase; color: var(--tcn-slate); }
.tcn .tcn-lbl { display: block; margin: 0; }
.tcn .tcn-fld legend { float: none; width: auto; max-width: 100%; margin: 0 0 9px; white-space: normal; }
.tcn .tcn-req-mark { color: var(--tcn-blue); }
.tcn .tcn-inp { width: 100%; height: auto; min-height: 0; margin: 0; padding: 10px 0 11px; border: 0; border-bottom: 1px solid #BFC9D0; border-radius: 0; outline: none; box-shadow: none; background: linear-gradient(var(--tcn-blue), var(--tcn-blue)) 50% 100% / 0 2px no-repeat; font: 400 16px/1.4 var(--tcn-fb); color: var(--tcn-navy); transition: background-size .45s var(--tcn-ease), border-color .3s; }
.tcn .tcn-inp:focus { background-size: 100% 2px; border-bottom-color: transparent; box-shadow: none; }
.tcn .tcn-inp::placeholder { color: #8795A0; }
.tcn select.tcn-inp { appearance: none; -webkit-appearance: none; padding-right: 28px; background: linear-gradient(var(--tcn-blue), var(--tcn-blue)) 50% 100% / 0 2px no-repeat, linear-gradient(45deg, transparent 50%, var(--tcn-navy) 50%) calc(100% - 9px) 52% / 5px 5px no-repeat, linear-gradient(135deg, var(--tcn-navy) 50%, transparent 50%) calc(100% - 4px) 52% / 5px 5px no-repeat; }
.tcn select.tcn-inp:focus { background-size: 100% 2px, 5px 5px, 5px 5px; }
.tcn textarea.tcn-inp { min-height: 120px; resize: vertical; }
.tcn .tcn-hint { font-size: 13px; line-height: 1.45; color: #5B6A75; }
.tcn .tcn-err { font: 500 13px/1.4 var(--tcn-fb); color: #B42318; }
.tcn .tcn-err[hidden] { display: none; }
.tcn .is-invalid .tcn-inp { border-bottom-color: #B42318; }
.tcn .is-invalid .tcn-yn, .tcn .is-invalid .tcn-drop { border-color: #B42318; }
.tcn .tcn-yn { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #BFC9D0; }
.tcn .tcn-yn label { position: relative; display: grid; place-items: center; min-height: 48px; margin: 0; cursor: pointer; font: 600 12px/1 var(--tcn-fu); letter-spacing: .16em; text-transform: uppercase; color: var(--tcn-navy); transition: background .35s var(--tcn-ease), color .35s; }
.tcn .tcn-yn label + label { border-left: 1px solid #BFC9D0; }
.tcn .tcn-yn label:hover { background: var(--tcn-mist); }
.tcn .tcn-yn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tcn .tcn-yn label:has(input:checked) { background: var(--tcn-navy); color: #FFFFFF; }
.tcn .tcn-yn label:has(input:focus-visible) { outline: 2px solid var(--tcn-sky); outline-offset: 2px; }
.tcn .tcn-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px dashed #AEB9C1; background: var(--tcn-mist); transition: border-color .3s, background .3s; }
.tcn .tcn-drop:hover, .tcn .tcn-drop.is-drag { border-color: var(--tcn-blue); background: #EAF1F5; }
.tcn .tcn-drop:focus-within { outline: 2px solid var(--tcn-sky); outline-offset: 3px; }
.tcn .tcn-drop svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--tcn-blue); stroke-width: 1.3; transition: transform .45s var(--tcn-ease); }
.tcn .tcn-drop:hover svg { transform: translateY(-4px); }
.tcn .tcn-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tcn .tcn-drop__txt { font-size: 14.5px; line-height: 1.5; color: var(--tcn-navy); }
.tcn .tcn-drop__txt b { font-weight: 500; color: var(--tcn-blue); border-bottom: 1px solid var(--tcn-gold); }
.tcn .tcn-drop__name { display: block; font-size: 13px; color: #5B6A75; }
.tcn .tcn-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 0; font: 400 14px/1.6 var(--tcn-fb); letter-spacing: 0; text-transform: none; color: var(--tcn-slate); cursor: pointer; }
.tcn .tcn-consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--tcn-blue); }
.tcn .tcn-counter { text-align: right; font: 500 11px/1 var(--tcn-fu); letter-spacing: .08em; color: #5B6A75; }
.tcn .tcn-submit { display: grid; gap: 14px; margin-top: 34px; }
.tcn .tcn-submit .tcn-btn { min-height: 58px; }
.tcn .tcn-submit .tcn-hint { text-align: center; }
.tcn .tcn-fail { padding: 12px 14px; background: #FDECEA; color: #8A1C12; font-size: 14px; line-height: 1.5; }
.tcn .tcn-fail[hidden] { display: none; }
.tcn .tcn-cond[hidden] { display: none; }
.tcn .tcn-cond.is-shown { animation: tcn-rise .5s var(--tcn-ease) both; }
.tcn .tcn-form[hidden] { display: none; }
.tcn .tcn-ok { display: grid; gap: 16px; justify-items: start; padding: 24px 0; }
.tcn .tcn-ok[hidden] { display: none; }
.tcn .tcn-ok:focus { outline: none; }
.tcn-ok__ic { width: 60px; height: 60px; fill: none; stroke: var(--tcn-blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tcn-ok__ic circle { stroke-dasharray: 190; animation: tcn-draw-c 1s var(--tcn-ease) both; }
.tcn-ok__ic path { stroke-dasharray: 40; animation: tcn-draw-p .6s var(--tcn-ease) .7s both; }
@keyframes tcn-draw-c { from { stroke-dashoffset: 190; } to { stroke-dashoffset: 0; } }
@keyframes tcn-draw-p { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
.tcn .tcn-ok strong { font: 500 34px/1.1 var(--tcn-fd); color: var(--tcn-navy); }
.tcn .tcn-ok p { font-size: 16px; line-height: 1.7; }

/* ---------- Preguntas frecuentes ---------- */
.tcn-faq__aside { margin-bottom: 34px; }
.tcn .tcn-faq__note { margin-top: 16px; font-size: 16px; line-height: 1.7; }
.tcn-acc { border-top: 1px solid var(--tcn-line); }
.tcn-acc__item { border-bottom: 1px solid var(--tcn-line); }
.tcn .tcn-acc__h { margin: 0; font: inherit; }
.tcn .tcn-acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; border: 0; background: none; text-align: left; cursor: pointer; font: 500 21px/1.3 var(--tcn-fd); color: var(--tcn-navy); transition: padding .5s var(--tcn-ease), color .3s; }
.tcn-acc__s { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid rgba(14, 42, 58, .16); border-radius: 50%; transition: background .4s, border-color .4s, transform .6s var(--tcn-ease); }
.tcn-acc__s::before, .tcn-acc__s::after { content: ""; position: absolute; left: 10px; top: 16px; width: 12px; height: 1.5px; background: var(--tcn-blue); transition: transform .5s var(--tcn-ease), background .4s; }
.tcn-acc__s::after { transform: rotate(90deg); }
.tcn-acc__item.is-open .tcn-acc__s { background: var(--tcn-navy); border-color: var(--tcn-navy); transform: rotate(180deg); }
.tcn-acc__item.is-open .tcn-acc__s::before, .tcn-acc__item.is-open .tcn-acc__s::after { background: #FFFFFF; }
.tcn-acc__item.is-open .tcn-acc__s::after { transform: rotate(0); }
.tcn-acc__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--tcn-ease); }
.tcn-acc__a > div { overflow: hidden; }
.tcn .tcn-acc__a p { margin: 0 0 24px; max-width: 640px; font-size: 15.5px; line-height: 1.7; transition: opacity .45s .1s, transform .55s var(--tcn-ease) .1s; }
.tcn:not(.tcn-js) .tcn-acc__s { display: none; }
.tcn.tcn-js .tcn-acc__a { grid-template-rows: 0fr; }
.tcn.tcn-js .tcn-acc__a > div { visibility: hidden; transition: visibility 0s linear .6s; }
.tcn.tcn-js .tcn-acc__a p { opacity: 0; transform: translateY(-8px); }
.tcn.tcn-js .tcn-acc__item.is-open .tcn-acc__a { grid-template-rows: 1fr; }
.tcn.tcn-js .tcn-acc__item.is-open .tcn-acc__a > div { visibility: visible; transition-delay: 0s; }
.tcn.tcn-js .tcn-acc__item.is-open .tcn-acc__a p { opacity: 1; transform: none; }

/* ---------- ¿Está empezando? ---------- */
.tcn-seed { display: grid; gap: 34px; }
.tcn .tcn-seed__txt { margin: 16px 0 28px; max-width: 460px; font-size: 16px; line-height: 1.7; }
.tcn-grad { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.tcn-grad svg { display: block; width: 100%; height: 100%; }
.tcn-grad .g-bg { fill: var(--tcn-navy); }
.tcn-grad .g-glow0 { stop-color: #9CCBE6; stop-opacity: .3; }
.tcn-grad .g-glow1 { stop-color: #9CCBE6; stop-opacity: 0; }
.tcn-grad .g-ground { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.tcn-grad .g-walls, .tcn-grad .g-roof, .tcn-grad .g-door, .tcn-grad .g-mull { fill: none; stroke: var(--tcn-gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tcn-grad .g-win { fill: rgba(156, 203, 230, .38); stroke: var(--tcn-gold); stroke-width: 1.8; }
.tcn-grad .g-crown, .tcn-grad .g-board { fill: var(--tcn-navy3); stroke: #FFFFFF; stroke-width: 1.8; stroke-linejoin: round; }
.tcn-grad .g-cord { fill: none; stroke: var(--tcn-gold); stroke-width: 1.8; stroke-linecap: round; }
.tcn-grad .g-end { fill: var(--tcn-gold); }
.tcn-grad .g-tassel { transform-box: view-box; transform-origin: 240px 92px; animation: tcn-swing 3.4s ease-in-out infinite; }
.tcn-grad .g-spark { fill: none; stroke: #FFFFFF; stroke-width: 1.6; stroke-linecap: round; animation: tcn-twinkle 2.8s ease-in-out infinite; }
.tcn-grad .g-spark.s-b { animation-delay: .9s; }
.tcn-grad .g-spark.s-c { animation-delay: 1.7s; }
@keyframes tcn-swing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg); } }
@keyframes tcn-twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

/* ---------- Cierre ---------- */
.tcn-closing { position: relative; overflow: hidden; padding: 96px 0; background: var(--tcn-navy); color: rgba(255, 255, 255, .76); }
.tcn-closing__mono { position: absolute; right: -18%; top: 50%; margin-top: -230px; font: 500 440px/1 var(--tcn-fd); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); pointer-events: none; user-select: none; }
.tcn .tcn-big { position: relative; font: 400 52px/1.04 var(--tcn-fd); letter-spacing: -.015em; color: #FFFFFF; }
.tcn-big .tcn-ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.tcn-big .tcn-ln > span, .tcn-big .tcn-ln > em { display: block; }
.tcn-big em { font-style: italic; color: var(--tcn-skysoft); }
.tcn-closing__row { position: relative; margin-top: 36px; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 700px) {
  .tcn-wrap { padding: 0 40px; }
  .tcn-sec { padding: 104px 0; }
  .tcn h2 { font-size: 46px; }
  .tcn-pcards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .tcn-pcard { padding: 32px 30px 34px; }
  .tcn-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }
  .tcn-hero__ctas .tcn-btn:first-child { width: auto; }
  .tcn .tcn-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; }
  .tcn .tcn-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--tcn-line); }
  .tcn .tcn-stat { padding: 36px 24px; border-bottom: 0; }
  .tcn .tcn-stat + .tcn-stat { border-left: 1px solid var(--tcn-line); }
  .tcn .tcn-stat:first-child { padding-left: 0; }
  .tcn-stat__n { height: 84px; font-size: 84px; }
  .tcn-stat__n--txt { font-size: 50px; }
  .tcn .tcn-fgrid { grid-template-columns: 1fr 1fr; gap: 30px 32px; }
  .tcn .tcn-fld--full { grid-column: 1 / -1; }
  /* The two experience questions share a row; the longer label wraps, so both reserve two lines and the selects line up. */
  .tcn .tcn-fld[data-field="anos_br"] .tcn-lbl, .tcn .tcn-fld[data-field="anos_otro"] .tcn-lbl { min-height: 2.9em; }
  .tcn-inc__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .tcn-inc__cta .tcn-btn--block { width: auto; }
  .tcn-closing__row .tcn-btn--block { width: auto; }
}

/* ==========================================================================
   Escritorio
   ========================================================================== */
@media (min-width: 900px) {
  .tcn-sec { padding: 120px 0; }
  .tcn h2 { font-size: 52px; }
  .tcn .tcn-lead { margin-top: 0; font-size: 18px; }
  .tcn-head { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; margin-bottom: 60px; }
  .tcn-head > .tcn-lead { margin: 0; }

  /* Hero: text left, photo bleeding right */
  .tcn-hero { height: 780px; padding-bottom: 0; }
  .tcn-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; height: auto; }
  .tcn-hero__media::after { background: linear-gradient(90deg, #0E2A3A 0%, rgba(14, 42, 58, .55) 16%, rgba(14, 42, 58, 0) 46%), linear-gradient(to top, rgba(14, 42, 58, .6) 0%, rgba(14, 42, 58, 0) 40%); }
  .tcn-hero__cap { right: auto; left: 26px; top: auto; bottom: 34px; transform: rotate(180deg); font-size: 10px; }
  .tcn-hero .tcn-wrap { height: 100%; display: flex; align-items: center; }
  .tcn-hero__text { width: 50%; max-width: 640px; margin-top: 0; padding-top: 24px; }
  .tcn .tcn-hero h1 { font-size: 64px; }
  .tcn .tcn-hero__lede { font-size: 25px; margin: 28px 0 40px; }
  .tcn .tcn-facts { margin-top: 48px; padding-top: 22px; font-size: 11px; letter-spacing: .16em; }
  .tcn-cue { display: block; position: absolute; left: 40px; bottom: 0; z-index: 2; width: 1px; height: 70px; overflow: hidden; background: rgba(255, 255, 255, .18); }
  .tcn-cue span { position: absolute; left: 0; top: -26px; width: 1px; height: 26px; background: var(--tcn-gold); animation: tcn-cue 2.4s var(--tcn-ease) infinite; }
  @keyframes tcn-cue { to { transform: translateY(96px); } }

  /* Perfiles */
  .tcn-pcard { padding: 38px 38px 40px; }
  .tcn-pcard:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -30px rgba(14, 42, 58, .35); border-color: rgba(14, 42, 58, .2); }
  .tcn-pcard:hover .tcn-pcard__top { height: 4px; }
  .tcn .tcn-pcard h3 { font-size: 29px; }
  .tcn .tcn-pcard p:last-child { font-size: 16px; }
  .tcn-honest { grid-template-columns: 1fr auto; gap: 48px; align-items: center; margin-top: 44px; padding-top: 28px; }
  .tcn .tcn-honest p { max-width: 780px; font-size: 16.5px; }

  /* Lo que ponemos */
  .tcn-inc__head { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 96px; align-items: center; margin-bottom: 64px; }
  .tcn-inc__head .tcn-lead { margin-top: 22px; }
  .tcn .tcn-eco { width: 340px; height: 340px; margin: 0; }
  .tcn-eco__logo { width: 92px; height: 92px; margin: -46px 0 0 -46px; box-shadow: 0 0 0 6px var(--tcn-navy), 0 12px 30px rgba(0, 0, 0, .35); }
  .tcn-lg-head { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 24px; padding: 0 0 16px; font: 600 10.5px/1.4 var(--tcn-fu); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
  .tcn .tcn-lg-row { grid-template-columns: 64px 1fr 1fr; gap: 24px; align-items: center; padding: 18px 0; }
  .tcn-lg-ic { grid-row: auto; width: 44px; height: 44px; }
  .tcn-lg-ic svg { width: 21px; height: 21px; }
  .tcn-lg-row.is-on .tcn-lg-ic { transform: scale(1.06); }
  .tcn-lg-what, .tcn-lg-how { grid-column: auto; }
  .tcn-lg-what { font-size: 16px; }
  .tcn-lg-how { font-size: 17px; }
  .tcn-lg-check { width: 16px; height: 16px; }
  .tcn-inc__cta { margin-top: 60px; }
  .tcn .tcn-inc__cta p { font-size: 32px; }

  /* Requisitos */
  .tcn-reqs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
  .tcn .tcn-req { display: block; padding: 36px 0 0; }
  .tcn-req__badge { width: 66px; height: 66px; margin-bottom: 24px; }
  .tcn-req__ic { width: 28px; height: 28px; }
  .tcn-req:hover .tcn-req__badge { background: var(--tcn-navy); border-color: var(--tcn-navy); transform: translateY(-4px); }
  .tcn-req:hover .tcn-req__ic { stroke: #FFFFFF; }
  .tcn .tcn-req h3 { margin: 0 0 8px; font-size: 19px; }
  .tcn .tcn-req p { font-size: 16px; }

  /* Respaldo */
  .tcn .tcn-stat { padding: 46px 34px 42px; }
  .tcn-stat__n { height: 98px; font-size: 98px; }
  .tcn-stat__n--txt { font-size: 60px; }
  .tcn-stat__l { margin-top: 18px; font-size: 16px; }

  /* Proceso: horizontal */
  .tcn-track { left: 0; right: 0; top: 8px; bottom: auto; width: auto; height: 1px; }
  .tcn-track__fill { transform-origin: 0 50%; }
  .tcn .tcn-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; }
  .tcn .tcn-step { padding: 46px 0 0; }
  .tcn-step__dot { top: 1px; }
  .tcn-step__n { margin-bottom: 18px; font-size: 46px; }
  .tcn .tcn-step h3 { margin-bottom: 6px; font-size: 19px; }
  .tcn .tcn-step p { font-size: 16px; }

  /* Postularme: panel and form side by side */
  .tcn-apply { display: grid; grid-template-columns: 5fr 7fr; }
  .tcn-apply__panel { padding: 120px 64px 120px 40px; }
  .tcn-apply__sticky { position: sticky; top: 130px; }
  .tcn .tcn-apply__intro { font-size: 17px; }
  .tcn-apply__form { padding: 120px 40px 120px 64px; }
  .tcn .tcn-fgrid { gap: 30px 36px; }
  .tcn .tcn-lbl, .tcn .tcn-fld legend { font-size: 10.5px; letter-spacing: .18em; }
  .tcn .tcn-inp { font-size: 17px; }
  .tcn .tcn-submit { margin-top: 40px; }
  .tcn .tcn-submit .tcn-btn { min-height: 60px; }
  .tcn .tcn-ok strong { font-size: 42px; }

  /* Preguntas frecuentes */
  .tcn-faq { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; align-items: start; }
  .tcn-faq__aside { position: sticky; top: 130px; margin: 0; }
  .tcn .tcn-faq__note { margin-top: 20px; max-width: 360px; font-size: 17px; }
  .tcn .tcn-acc__q { padding: 26px 0; font-size: 25px; }
  .tcn .tcn-acc__q:hover { padding-left: 12px; color: var(--tcn-blue); }
  .tcn-acc__s { width: 38px; height: 38px; }
  .tcn-acc__s::before, .tcn-acc__s::after { left: 12px; top: 18px; width: 13px; }
  .tcn .tcn-acc__a p { font-size: 16.5px; margin-bottom: 28px; }

  /* ¿Está empezando? */
  .tcn-seed { grid-template-columns: 6fr 5fr; gap: 88px; align-items: center; }
  .tcn .tcn-seed__txt { font-size: 17px; margin: 20px 0 32px; }

  /* Cierre */
  .tcn-closing { padding: 150px 0; }
  .tcn-closing__mono { right: -3%; margin-top: -380px; font-size: 720px; }
  .tcn .tcn-big { font-size: 100px; line-height: 1.02; }
  .tcn-closing__row { margin-top: 48px; }
}

@media (min-width: 1200px) {
  .tcn-wrap { padding: 0 120px; }
  .tcn-hero .tcn-wrap { padding-left: 120px; }
  .tcn-cue { left: 120px; }
  .tcn h2 { font-size: 54px; }
  .tcn .tcn-hero h1 { font-size: 78px; }
  .tcn-apply__panel { padding-left: 120px; padding-right: 80px; }
  .tcn-apply__form { padding-left: 80px; padding-right: 120px; }
}

/* ==========================================================================
   Movimiento ligado al desplazamiento (Chrome, Edge, Safari 26+)
   ========================================================================== */
@supports (animation-timeline: view()) {
  .tcn-hero { view-timeline: --tcn-hero block; }
  .tcn-hero__media { animation: tcn-hero-par linear both; animation-timeline: --tcn-hero; animation-range: exit 0% exit 100%; }
  @keyframes tcn-hero-par { to { translate: 0 110px; } }

  .tcn-sr { animation: tcn-sr-up linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
  .tcn-sr.tcn-s2 { animation-range: entry 14% cover 34%; }
  .tcn-sr.tcn-s3 { animation-range: entry 22% cover 40%; }
  .tcn-sr.tcn-s4 { animation-range: entry 30% cover 46%; }
  @keyframes tcn-sr-up { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
  .tcn-sr-mask { animation: tcn-sr-mask linear both; animation-timeline: view(); animation-range: entry 10% cover 32%; }
  @keyframes tcn-sr-mask { from { clip-path: inset(0 0 100% 0); translate: 0 28px; } to { clip-path: inset(-20% -5% -25% -5%); translate: 0 0; } }
  .tcn-sr-line { animation: tcn-sr-line linear both; animation-timeline: view(); animation-range: entry 20% cover 32%; }
  .tcn-sr-line.tcn-s2 { animation-range: entry 28% cover 38%; }
  .tcn-sr-line.tcn-s3 { animation-range: entry 36% cover 44%; }
  .tcn-sr-line.tcn-s4 { animation-range: entry 44% cover 50%; }
  @keyframes tcn-sr-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes tcn-draw { from { stroke-dashoffset: var(--tcn-len); } to { stroke-dashoffset: 0; } }
  @keyframes tcn-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
  @keyframes tcn-fade-in { from { opacity: 0; } to { opacity: 1; } }

  .tcn-dark.tcn-sec { animation: tcn-panel-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  @keyframes tcn-panel-in { from { clip-path: inset(0 4% 0 4%); } to { clip-path: inset(0 0 0 0); } }

  .tcn .tcn-eco { view-timeline: --tcn-eco block; }
  .tcn-eco .ring { --tcn-len: 604; stroke-dasharray: 604; animation: tcn-draw linear both; animation-timeline: --tcn-eco; animation-range: entry 20% cover 40%; }
  .tcn-eco .spoke { --tcn-len: 62; stroke-dasharray: 62; animation: tcn-draw linear both; animation-timeline: --tcn-eco; animation-range: entry 35% cover 48%; }
  .tcn-eco__logo { animation: tcn-pop linear both; animation-timeline: --tcn-eco; animation-range: entry 15% cover 35%; }
  .tcn-eco .orbit-wrap { animation: tcn-fade-in linear both; animation-timeline: --tcn-eco; animation-range: entry 10% cover 30%; }
  .tcn-eco .node { animation: tcn-pop linear both; animation-timeline: --tcn-eco; }
  .tcn-eco .n1 { animation-range: entry 40% cover 44%; }
  .tcn-eco .n2 { animation-range: entry 44% cover 46%; }
  .tcn-eco .n3 { animation-range: entry 48% cover 48%; }
  .tcn-eco .n4 { animation-range: entry 52% cover 50%; }
  .tcn-eco .n5 { animation-range: entry 56% cover 52%; }
  .tcn-eco .n6 { animation-range: entry 60% cover 54%; }
  .tcn-eco .n7 { animation-range: entry 64% cover 56%; }
  .tcn-eco .n8 { animation-range: entry 68% cover 58%; }

  .tcn .tcn-req { view-timeline: --tcn-rq block; }
  .tcn-req__ic * { --tcn-len: 100; stroke-dasharray: 100; animation: tcn-draw linear both; animation-timeline: --tcn-rq; animation-range: entry 30% cover 45%; }

  .tcn-cnt15 { animation: tcn-k15 linear both; animation-timeline: view(); animation-range: entry 25% cover 50%; }
  .tcn-cnt1600 { animation: tcn-k1600 linear both; animation-timeline: view(); animation-range: entry 25% cover 55%; }
  @keyframes tcn-k15 { from { --tcn-v15: 0; } to { --tcn-v15: 15; } }
  @keyframes tcn-k1600 { from { --tcn-v1600: 0; } to { --tcn-v1600: 1600; } }

  .tcn-steps-wrap { view-timeline: --tcn-steps block; }
  .tcn-track__fill { animation: tcn-grow-y linear both; animation-timeline: --tcn-steps; animation-range: cover 12% cover 62%; }
  @keyframes tcn-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  .tcn-step__dot::after { animation: tcn-dot linear both; animation-timeline: --tcn-steps; }
  @keyframes tcn-dot { from { transform: scale(0); } to { transform: scale(1); } }
  .tcn-st1::after { animation-range: cover 11% cover 14%; }
  .tcn-st2::after { animation-range: cover 23% cover 26%; }
  .tcn-st3::after { animation-range: cover 35% cover 38%; }
  .tcn-st4::after { animation-range: cover 47% cover 50%; }
  .tcn-st5::after { animation-range: cover 59% cover 62%; }

  .tcn-grad { view-timeline: --tcn-grad block; }
  .tcn-grad .g-ground { --tcn-len: 400; stroke-dasharray: 400; animation: tcn-draw linear both; animation-timeline: --tcn-grad; animation-range: entry 10% cover 30%; }
  .tcn-grad .g-walls { --tcn-len: 400; stroke-dasharray: 400; animation: tcn-draw linear both; animation-timeline: --tcn-grad; animation-range: entry 20% cover 36%; }
  .tcn-grad .g-roof { --tcn-len: 290; stroke-dasharray: 290; animation: tcn-draw linear both; animation-timeline: --tcn-grad; animation-range: entry 35% cover 40%; }
  .tcn-grad .g-door { --tcn-len: 130; stroke-dasharray: 130; animation: tcn-draw linear both; animation-timeline: --tcn-grad; animation-range: entry 50% cover 44%; }
  .tcn-grad .g-win { --tcn-len: 140; stroke-dasharray: 140; animation: tcn-draw linear both, tcn-light-on linear both; animation-timeline: --tcn-grad, --tcn-grad; animation-range: entry 55% cover 46%, cover 44% cover 52%; }
  @keyframes tcn-light-on { from { fill: rgba(156, 203, 230, 0); } to { fill: rgba(156, 203, 230, .38); } }
  .tcn-grad .g-mull { --tcn-len: 140; stroke-dasharray: 140; animation: tcn-draw linear both; animation-timeline: --tcn-grad; animation-range: entry 60% cover 48%; }
  .tcn-grad .g-cap { animation: tcn-cap-drop linear both; animation-timeline: --tcn-grad; animation-range: cover 36% cover 54%; }
  @keyframes tcn-cap-drop { 0% { opacity: 0; transform: translateY(-130px); } 60% { opacity: 1; transform: translateY(8px); } 80% { transform: translateY(-4px); } 100% { opacity: 1; transform: translateY(0); } }
  .tcn-grad .g-glow { animation: tcn-fade-in linear both; animation-timeline: --tcn-grad; animation-range: entry 40% cover 50%; }

  .tcn-closing { view-timeline: --tcn-cl block; }
  .tcn-closing__mono { animation: tcn-mono linear both; animation-timeline: --tcn-cl; animation-range: cover 0% cover 100%; }
  @keyframes tcn-mono { from { translate: 0 60px; rotate: -3deg; } to { translate: 0 -60px; rotate: 0deg; } }
  .tcn-big .tcn-ln > span, .tcn-big .tcn-ln > em { animation: tcn-line-in linear both; animation-timeline: --tcn-cl; animation-range: entry 20% cover 38%; }
  .tcn-big .tcn-ln > em { animation-range: entry 32% cover 44%; }
  @keyframes tcn-line-in { from { translate: 0 106%; } to { translate: 0 0; } }
}

@supports (animation-timeline: view()) {
  @media (min-width: 900px) {
    .tcn-track__fill { animation-name: tcn-sr-line; animation-range: cover 22% cover 58%; }
    .tcn-st1::after { animation-range: cover 21% cover 24%; }
    .tcn-st2::after { animation-range: cover 30% cover 33%; }
    .tcn-st3::after { animation-range: cover 39% cover 42%; }
    .tcn-st4::after { animation-range: cover 48% cover 51%; }
    .tcn-st5::after { animation-range: cover 56% cover 59%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .tcn *, .tcn *::before, .tcn *::after { animation: none !important; transition-duration: .01ms !important; }
}
