@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap');

:root {
    --thl-blue-900: #071f43;
    --thl-blue-800: #0b2d5b;
    --thl-blue-700: #073e7d;
    --thl-blue-600: #0759ad;
    --thl-blue-500: #0876d1;
    --thl-orange-500: #f38221;
    --thl-orange-600: #dc6e10;
    --thl-ink: #132033;
    --thl-muted: #657186;
    --thl-line: #e2e8f0;
    --thl-surface: #ffffff;
    --thl-canvas: #f6f8fb;
    --thl-radius-sm: 10px;
    --thl-radius-md: 16px;
    --thl-radius-lg: 24px;
    --thl-shadow-sm: 0 8px 30px rgba(7, 31, 67, .08);
    --thl-shadow-md: 0 20px 50px rgba(7, 31, 67, .14);
    --thl-container: 1240px;
    --thl-header-height: 78px;
}

body.thl-brand-experience {
    padding-top: var(--thl-header-height);
    color: var(--thl-ink);
    background: var(--thl-surface);
    font-family: 'Be Vietnam Pro', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.thl-brand-experience *,
.thl-brand-experience *::before,
.thl-brand-experience *::after { box-sizing: border-box; }
.thl-brand-experience h1,
.thl-brand-experience h2,
.thl-brand-experience h3,
.thl-brand-experience h4 { font-family: 'Manrope', 'Be Vietnam Pro', Arial, sans-serif; letter-spacing: -.03em; text-transform: none; }
.thl-brand-experience a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.thl-brand-experience a:focus-visible,
.thl-brand-experience button:focus-visible { outline: 3px solid rgba(8, 118, 209, .38); outline-offset: 3px; }
.thl-brand-experience img { max-width: 100%; }
.thl-container { width: min(calc(100% - 48px), var(--thl-container)); margin-inline: auto; }

body.thl-brand-experience #header,
body.thl-brand-experience #footer { display: none !important; }

.thl-skip-link { position: fixed; left: 16px; top: -100px; z-index: 100002; padding: 12px 18px; border-radius: 0 0 10px 10px; color: #fff !important; background: var(--thl-blue-700); font-weight: 700; }
.thl-skip-link:focus { top: 0; }

.thl-header { position: fixed; inset: 0 0 auto; z-index: 9999; height: var(--thl-header-height); background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(7,31,67,.08); transform: translateY(0); transition: transform .25s ease, box-shadow .2s ease, background-color .2s ease; will-change: transform; }
.admin-bar .thl-header { top: 32px; }
.thl-header.is-scrolled { box-shadow: 0 10px 35px rgba(7,31,67,.1); background: rgba(255,255,255,.985); }
.thl-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.thl-brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.thl-brand img { width: 152px; height: auto; display: block; }
.thl-nav { display: flex; align-items: center; justify-content: center; gap: 4px; margin-left: auto; }
.thl-nav a { position: relative; padding: 12px 10px; color: #26364d; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.thl-nav a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; background: var(--thl-blue-500); transform: scaleX(0); transition: transform .2s ease; }
.thl-nav a:hover { color: var(--thl-blue-600); }
.thl-nav a:hover::after { transform: scaleX(1); }
.thl-nav__mobile-products { display: none; }
.thl-header__actions { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.thl-ecosystem-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.thl-ecosystem-link--warehouse { color: var(--thl-blue-700); border: 1px solid #bed2e9; background: #f4f8fc; }
.thl-ecosystem-link--warehouse:hover { color: #fff; border-color: var(--thl-blue-700); background: var(--thl-blue-700); }
.thl-ecosystem-link--ai { color: #fff; border: 1px solid var(--thl-blue-700); background: var(--thl-blue-700); }
.thl-ecosystem-link--ai:hover { color: #fff; border-color: var(--thl-orange-500); background: var(--thl-orange-500); }
.thl-menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid var(--thl-line); border-radius: 999px; background: #fff; color: var(--thl-ink); font: 700 12px/1 'Be Vietnam Pro', sans-serif; box-shadow: none; }
.thl-menu-toggle:hover { border-color: #b8c5d5; background: #fff; color: var(--thl-blue-700); }
.thl-menu-toggle__icon { width: 20px; height: 16px; display: flex; flex: 0 0 20px; flex-direction: column; justify-content: center; gap: 4px; }
.thl-menu-toggle__icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.thl-header.is-menu-open .thl-menu-toggle__icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.thl-header.is-menu-open .thl-menu-toggle__icon i:nth-child(2) { opacity: 0; }
.thl-header.is-menu-open .thl-menu-toggle__icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.thl-footer { position: relative; z-index: 2; padding: 68px 0 0; color: #cad5e4; background: #06172e; }
.thl-footer__grid { display: grid; grid-template-columns: 1.45fr .75fr .9fr 1.25fr; gap: 54px; }
.thl-footer h2 { margin: 2px 0 20px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .03em; }
.thl-footer p { margin: 0 0 12px; color: #9eafc4; font-size: 13px; line-height: 1.75; }
.thl-footer ul { margin: 0; padding: 0; list-style: none; }
.thl-footer li { margin: 0 0 11px; }
.thl-footer a { color: #b9c7d8; font-size: 13px; }
.thl-footer a:hover { color: #fff; }
.thl-footer__brand img { width: 160px; height: auto; margin-bottom: 20px; }
.thl-footer__brand p { max-width: 350px; }
.thl-footer__social { display: inline-flex; gap: 6px; margin-top: 5px; color: #fff !important; font-weight: 700; }
.thl-footer__contact strong { color: #e5ecf5; font-weight: 600; }
.thl-footer__contact a { color: #fff; }
.thl-footer__branches { padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); }
.thl-footer__bottom { min-height: 74px; margin-top: 54px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.thl-footer__bottom p { margin: 0; font-size: 12px; }
.thl-footer__bottom div { display: flex; gap: 26px; }
.thl-footer__bottom a { font-size: 12px; }

@media (max-width: 1160px) {
    .thl-header__inner { gap: 14px; }
    .thl-nav a { padding-inline: 7px; font-size: 12.5px; }
    .thl-ecosystem-link { padding-inline: 12px; }
    .thl-brand img { width: 138px; }
}

@media (max-width: 1024px) {
    :root { --thl-header-height: 70px; }
    .thl-header.is-hidden:not(.is-menu-open) { transform: translateY(calc(-100% - 2px)); }
    .thl-menu-toggle { display: inline-flex; margin-left: auto; }
    .thl-header__actions { margin-left: 0; }
    .thl-nav { position: fixed; top: var(--thl-header-height); left: 0; right: 0; height: calc(100dvh - var(--thl-header-height)); padding: 24px; background: #fff; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; opacity: 0; visibility: hidden; transform: translateY(-10px); overflow-y: auto; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
    .admin-bar .thl-nav { top: calc(var(--thl-header-height) + 32px); height: calc(100dvh - var(--thl-header-height) - 32px); }
    .thl-header.is-menu-open .thl-nav { opacity: 1; visibility: visible; transform: none; }
    .thl-nav a { padding: 17px 6px; border-bottom: 1px solid var(--thl-line); font-size: 17px; }
    .thl-nav a::after { display: none; }
    .thl-nav__mobile-products { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 24px 0 10px; }
    .thl-nav__mobile-products > span { grid-column: 1 / -1; margin: 0 5px 2px; color: var(--thl-muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .thl-nav__mobile-products > a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px; border: 1px solid #cbd9e8; border-radius: 13px; color: var(--thl-blue-700); background: #f2f7fc; font-size: 12px; }
    .thl-nav__mobile-products > a:last-child { color: #fff; border-color: var(--thl-blue-700); background: var(--thl-blue-700); }
    .thl-nav__mobile-products b { font-size: 14px; }
    html.thl-menu-locked { overflow: hidden; }
    .thl-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 38px; }
    .thl-footer__contact { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 30px; }
    .thl-footer__contact h2 { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
    .admin-bar .thl-header { top: 46px; }
    .admin-bar .thl-nav { top: calc(var(--thl-header-height) + 46px); height: calc(100dvh - var(--thl-header-height) - 46px); }
}

@media (max-width: 720px) {
    .thl-container { width: min(calc(100% - 32px), var(--thl-container)); }
    .thl-header__actions { display: none; }
    .thl-menu-toggle { width: 42px; min-width: 42px; height: 42px; min-height: 42px; padding: 0; gap: 0; }
    .thl-menu-toggle__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .thl-brand img { width: 140px; }
    .thl-nav a:nth-child(6) { margin-bottom: 0; }
    .thl-footer { padding-top: 48px; }
    .thl-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .thl-footer__brand { grid-column: 1 / -1; }
    .thl-footer__contact { display: block; }
    .thl-footer__bottom { min-height: auto; padding: 24px 0 28px; margin-top: 40px; align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 420px) {
    .thl-footer__grid { grid-template-columns: 1fr; }
    .thl-footer__brand,
    .thl-footer__contact { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .thl-brand-experience *,
    .thl-brand-experience *::before,
    .thl-brand-experience *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
