*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--tg-header-h) + 12px); }

body {
  margin: 0;
  background: var(--tg-white);
  color: var(--tg-text);
  font-family: var(--tg-font);
  font-size: var(--tg-fs-body);
  font-weight: 500;
  line-height: 1.55;
}

body.tg-nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; }

a { color: inherit; }

button,
input,
select,
textarea { font-family: inherit; }

h1, h2, h3 { text-wrap: balance; }

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--tg-red);
  outline-offset: 2px;
}

.tg-skip {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 80;
  padding: 10px 14px;
  background: var(--tg-black);
  color: var(--tg-white);
  transform: translateY(-140%);
}

.tg-skip:focus { transform: none; }

.tg-mono { font-family: var(--tg-font-mono); }

.tg-wrap {
  width: 100%;
  max-width: var(--tg-container);
  margin: 0 auto;
  padding-left: var(--tg-gutter);
  padding-right: var(--tg-gutter);
}

.tg-link { text-decoration: none; }
.tg-link:hover { color: var(--tg-red); }

.tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tg-btn-h);
  padding: 0 var(--tg-btn-px);
  background-color: var(--tg-red);
  color: var(--tg-white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  --tg-fill: var(--tg-black);
}

.tg-btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.tg-btn--ghost {
  background-color: transparent;
  color: var(--tg-black);
  box-shadow: inset 0 0 0 1.5px var(--tg-black);
}

.tg-btn--ghost:hover,
.tg-btn--ghost:focus-visible { color: var(--tg-white); }

.tg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.tg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  background: var(--tg-white);
  border-bottom: 1px solid var(--tg-line);
}

.tg-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: var(--tg-header-h);
  padding-top: 0;
  padding-bottom: 0;
}

.tg-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 0;
  color: #000;
}

.tg-logo svg { display: block; width: 132px; height: 30px; }

.tg-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  font-size: 15px;
  font-weight: 600;
}

.tg-ni {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 0;
  background: transparent;
  color: var(--tg-black);
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.tg-ni::after {
  content: "" !important;
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 0;
  z-index: 2;
  height: 2px;
  background: var(--tg-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease !important;
  pointer-events: none;
}

.tg-ni:hover::after,
.tg-dd:hover > .tg-ni::after,
.tg-dd:focus-within > .tg-ni::after,
.tg-dd.is-open > .tg-ni::after { transform: scaleX(1); }

.tg-chev { transition: transform .2s; }
.tg-dd:hover .tg-chev,
.tg-dd:focus-within .tg-chev,
.tg-dd.is-open .tg-chev { transform: rotate(180deg); }

.tg-dd { display: flex; align-items: stretch; }

.tg-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--tg-white);
  border-top: 1px solid var(--tg-line);
  border-bottom: 1px solid var(--tg-black);
  box-shadow: 0 28px 48px -30px rgba(11, 13, 18, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}

.tg-dd:hover .tg-mega,
.tg-dd:focus-within .tg-mega,
.tg-dd.is-open .tg-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.tg-mega__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(200px, 1.15fr);
  gap: 28px 32px;
  padding-top: 32px;
  padding-bottom: 36px;
}

.tg-mega__label {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: var(--tg-ls-label);
  text-transform: uppercase;
  color: var(--tg-text-3);
}

.tg-mega a {
  display: block;
  padding: 7px 0;
  color: var(--tg-black);
  font-weight: 600;
  text-decoration: none;
  transition: color .15s, transform .15s;
}

.tg-mega a:hover,
.tg-mega a:focus-visible {
  color: var(--tg-red);
  transform: translateX(3px);
}

.tg-promo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: var(--tg-black);
  color: var(--tg-white);
  text-decoration: none;
  transition: transform .25s;
}

.tg-promo:hover { transform: translateY(-3px); color: var(--tg-white); }

.tg-promo__kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: var(--tg-ls-label);
  text-transform: uppercase;
  color: var(--tg-red-light);
  font-weight: 700;
}

.tg-promo__title {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}

.tg-promo__go {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.tg-promo__go span:last-child { color: var(--tg-red-light); }

.tg-header__tools {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex: 0 0 auto;
}

.tg-phone {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.tg-burger {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--tg-black);
  background: var(--tg-white);
  color: var(--tg-black);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.tg-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: var(--tg-white);
  overflow: auto;
}

.tg-drawer[hidden] { display: none; }

.tg-drawer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--tg-header-h);
  border-bottom: 1px solid var(--tg-line);
}

.tg-drawer__nav { padding-top: 12px; padding-bottom: 32px; }

.tg-acc { border-bottom: 1px solid var(--tg-line); }

.tg-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
}

.tg-acc summary::-webkit-details-marker { display: none; }

.tg-acc summary::after { content: "+"; color: var(--tg-red); font-size: 22px; }
.tg-acc[open] summary::after { content: "−"; }

.tg-acc a,
.tg-drawer__link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--tg-line);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.tg-acc a {
  border: 0;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--tg-text-2);
}

.tg-drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 1180px) {
  .tg-ni { padding: 0 8px; }
  .tg-ni::after { left: 8px; right: 8px; }
  .tg-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tg-promo { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .tg-nav,
  .tg-header__tools { display: none; }
  .tg-burger { display: inline-flex; }
}

/* Hero */

.tg-hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 0; }

.tg-hero h1 {
  margin: 0;
  font-size: var(--tg-fs-hero);
  line-height: var(--tg-lh-tight);
  letter-spacing: -.05em;
  font-weight: 800;
}

.tg-rotator {
  position: relative;
  display: inline-block;
  min-height: 1em;
  margin-left: .06em;
  padding: .04em .16em .1em;
  color: var(--tg-red);
  vertical-align: top;
}

.tg-rotator::before,
.tg-rotator::after {
  content: "";
  position: absolute;
  width: .28em;
  height: .28em;
  pointer-events: none;
}

.tg-rotator::before {
  top: 0;
  left: 0;
  border-top: .045em solid var(--tg-red);
  border-left: .045em solid var(--tg-red);
}

.tg-rotator::after {
  right: 0;
  bottom: 0;
  border-right: .045em solid var(--tg-red);
  border-bottom: .045em solid var(--tg-red);
}

.tg-caret {
  display: inline-block;
  width: .06em;
  height: .78em;
  margin-left: .05em;
  background: var(--tg-red);
  vertical-align: -.02em;
  animation: tg-blink 1s steps(1) infinite;
}

@keyframes tg-blink { 50% { opacity: 0; } }

.tg-hero__row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: stretch;
  margin-top: clamp(32px, 4vw, 56px);
}

.tg-hero__copy {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 860px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.tg-hero__lead {
  margin: 0;
  max-width: 36em;
  font-size: var(--tg-fs-lead);
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: -.01em;
}

.tg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tg-hero__stats {
  flex: 0 1 460px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: space-between;
  gap: 18px 40px;
  padding-top: 18px;
}

.tg-stat__n {
  font-size: var(--tg-fs-stat);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
}

.tg-stat__n.is-accent { color: var(--tg-red); }

.tg-stat__l {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: var(--tg-ls-label);
  text-transform: uppercase;
  color: var(--tg-text-3);
}

@media (max-width: 980px) {
  .tg-hero__copy,
  .tg-hero__stats { flex-basis: 100%; max-width: none; }
}

/* Directions */

.tg-ents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1.5px solid var(--tg-line-strong);
}

.tg-ent {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px clamp(20px, 2.2vw, 36px) 44px;
  color: var(--tg-black);
  text-decoration: none;
  transition: background .25s;
}

.tg-ent + .tg-ent { border-left: 1px solid var(--tg-line); }

.tg-ent::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1.5px;
  height: 4px;
  background: var(--tg-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--tg-fill-ease);
}

.tg-ent:hover { background: var(--tg-surface-hover); }
.tg-ent:hover::before,
.tg-ent:focus-visible::before { transform: scaleX(1); }

.tg-ent__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

.tg-ent__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--tg-ls-label);
  text-transform: uppercase;
  color: var(--tg-red);
}

.tg-ent__num { font-size: 13px; color: var(--tg-text-muted); }

.tg-ent__title {
  max-width: 420px;
  font-size: var(--tg-fs-h3);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.03em;
}

.tg-ent__text {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--tg-text-2);
}

.tg-ent ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  font-size: 15px;
}

.tg-ent li { display: flex; gap: 12px; padding: 5px 0; }

.tg-ent li::before {
  content: "";
  flex: 0 0 12px;
  height: 2px;
  margin-top: 11px;
  background: var(--tg-red);
}

.tg-ent__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.tg-ent__meta { font-size: 14px; font-weight: 700; }

.tg-ent__go {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex: 0 0 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tg-black);
  border: 1.5px solid var(--tg-black);
  color: var(--tg-white);
  font-size: 20px;
  font-weight: 700;
  transition: border-color .3s, transform .3s cubic-bezier(.2, .7, .2, 1);
}

.tg-ent__go::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tg-red);
  transform: translateY(101%);
  transition: transform .38s var(--tg-fill-ease);
}

.tg-ent:hover .tg-ent__go,
.tg-ent:focus-visible .tg-ent__go {
  border-color: var(--tg-red);
  transform: translateX(4px);
}

.tg-ent:hover .tg-ent__go::before,
.tg-ent:focus-visible .tg-ent__go::before { transform: translateY(0); }

@supports (grid-template-rows: subgrid) {
  .tg-ents { grid-template-rows: auto auto auto auto auto; }
  .tg-ent {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    align-content: start;
  }
  .tg-ent__foot { margin-top: 0; align-self: end; }
}

@media (max-width: 980px) {
  .tg-ents { grid-template-columns: minmax(0, 1fr); }
  .tg-ent + .tg-ent { border-left: 0; border-top: 1px solid var(--tg-line); }
}

/* Footer */

.tg-footer { padding: 48px 0 32px; }

.tg-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--tg-line);
}

.tg-footer__brand { flex: 2 1 300px; }
.tg-footer__col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }

.tg-footer__name {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
}

.tg-footer__about {
  margin: 0;
  max-width: 380px;
  font-size: 14px;
  color: var(--tg-text-3);
}

.tg-footer__label {
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: var(--tg-ls-label);
  text-transform: uppercase;
  color: var(--tg-text-3);
}

.tg-footer .tg-phone {
  padding: 0;
  font-size: 14px;
}

.tg-wordmark {
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px) 0 8px;
  color: var(--tg-black);
}

.tg-wordmark svg { display: block; width: 100%; height: auto; }

.tg-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--tg-text-3);
}

.tg-footer__legal { display: flex; gap: 20px; }

.tg-page { padding-top: clamp(48px, 6vw, 88px); padding-bottom: var(--tg-section); }

.tg-page h1 {
  margin: 0 0 16px;
  font-size: var(--tg-fs-h2);
  line-height: var(--tg-lh-head);
  letter-spacing: var(--tg-ls-head);
  font-weight: 800;
}

.tg-stub { margin: 0 0 28px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .tg-reveal {
    animation: tg-rise .9s cubic-bezier(.2, .7, .2, 1) both;
  }

  .tg-reveal--2 { animation-delay: .12s; }
  .tg-reveal--3 { animation-delay: .24s; }
}

@keyframes tg-rise {
  from { transform: translateY(18px); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tg-caret { animation: none; }
  .tg-mega,
  .tg-ni::after,
  .tg-chev,
  .tg-ent,
  .tg-ent::before,
  .tg-ent__go,
  .tg-promo { transition: none; }
}
