:root {
  --tf-black: #161a1e;
  --tf-red: #e2000b;
  --tf-muted: #8d8d8d;
  --tf-border: #ccc;
  --tf-red-filter: brightness(0) saturate(100%) invert(13%) sepia(100%) saturate(7450%) hue-rotate(358deg)
    brightness(95%) contrast(115%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--tf-black);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* -------- Layout -------- */
.tf-container {
  width: 100%;
  max-width: 1343px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* -------- Buttons -------- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 36px;
  border-radius: 100px;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.pill-btn:hover,
.pill-btn:focus-visible {
  background: var(--tf-red);
  color: #fff;
}

.pill-btn.light {
  background: #fff;
  color: #000;
}

.pill-btn.ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pill-btn.light:hover,
.pill-btn.light:focus-visible {
  background: var(--tf-red);
  color: #fff;
}

.pill-btn.ghost:hover,
.pill-btn.ghost:focus-visible {
  background: #fff;
  color: var(--tf-black);
}

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #f1f1f1;
  overflow: visible;
}

.header-row {
  min-height: 122px;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  column-gap: 64px;
}

.logo-link {
  display: inline-flex;
}

.main-logo {
  width: 213px;
  height: 49px;
  object-fit: contain;
}

.search-slot {
  position: relative;
  align-self: center;
  width: 220px;
  height: 30px;
}

.search-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background: transparent;
  border: 1px solid transparent;
}

.search-wrap.is-active {
  width: 473px;
  top: -17px;
  left: -21px;
  padding: 17px 21px;
  background: #fff;
  border-color: var(--tf-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.search-line {
  display: flex;
  align-items: center;
  width: 100%;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.search-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  color: var(--tf-black);
  transition: color 0.2s ease;
}

.search-wrap.is-active .search-icon {
  color: var(--tf-red);
}

.search-divider {
  width: 1px;
  height: 18px;
  margin: 0 14px;
  background: var(--tf-muted);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--tf-black);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  outline: none;
}

.search-input::placeholder {
  color: var(--tf-muted);
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.search-dropdown {
  width: 100%;
  padding-top: 14px;
}

.search-results-meta {
  margin: 14px 0 16px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--tf-black);
}

.search-results-count {
  color: var(--tf-red);
}

.search-results-wrap {
  position: relative;
}

.search-results-scroll {
  max-height: 446px;
  padding-right: 16px;
  overflow-y: auto;
  scrollbar-width: none;
}

.search-results-scroll::-webkit-scrollbar {
  display: none;
}

.search-scrollbar {
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  pointer-events: none;
}

.search-scrollbar[hidden] {
  display: none;
}

.search-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 77px;
  background: #000;
  transform: translateY(0);
  transition: transform 0.05s linear;
}

.search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-result-item + .search-result-item {
  margin-top: 17px;
}

.search-result-link {
  display: grid;
  grid-template-columns: 69px 1fr;
  gap: 12px;
  align-items: start;
  color: inherit;
}

.search-result-link:hover .search-result-category,
.search-result-link:focus-visible .search-result-category {
  color: var(--tf-red);
}

.search-result-link:hover .search-result-title,
.search-result-link:focus-visible .search-result-title {
  text-decoration: underline;
}

.search-result-thumb {
  width: 69px;
  height: 70px;
  border: 1px solid #dbdbdb;
  object-fit: cover;
}

.search-result-category {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  line-height: normal;
  font-weight: 400;
  color: #a1a1a1;
}

.search-result-title {
  display: block;
  font-family: "Barlow", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--tf-black);
}

.search-view-all {
  display: inline-block;
  margin-top: 18px;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  color: var(--tf-red);
  text-decoration: underline;
}

.search-view-all:hover {
  color: var(--tf-red);
}

.search-empty {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tf-muted);
}

.search-loading {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tf-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding-left: 32px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--tf-black);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--tf-red);
}

.main-nav a.active {
  color: var(--tf-red);
}

.lang-switch-wrap {
  position: relative;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  color: var(--tf-muted);
  cursor: pointer;
  user-select: none;
}

.lang-switch-label {
  color: var(--tf-muted);
}

.lang-switch svg {
  width: 11px;
  height: 6px;
  color: var(--tf-black);
  transition: color 0.2s ease, transform 0.2s ease;
}

.lang-switch:hover svg,
.lang-switch:focus-visible svg,
.lang-switch.is-open svg {
  color: var(--tf-red);
}

.lang-switch.is-open svg {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 52px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--tf-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  z-index: 50;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu li {
  margin: 0;
}

.lang-menu a {
  display: block;
  padding: 4px 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  color: var(--tf-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.lang-menu a:hover,
.lang-menu a:focus-visible {
  color: var(--tf-red);
}

.header-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-right a {
  display: inline-flex;
  line-height: 0;
}

.social-link-swap {
  position: relative;
  display: inline-flex;
  line-height: 0;
}

.social-link-swap img {
  width: 29px;
  height: 29px;
  transition: opacity 0.2s ease;
}

.social-link-swap .social-icon-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.social-link-swap:hover .social-icon-default,
.social-link-swap:focus-visible .social-icon-default {
  opacity: 0;
}

.social-link-swap:hover .social-icon-hover,
.social-link-swap:focus-visible .social-icon-hover {
  opacity: 1;
}

/* -------- Hero -------- */
.hero-section {
  position: relative;
  min-height: 575px;
  overflow: hidden;
}

.hero-bg,
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 250px;
  padding-bottom: 80px;
}

.hero-section h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.22;
  text-transform: uppercase;
  letter-spacing: 0;
  max-width: 500px;
}

.hero-section p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* -------- Stats -------- */
.stats-section {
  padding: 100px 0 78px;
  border-bottom: 1px solid #ececec;
}

.stats-section h3 {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: 0;
}

.stats-section h4 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 400;
}

.stats-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--tf-black);
}

/* -------- About -------- */
.about-section {
  padding: 90px 0 100px;
  border-bottom: 1px solid #ececec;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap > img {
  width: 100%;
  display: block;
}

.about-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(179.91deg, rgba(17, 17, 17, 0) 63.64%, rgba(0, 0, 0, 0.7) 99.87%);
  pointer-events: none;
}

.about-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 1;
  text-align: center;
}

.about-slider-viewport {
  position: relative;
  min-height: 34px;
  margin: 0 24px 14px;
}

.about-slide-text {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.about-slide-text.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.about-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 0;
}

.about-slider-btn {
  width: 9px;
  height: 17px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity 0.2s ease;
}

.about-slider-btn:focus,
.about-slider-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.about-slider-btn img {
  width: 9px;
  height: 17px;
  display: block;
  border: 0;
  transition: filter 0.2s ease;
}

.about-slider-btn:hover img,
.about-slider-btn:focus-visible img {
  filter: var(--tf-red-filter);
}

.about-slider-btn:hover {
  opacity: 1;
}

.about-slider-btn.next img {
  transform: scaleX(-1);
}

.about-section h2 {
  margin: 0 0 28px;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 45px;
  font-weight: 500;
}

.about-section p {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
}

.about-content {
  max-width: 559px;
}

/* -------- Process / Path -------- */
.process-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  border-bottom: 1px solid #ececec;
}

.process-bg-art {
  position: absolute;
  right: -60px;
  top: 30px;
  width: 720px;
  height: 720px;
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.process-section > .tf-container {
  position: relative;
  z-index: 1;
}

.process-section h2 {
  margin: 0 0 22px;
  text-transform: uppercase;
  max-width: 900px;
}

.process-heading-main {
  font-size: 45px;
  line-height: 75px;
  font-weight: 500;
}

.process-heading-sub {
  font-size: 40px;
  line-height: 75px;
  font-weight: 400;
}

.process-section .section-lead {
  max-width: 1037px;
  font-size: 20px;
  line-height: 1.7;
  margin: 0 0 44px;
}

.process-card {
  background: #fff;
  border: 1px solid var(--tf-border);
  min-height: 460px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
}

.process-card img {
  width: auto;
  height: 56px;
  margin-bottom: 24px;
}

.process-card h3 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 500;
  color: var(--tf-black);
}

.process-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tf-black);
  flex: 1;
}

.process-card ul {
  margin: 0;
  padding-left: 18px;
}

.process-card li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--tf-black);
}

/* -------- Categories (brand carousel + products) -------- */
.categories-section {
  padding: 90px 0 90px;
}

.categories-section h2 {
  margin: 0 0 30px;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
}


/* Carousel base */
.tf-carousel {
  position: relative;
  margin-bottom: 40px;
}

.tf-carousel-track {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tf-carousel-track::-webkit-scrollbar {
  display: none;
}

.tf-carousel-item {
  flex: 0 0 142px;
  scroll-snap-align: start;
}

.tf-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 17px;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.15s ease;
}

.tf-carousel-btn img {
  width: 9px;
  height: 17px;
  display: block;
  transition: filter 0.2s ease;
}

.tf-carousel-btn:hover:not([disabled]) img,
.tf-carousel-btn:focus-visible:not([disabled]) img {
  filter: var(--tf-red-filter);
}

.tf-carousel-btn:hover:not([disabled]) {
  opacity: 1;
}

.tf-carousel-btn[disabled] {
  opacity: 0.25;
  cursor: not-allowed;
}

.tf-carousel-btn[disabled]:hover {
  opacity: 0.25;
}

.tf-carousel-btn.prev {
  left: -30px;
}

.tf-carousel-btn.next {
  right: -30px;
}

.tf-carousel-btn.next img {
  transform: scaleX(-1);
}

.brand-pill {
  width: 142px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--tf-border);
  padding: 0 18px;
}

.brand-pill img {
  max-width: 94px;
  max-height: 43px;
  object-fit: contain;
  display: block;
}

.product-card img {
  width: 100%;
  height: auto;
  border: 1px solid #f0f0f0;
  display: block;
}

/* Mobile-only category list (Biroja mēbeles section) */
.category-list {
  display: none;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  border-top: 1px solid #ececec;
}

.category-list li {
  margin: 0;
  border-bottom: 1px solid #ececec;
}

.category-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 8px;
  color: var(--tf-black);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  transition: color 0.2s ease, background 0.2s ease;
}

.category-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  color: currentColor;
}

.category-link.is-active {
  background: #f5f5f5;
  color: var(--tf-red);
}

.category-link:hover,
.category-link:focus-visible {
  color: var(--tf-red);
}

.product-card h3 {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  color: var(--tf-black);
}

/* -------- Projects -------- */
.projects-section {
  padding: 80px 0 0;
  border-top: 1px solid #ececec;
}

.projects-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.projects-head h2 {
  margin: 0 0 16px;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.35;
}

.projects-head p {
  max-width: 954px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.projects-carousel-wrap {
  position: relative;
}

.projects-carousel {
  margin-bottom: 0;
}

.projects-carousel .tf-carousel-track {
  gap: 30px;
}

.projects-track .project-card {
  flex: 0 0 calc((100% - 60px) / 3);
  scroll-snap-align: start;
}

.project-card {
  background: transparent;
  padding: 0 0 24px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card .project-image {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  margin: 0;
}

.project-content {
  padding: 32px 24px 0;
}

.project-card h3 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: color 0.25s ease;
}

.project-card p {
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 300;
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto;
}

.project-arrow img {
  width: 32px;
  height: 16px;
  display: block;
  transition: transform 0.35s ease;
}

.project-card:hover {
  background: #ebebeb;
}

.project-card:hover h3 {
  color: var(--tf-red);
}

.project-card:hover .project-arrow img {
  transform: rotate(-45deg);
}

/* Progress line — also serves as the visual divider between projects and clients sections */
.projects-progress {
  position: relative;
  margin-top: 40px;
  height: 2px;
  background: #ececec;
  overflow: hidden;
}

.projects-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 33.333%;
  background: var(--tf-black);
  transition: left 0.3s ease, width 0.3s ease;
}

/* -------- Clients carousel -------- */
.clients-section {
  padding: 80px 0 70px;
}

.clients-section h2 {
  margin: 0 0 30px;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 500;
}

.categories-section .brand-pill,
.clients-section .brand-pill,
.about-page-partners .brand-pill {
  border: none;
  padding: 0;
  background: transparent;
}

.categories-section .brand-pill img,
.clients-section .brand-pill img,
.about-page-partners .brand-pill img {
  max-width: 142px;
  max-height: 66px;
  width: 100%;
  height: 100%;
}

/* -------- CTA -------- */
.cta-section {
  position: relative;
  min-height: 568px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cta-section .tf-container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
}

.cta-section p {
  max-width: 980px;
  margin: 0 auto 48px;
  color: #fff;
  font-size: 22px;
  line-height: 1.6;
}

/* -------- Footer -------- */
.site-footer {
  background: #fff;
  padding-top: 70px;
  border-top: 1px solid #ececec;
}

.footer-logo {
  width: 241px;
  height: 55px;
}

.footer-about {
  margin-top: 28px;
  max-width: 299px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--tf-black);
}

.site-footer h3 {
  margin: 0 0 22px;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 14px;
}

.site-footer a,
.footer-contact {
  font-size: 15px;
  line-height: 1.7;
  color: var(--tf-black);
}

.site-footer a:hover {
  color: var(--tf-red);
}

.footer-contact {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--tf-black);
}

.footer-contact + .footer-contact {
  margin-top: 18px;
}

.footer-bottom {
  margin-top: 64px;
  padding: 26px 0 40px;
  border-top: 1px solid #eaeaea;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  column-gap: 24px;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-list a {
  display: inline-flex;
  line-height: 0;
}

.footer-copy {
  margin: 0;
  font-size: 14px;
  text-align: center;
  color: var(--tf-black);
}

.footer-legal {
  display: flex;
  gap: 28px;
}

.footer-legal a {
  font-size: 14px;
  color: var(--tf-black);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--tf-red);
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--tf-red);
}

.partner-link {
  position: relative;
  display: inline-block;
  margin-left: 80px;
  line-height: 0;
}

.partner-link .partner-logo {
  width: 128px;
  height: 38px;
  margin-left: 0;
  transition: opacity 0.2s ease;
}

.partner-link .partner-logo--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.partner-link:hover .partner-logo--default,
.partner-link:focus-visible .partner-logo--default {
  opacity: 0;
}

.partner-link:hover .partner-logo--hover,
.partner-link:focus-visible .partner-logo--hover {
  opacity: 1;
}

.is-hidden {
  display: none !important;
}

/* -------- Mobile menu toggle (hamburger) -------- */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tf-black);
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover .mobile-menu-toggle-bar,
.mobile-menu-toggle:focus-visible .mobile-menu-toggle-bar {
  background: var(--tf-red);
}

/* -------- Mobile menu overlay -------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-inner {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
}

.mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mobile-menu-bar .main-logo {
  width: 154px;
  height: auto;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tf-black);
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  color: var(--tf-red);
}

.mobile-menu-search-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid #ececec;
}

.mobile-menu-search {
  position: relative;
  flex: 1;
  min-width: 0;
}

.mobile-menu-search .search-wrap,
.mobile-menu-search .search-wrap.is-active {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: auto;
}

.mobile-menu-search .search-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-search .search-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  color: var(--tf-black);
  transition: color 0.2s ease;
}

.mobile-menu-search .search-wrap.is-active .search-icon {
  color: var(--tf-red);
}

.mobile-menu-search .search-input {
  flex: 1;
  min-width: 0;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--tf-black);
  outline: none;
}

.mobile-menu-search .search-input::placeholder {
  color: var(--tf-muted);
}

.mobile-menu-search .search-dropdown {
  position: fixed;
  left: 16px;
  right: 16px;
  top: 140px;
  bottom: 32px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 22px 18px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-menu-search .search-dropdown[hidden] {
  display: none;
}

.mobile-menu-search .search-results-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
}

.mobile-menu-search .search-results-scroll {
  height: 100%;
  overflow-y: auto;
  padding-right: 14px;
}

.mobile-menu-langs {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.mobile-menu-langs button {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--tf-muted);
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-menu-langs button.is-active {
  color: var(--tf-black);
}

.mobile-menu-langs button:hover,
.mobile-menu-langs button:focus-visible {
  color: var(--tf-red);
}

.mobile-menu-art {
  position: absolute;
  left: 0;
  top: 196px;
  width: 139px;
  height: 306px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.mobile-menu-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
  margin: 8px 0 48px;
}

.mobile-menu-nav a {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--tf-muted);
  transition: color 0.2s ease;
}

.mobile-menu-nav a.is-active {
  color: var(--tf-black);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
  color: var(--tf-red);
}

.mobile-menu-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: auto;
  padding-top: 28px;
}

.mobile-menu-social img {
  width: 36px;
  height: 36px;
}

body.no-scroll {
  overflow: hidden;
}

/* -------- Responsive -------- */
@media (max-width: 1399.98px) {
  .header-row {
    column-gap: 32px;
  }

  .main-nav {
    gap: 22px;
    padding-left: 0;
  }

  .process-bg-art {
    right: -180px;
    width: 600px;
    height: 600px;
    opacity: 0.4;
  }
}

@media (max-width: 1199.98px) {
  .site-header {
    position: static;
  }

  .header-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "logo search right"
      "nav nav nav";
    column-gap: 24px;
    row-gap: 16px;
    padding: 20px 0;
    min-height: 0;
  }

  .logo-link {
    grid-area: logo;
  }

  .search-slot {
    grid-area: search;
    justify-self: stretch;
    width: 100%;
    max-width: 473px;
  }

  .search-wrap.is-active {
    width: 100%;
    top: -17px;
    left: 0;
    padding: 17px 16px;
  }

  .header-right {
    grid-area: right;
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    overflow-x: auto;
    gap: 22px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-section {
    min-height: 540px;
  }

  .hero-content {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .hero-section h1 {
    font-size: 32px;
    max-width: none;
  }

  .about-section h2 {
    font-size: 26px;
    line-height: 38px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .process-heading-main {
    font-size: 34px;
    line-height: 48px;
  }

  .process-heading-sub {
    font-size: 30px;
    line-height: 44px;
  }

  .categories-section h2,
  .projects-head h2,
  .clients-section h2 {
    font-size: 26px;
  }

  .hero-section p,
  .process-section .section-lead,
  .projects-head p,
  .cta-section p {
    font-size: 18px;
    line-height: 1.55;
  }

  .about-section p {
    font-size: 16px;
    line-height: 28px;
  }

  .process-bg-art {
    display: none;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 18px;
  }

  .footer-bottom .partner-link {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .tf-container {
    padding-inline: 20px;
  }

  /* Force hero columns to stack regardless of Bootstrap state */
  .hero-content .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Force about layout to stack */
  .about-section .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Footer rows stack */
  .site-footer .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Header: collapse to logo + hamburger */
  .site-header {
    border-bottom: 1px solid #ececec;
  }

  .header-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo toggle";
    column-gap: 16px;
    row-gap: 0;
    padding: 18px 0;
    min-height: 0;
  }

  .main-logo {
    width: 154px;
    height: auto;
  }

  .logo-link {
    grid-area: logo;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-area: toggle;
    justify-self: end;
  }

  .search-slot,
  .main-nav,
  .lang-switch-wrap,
  .header-right {
    display: none !important;
  }

  /* Hero */
  .hero-section {
    min-height: 525px;
  }

  .hero-content {
    padding-top: 95px;
    padding-bottom: 60px;
  }

  .hero-section h1 {
    font-size: 24px;
    line-height: 36px;
    max-width: none;
    margin-bottom: 22px;
  }

  .hero-section p {
    font-size: 15px;
    line-height: 27px;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .hero-actions .pill-btn {
    width: 100%;
  }

  /* Generic section headings */
  .categories-section h2,
  .projects-head h2,
  .clients-section h2,
  .cta-section h2 {
    font-size: 24px;
    line-height: 32px;
  }

  /* Stats — horizontal scroll on mobile */
  .stats-section {
    padding: 56px 0 40px;
  }

  .stats-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .stats-row::-webkit-scrollbar {
    display: none;
  }

  .stats-row > [class*="col-"] {
    flex: 0 0 75%;
    max-width: 75%;
    scroll-snap-align: start;
    padding-right: 18px;
  }

  .stats-section h3 {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .stats-section h4 {
    font-size: 16px;
  }

  .stats-section p {
    font-size: 14px;
  }

  /* About */
  .about-section {
    padding: 60px 0 70px;
  }

  .about-row {
    --bs-gutter-y: 0;
    --bs-gutter-x: 0;
  }

  .about-row > .about-content {
    margin-top: 32px;
    padding: 0;
  }

  .about-section h2 {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 16px;
  }

  .about-section p {
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 28px;
  }

  .about-content .pill-btn {
    width: 100%;
  }

  /* Process steps — horizontal carousel */
  .process-section {
    padding: 60px 0 70px;
  }

  .process-heading-main {
    font-size: 22px;
    line-height: 32px;
  }

  .process-heading-sub {
    font-size: 20px;
    line-height: 30px;
  }

  .process-section .section-lead {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 26px;
  }

  .process-row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -20px;
    padding: 4px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .process-row::-webkit-scrollbar {
    display: none;
  }

  .process-row > [class*="col-"] {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
    padding: 0;
  }

  .process-card {
    min-height: 0;
    padding: 28px 22px;
  }

  .process-section .pill-btn {
    width: 100%;
    margin-top: 26px !important;
  }

  /* Categories / Brands carousel */
  .categories-section {
    padding: 56px 0;
  }

  .tf-carousel-btn.prev {
    left: -10px;
  }

  .tf-carousel-btn.next {
    right: -10px;
  }

  /* Hide desktop product grid, show mobile category list */
  .product-grid {
    display: none !important;
  }

  .category-list {
    display: block;
  }

  /* Projects */
  .projects-section {
    padding: 60px 0 0;
  }

  .projects-head {
    display: block;
    margin-bottom: 32px;
  }

  .projects-head .pill-btn {
    margin-top: 22px;
    width: 100%;
  }

  .projects-head p {
    font-size: 14px;
    line-height: 26px;
  }

  .projects-carousel .tf-carousel-track {
    gap: 16px;
  }

  .projects-track .project-card {
    flex: 0 0 100%;
  }

  .project-content {
    padding: 18px 14px 0;
  }

  /* Clients section */
  .clients-section {
    padding: 56px 0;
  }

  /* CTA section */
  .cta-section {
    padding: 90px 0;
    min-height: 0;
  }

  .cta-section h2 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 18px;
  }

  .cta-section p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 28px;
  }

  .cta-section .pill-btn {
    width: 100%;
    max-width: 290px;
  }

  /* Footer */
  .site-footer {
    padding-top: 60px;
  }

  .site-footer .row {
    --bs-gutter-y: 36px;
  }

  .site-footer h3 {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .site-footer li {
    margin-bottom: 10px;
  }

  .footer-logo {
    width: 178px;
  }

  .footer-about {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
  }

  .footer-bottom {
    margin-top: 40px;
    padding: 22px 0 28px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 22px;
  }

  .footer-bottom .partner-link {
    margin-left: 0;
  }

  .social-list {
    gap: 18px;
  }

  .footer-copy {
    font-size: 13px;
  }
}

/* -------- Catalog page -------- */
.catalog-section {
  padding: 33px 0 80px;
}

.catalog-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 500;
}

.catalog-breadcrumbs a {
  color: #98a0a7;
  transition: color 0.2s ease;
}

.catalog-breadcrumbs a:hover,
.catalog-breadcrumbs a:focus-visible {
  color: var(--tf-red);
}

.catalog-breadcrumbs .is-current {
  color: var(--tf-red);
}

.catalog-breadcrumb-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #98a0a7;
  flex-shrink: 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 31px;
  align-items: start;
}

.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 39px;
  min-width: 0;
  max-width: 320px;
}

.catalog-categories {
  border: 1px solid var(--tf-border);
  background: #fff;
}

.catalog-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-category-list li {
  margin: 0;
}

.catalog-category-link {
  display: flex;
  align-items: center;
  gap: 19px;
  min-height: 61px;
  padding: 12px 20px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--tf-black);
  transition: color 0.2s ease, background 0.2s ease;
}

.catalog-category-link.is-active {
  background: #f2f2f2;
  color: var(--tf-red);
}

.catalog-category-link:hover,
.catalog-category-link:focus-visible {
  color: var(--tf-red);
}

.catalog-category-icon {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.catalog-promo {
  position: relative;
  width: 100%;
  max-width: 320px;
  min-height: 568px;
  overflow: hidden;
}

.catalog-promo-viewport {
  position: relative;
  width: 100%;
  min-height: 568px;
}

.catalog-promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.catalog-promo-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.catalog-promo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.catalog-promo-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 568px;
  padding: 34px 34px 72px;
}

.catalog-promo-label {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 18px;
  padding: 2px 0;
  background: #090909;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.catalog-promo-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.catalog-promo-text {
  margin: 0 0 28px;
  max-width: 252px;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  color: #fff;
}

.catalog-promo-btn {
  align-self: flex-start;
  margin-bottom: 0;
}

.catalog-promo-dots {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
}

.catalog-promo-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.catalog-promo-dot:hover,
.catalog-promo-dot:focus-visible {
  transform: scale(1.1);
}

.catalog-promo-dot.is-active {
  background: var(--tf-red);
}

.catalog-main {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 31px;
  align-items: start;
}

.catalog-subcategories {
  grid-column: 1;
  grid-row: 1 / -1;
  padding-top: 6px;
}

.catalog-subcategory-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-subcategory-list + .catalog-subcategory-list {
  margin-top: 8px;
}

.catalog-subcategory-list--nested {
  margin: 8px 0 8px 22px;
}

.catalog-subcategory-list--nested a {
  line-height: 30px;
}

.catalog-subcategory-list a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 40px;
  color: #454545;
  transition: color 0.2s ease;
}

.catalog-subcategory-list a.is-active,
.catalog-subcategory-list a:hover,
.catalog-subcategory-list a:focus-visible {
  color: var(--tf-red);
}

.catalog-products {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}

.catalog-product-card {
  border: 1px solid var(--tf-border);
  background: #fff;
  transition: background 0.2s ease;
}

.catalog-product-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 395px;
  padding: 15px 16px 24px;
  color: inherit;
}

.catalog-product-media {
  width: 100%;
  max-width: 258px;
  height: 260px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: mix-blend-mode 0.2s ease;
}

.catalog-product-title {
  margin: 0 0 14px;
  max-width: 225px;
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 25px;
  text-align: center;
  text-transform: uppercase;
  color: var(--tf-black);
}

.catalog-product-category {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  color: #a1a1a1;
}

.catalog-product-card:hover {
  background: #ebebeb;
}

.catalog-product-card:hover .catalog-product-media img {
  mix-blend-mode: multiply;
}

.catalog-load-more {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 48px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.catalog-load-more img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.catalog-load-more span {
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 25px;
  color: #bdbdbd;
  transition: color 0.2s ease;
}

.catalog-load-more:hover span,
.catalog-load-more:focus-visible span {
  color: var(--tf-red);
}

.catalog-load-more.is-loading img {
  animation: catalog-spin 0.8s linear infinite;
}

.catalog-load-more[hidden] {
  display: none;
}

@keyframes catalog-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1199.98px) {
  .catalog-layout {
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }

  .catalog-main {
    grid-template-columns: 1fr;
  }

  .catalog-subcategories {
    grid-row: auto;
    grid-column: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-top: 0;
    margin-bottom: 8px;
  }

  .catalog-subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .catalog-subcategory-list + .catalog-subcategory-list {
    margin-top: 0;
  }

  .catalog-subcategory-list--nested {
    margin: 0;
  }

  .catalog-subcategory-list a {
    line-height: 1.5;
  }

  .catalog-products {
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .catalog-load-more {
    grid-column: 1;
  }
}

@media (max-width: 767.98px) {
  .catalog-section {
    padding: 24px 0 56px;
  }

  .catalog-breadcrumbs {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .catalog-categories {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-categories::-webkit-scrollbar {
    display: none;
  }

  .catalog-category-list {
    display: flex;
    min-width: max-content;
  }

  .catalog-category-link {
    min-height: 0;
    padding: 14px 18px;
    font-size: 15px;
    white-space: nowrap;
  }

  .catalog-sidebar {
    max-width: none;
  }

  .catalog-promo {
    max-width: none;
    min-height: 420px;
  }

  .catalog-promo-viewport {
    min-height: 420px;
  }

  .catalog-promo-body {
    min-height: 420px;
    padding: 24px 24px 64px;
  }

  .catalog-promo-dots {
    left: 24px;
    bottom: 24px;
  }

  .catalog-promo-title {
    font-size: 20px;
  }

  .catalog-promo-btn {
    margin-bottom: 0;
  }

  .catalog-subcategories {
    flex-direction: column;
    gap: 0;
  }

  .catalog-subcategory-list {
    display: block;
    width: 100%;
    border-top: 1px solid #ececec;
  }

  .catalog-subcategory-list a {
    padding: 10px 4px;
    line-height: 1.4;
  }

  .catalog-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-product-link {
    min-height: 0;
    padding: 12px 10px 18px;
  }

  .catalog-product-media {
    height: 180px;
    margin-bottom: 16px;
  }

  .catalog-product-title {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
  }

  .catalog-load-more {
    width: 100%;
    margin-top: 32px;
  }
}

@media (max-width: 479.98px) {
  .catalog-products {
    grid-template-columns: 1fr;
  }
}

/* -------- Product page -------- */
.product-section {
  padding: 33px 0 90px;
  overflow-x: clip;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 766px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 88px;
}

.product-gallery {
  display: grid;
  grid-template-columns: minmax(0, 626px) 112px;
  gap: 18px;
  align-items: start;
}

.product-gallery-main {
  position: relative;
  min-height: 622px;
  overflow: hidden;
}

.product-gallery-image {
  width: 100%;
  height: 622px;
  object-fit: cover;
  display: block;
}

.product-gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.product-gallery-controls {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.product-gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.product-gallery-nav:hover,
.product-gallery-nav:focus-visible {
  opacity: 0.75;
}

.product-gallery-nav img {
  width: 10px;
  height: 19px;
  display: block;
  filter: brightness(0) invert(1);
}

.product-gallery-nav.next img {
  transform: scaleX(-1);
}

.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.product-gallery-thumb {
  position: relative;
  width: 112px;
  height: 111px;
  padding: 0;
  border: 1px solid var(--tf-border);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.product-gallery-thumb.is-active {
  border-color: var(--tf-black);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-thumb-more span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  font-size: 19px;
  font-weight: 500;
  color: #fff;
}

.product-summary-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.product-meta p {
  margin: 0;
  font-size: 13px;
  color: #a1a1a1;
}

.product-meta a {
  color: var(--tf-red);
  text-decoration: underline;
}

.product-meta a:hover,
.product-meta a:focus-visible {
  color: var(--tf-black);
}

.product-share {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: #a1a1a1;
  cursor: pointer;
  white-space: nowrap;
}

.product-share-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2f2f2;
}

.product-share-icon img {
  width: 12px;
  height: 12px;
}

.product-title {
  margin: 0 0 24px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--tf-black);
}

.product-intro {
  margin-bottom: 22px;
}

.product-intro p {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: var(--tf-black);
}

.product-intro a {
  color: inherit;
  text-decoration: underline;
}

.product-more-link {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: var(--tf-red);
  text-decoration: underline;
}

.product-inquiry {
  border: 1px solid var(--tf-border);
  padding: 28px 33px 33px;
  max-width: 684px;
}

.product-inquiry h2 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 500;
  color: var(--tf-black);
}

.product-inquiry p {
  margin: 0 0 24px;
  max-width: 455px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: var(--tf-black);
}

.product-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 36px;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.product-contact-btn:hover,
.product-contact-btn:focus-visible {
  background: var(--tf-red);
  color: #fff;
}

.product-accordions {
  margin-bottom: 90px;
}

.product-accordion + .product-accordion {
  margin-top: 40px;
}

.product-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 27px;
  border: 0;
  border-bottom: 1px solid var(--tf-black);
  background: transparent;
  font-size: 22px;
  font-weight: 600;
  line-height: 25px;
  text-transform: uppercase;
  text-align: left;
  color: var(--tf-black);
  cursor: pointer;
}

.product-accordion-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.product-accordion-icon::before,
.product-accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--tf-black);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-accordion-icon::before {
  width: 18px;
  height: 2px;
}

.product-accordion-icon::after {
  width: 2px;
  height: 18px;
}

.product-accordion.is-open .product-accordion-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.product-accordion-panel[hidden] {
  display: none;
}

.product-accordion-body {
  padding: 28px 0 8px;
}

.product-accordion-body p {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: var(--tf-black);
}

.product-accordion-body a {
  color: inherit;
  text-decoration: underline;
}

.product-video-wrap {
  max-width: 1047px;
}

.product-video-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 588px;
  padding: 48px 71px 56px;
  border-radius: 8px;
  background: #000;
  color: #fff;
}

.product-video-icons {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 38px;
}

.product-video-youtube {
  width: 72px;
  height: 72px;
}

.product-video-play {
  display: inline-flex;
  width: 52px;
  height: 52px;
  color: #fff;
}

.product-video-play svg {
  width: 100%;
  height: 100%;
}

.product-video-note {
  max-width: 833px;
}

.product-video-note-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 32px;
  color: #ff6200;
}

.product-video-note p:last-child {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 32px;
  color: #fff;
}

.product-docs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-docs-list li + li {
  margin-top: 8px;
}

.product-docs-list a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 300;
  line-height: 55px;
  color: var(--tf-black);
  transition: color 0.2s ease;
}

.product-docs-list a:hover,
.product-docs-list a:focus-visible {
  color: var(--tf-red);
}

.product-docs-list img {
  width: 29px;
  height: 29px;
  flex-shrink: 0;
}

.product-docs-list strong {
  font-weight: 700;
}

.product-related h2 {
  margin: 0 0 40px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-related-wrap {
  position: relative;
  min-height: 395px;
  padding-inline: 28px;
}

.product-related-nav {
  position: absolute;
  top: calc(395px / 2);
  transform: translateY(-50%);
  z-index: 3;
}

.product-related-nav.prev {
  left: 0;
}

.product-related-nav.next {
  right: 0;
}

.product-related-nav.next img {
  transform: scaleX(-1);
}

.product-related-viewport {
  overflow: hidden;
  width: 100%;
}

.product-related-track {
  gap: 11px;
  scroll-padding-inline: 0;
}

.product-related-track .catalog-product-card {
  flex: 0 0 calc((100% - 22px) / 3);
  scroll-snap-align: start;
}

@media (min-width: 1200px) {
  .product-related-track .catalog-product-card {
    flex: 0 0 calc((100% - 44px) / 5);
  }
}

@media (max-width: 1199.98px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery-thumbs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .product-gallery-thumb {
    width: calc(20% - 14px);
    min-width: 80px;
    height: auto;
    aspect-ratio: 1;
  }

  .product-inquiry {
    max-width: none;
  }

  .product-video-placeholder {
    min-height: 360px;
    padding: 28px 24px;
  }

  .product-related-wrap {
    padding-inline: 20px;
  }

  .product-related-nav.prev {
    left: 0;
  }

  .product-related-nav.next {
    right: 0;
  }
}

@media (max-width: 767.98px) {
  .product-section {
    padding: 24px 0 56px;
  }

  .product-gallery-main {
    min-height: 0;
  }

  .product-gallery-image {
    height: auto;
    min-height: 280px;
    aspect-ratio: 1 / 1;
  }

  .product-gallery-controls {
    bottom: 20px;
    gap: 10px;
  }

  .product-gallery-nav {
    width: 36px;
    height: 36px;
  }

  .product-gallery-nav img {
    width: 9px;
    height: 17px;
  }

  .product-title {
    font-size: 22px;
  }

  .product-inquiry {
    padding: 22px 20px;
  }

  .product-accordion-trigger {
    font-size: 18px;
    padding-bottom: 20px;
  }

  .product-accordions {
    margin-bottom: 56px;
  }

  .product-related h2 {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .product-related-nav {
    top: 50%;
  }

  .product-related-track .catalog-product-card {
    flex: 0 0 75%;
  }

  .product-video-note {
    padding: 18px;
  }

  .product-video-note-title,
  .product-video-note p:last-child {
    font-size: 15px;
    line-height: 26px;
  }
}

/* -------- Projects page -------- */
.projects-page-section {
  padding: 33px 0 80px;
}

.projects-page-intro {
  max-width: 1333px;
  margin-bottom: 56px;
}

.projects-page-intro h1 {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.96;
  text-transform: uppercase;
}

.projects-page-intro p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.78;
}

.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 45px;
}

.projects-page-card .project-image {
  aspect-ratio: 470 / 369;
  object-fit: cover;
}

.projects-page-card.is-featured h3 {
  color: var(--tf-red);
  text-decoration: underline;
}

.projects-page-load-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

@media (max-width: 1199.98px) {
  .projects-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

@media (max-width: 767.98px) {
  .projects-page-section {
    padding: 24px 0 56px;
  }

  .projects-page-intro {
    margin-bottom: 36px;
  }

  .projects-page-intro h1 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .projects-page-intro p {
    font-size: 16px;
    line-height: 1.65;
  }

  .projects-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .projects-page-card .project-content {
    padding: 24px 16px 0;
  }

  .projects-page-card h3,
  .projects-page-card p {
    font-size: 16px;
  }

  .projects-page-load-more {
    margin-top: 32px;
  }
}

/* -------- Single project page -------- */
.single-project-section {
  padding: 33px 0 80px;
}

.single-project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 747px);
  gap: 47px;
  align-items: start;
  margin-bottom: 72px;
}

.single-project-title {
  margin: 0 0 28px;
  font-family: "Barlow", sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.single-project-meta {
  margin: 0 0 24px;
}

.single-project-meta div + div {
  margin-top: 0;
}

.single-project-meta dt {
  display: inline;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
}

.single-project-meta dd {
  display: inline;
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
}

.single-project-hero-content .product-more-link {
  margin-bottom: 0;
}

.single-project-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 747 / 506;
  object-fit: cover;
}

.single-project-heading {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 600;
  line-height: 25px;
  text-transform: uppercase;
}

.single-project-block + .single-project-block,
.single-project-brands + .single-project-block,
.single-project-block + .single-project-related {
  margin-top: 56px;
}

.single-project-brands {
  margin-bottom: 56px;
}

.single-project-brands-carousel {
  margin-bottom: 0;
}

.single-project-text {
  max-width: 1501px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
}

.single-project-text p {
  margin: 0 0 16px;
}

.single-project-text p:last-child {
  margin-bottom: 0;
}

.single-project-text ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.single-project-text li {
  margin-bottom: 8px;
}

.single-project-text li:last-child {
  margin-bottom: 0;
}

.single-project-text a {
  color: var(--tf-red);
  text-decoration: underline;
}

.single-project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.single-project-gallery img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 369 / 492;
  object-fit: cover;
}

.single-project-related {
  margin-top: 56px;
}

.single-project-related-carousel {
  margin-top: 0;
}

.single-project-related-carousel .projects-carousel {
  margin-bottom: 0;
}

.single-project-related-carousel .projects-track {
  align-items: stretch;
}

.single-project-related-carousel .project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.single-project-related-carousel .project-image {
  aspect-ratio: 470 / 369;
  object-fit: cover;
  object-position: center;
}

.single-project-related-carousel .project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.single-project-related-carousel .project-arrow {
  margin-top: auto;
}

@media (max-width: 1199.98px) {
  .single-project-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }

  .single-project-title {
    font-size: 56px;
  }

  .single-project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 767.98px) {
  .single-project-section {
    padding: 24px 0 56px;
  }

  .single-project-title {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .single-project-meta dt,
  .single-project-meta dd {
    font-size: 16px;
    line-height: 26px;
  }

  .single-project-heading {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .single-project-block + .single-project-block,
  .single-project-brands + .single-project-block,
  .single-project-block + .single-project-related,
  .single-project-brands {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .single-project-text {
    font-size: 15px;
    line-height: 26px;
  }

  .single-project-gallery {
    grid-template-columns: 1fr;
  }
}

/* -------- News page -------- */
.news-page-section {
  padding: 33px 0 80px;
}

.news-page-intro h1 {
  margin: 0 0 40px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.96;
  text-transform: uppercase;
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 43px 46px;
}

.news-card-link {
  position: relative;
  display: block;
  height: 537px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 31.75%, rgba(0, 0, 0, 0.9) 100%);
  transition: opacity 0.25s ease;
}

.news-card.is-featured .news-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 31.75%, #410d0f 100%);
}

.news-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 29px 36px;
}

.news-card-body time {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 30px;
}

.news-card-body h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 27px;
  text-transform: uppercase;
}

.news-card.is-featured .news-card-body h2 {
  text-decoration: underline;
}

.news-card-body p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
}

.news-card-link:hover .news-card-image,
.news-card-link:focus-visible .news-card-image {
  transform: scale(1.03);
}

.news-page-load-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

@media (max-width: 1199.98px) {
  .news-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .news-card-link {
    height: 480px;
  }
}

@media (max-width: 767.98px) {
  .news-page-section {
    padding: 24px 0 56px;
  }

  .news-page-intro h1 {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .news-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-card-link {
    height: 420px;
  }

  .news-card-body {
    padding: 0 20px 28px;
  }

  .news-card-body h2 {
    font-size: 18px;
    line-height: 24px;
  }

  .news-card-body p {
    font-size: 16px;
    line-height: 26px;
  }

  .news-page-load-more {
    margin-top: 32px;
  }
}

/* -------- Single blog page -------- */
.single-blog-section {
  padding: 33px 0 80px;
}

.single-blog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.single-blog-top .catalog-breadcrumbs {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.single-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 998px) minmax(0, 413px);
  gap: 88px;
  align-items: start;
}

.single-blog-entry > *:first-child {
  margin-top: 0;
}

.single-blog-entry .wp-block-html {
  margin: 0;
}

.single-blog-title {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 500;
  line-height: 40px;
  text-transform: uppercase;
}

.single-blog-lead {
  margin: 0 0 32px;
  max-width: 998px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
}

.single-blog-lead a {
  color: inherit;
  text-decoration: underline;
}

.single-blog-hero {
  margin: 0 0 32px;
}

.single-blog-hero img {
  width: 100%;
  display: block;
  aspect-ratio: 998 / 676;
  object-fit: cover;
}

.single-blog-heading {
  margin: 40px 0 16px;
  font-size: 22px;
  font-weight: 600;
  line-height: 25px;
  text-transform: uppercase;
}

.single-blog-content {
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
}

.single-blog-content p {
  margin: 0 0 16px;
}

.single-blog-content p:last-child {
  margin-bottom: 0;
}

.single-blog-content a {
  text-decoration: underline;
}

.single-blog-content a.is-accent,
.single-blog-lead .is-accent {
  color: var(--tf-red);
}

.single-blog-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 24px 0 0;
}

.single-blog-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 245 / 243;
  object-fit: cover;
}

.single-blog-gallery-more {
  position: relative;
  overflow: hidden;
}

.single-blog-gallery-more::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.single-blog-gallery-more span {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow", sans-serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 25px;
  text-transform: uppercase;
  color: #fff;
}

.single-blog-divider {
  margin: 40px 0 24px;
  height: 1px;
  background: #d9d9d9;
}

.single-blog-back {
  display: inline-block;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: var(--tf-red);
  text-decoration: underline;
}

.single-blog-sidebar-heading {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 600;
  line-height: 25px;
  text-transform: uppercase;
}

.single-blog-related {
  margin-bottom: 40px;
}

.single-blog-related-item {
  display: flex;
  gap: 20px;
  margin-bottom: 34px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.single-blog-related-item:last-child {
  margin-bottom: 0;
}

.single-blog-related-item:hover,
.single-blog-related-item:focus-visible {
  opacity: 0.75;
}

.single-blog-related-thumb {
  width: 133px;
  height: 184px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

.single-blog-related-body time {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #8d8d8d;
}

.single-blog-related-body h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 25px;
  text-transform: uppercase;
}

.single-blog-related-body p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
}

.single-blog-promo {
  width: 100%;
}

.single-blog-promo .catalog-promo-viewport {
  height: 568px;
}

@media (max-width: 1199.98px) {
  .single-blog-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .single-blog-promo .catalog-promo-viewport {
    height: 480px;
  }
}

@media (max-width: 767.98px) {
  .single-blog-section {
    padding: 24px 0 56px;
  }

  .single-blog-top {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 20px;
  }

  .single-blog-title {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .single-blog-lead,
  .single-blog-content {
    font-size: 15px;
    line-height: 26px;
  }

  .single-blog-heading,
  .single-blog-sidebar-heading {
    font-size: 18px;
    margin-top: 32px;
  }

  .single-blog-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .single-blog-related-item {
    gap: 16px;
    margin-bottom: 24px;
  }

  .single-blog-related-thumb {
    width: 96px;
    height: 132px;
  }

  .single-blog-promo .catalog-promo-viewport {
    height: 400px;
  }
}

/* -------- About page -------- */
.about-page-title {
  margin: 0;
  font-size: 50px;
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--tf-black);
}

.about-page-hero {
  padding: 33px 0 0;
}

.about-page-hero .catalog-breadcrumbs {
  margin-bottom: 39px;
}

.about-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 423px) minmax(0, 1fr);
  gap: 39px;
  align-items: start;
  margin-bottom: 0;
}

.about-page-hero-aside {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 13px;
}

.about-page-hero-content {
  display: flex;
  flex-direction: column;
  min-height: calc(13px + 408px + 39px + 78px);
}

.about-page-hero-content .about-page-title {
  margin-bottom: 41px;
  font-size: 50px;
  line-height: normal;
  font-weight: 400;
}

.about-page-hero-content p {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  color: var(--tf-black);
}

.about-page-hero-content p + p {
  margin-top: 30px;
}

.about-page-hero-content .pill-btn {
  margin-top: auto;
  align-self: flex-start;
}

.about-page-hero-media img {
  display: block;
  width: 100%;
  height: 408px;
  object-fit: cover;
}

.about-page-stats {
  display: grid;
  grid-template-columns: 303fr 277fr 312fr 147fr;
  gap: 0;
  padding-top: 39px;
  padding-bottom: 80px;
}

.about-page-stat {
  min-width: 0;
}

.about-page-stats h3 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  color: #161a1e;
  letter-spacing: 0;
  white-space: nowrap;
}

.about-page-stats h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: #161a1e;
  text-transform: none;
  white-space: nowrap;
}

.about-page-quote {
  background: #efefef;
  padding: 60px 0;
}

.about-page-quote-inner {
  display: grid;
  grid-template-columns: auto 2px minmax(0, 1fr);
  gap: 36px 40px;
  align-items: center;
}

.about-page-quote-author {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.about-page-quote-portrait {
  width: 191px;
  height: 191px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-page-quote-author h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--tf-black);
}

.about-page-quote-author p {
  margin: 0;
  font-size: 18px;
  color: var(--tf-black);
}

.about-page-quote-divider {
  width: 2px;
  height: 145px;
  background: var(--tf-red);
  align-self: center;
}

.about-page-quote blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  color: var(--tf-black);
}

.about-page-partners {
  padding: 72px 0 32px;
}

.about-page-projects {
  padding: 32px 0 48px;
}

.about-page-why {
  padding: 48px 0 40px;
}

.about-page-clients.clients-section {
  padding: 40px 0 32px;
}

.about-page-designers {
  padding: 32px 0 72px;
}

.about-page-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.about-page-view-all {
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: var(--tf-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.about-page-view-all:hover,
.about-page-view-all:focus-visible {
  color: var(--tf-red);
}

.about-page-lead {
  margin: 0 0 36px;
  max-width: 900px;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  color: var(--tf-black);
}

.about-page-lead--wide {
  max-width: 1194px;
}

.about-page-lead--narrow {
  max-width: 817px;
  margin-bottom: 32px;
}

.about-page-brands-carousel {
  margin-bottom: 28px;
}

.about-page-collab {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  color: var(--tf-black);
}

.about-page-collab a {
  color: var(--tf-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-page-collab a:hover,
.about-page-collab a:focus-visible {
  color: var(--tf-black);
}

.about-page-projects .about-page-title {
  margin-bottom: 44px;
}

.about-page-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.about-page-projects-grid .project-card {
  min-width: 0;
}

.about-page-projects-grid .project-image {
  width: 100%;
  height: 369px;
  object-fit: cover;
  object-position: center;
}

.about-page-why .about-page-title {
  margin-bottom: 24px;
}

.about-page-why .about-page-lead--wide {
  margin-bottom: 32px;
}

.about-page-why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 35px;
  align-items: stretch;
}

.about-page-why .process-card {
  min-height: 483px;
  height: 100%;
  padding: 36px 24px 28px;
}

.about-page-why .process-card h3 {
  font-weight: 400;
}

.about-page-why .process-card:nth-child(5) h3 {
  font-weight: 500;
}

.about-page-why .process-card p {
  font-size: 16px;
  line-height: 1.55;
}

.about-page-why .process-card li {
  font-size: 14px;
  line-height: 30px;
}

.about-page-clients.clients-section h2.about-page-title {
  margin-bottom: 16px;
  font-size: 50px;
  font-weight: 400;
}

.about-page-clients .about-page-lead {
  margin-bottom: 28px;
}

.about-page-clients .brand-pill {
  border: none;
  padding: 0;
  background: transparent;
}

.about-page-clients .brand-pill img {
  max-width: 142px;
  max-height: 66px;
  width: 100%;
  height: 100%;
}

.about-page-designers .about-page-title {
  margin-bottom: 28px;
}

@media (max-width: 1199.98px) {
  .about-page-title {
    font-size: 40px;
  }

  .about-page-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-page-hero-aside {
    padding-top: 0;
  }

  .about-page-hero-content {
    min-height: 0;
  }

  .about-page-hero-content .pill-btn {
    margin-top: 32px;
  }

  .about-page-hero-media img {
    height: 320px;
  }

  .about-page-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding-top: 32px;
  }

  .about-page-stats h3 {
    font-size: 28px;
    white-space: normal;
  }

  .about-page-stats h4 {
    white-space: normal;
  }

  .about-page-quote-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-page-quote-divider {
    width: 100%;
    height: 2px;
  }

  .about-page-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .about-page-why .process-card {
    min-height: 440px;
  }
}

@media (max-width: 767.98px) {
  .about-page-title {
    font-size: 32px;
  }

  .about-page-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-page-quote-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-page-hero .catalog-breadcrumbs {
    margin-bottom: 24px;
  }

  .about-page-hero-content .about-page-title {
    margin-bottom: 24px;
    font-size: 32px;
  }

  .about-page-stats {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .about-page-stats h3 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .about-page-stats h4 {
    font-size: 15px;
    white-space: normal;
  }

  .about-page-partners {
    padding: 56px 0 28px;
  }

  .about-page-projects {
    padding: 28px 0 40px;
  }

  .about-page-why {
    padding: 40px 0 32px;
  }

  .about-page-clients.clients-section {
    padding: 32px 0 28px;
  }

  .about-page-designers {
    padding: 28px 0 56px;
  }

  .about-page-projects-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-page-projects-grid .project-image {
    height: 280px;
  }

  .about-page-why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-page-why .process-card {
    min-height: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .about-page-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .about-page-why .process-card {
    min-height: 420px;
  }
}

/* -------- Contacts page -------- */
.contacts-page-hero {
  padding: 33px 0 80px;
}

.contacts-page-hero .catalog-breadcrumbs {
  margin-bottom: 39px;
}

.contacts-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 536px) minmax(0, 841px);
  gap: 124px;
  align-items: start;
}

.contacts-page-hero-title {
  margin: 0 0 36px;
  font-size: 28px;
  line-height: 40px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--tf-black);
}

.contacts-page-hero-content p {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  color: var(--tf-black);
}

.contacts-page-hero-content .pill-btn {
  margin-top: 39px;
}

.contacts-page-form-wrap {
  border: 1px solid #ccc;
  background: #fff;
  padding: 39px 41px 48px;
}

.contacts-page-form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.contacts-page-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  line-height: 30px;
  font-weight: 400;
  color: var(--tf-black);
}

.contacts-page-field input,
.contacts-page-field select,
.contacts-page-field textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  color: var(--tf-black);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
}

.contacts-page-field input,
.contacts-page-field select {
  height: 57px;
  padding: 0 16px;
}

.contacts-page-field textarea {
  min-height: 104px;
  padding: 12px 16px;
  resize: vertical;
}

.contacts-page-field select {
  appearance: none;
  background-image: url("figma assets/drop-arrow.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px;
  padding-right: 48px;
}

.contacts-page-field--full {
  margin-bottom: 24px;
}

.contacts-page-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 32px;
}

.contacts-page-checkbox input {
  width: 30px;
  height: 30px;
  margin: 0;
  flex-shrink: 0;
  border: 1px solid #ccc;
  accent-color: var(--tf-black);
}

.contacts-page-checkbox label {
  margin: 0;
  font-size: 15px;
  line-height: 30px;
  font-weight: 400;
  color: var(--tf-black);
}

.contacts-page-checkbox a {
  color: var(--tf-red);
}

.contacts-page-offices {
  padding-bottom: 80px;
}

.contacts-page-office-block + .contacts-page-office-block {
  margin-top: 77px;
}

.contacts-page-office-title {
  margin: 0 0 27px;
  padding-bottom: 27px;
  border-bottom: 1px solid #000;
  font-size: 22px;
  line-height: 25px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--tf-black);
}

.contacts-page-office-grid {
  display: grid;
  grid-template-columns: minmax(0, 609px) minmax(0, 1fr);
  column-gap: 80px;
  align-items: start;
}

.contacts-page-office-requisites {
  min-width: 0;
  max-width: 805px;
}

.contacts-page-office-requisites-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 0;
}

.contacts-page-office-requisites-head > p {
  margin: 0;
  min-width: 0;
}

.contacts-page-office-contact p,
.contacts-page-office-requisites p {
  margin: 0;
  font-size: 18px;
  line-height: 30px;
  font-weight: 300;
  color: var(--tf-black);
}

.contacts-page-office-note {
  font-size: 15px !important;
}

.contacts-page-office-contact a {
  color: inherit;
}

.contacts-page-office-map-links {
  display: flex;
  gap: 19px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contacts-page-office-map-links a {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  transition: opacity 0.2s ease;
}

.contacts-page-office-map-links a:hover,
.contacts-page-office-map-links a:focus-visible {
  opacity: 0.7;
}

.contacts-page-office-map-links img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.contacts-page-copy-btn {
  margin-top: 28px;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  color: #a9a9a9;
  text-decoration: underline;
  cursor: pointer;
}

.contacts-page-copy-btn:hover,
.contacts-page-copy-btn:focus-visible {
  color: var(--tf-black);
}

.contacts-page-team {
  padding: 55px 0 100px;
}

.contacts-page-team h2 {
  margin: 0 0 55px;
  font-size: 50px;
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--tf-black);
}

.contacts-page-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 413px));
  gap: 92px 131px;
}

.contacts-page-team-card img {
  display: block;
  width: 100%;
  height: 312px;
  object-fit: cover;
}

.contacts-page-team-card h3 {
  margin: 30px 0 8px;
  font-size: 18px;
  line-height: normal;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  color: var(--tf-black);
}

.contacts-page-team-card p {
  margin: 0;
  font-size: 18px;
  line-height: 30px;
  font-weight: 300;
  text-align: center;
  color: var(--tf-black);
}

.contacts-page-team-card a {
  color: inherit;
}

.contacts-page-team-role {
  margin-bottom: 8px !important;
}

@media (max-width: 1399.98px) {
  .contacts-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contacts-page-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 40px;
  }
}

@media (max-width: 991.98px) {
  .contacts-page-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contacts-page-office-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contacts-page-office-requisites {
    max-width: none;
  }

  .contacts-page-team-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contacts-page-team h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .contacts-page-hero-title {
    font-size: 24px;
    line-height: 1.3;
  }
}

/* -------- Text page (legal / info) -------- */
.text-page-section {
  padding: 33px 0 90px;
}

.text-page-section .catalog-breadcrumbs {
  margin-bottom: 39px;
}

.text-page-title {
  margin: 0 0 30px;
  max-width: 999px;
  font-size: 28px;
  font-weight: 500;
  line-height: 40px;
  text-transform: uppercase;
  color: var(--tf-black);
}

.text-page-content {
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: var(--tf-black);
}

.text-page-content .wp-block-html {
  margin: 0;
}

.text-page-content > * + * {
  margin-top: 30px;
}

.text-page-content ul,
.text-page-content ol {
  margin: 0;
  padding-left: 24px;
}

.text-page-content li + li {
  margin-top: 0;
}

.text-page-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-page-content a:hover,
.text-page-content a:focus-visible {
  color: var(--tf-red);
}

.text-page-updated {
  margin-top: 30px;
}

@media (max-width: 767.98px) {
  .text-page-section {
    padding: 24px 0 56px;
  }

  .text-page-section .catalog-breadcrumbs {
    margin-bottom: 24px;
  }

  .text-page-title {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 1.25;
  }

  .text-page-content {
    font-size: 15px;
    line-height: 28px;
  }

  .text-page-content > * + * {
    margin-top: 24px;
  }
}

/* -------- FAQ page -------- */
.faq-page-section {
  padding: 33px 0 90px;
}

.faq-page-section .catalog-breadcrumbs {
  margin-bottom: 39px;
}

.faq-page-section .text-page-title {
  margin-bottom: 55px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.faq-categories {
  position: relative;
  padding-left: 19px;
  border-left: 1px solid var(--tf-black);
}

.faq-categories button {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  text-align: left;
  color: var(--tf-black);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-categories button:last-child {
  margin-bottom: 0;
}

.faq-categories button.is-active,
.faq-categories button:hover,
.faq-categories button:focus-visible {
  color: var(--tf-red);
}

.faq-board {
  background: #ededed;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.faq-board--placeholder {
  padding: 44px;
  font-size: 17px;
  font-weight: 300;
  line-height: 32px;
  color: var(--tf-black);
}

.faq-board--placeholder p {
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid #ccc;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 39px 44px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: var(--tf-black);
  cursor: pointer;
}

.faq-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.faq-icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
}

.faq-icon .faq-icon-open {
  display: none;
}

.faq-icon .faq-icon-closed {
  display: block;
}

.faq-item.is-open .faq-icon .faq-icon-open {
  display: block;
}

.faq-item.is-open .faq-icon .faq-icon-closed {
  display: none;
}

.faq-answer {
  padding: 0 44px 32px;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  margin: 0;
  max-width: 940px;
  font-size: 17px;
  font-weight: 300;
  line-height: 32px;
  color: var(--tf-black);
}

@media (max-width: 991.98px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-left: 0;
    border-left: 0;
  }

  .faq-categories button {
    width: auto;
    margin: 0;
  }
}

@media (max-width: 767.98px) {
  .faq-page-section {
    padding: 24px 0 56px;
  }

  .faq-page-section .catalog-breadcrumbs {
    margin-bottom: 24px;
  }

  .faq-page-section .text-page-title {
    margin-bottom: 28px;
    font-size: 24px;
    line-height: 1.25;
  }

  .faq-trigger {
    padding: 24px 20px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 20px 24px;
  }

  .faq-answer p {
    font-size: 15px;
    line-height: 28px;
  }

  .faq-board--placeholder {
    padding: 24px 20px;
  }
}
