/* November front page and shared controls. Loaded after refresh.css. */

/* Retire the separate drawn background and footer decoration. */
h6.text-primary::before {
  content: none;
}

.gt-bg,
.gt-gears,
.gt-corrugator {
  display: none;
}

/* The existing loading event stays the source of truth. Before that event
   the logo sits on a solid surface, with a short linear progress cue. */
html:not(.gt-loaded)::before {
  background: #f5f3f0 url("/images/brand/logo.svg")
    center calc(50% - 12px) / clamp(8rem, 12vw, 11rem) auto no-repeat;
  animation: gt-pre-bye .26s ease 5.35s forwards;
}

html[data-bs-theme="dark"]:not(.gt-loaded)::before {
  background-color: #171a1e;
  background-image: url("/images/brand/logo-invert.svg");
}

html:not(.gt-loaded)::after {
  width: 72px;
  height: 2px;
  margin: 50px 0 0 -36px;
  background: linear-gradient(90deg, var(--gt-red) 0 35%, transparent 35%) no-repeat;
  background-size: 100% 100%;
  -webkit-mask: none;
  mask: none;
  animation: gt-loader-pass 1.08s cubic-bezier(.3, .2, .24, 1) .08s both,
    gt-pre-bye .26s ease 5.35s forwards;
}

@keyframes gt-loader-pass {
  from { transform: translateX(-24px); opacity: .35; }
  to { transform: translateX(24px); opacity: 1; }
}

html.gt-loaded::before {
  transform: none;
  transition: opacity .24s var(--gt-ease), visibility 0s linear .24s;
}

html.gt-loaded::after {
  transition: opacity .16s ease, visibility 0s linear .16s;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.gt-loaded)::before,
  html:not(.gt-loaded)::after {
    animation: gt-pre-bye 0s linear 1.2s forwards;
  }

  html.gt-loaded::before,
  html.gt-loaded::after {
    transition: none;
  }
}

/* Full-bleed photograph and an independent scrim. Owl handles the image
   swap. The captions use transitions so Owl receives only its own animation events. */
.header-carousel.gt-home-hero {
  --gt-hero-ink: 13, 17, 23;
  color: #fff;
}

.header-carousel.gt-home-hero .owl-carousel-item {
  min-height: clamp(31rem, 84svh, 52rem);
  margin: 0;
  border: 0;
  border-radius: 0;
}

.header-carousel.gt-home-hero .owl-carousel-item > img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-carousel.gt-home-hero .owl-carousel-item::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(0deg, rgba(var(--gt-hero-ink), .91), rgba(var(--gt-hero-ink), .47) 39%, transparent 78%),
    linear-gradient(94deg, rgba(var(--gt-hero-ink), .38), transparent 68%);
}

.header-carousel.gt-home-hero .owl-carousel-inner {
  z-index: 2;
  min-height: 100%;
  align-items: flex-end;
  pointer-events: none;
  padding: clamp(3rem, 7vh, 6rem) 0 clamp(4.7rem, 9vh, 7.5rem);
  background: none !important;
  transition: none;
}

.header-carousel.gt-home-hero .owl-item.active .owl-carousel-inner {
  pointer-events: auto;
}

.header-carousel.gt-home-hero .owl-carousel-inner::before,
.header-carousel.gt-home-hero .owl-carousel-inner::after,
.header-carousel.gt-home-hero .owl-item.active .owl-carousel-inner::after,
body.gt-has-photo-hero .carousel-wrap:has(.gt-home-hero)::after {
  content: none;
}

.header-carousel.gt-home-hero .owl-carousel-inner > .container {
  padding-inline: clamp(1.15rem, 4vw, 3.65rem);
}

.header-carousel.gt-home-hero .owl-carousel-inner .row > div {
  flex-basis: min(75%, 48rem);
  max-width: 100%;
}

.header-carousel.gt-home-hero .owl-carousel-inner .row > div > div {
  padding: 0 !important;
}

.header-carousel.gt-home-hero .owl-carousel-inner :is(h1, h2) {
  max-width: 22ch;
  margin: 0 0 clamp(.55rem, 1.5vw, 1.2rem);
  font-size: clamp(2rem, 4.1vw, 4.35rem);
  line-height: 1.05;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 18px rgba(var(--gt-hero-ink), .68);
}

body:has(.timeline-carousel) .header-carousel.gt-news-hero .owl-carousel-inner :is(h1, h2) {
  font-size: clamp(1.8rem, 3.5vw, 3.6rem);
  max-width: 27ch;
}

.header-carousel.gt-home-hero .owl-carousel-inner .fs-5 {
  margin: 0 !important;
  padding: 0 !important;
}

.header-carousel.gt-home-hero .owl-carousel-inner .content {
  color: rgb(255 255 255 / 94%);
  max-width: 57ch;
  margin-bottom: .8rem;
  font-size: .94rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.header-carousel.gt-home-hero .owl-carousel-inner .content > :last-child {
  margin-bottom: 0;
}

.header-carousel.gt-home-hero .owl-carousel-inner .btn {
  padding: .7rem 1.3rem !important;
  min-height: 44px;
}

.header-carousel.gt-home-hero .owl-item .owl-carousel-inner :is(h1, h2, .content, .btn) {
  animation: none !important;
  opacity: 0;
  transform: translateY(13px);
  transition: opacity 420ms var(--gt-ease), transform 580ms var(--gt-ease);
  transition-delay: 0s;
}

.header-carousel.gt-home-hero .owl-item.active .owl-carousel-inner :is(h1, h2, .content, .btn) {
  opacity: 1;
  transform: none;
}

.header-carousel.gt-home-hero .owl-item.active .owl-carousel-inner .content {
  transition-delay: 85ms;
}

.header-carousel.gt-home-hero .owl-item.active .owl-carousel-inner .btn {
  transition-delay: 145ms;
}

@media (prefers-reduced-motion: no-preference) {
  .header-carousel.gt-hero-awaiting-intro .owl-item.active .owl-carousel-inner :is(h1, h2, .content, .btn) {
    opacity: 0;
    transform: translateY(13px);
    transition: none;
  }

  .header-carousel.gt-home-hero .owl-item .owl-carousel-item > img {
    transform: scale(1.025);
    transition: transform 950ms var(--gt-ease);
  }

  .header-carousel.gt-home-hero .owl-item.active .owl-carousel-item > img {
    transform: none;
  }
}

.header-carousel.gt-home-hero .owl-dots {
  right: clamp(.55rem, 3vw, 2.1rem);
}

.header-carousel.gt-home-hero .owl-dots .owl-dot {
  background-color: #fff;
}

.gt-hero-pause {
  position: absolute;
  z-index: 3;
  inset: auto clamp(1.15rem, 4vw, 3.4rem) 1.2rem auto;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: rgb(13 17 23 / 72%);
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  transition: background-color 180ms ease;
}

.gt-hero-pause:hover {
  background: rgb(13 17 23 / 96%);
}

.gt-hero-pause[hidden] {
  display: none;
}

@media (min-width: 576px) {
  body:has(.gt-cookie-notice) .gt-hero-pause {
    inset-inline-end: min(27rem, calc(100% - 4rem));
  }
}

@media (max-width: 991.98px) {
  .header-carousel.gt-home-hero .owl-carousel-item {
    min-height: clamp(29rem, 77svh, 38rem);
  }

  .header-carousel.gt-home-hero .owl-carousel-inner .row > div {
    flex-basis: 100%;
    width: 100%;
  }

  .header-carousel.gt-home-hero .owl-carousel-inner .fs-5 {
    display: block !important;
  }

  .header-carousel.gt-home-hero .owl-carousel-inner .content {
    display: none;
  }

  .header-carousel.gt-home-hero .owl-dots {
    z-index: 3;
    inset: auto auto .8rem .7rem;
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: flex-start;
    width: auto;
    height: auto;
  }

  .header-carousel.gt-home-hero .owl-dots :is(.owl-dot, .owl-dot.active) {
    position: relative;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
  }

  .header-carousel.gt-home-hero .owl-dots .owl-dot img {
    display: none;
  }

  .header-carousel.gt-home-hero .owl-dots .owl-dot::before {
    display: block;
    width: 9px;
    height: 9px;
    margin: auto;
    border: 1px solid #fff;
    border-radius: 50%;
    content: "";
  }

  .header-carousel.gt-home-hero .owl-dots .owl-dot.active::before {
    border-color: #fff;
    background: #fff;
    box-shadow: 0 0 0 3px rgb(255 255 255 / 28%);
  }

  .gt-hero-pause {
    inset-block-end: .8rem;
  }
}

@media (max-width: 359.98px) {
  .header-carousel.gt-home-hero .owl-carousel-inner :is(h1, h2) {
    font-size: 1.75rem;
  }
  body:has(.timeline-carousel) .header-carousel.gt-news-hero .owl-carousel-inner :is(h1, h2) {
    font-size: 1.6rem;
  }
}

/* Round reveal anchored to the actual desktop or mobile control. */
html.gt-theme-transition::view-transition-group(root) {
  animation-duration: 450ms;
}

html.gt-theme-transition::view-transition-old(root),
html.gt-theme-transition::view-transition-new(root) {
  mix-blend-mode: normal;
}

html.gt-theme-transition::view-transition-old(root) {
  animation: none;
}

html.gt-theme-transition::view-transition-new(root) {
  animation: gt-theme-reveal 450ms var(--gt-ease) both;
}

@keyframes gt-theme-reveal {
  from { clip-path: circle(0 at var(--gt-theme-x) var(--gt-theme-y)); }
  to { clip-path: circle(var(--gt-theme-r) at var(--gt-theme-x) var(--gt-theme-y)); }
}

.gt-theme-mobile {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  margin: 0 1.5rem 1rem;
}

.gt-theme-mobile.btn-outline-secondary,
.gt-cookie-actions .btn-outline-secondary {
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-border-color: var(--bs-border-color);
  --bs-btn-hover-color: var(--bs-body-color);
  --bs-btn-hover-bg: var(--bs-tertiary-bg);
  --bs-btn-hover-border-color: var(--bs-body-color);
  --bs-btn-active-color: var(--bs-body-color);
  --bs-btn-active-bg: var(--bs-secondary-bg);
  --bs-btn-active-border-color: var(--bs-body-color);
}

#theme-toggle-btn i {
  transition: transform 320ms var(--gt-ease);
}

[data-bs-theme="dark"] #theme-toggle-btn i {
  transform: rotate(180deg);
}

.navbar a.btn.gt-track-desktop {
  display: none;
  align-self: center;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: .45rem;
  margin-right: .35rem;
  place-items: center;
}

@media (min-width: 1200px) {
  .gt-theme-mobile,
  .gt-track-mobile {
    display: none;
  }

  .navbar a.btn.gt-track-desktop {
    display: inline-grid;
  }
}

@media (min-width: 1200px) and (max-width: 1279.98px) {
  .gt-has-tracking-nav .navbar-brand {
    padding-inline: 1.6rem !important;
  }
}

.gt-footer-tracking {
  margin-block-end: .45rem;
}

/* Compact action, matched by the projects CTA and supply geography. */
.gt-home-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  gap: .65rem;
  padding: .5rem .85rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--gt-radius-sm);
  color: var(--bs-body-color);
  background-color: var(--bs-tertiary-bg);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
  transition: border-color 180ms ease, color 180ms ease;
}

.gt-home-link > svg {
  flex: 0 0 auto;
  color: var(--gt-link-color);
}

.gt-home-link {
  --gt-link-color: var(--gt-red);
}

[data-bs-theme="dark"] .gt-home-link {
  --gt-link-color: #ff8c8c;
}

.gt-home-link:hover {
  color: var(--gt-link-color);
  border-color: var(--gt-link-color);
}

.gt-home-projects-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.gt-home-customers {
  padding: clamp(.6rem, 2vw, 2.5rem) clamp(1rem, 3vw, 3rem) clamp(2.5rem, 6vw, 5.5rem);
}

.gt-home-customers-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-bottom: clamp(.95rem, 2vw, 1.5rem);
}

.gt-home-customers-heading > h2 {
  margin: 0;
  padding-inline-start: .65em;
  border-inline-start: 3px solid var(--gt-red);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.gt-home-customers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--gt-home-rule, var(--bs-border-color));
  background-color: var(--gt-home-rule, var(--bs-border-color));
  list-style: none;
}

.gt-home-customers-grid > li {
  display: flex;
  min-height: clamp(5.35rem, 10vw, 9rem);
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(.65rem, 1.9vw, 1.8rem);
  background: #fdfdfd;
  color: #242628;
}

.gt-home-customers-grid img {
  display: block;
  width: min(100%, 15rem);
  height: clamp(2.95rem, 5.1vw, 5.8rem) !important;
  object-fit: contain;
}

.gt-home-customers-grid img[alt^="КБК"] {
  height: clamp(3.8rem, 6.9vw, 6.75rem) !important;
}

@media (max-width: 575.98px) {
  .gt-home-customers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Front page composition. Quiet full-width surfaces let the equipment,
   people and project photographs carry the visual identity. */
.gt-home {
  --gt-home-page: #fbfaf8;
  --gt-home-surface: #f1efeb;
  --gt-home-panel: #1b1d21;
  --gt-home-rule: #d5d2cc;
  --gt-home-accent: var(--gt-red);
  --gt-home-space: clamp(2.75rem, 7vw, 6.75rem);
  --gt-home-heading: clamp(2rem, 4.2vw, 4.1rem);
}

.gt-home[data-bs-theme="dark"] {
  --gt-home-page: #171a1e;
  --gt-home-surface: #1f2227;
  --gt-home-panel: #1c2024;
  --gt-home-rule: #414348;
  --gt-home-accent: #ff9898;
}

.gt-home body {
  background-color: var(--gt-home-page);
}

.gt-home .carousel-wrap:has(.gt-front-hero) {
  margin-bottom: 0 !important;
}

.gt-corrugator.gt-home-materials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.6rem, 2vw, 1.7rem);
  margin: 0;
  padding: .45rem 1rem;
  border-block-end: 1px solid var(--gt-home-rule);
  overflow: hidden;
  background: var(--gt-home-surface);
}

.gt-home-materials > .gt-corrugator-inner {
  flex: 0 0 auto;
  width: 64px;
  margin: 0;
  padding: 0;
}

.gt-home-materials .gt-web-flute {
  stroke: var(--gt-home-accent);
}

.gt-home-materials .gt-roll-body {
  opacity: .86;
  stroke-width: 3.8;
}

.gt-home-materials :is(.gt-roll, .gt-web-run) {
  animation: none;
}

.gt-home-materials-text {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(.6rem, 2.5vw, 2.5rem);
  color: var(--bs-body-color);
  font-size: clamp(.76rem, 1.2vw, .94rem);
  font-weight: 650;
}

.gt-home-materials-text span + span {
  border-inline-start: 1px solid var(--gt-home-rule);
  padding-inline-start: clamp(.6rem, 2.5vw, 2.5rem);
}

@media (max-width: 575.98px) {
  .gt-home-materials > .gt-corrugator-inner { width: 50px; }
  .gt-home-materials-text span + span { padding: 0; border: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .gt-home-materials-entered .gt-home-materials-text {
    animation: gt-materials-arrive 4.5s var(--gt-ease) both;
  }

  .gt-home-materials-entered .gt-web-run {
    animation: gt-web-feed .85s linear;
  }

  .gt-home-materials-entered .gt-roll--top {
    animation: gt-roll-partial 1s var(--gt-ease) reverse;
  }

  .gt-home-materials-entered .gt-roll--bottom {
    animation: gt-roll-partial 1s var(--gt-ease);
  }
}

@keyframes gt-materials-arrive {
  from { transform: translateX(clamp(5rem, 32vw, 27rem)); opacity: .72; }
  to { transform: none; opacity: 1; }
}

@keyframes gt-roll-partial {
  to { transform: rotate(40deg); }
}

.gt-home .gt-front-hero .owl-carousel-item {
  min-height: clamp(31rem, 87svh, 55rem);
}

.gt-home .gt-front-hero .owl-carousel-inner :is(h1, h2) {
  max-width: 20ch;
  letter-spacing: -.055em;
}

.gt-home .gt-front-hero .owl-carousel-item::before {
  background:
    linear-gradient(0deg, rgba(var(--gt-hero-ink), .97), rgba(var(--gt-hero-ink), .46) 42%, transparent 78%),
    linear-gradient(95deg, rgba(var(--gt-hero-ink), .35), transparent 68%);
}

@media (min-width: 992px) {
  .header-carousel.gt-home-hero .owl-dots {
    z-index: 3;
    inset: auto calc(clamp(1.15rem, 4vw, 3.4rem) + 3.65rem) 1.2rem auto;
    flex-direction: row;
    gap: 0;
    width: auto;
    height: 44px;
  }

  body:has(.gt-cookie-notice) .header-carousel.gt-home-hero .owl-dots {
    inset-inline-end: calc(min(27rem, calc(100% - 4rem)) + 3.65rem);
  }

  .header-carousel.gt-home-hero .owl-dots :is(.owl-dot, .owl-dot.active) {
    width: 34px;
    height: 44px;
    margin: 0;
    border: 0;
    border-radius: 0;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    filter: none;
    transform: none;
  }

  .header-carousel.gt-home-hero .owl-dot img {
    display: none;
  }

  .header-carousel.gt-home-hero .owl-dot::before {
    display: block;
    width: 23px;
    height: 2px;
    margin: auto;
    background: rgb(255 255 255 / 55%);
    content: "";
  }

  .header-carousel.gt-home-hero .owl-dot.active::before,
  .header-carousel.gt-home-hero .owl-dot:hover::before {
    height: 3px;
    background: #fff;
  }
}

@media (max-width: 991.98px) {
  .gt-home .gt-front-hero .owl-carousel-item {
    min-height: clamp(28rem, 77svh, 38rem);
  }
}

.gt-home :is(.feature-wrap, .service-wrap, .projects-wrap, .testimonial-wrap, .gt-home-customers) {
  padding-block: var(--gt-home-space) !important;
}

.gt-home :is(.service-wrap, .projects-wrap, .testimonial-wrap)::before,
.gt-home .quote-text::before {
  content: none;
}

.gt-home :is(.service-wrap, .projects-wrap) {
  background: var(--gt-home-surface);
  box-shadow: 0 0 0 100vmax var(--gt-home-surface);
}

.gt-home.gt-bg-on .service-wrap,
.gt-home[data-bs-theme="dark"].gt-bg-on .service-wrap {
  background: var(--gt-home-surface);
  box-shadow: 0 0 0 100vmax var(--gt-home-surface);
}

.gt-home .feature-wrap .row.g-5 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.85rem, 2.5vw, 2.5rem);
  margin: 0;
}

.gt-home .feature-wrap .row.g-5 > [class*="col-"] {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--gt-home-rule);
}

.gt-home .feature-wrap .row.g-5 > [class*="col-"]::before {
  content: none;
}

.gt-home .feature-wrap .btn-lg-square,
.gt-home .feature-wrap .d-flex.align-items-center::after {
  display: none;
}

.gt-home .feature-wrap h1[data-toggle] {
  color: var(--gt-home-accent);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.55rem, 5.2vw, 5.4rem) !important;
}

.gt-home .feature-wrap .d-flex.align-items-center {
  margin-bottom: .95rem !important;
}

.gt-home .feature-wrap h5 {
  margin: 0 0 .55em !important;
  line-height: 1.2;
}

.gt-home .feature-wrap .content {
  font-size: clamp(.85rem, 1.2vw, 1rem);
  line-height: 1.52;
  text-wrap: pretty;
}

.gt-home :is(.about-wrap, .feature-wrap2, .quote-wrap) {
  margin-block: 0 !important;
}

.gt-home .about-wrap {
  padding-block: clamp(1.4rem, 4vw, 4.75rem);
  background-color: var(--gt-home-page) !important;
}

.gt-home .about-wrap .content > p {
  text-align: start !important;
  hyphens: manual;
}

@media (min-width: 992px) {
  .gt-home .about-wrap .cover {
    display: flex;
    align-items: center;
  }

  .gt-home .about-wrap .cover > .position-relative {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }
}

.gt-home .feature-wrap2 {
  background: var(--gt-home-panel) !important;
  color: #f6f4f0;
}

.gt-home .feature-wrap2 :is(h1, h2, h3, h4, h5, p) {
  color: inherit;
}

.gt-home .feature-wrap2 h6.text-primary {
  color: #ff9898 !important;
}

.gt-home .feature-wrap2 .bg-primary {
  box-shadow: none;
}

.gt-home .quote-wrap {
  padding-block: clamp(1.75rem, 4.8vw, 4.75rem);
  background-color: var(--gt-home-page) !important;
}

.gt-home :is(.service-wrap, .projects-wrap, .testimonial-wrap) > .container > .text-center {
  max-width: none !important;
  text-align: start !important;
  margin-bottom: clamp(1.6rem, 4.4vw, 3.6rem) !important;
}

.gt-home :is(.service-wrap, .projects-wrap, .testimonial-wrap) > .container > .text-center > h1,
.gt-home :is(.about-text, .feature-text, .quote-text) h1 {
  max-width: 21ch;
  font-size: var(--gt-home-heading) !important;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.gt-home :is(.service-wrap, .projects-wrap, .testimonial-wrap, .about-wrap, .quote-wrap) h6.text-primary {
  color: var(--gt-home-accent) !important;
}

.gt-home .gt-home-customers {
  border-top: 1px solid var(--gt-home-rule);
}

.gt-home .gt-home-customers-heading h2 {
  padding-inline-start: 0;
  border: 0;
  font-size: var(--gt-home-heading);
  letter-spacing: -.045em;
}

.gt-home .gt-home-projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: clamp(1rem, 3vw, 2rem);
}

.gt-home .gt-home-projects-heading h6 {
  grid-column: 1 / -1;
}

.gt-home .gt-home-projects-heading h1,
.gt-home .gt-home-projects-heading .gt-home-projects-more {
  margin: 0 !important;
}

@media (max-width: 767.98px) {
  .gt-home .feature-wrap .row.g-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.5rem;
  }

  .gt-home .gt-home-projects-heading {
    grid-template-columns: minmax(0, 1fr);
    row-gap: .5rem;
  }

  .gt-home .gt-home-projects-more {
    justify-content: flex-start;
  }
}

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .gt-home.gt-reveal :is(.about-wrap, .feature-wrap2) .cover img {
    transform: scale(1.035);
    transition: transform .95s var(--gt-ease);
  }

  .gt-home.gt-reveal :is(.about-wrap, .feature-wrap2) .cover.gt-in img,
  .gt-home.gt-reveal :is(.about-wrap, .feature-wrap2).gt-in .cover img {
    transform: none;
  }
}

/* Nonmodal so a visitor can continue exploring without consenting. */
.gt-cookie-notice {
  position: fixed;
  z-index: 1029;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(25rem, calc(100vw - 2rem));
  padding: 1rem 1.1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--gt-radius);
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  box-shadow: var(--gt-shadow-3);
  animation: gt-cookie-in 260ms var(--gt-ease) both;
}

@keyframes gt-cookie-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.gt-cookie-notice h2 {
  margin: 0 0 .4rem;
  font-size: 1rem;
}

.gt-cookie-notice p {
  margin: 0 0 .75rem;
  font-size: .875rem;
  line-height: 1.48;
}

.gt-cookie-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.gt-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.gt-cookie-actions button {
  min-height: 44px;
  font-size: .875rem;
}

.gt-cookie-settings {
  border: 0;
  padding: 0;
  min-height: 44px;
  color: inherit;
  background: none;
  text-decoration: underline;
  text-underline-offset: .18em;
  font: inherit;
}

body:has(.gt-cookie-notice) .back-to-top {
  z-index: 1028;
}

@media (max-width: 575.98px) {
  .gt-has-photo-hero .gt-cookie-notice {
    right: .65rem;
    top: max(4.75rem, calc(env(safe-area-inset-top) + 4.5rem));
    bottom: auto;
    width: calc(100vw - 1.3rem);
  }
}

:is(.gt-cookie-notice, .gt-home-customers, .gt-home-projects-more, .gt-track-desktop, .gt-hero-pause, .gt-theme-mobile) :focus-visible,
:is(.gt-home-link, .gt-track-desktop, .gt-hero-pause, .gt-theme-mobile, .gt-cookie-settings):focus-visible {
  outline: 2px solid var(--bs-body-color);
  outline-offset: 3px;
}

.gt-hero-pause:focus-visible,
.header-carousel.gt-home-hero :is(.btn, .owl-dot, h1 a):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .header-carousel.gt-home-hero .owl-item .owl-carousel-inner :is(h1, h2, .content, .btn) {
    transform: none;
    transition: none;
  }

  .gt-cookie-notice {
    animation: none;
  }

  #theme-toggle-btn i {
    transition: none;
  }
}
