/* Final Taxi Tokmak header and homepage hero. Loaded after the legacy theme layers. */

.tt-site-header {
  inset: 0;
  height: auto;
  padding-top: 16px;
  color: var(--tt-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body.home .tt-site-header { position: absolute; }

body:not(.home) .tt-site-header {
  position: sticky;
  background: #f4f1ec;
}

.tt-utility-bar {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  border: 0;
}

.tt-utility-bar__inner {
  width: 100%;
  min-height: 46px;
  padding: 0 30px;
  margin: 0;
  background: rgba(15, 20, 24, 0.94);
  border-radius: 28px 28px 0 0;
  font-size: 13px;
  font-weight: 520;
  letter-spacing: 0;
}

.tt-utility-bar__inner > span,
.tt-utility-bar__inner > div,
.tt-utility-bar__inner a { gap: 9px; }

.tt-utility-bar__inner > span i { color: var(--tt-red); }
.tt-utility-bar__inner > div { gap: 24px; }
.tt-utility-bar__inner a i { color: #d7b968; }

.tt-utility-bar__promise {
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.58);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  white-space: nowrap;
}

.tt-header-inner,
.tt-site-header.is-scrolled .tt-header-inner {
  width: min(1480px, calc(100% - 32px));
  min-height: 90px;
  height: 90px;
  padding: 0 36px;
  margin: 0 auto;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: clamp(22px, 3vw, 50px);
  overflow: visible;
  background: rgba(255, 255, 255, 0.985);
  border: 0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: none;
}

.tt-brand,
.tt-site-header.is-scrolled .tt-brand {
  width: 195px;
  min-width: 0;
  transform: none;
}

.tt-header-actions { justify-content: flex-end; }

.tt-header-cta {
  min-width: 0;
  min-height: 52px;
  height: 52px;
  padding: 0 30px;
  color: #fff;
  background: var(--tt-red);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(220, 25, 40, 0.22);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.tt-header-cta i {
  width: auto;
  height: auto;
  margin-left: 9px;
  border: 0;
  transform: none;
}

.tt-header-cta i::after { display: none; }

.tt-header-cta:hover {
  color: #fff;
  background: #bd1826;
  transform: translateY(-2px);
}

@media (min-width: 70.01rem) {
  .tt-primary-nav {
    position: relative;
    z-index: 2;
    padding: 0;
    justify-self: center;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .tt-menu { gap: clamp(5px, 0.8vw, 13px); }

  .tt-menu > li > a {
    min-height: 48px;
    padding: 0 clamp(14px, 1.2vw, 24px);
    color: #34383d;
    background: transparent;
    border-radius: 999px;
    font-size: clamp(12px, 0.78vw, 14px);
    font-weight: 580;
    letter-spacing: 0;
    text-transform: none;
    transition: color 180ms ease, background-color 180ms ease;
  }

  .tt-menu > li > a::after { display: none; }

  .tt-menu > li > a:hover,
  .tt-menu > .current-menu-item > a,
  .tt-menu > .current_page_item > a,
  .tt-menu > .current-menu-parent > a {
    color: var(--tt-red-dark);
    background: rgba(230, 35, 45, 0.08);
  }

  .tt-menu > .menu-item-has-children { grid-template-columns: auto 24px; }
  .tt-submenu-toggle { width: 24px; height: 48px; color: #4a4e53; }
  .tt-menu .sub-menu { top: calc(100% + 13px); }
}

.tt-home-new .tt-new-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(760px, 50vw, 850px);
  display: flex;
  align-items: center;
  padding: 190px 0 135px;
  overflow: visible;
  color: #fff;
  background-color: #111519;
  background-image: url("../images/hero-taxi-tokmak.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.tt-final-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 8, 10, 0.96) 0%, rgba(5, 8, 10, 0.88) 24%, rgba(5, 8, 10, 0.62) 42%, rgba(5, 8, 10, 0.18) 60%, rgba(5, 8, 10, 0) 76%),
    linear-gradient(180deg, rgba(5, 8, 10, 0.12), transparent 70%, rgba(5, 8, 10, 0.26));
  pointer-events: none;
}

.tt-final-hero__content {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 120px));
  margin: 0 auto;
}

.tt-final-hero__content > * { max-width: 720px; }

.tt-final-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.36em;
  line-height: 1;
  text-transform: uppercase;
}

.tt-final-hero__eyebrow span {
  width: 46px;
  height: 2px;
  background: var(--tt-red);
}

.tt-home-new .tt-new-hero h1 {
  max-width: 760px;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(58px, 4.4vw, 82px);
  font-weight: 780;
  line-height: 1.01;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.tt-home-new .tt-new-hero h1 span,
.tt-home-new .tt-new-hero h1 em {
  display: block;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  opacity: 1;
  transform: none;
  animation: none;
}

.tt-home-new .tt-new-hero h1 em {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 440;
}

.tt-home-new .tt-new-hero__lead {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 430;
  line-height: 1.62;
  opacity: 1;
  transform: none;
  animation: none;
}

.tt-home-new .tt-new-hero .tt-new-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 34px;
  opacity: 1;
  transform: none;
  animation: none;
}

.tt-home-new .tt-new-hero .tt-new-actions .tt-button {
  min-height: 58px;
  padding: 0 29px;
  color: #fff;
  background: var(--tt-red);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(217, 31, 46, 0.26);
  font-size: 12px;
  font-weight: 780;
}

.tt-home-new .tt-new-hero .tt-new-actions .tt-button:hover {
  background: #bd1826;
  transform: translateY(-2px);
}

.tt-final-hero__phone {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 25px;
  color: #fff;
  background: rgba(10, 14, 17, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  backdrop-filter: blur(5px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tt-final-hero__phone i { color: var(--tt-red); }
.tt-final-hero__phone:hover { color: #fff; background: rgba(20, 25, 29, 0.86); border-color: rgba(255, 255, 255, 0.46); transform: translateY(-2px); }

.tt-home-new .tt-new-hero__trust {
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  color: #fff;
  border: 0;
  list-style: none;
  opacity: 1;
  transform: none;
  animation: none;
}

.tt-home-new .tt-new-hero__trust li {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 11px;
  padding: 0 21px;
  margin: 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: inherit;
}

.tt-home-new .tt-new-hero__trust li:first-child { padding-left: 0; }
.tt-home-new .tt-new-hero__trust li:last-child { padding-right: 0; border-right: 0; }
.tt-home-new .tt-new-hero__trust li > i { color: var(--tt-red); font-size: 20px; }
.tt-home-new .tt-new-hero__trust li span { min-width: 0; display: grid; gap: 4px; }
.tt-home-new .tt-new-hero__trust strong { color: #fff; font-size: 13px; font-weight: 680; line-height: 1.25; }
.tt-home-new .tt-new-hero__trust small { color: rgba(255, 255, 255, 0.63); font-size: 11px; line-height: 1.35; }

.tt-final-hero__services {
  position: absolute;
  left: 50%;
  bottom: -55px;
  z-index: 6;
  width: min(calc(100% - 120px), 1440px);
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(16, 22, 27, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
}

.tt-final-hero__services > a {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 24px 25px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.tt-final-hero__services > a:last-child { border-right: 0; }
.tt-final-hero__services > a:hover { color: #fff; background: rgba(255, 255, 255, 0.055); }
.tt-final-hero__services > a > span:nth-child(2) { min-width: 0; display: grid; gap: 5px; }
.tt-final-hero__services strong { color: #fff; font-size: clamp(13px, 0.95vw, 16px); font-weight: 680; line-height: 1.25; }
.tt-final-hero__services small { color: rgba(255, 255, 255, 0.6); font-size: clamp(10px, 0.75vw, 12px); line-height: 1.35; }
.tt-final-hero__services > a > i { color: rgba(255, 255, 255, 0.62); font-size: 12px; transition: transform 180ms ease, color 180ms ease; }
.tt-final-hero__services > a:hover > i { color: #fff; transform: translateX(4px); }

.tt-final-hero__service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--tt-red);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  font-size: 17px;
}

.tt-home-new > .tt-services-new { padding-top: clamp(145px, 11vw, 175px); }

.tt-site-header a:focus-visible,
.tt-site-header button:focus-visible,
.tt-new-hero a:focus-visible {
  outline: 3px solid #f3c65d;
  outline-offset: 3px;
}

@media (max-width: 82rem) {
  .tt-header-inner,
  .tt-site-header.is-scrolled .tt-header-inner { grid-template-columns: 178px minmax(0, 1fr) auto; padding-inline: 26px; gap: 18px; }
  .tt-brand,
  .tt-site-header.is-scrolled .tt-brand { width: 178px; }
  .tt-header-cta { padding-inline: 24px; }
  .tt-utility-bar__promise { display: none; }
}

@media (max-width: 70rem) {
  .tt-site-header { padding-top: 10px; }
  .tt-utility-bar { width: min(100% - 20px, 1480px); }
  .tt-utility-bar__inner { min-height: 40px; padding-inline: 22px; border-radius: 22px 22px 0 0; font-size: 12px; }
  .tt-header-inner,
  .tt-site-header.is-scrolled .tt-header-inner {
    width: min(100% - 20px, 1480px);
    min-height: 76px;
    height: 76px;
    padding: 0 22px;
    grid-template-columns: 168px auto;
    border-radius: 0 0 24px 24px;
  }
  .tt-brand,
  .tt-site-header.is-scrolled .tt-brand {
    width: 168px;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .tt-header-actions { display: none; }
  .tt-menu-toggle {
    width: 48px;
    height: 48px;
    display: grid;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    color: var(--tt-ink);
    background: #f4f1ec;
    border: 1px solid rgba(21, 24, 28, 0.1);
    border-radius: 999px;
  }
  .tt-menu-lines i { background: currentColor; }
  .tt-primary-nav { inset: 0 10px auto; z-index: 1; padding: 126px 26px 38px; border-radius: 0 0 24px 24px; }

  .tt-home-new .tt-new-hero {
    min-height: 850px;
    padding: 185px 0 180px;
    background-position: 58% center;
  }
  .tt-final-hero__overlay {
    background: linear-gradient(90deg, rgba(5,8,10,.97) 0%, rgba(5,8,10,.9) 34%, rgba(5,8,10,.62) 64%, rgba(5,8,10,.16) 100%);
  }
  .tt-final-hero__content { width: min(100% - 64px, 920px); }
  .tt-home-new .tt-new-hero h1 { font-size: clamp(52px, 7vw, 68px); }
  .tt-final-hero__services { bottom: -72px; width: min(100% - 64px, 960px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-final-hero__services > a { min-height: 96px; }
  .tt-final-hero__services > a:nth-child(2) { border-right: 0; }
  .tt-final-hero__services > a:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .tt-home-new > .tt-services-new { padding-top: 170px; }
}

@media (max-width: 48rem) {
  .tt-site-header { padding-top: 8px; }
  .tt-utility-bar { width: calc(100% - 16px); }
  .tt-utility-bar__inner { min-height: 36px; justify-content: center; padding-inline: 14px; border-radius: 18px 18px 0 0; font-size: 10px; }
  .tt-utility-bar__inner > div { display: none; }
  .tt-header-inner,
  .tt-site-header.is-scrolled .tt-header-inner {
    width: calc(100% - 16px);
    min-height: 70px;
    height: 70px;
    padding: 0 16px;
    grid-template-columns: minmax(0, 145px) auto;
    border-radius: 0 0 20px 20px;
  }
  .tt-brand,
  .tt-site-header.is-scrolled .tt-brand { width: 145px; }
  .tt-menu-toggle { width: 44px; height: 44px; }
  .tt-primary-nav { inset: 0 8px auto; padding: 114px 20px 30px; border-radius: 0 0 20px 20px; }

  .tt-home-new .tt-new-hero {
    min-height: 0;
    display: block;
    padding: 165px 0 42px;
    overflow: hidden;
    background-position: 64% center;
  }
  .tt-final-hero__overlay {
    background:
      linear-gradient(90deg, rgba(5,8,10,.97) 0%, rgba(5,8,10,.91) 48%, rgba(5,8,10,.58) 100%),
      linear-gradient(180deg, rgba(5,8,10,.2), rgba(5,8,10,.35));
  }
  .tt-final-hero__content { width: calc(100% - 40px); }
  .tt-final-hero__eyebrow { gap: 11px; margin-bottom: 20px; font-size: 10px; letter-spacing: 0.26em; }
  .tt-final-hero__eyebrow span { width: 32px; }
  .tt-home-new .tt-new-hero h1 { margin-bottom: 22px; font-size: clamp(43px, 12.2vw, 58px); line-height: 1.02; letter-spacing: -0.045em; }
  .tt-home-new .tt-new-hero h1 span,
  .tt-home-new .tt-new-hero h1 em { white-space: normal; }
  .tt-home-new .tt-new-hero__lead { margin-bottom: 25px; font-size: 15px; line-height: 1.58; }
  .tt-home-new .tt-new-hero .tt-new-actions { align-items: stretch; flex-direction: column; margin-bottom: 30px; }
  .tt-home-new .tt-new-hero .tt-new-actions .tt-button,
  .tt-final-hero__phone { width: 100%; min-height: 56px; justify-content: center; }
  .tt-home-new .tt-new-hero__trust { grid-template-columns: 1fr; }
  .tt-home-new .tt-new-hero__trust li,
  .tt-home-new .tt-new-hero__trust li:first-child,
  .tt-home-new .tt-new-hero__trust li:last-child { padding: 13px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
  .tt-home-new .tt-new-hero__trust li:last-child { border-bottom: 0; }

  .tt-final-hero__services {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    margin: 34px auto 0;
    border-radius: 22px;
    transform: none;
  }
  .tt-final-hero__services > a { min-height: 82px; padding: 17px 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .tt-final-hero__services > a:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .tt-final-hero__services > a:last-child { border-bottom: 0; }
  .tt-home-new > .tt-services-new { padding-top: 88px; }
}

@media (max-width: 24rem) {
  .tt-utility-bar__inner > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tt-final-hero__content,
  .tt-final-hero__services { width: calc(100% - 28px); }
  .tt-home-new .tt-new-hero h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .tt-header-cta,
  .tt-final-hero__phone,
  .tt-final-hero__services > a,
  .tt-final-hero__services > a > i { transition: none; }
}
