/* =============================================================
   Humantronic.ai — Cinematic landing (dark, robotics)
   Standalone sheet. No Bootstrap dependency.
   Palette: near-black canvas + white + cool silver/blue accent.
   Reuses the .tl- class system, re-themed for a humanoid brand.
   ============================================================= */

:root {
    --tl-accent:     #ffffff;          /* primary accent = white */
    --tl-accent-2:   #4ea1ff;          /* subtle electric blue (robot tie-in) */
    --tl-glow:       rgba(78,161,255,.45);
    --tl-ink:        #ffffff;          /* headings */
    --tl-body:       #b7bdc7;          /* body text */
    --tl-muted:      #7c8593;          /* muted text */
    --tl-line:       rgba(255,255,255,.10);
    --tl-line-soft:  rgba(255,255,255,.06);
    --tl-bg:         #08090b;          /* canvas */
    --tl-bg-soft:    #0e1013;          /* alternating sections */
    --tl-bg-card:    #111317;          /* cards */
    --tl-bg-dark:    #050506;          /* darkest band */
    --tl-radius:     18px;
    --tl-radius-sm:  12px;
    --tl-shadow:     0 1px 2px rgba(0,0,0,.4), 0 18px 50px rgba(0,0,0,.5);
    --tl-shadow-lg:  0 30px 70px -18px rgba(0,0,0,.8);
    --tl-ease:       cubic-bezier(.22,.61,.36,1);
    --tl-maxw:       1240px;
}

/* ---------- Base ---------- */
.tl * { box-sizing: border-box; }
.tl {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--tl-body);
    line-height: 1.65;
    background: var(--tl-bg);
    -webkit-font-smoothing: antialiased;
}
.tl img { max-width: 100%; display: block; }
.tl a { color: inherit; text-decoration: none; }
.tl h1, .tl h2, .tl h3, .tl h4 {
    color: var(--tl-ink);
    line-height: 1.06;
    letter-spacing: -.025em;
    margin: 0 0 .4em;
    font-weight: 800;
}
.tl p { margin: 0 0 1em; }

.tl-container { width: 100%; max-width: var(--tl-maxw); margin: 0 auto; padding: 0 28px; }
.tl-section { padding: 110px 0; position: relative; }
.tl-section--soft { background: var(--tl-bg-soft); }
.tl-section--dark { background: var(--tl-bg-dark); color: var(--tl-body); }
.tl-section--dark h2, .tl-section--dark h3 { color: #fff; }

/* ---------- Section typography ---------- */
.tl-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
    color: #cfd5de; margin-bottom: 20px;
}
.tl-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--tl-accent-2); }
.tl-h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
.tl-lead { font-size: 19px; max-width: 660px; color: var(--tl-body); }
.tl-center { text-align: center; }
.tl-center .tl-lead { margin-left: auto; margin-right: auto; }
.tl-accent { color: #fff; position: relative; }
.tl-accent::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .14em;
    background: linear-gradient(90deg, var(--tl-accent-2), transparent);
    opacity: .9;
}

/* ---------- Buttons ---------- */
.tl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-weight: 700; font-size: 15px; line-height: 1;
    padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: transform .2s var(--tl-ease), box-shadow .25s var(--tl-ease),
                background-color .25s var(--tl-ease), color .2s var(--tl-ease), border-color .2s var(--tl-ease);
    white-space: nowrap;
}
.tl-btn--primary { background: #fff; color: #07080a; }
.tl-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,255,255,.18); }
/* Keep --lime name (used by old markup) but render as white pill */
.tl-btn--lime { background: #fff; color: #07080a; }
.tl-btn--lime:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,255,255,.2); }
.tl-btn--ghost { background: rgba(255,255,255,.02); color: #fff; border-color: rgba(255,255,255,.22); }
.tl-btn--ghost:hover { border-color: #fff; transform: translateY(-2px); background: rgba(255,255,255,.06); }

/* ---------- NAVBAR ---------- */
.tl-nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(8,9,11,.72);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--tl-line-soft);
}
.tl-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.tl-nav__logo { display: inline-flex; align-items: center; gap: 11px; }
.tl-nav__logo img { height: 30px; width: auto; }
.tl-wordmark {
    font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: #fff;
    display: inline-flex; align-items: baseline; gap: 1px;
}
.tl-wordmark b { font-weight: 800; }
.tl-wordmark .dotai { color: var(--tl-accent-2); font-weight: 700; }
.tl-logomark {
    width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
    background: conic-gradient(from 220deg, #4ea1ff, #ffffff 55%, #4ea1ff);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a4 4 0 0 1 4 4v1h1a3 3 0 0 1 3 3v3a3 3 0 0 1-2 2.83V20a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-1.17A3 3 0 0 1 4 16v-3a3 3 0 0 1 3-3h1V6a4 4 0 0 1 4-4Zm-2 12a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm4 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a4 4 0 0 1 4 4v1h1a3 3 0 0 1 3 3v3a3 3 0 0 1-2 2.83V20a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-1.17A3 3 0 0 1 4 16v-3a3 3 0 0 1 3-3h1V6a4 4 0 0 1 4-4Zm-2 12a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm4 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tl-nav__links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.tl-nav__links a { font-size: 14.5px; font-weight: 500; color: #c4cad3; position: relative; }
.tl-nav__links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
    background: var(--tl-accent-2); transition: width .3s var(--tl-ease);
}
.tl-nav__links a:hover { color: #fff; }
.tl-nav__links a:hover::after { width: 100%; }
.tl-nav__cta { display: flex; align-items: center; gap: 12px; }
.tl-nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.tl-nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; transition: .3s var(--tl-ease); }

/* ---------- HERO (cinematic full-bleed) ---------- */
.tl-hero {
    position: relative; overflow: hidden;
    min-height: 88vh; display: flex; align-items: center;
    padding: 120px 0 90px;
}
.tl-hero__bg { position: absolute; inset: 0; z-index: 0; }
.tl-hero__bg video, .tl-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.tl-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,.35) 38%, rgba(8,9,11,.82) 82%, var(--tl-bg) 100%),
        linear-gradient(90deg, rgba(8,9,11,.82) 0%, rgba(8,9,11,.25) 55%, transparent 100%);
}
.tl-hero__inner { position: relative; z-index: 1; width: 100%; }
.tl-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
    color: #dfe4ea; margin-bottom: 22px;
    border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 16px;
    background: rgba(255,255,255,.04); backdrop-filter: blur(6px);
}
.tl-hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tl-accent-2); box-shadow: 0 0 0 0 var(--tl-glow); animation: tl-pulse 2s infinite; }
.tl-hero h1 { font-size: clamp(40px, 6.6vw, 84px); max-width: 16ch; letter-spacing: -.04em; }
.tl-hero__sub { font-size: clamp(17px, 2vw, 21px); max-width: 600px; margin: 22px 0 34px; color: #cdd2db; }
.tl-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.tl-hero__note { font-size: 13.5px; color: #939ba7; letter-spacing: .02em; }
@keyframes tl-pulse { 0%{box-shadow:0 0 0 0 var(--tl-glow)} 70%{box-shadow:0 0 0 12px rgba(78,161,255,0)} 100%{box-shadow:0 0 0 0 rgba(78,161,255,0)} }

/* legacy hero media block (kept for safety) */
.tl-hero__media { position: relative; border-radius: var(--tl-radius); overflow: hidden; box-shadow: var(--tl-shadow-lg); background: #000; aspect-ratio: 16/10; }
.tl-hero__media video, .tl-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.tl-hero__chip { position: absolute; left: 18px; bottom: 18px; z-index: 2; background: rgba(8,9,11,.7); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(78,161,255,.4); padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.tl-hero__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tl-accent-2); }

/* ---------- Trust / clients strip ---------- */
.tl-trust { padding: 30px 0; border-top: 1px solid var(--tl-line-soft); border-bottom: 1px solid var(--tl-line-soft); background: var(--tl-bg-dark); }
.tl-trust__label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--tl-muted); margin-bottom: 18px; }
.tl-trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px; }
.tl-trust__row span { font-size: 17px; font-weight: 700; color: #69727f; letter-spacing: .01em; transition: color .25s var(--tl-ease); }
.tl-trust__row span:hover { color: #cfd5de; }

/* ---------- Rotating marquee (trust strip) ---------- */
.tl-marquee { overflow: hidden; position: relative;
    -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.tl-marquee__track { display: flex; align-items: center; gap: 60px; width: max-content;
    animation: tl-scroll 34s linear infinite; }
.tl-marquee:hover .tl-marquee__track { animation-play-state: paused; }
.tl-marquee__track span { font-size: 19px; font-weight: 700; color: #6b7480; white-space: nowrap; letter-spacing: -.01em; transition: color .25s var(--tl-ease); }
.tl-marquee__track span:hover { color: #fff; }
@keyframes tl-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Logo wall (clients) ---------- */
.tl-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tl-logo { background: #f4f6f8; border: 1px solid var(--tl-line); border-radius: 14px;
    display: grid; place-items: center; padding: 22px 18px; min-height: 104px;
    transition: transform .3s var(--tl-ease), box-shadow .3s var(--tl-ease); }
.tl-logo:hover { transform: translateY(-4px); box-shadow: var(--tl-shadow-lg); }
.tl-logo img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Logo marquee (scrolling logo chips) ---------- */
.tl-marquee--logos .tl-marquee__track { gap: 22px; }
.tl-logochip { flex: 0 0 auto; background: #fff; border-radius: 12px; padding: 0 24px;
    height: 66px; min-width: 130px; display: grid; place-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.tl-logochip img { max-height: 34px; max-width: 150px; width: auto; object-fit: contain; display: block; }

/* ---------- Video gallery (professional) ---------- */
.tl-reel { aspect-ratio: 16 / 9; width: 100%; max-width: 1040px; margin: 0 auto 26px; }
.tl-phones { display: flex; justify-content: center; align-items: stretch; gap: 24px; flex-wrap: wrap; }
.tl-phones .tl-vid { aspect-ratio: 9 / 16; width: 300px; max-width: 46vw; }
.tl-vid__bar { flex-wrap: wrap; row-gap: 8px; }

/* ---------- Product showcase cards (humanoid-style) ---------- */
.tl-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.tl-show {
    position: relative; border-radius: var(--tl-radius); overflow: hidden;
    min-height: 520px; display: flex; align-items: flex-end;
    border: 1px solid var(--tl-line); background: #0c0e12;
    transition: transform .4s var(--tl-ease), box-shadow .4s var(--tl-ease), border-color .4s var(--tl-ease);
}
.tl-show:hover { transform: translateY(-6px); box-shadow: var(--tl-shadow-lg); border-color: rgba(78,161,255,.4); }
.tl-show__img { position: absolute; inset: 0; }
.tl-show__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--tl-ease); }
.tl-show:hover .tl-show__img img { transform: scale(1.04); }
.tl-show::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,.05) 30%, rgba(8,9,11,.55) 64%, rgba(6,6,7,.95) 100%); }
.tl-show__body { position: relative; z-index: 2; padding: 34px 34px 32px; width: 100%; }
.tl-show__kicker { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tl-accent-2); margin-bottom: 10px; }
.tl-show__body h3 { font-size: 30px; margin-bottom: 8px; }
.tl-show__body p { font-size: 15.5px; color: #c6ccd5; max-width: 44ch; margin-bottom: 18px; }
.tl-show__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: #fff; }
.tl-show__link .ar { transition: transform .25s var(--tl-ease); }
.tl-show:hover .tl-show__link .ar { transform: translateX(5px); }

/* ---------- Generic cards ---------- */
.tl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tl-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tl-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tl-card {
    background: var(--tl-bg-card); border: 1px solid var(--tl-line); border-radius: var(--tl-radius);
    padding: 30px; transition: transform .3s var(--tl-ease), box-shadow .3s var(--tl-ease), border-color .3s var(--tl-ease);
}
.tl-card:hover { transform: translateY(-6px); box-shadow: var(--tl-shadow-lg); border-color: rgba(78,161,255,.35); }
.tl-card__icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(78,161,255,.22), rgba(78,161,255,.05)); color: #cfe0ff; margin-bottom: 20px; border: 1px solid rgba(78,161,255,.25); }
.tl-card__icon svg { width: 26px; height: 26px; }
.tl-card h3 { font-size: 20px; }
.tl-card p { font-size: 15px; margin: 0; color: var(--tl-body); }

/* ---------- Steps ---------- */
.tl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tl-step { position: relative; text-align: center; padding: 0 8px; }
.tl-step__num {
    width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 19px;
    background: rgba(255,255,255,.03); color: #fff; border: 1.5px solid var(--tl-accent-2);
    box-shadow: 0 0 26px rgba(78,161,255,.22);
}
.tl-step h4 { font-size: 17px; margin-bottom: 6px; }
.tl-step p { font-size: 14px; margin: 0; }
.tl-step:not(:last-child)::after {
    content: ""; position: absolute; top: 29px; left: calc(50% + 42px); right: calc(-50% + 42px);
    height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 6px, transparent 6px 12px);
}

/* ---------- Stats band ---------- */
.tl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tl-stat { text-align: center; }
.tl-stat__num { font-size: clamp(38px, 5vw, 60px); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.tl-stat__num .u { color: var(--tl-accent-2); }
.tl-stat__lbl { font-size: 14px; color: var(--tl-muted); margin-top: 10px; }

/* ---------- Feature check lists ---------- */
.tl-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tl-checks li { position: relative; padding-left: 34px; font-size: 16px; color: var(--tl-body); }
.tl-checks li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%;
    background: rgba(78,161,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ea1ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
    border: 1px solid rgba(78,161,255,.3);
}

/* ---------- Split ---------- */
.tl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tl-split__media { border-radius: var(--tl-radius); overflow: hidden; box-shadow: var(--tl-shadow); border: 1px solid var(--tl-line); background: #0c0e12; }
.tl-split__media img { width: 100%; }

/* ---------- Plans ---------- */
.tl-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tl-plan { background: var(--tl-bg-card); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); padding: 34px; display: flex; flex-direction: column; transition: transform .3s var(--tl-ease), box-shadow .3s var(--tl-ease), border-color .3s; }
.tl-plan:hover { transform: translateY(-6px); box-shadow: var(--tl-shadow-lg); border-color: rgba(78,161,255,.3); }
.tl-plan--featured { border-color: rgba(78,161,255,.55); box-shadow: 0 0 0 1px rgba(78,161,255,.35), 0 30px 60px rgba(0,0,0,.6); position: relative; background: linear-gradient(180deg, rgba(78,161,255,.07), rgba(255,255,255,0) 40%), var(--tl-bg-card); }
.tl-plan__tag { position: absolute; top: -13px; left: 34px; background: var(--tl-accent-2); color: #04111f; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; }
.tl-plan h3 { font-size: 22px; margin-bottom: 4px; }
.tl-plan__desc { font-size: 14px; color: var(--tl-muted); min-height: 42px; }
.tl-plan__price { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -.03em; margin: 14px 0 2px; }
.tl-plan__price small { font-size: 15px; font-weight: 600; color: var(--tl-muted); }
.tl-plan__hr { height: 1px; background: var(--tl-line); margin: 22px 0; border: 0; }
.tl-plan .tl-checks li { font-size: 14.5px; }
.tl-plan .tl-btn { margin-top: auto; width: 100%; }

/* ---------- Video grid ---------- */
.tl-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tl-vid { position: relative; border-radius: var(--tl-radius); overflow: hidden; background: #000; box-shadow: var(--tl-shadow); aspect-ratio: 16/9; cursor: pointer; border: 1px solid var(--tl-line); }
.tl-vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-vid__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.tl-vid__title { font-size: 15px; font-weight: 700; }
.tl-vid__sound { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; background: rgba(8,9,11,.7); border: 1px solid rgba(78,161,255,.4); color: #fff; padding: 7px 12px; border-radius: 999px; transition: background .2s var(--tl-ease); }
.tl-vid__sound:hover { background: rgba(78,161,255,.85); color: #04111f; }
.tl-vid__hint { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; transition: opacity .4s var(--tl-ease); }
.tl-vid__hint span { background: rgba(8,9,11,.55); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.tl-vid.is-on .tl-vid__hint { opacity: 0; }

/* ---------- Clients logo/name grid ---------- */
.tl-clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--tl-line-soft); border: 1px solid var(--tl-line-soft); border-radius: var(--tl-radius); overflow: hidden; }
.tl-clients span { background: var(--tl-bg); display: grid; place-items: center; padding: 26px 14px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: #8c95a2; text-align: center; transition: color .25s var(--tl-ease), background .25s var(--tl-ease); }
.tl-clients span:hover { color: #fff; background: var(--tl-bg-soft); }

/* ---------- Service quadrant (tesollo-style) ---------- */
.tl-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tl-quad__card { background: var(--tl-bg-card); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); padding: 28px 24px; transition: transform .3s var(--tl-ease), border-color .3s var(--tl-ease); }
.tl-quad__card:hover { transform: translateY(-5px); border-color: rgba(78,161,255,.4); }
.tl-quad__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(78,161,255,.12); color: #9fc6ff; margin-bottom: 16px; border: 1px solid rgba(78,161,255,.22); }
.tl-quad__ic svg { width: 22px; height: 22px; }
.tl-quad__card h4 { font-size: 17px; margin-bottom: 6px; }
.tl-quad__card p { font-size: 13.5px; color: var(--tl-muted); margin-bottom: 14px; }
.tl-quad__card a { font-size: 13.5px; font-weight: 700; color: var(--tl-accent-2); }

/* ---------- Offices ---------- */
.tl-offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tl-office { border: 1px solid var(--tl-line); border-radius: var(--tl-radius); padding: 30px; background: var(--tl-bg-card); }
.tl-office .flag { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tl-accent-2); margin-bottom: 10px; }
.tl-office h4 { font-size: 19px; margin-bottom: 6px; }
.tl-office p { font-size: 15px; margin: 0 0 14px; color: var(--tl-body); }
.tl-office a { font-size: 14px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Final CTA ---------- */
.tl-cta { background: radial-gradient(120% 140% at 50% 0%, rgba(78,161,255,.18), transparent 60%), linear-gradient(180deg, #0e1117, #07080a); border: 1px solid var(--tl-line); border-radius: 26px; padding: 70px 48px; text-align: center; position: relative; overflow: hidden; }
.tl-cta h2 { color: #fff; font-size: clamp(28px, 3.8vw, 42px); }
.tl-cta p { color: #b8c0c9; max-width: 580px; margin: 0 auto 30px; }
.tl-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.tl-footer { background: var(--tl-bg-dark); color: var(--tl-muted); padding: 70px 0 34px; border-top: 1px solid var(--tl-line-soft); }
.tl-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 42px; border-bottom: 1px solid var(--tl-line-soft); }
.tl-footer .tl-wordmark { margin-bottom: 16px; }
.tl-footer h5 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.tl-footer a { display: block; color: var(--tl-muted); font-size: 15px; padding: 5px 0; transition: color .2s var(--tl-ease); }
.tl-footer a:hover { color: #fff; }
.tl-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 14px; color: #5f6874; }

/* ---------- Reveal ---------- */
.tl-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--tl-ease), transform .8s var(--tl-ease); }
.tl-reveal.is-visible { opacity: 1; transform: none; }
.tl-reveal[data-delay="1"] { transition-delay: .09s; }
.tl-reveal[data-delay="2"] { transition-delay: .18s; }
.tl-reveal[data-delay="3"] { transition-delay: .27s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .tl-hero__grid, .tl-split, .tl-videos, .tl-showcase { grid-template-columns: 1fr; }
    .tl-grid, .tl-grid--4, .tl-steps, .tl-stats, .tl-plans, .tl-quad { grid-template-columns: 1fr 1fr; }
    .tl-step:not(:last-child)::after { display: none; }
    .tl-clients { grid-template-columns: repeat(3, 1fr); }
    .tl-logos { grid-template-columns: repeat(3, 1fr); }
    .tl-offices { grid-template-columns: 1fr; }
    .tl-footer__grid { grid-template-columns: 1fr 1fr; }
    .tl-nav__links, .tl-nav__cta .tl-btn--ghost { display: none; }
    .tl-nav__toggle { display: block; }
    .tl-nav__links.is-open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #0a0b0e; border-bottom: 1px solid var(--tl-line); padding: 8px 24px 20px; }
    .tl-nav__links.is-open li { padding: 12px 0; border-bottom: 1px solid var(--tl-line-soft); }
    .tl-show { min-height: 420px; }
    .tl-section { padding: 72px 0; }
    .tl-hero { min-height: 78vh; }
    .tl-videos-mix { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
    .tl-grid, .tl-grid--4, .tl-steps, .tl-stats, .tl-plans, .tl-quad, .tl-footer__grid { grid-template-columns: 1fr; }
    .tl-clients { grid-template-columns: repeat(2, 1fr); }
    .tl-logos { grid-template-columns: repeat(2, 1fr); }
    .tl-phones .tl-vid { width: 44vw; max-width: 44vw; }
    .tl-cta { padding: 46px 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .tl-reveal { opacity: 1 !important; transform: none !important; }
    .tl *, .tl *::before, .tl *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
