/* ============================================================
   ODDIN 2026 — головний стиль
   ============================================================ */

:root {

  --c-blue: #0f97e6;
  --c-yellow: #ffde58;
  --c-dark: #3a3b43;
  --c-grey: #8db0cd;
  --c-black: #000000;
  --c-white: #ffffff;
  --c-bg: #ffffff;
  --c-bg-alt: #f4f7fa;
  --c-border: #e3e9ef;

  --f-head: "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-alt: "Montserrat", system-ui, sans-serif;
  --f-small: "Archivo", system-ui, sans-serif;

  --fs-h1: clamp(2.5rem, 4.2vw, 5.06rem);
  --fs-h2: clamp(2rem, 2.6vw, 3.125rem);
  --fs-h3: clamp(1.5rem, 1.7vw, 2rem);
  --fs-body: 1.25rem;
  --fs-small: 1rem;

  --container: 1600px;
  --gutter: clamp(1rem, 3vw, 3.75rem);
  --section-y: clamp(3rem, 6vw, 7rem);
  --radius: 16px;
  --shadow: 0 0 144px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body:not(.home) [id] {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.35;
  color: var(--c-dark);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
}
button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.025em;
}
h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.04em;
}
h3 {
  font-size: var(--fs-h3);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-dark);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus {
  left: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-1920 {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5.2vw, 100px);
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.site-main > section + section {
  margin-top: 20px;
}
.section-title {
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  padding: 1rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.btn--primary {
  background: var(--c-yellow);
  color: var(--c-black);
}
.btn--primary:hover {
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  border-color: currentColor;
}
.btn--blue {
  background: var(--c-blue);
  color: #fff;
}

/* ============================================================
   Хедер
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: #fff;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.4) 100%);
  transition: box-shadow 0.3s;
}

.home .site-header {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}
.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.home .site-header.is-scrolled {
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Дизайн-шаблони мають власний великий верхній відступ секції (≥86px на десктопі),
   куди хедер накладається навмисно — тож тут компенсацію прибираємо, щоб не було подвійного відступу. */
body.page-template-page-services .site-main,
body.page-template-page-projects .site-main,
body.page-template-page-team .site-main,
body.single-project .site-main {
  padding-top: 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(
    0.5rem,
    1.2vw,
    1.5rem
  );
  min-height: 84px;

  max-width: 1920px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5.2vw, 100px);
}

.site-header__logo {
  flex-shrink: 0;
  color: #fff;
  display: inline-flex;
}
.site-header__logo-img {
  height: 40px;
  width: auto;
}
.site-header__logo-svg {
  height: 40px;
  width: auto;
}
.site-header__logo-svg path {
  fill: currentColor;
}

.site-header__nav {
  display: flex;
  align-self: stretch;
}
.menu--primary {
  display: flex;
  align-items: stretch;
}
.menu--primary a {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 80px;
  /* Fluid відступи/шрифт — меню стискається на вужчих екранах, щоб усе вміщалось до 1080px */
  padding-inline: clamp(0.5rem, 1vw, 20px);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.05vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;

  border-bottom: 2px solid transparent;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}

.menu--primary a.is-active {
  border-bottom-color: #e2ecf5;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 52%,
    rgba(144, 227, 255, 0.1) 100%
  );
}

.menu--primary a:hover,
.menu--primary a:focus-visible {
  border-bottom-color: var(--c-blue);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 52%,
    rgba(144, 227, 255, 0.1) 100%
  );
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-bookcall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding-inline: 22px;
  background: var(--c-yellow);
  border: 1px solid #fff3b6;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(255, 215, 53, 0.6);
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-bookcall:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(255, 215, 53, 0.8);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-social__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-grey);
  border-radius: 30px;
  color: #fff;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.header-social__item svg {
  width: 24px;
  height: 24px;
}

.header-social__item:not(.header-social__item--bare) svg path {
  fill: currentColor;
}
.header-social__item:hover {
  background: rgba(15, 151, 230, 0.7);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(78, 191, 255, 0.8);
}
.header-social__item--bare {
  border: 0;
  padding: 0;
}
.header-social__item--bare svg {
  width: 48px;
  height: 48px;
}

.site-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
}
.site-header__burger span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ============================================================
   Секція: Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--c-dark);
}
.hero__media,
.hero__media video,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5.2vw, 100px);
  padding-bottom: clamp(2rem, 4.5vw, 64px);
}
.hero__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 22ch;
}

.hero__bottom {
  margin-top: clamp(2rem, 5.5vw, 80px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero__slogan {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  max-width: 1430px;
  opacity: 0.95;
}

.hero__clutch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.hero__clutch-badge {
  width: 214px;
  height: auto;
  display: block;
}

.hero__clutch--custom > svg,
.hero__clutch--custom > img,
.hero__clutch-media {
  height: 28px;
  width: auto;
  display: block;
}

/* ============================================================
   Секція 2: Про нас + лічильники
   ============================================================ */
.stats {
  background: transparent;
  color: #000;
  min-height: 800px;
  display: flex;
  align-items: center;
}
.stats .container-1920 {
  width: 100%;
}
.stats__inner {
  display: flex;
  flex-direction: column;
}

.stats__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5.2vw, 100px);
  align-items: start;
}
.stats__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}
.stats__text {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
}
.stats__text p {
  margin: 0;
}
.stats__text p + p {
  margin-top: 1.25rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5.2vw, 100px);
  margin-top: clamp(
    2.5rem,
    5.2vw,
    100px
  );
}
.stat {
  border-top: 1px solid #000;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat__number {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #000;
}
.stat__label {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--c-dark);
}

/* ============================================================
   Секція «3 відео» (окрема,)
   ============================================================ */
.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.videos__item {
  margin: 0;
}
.videos__el {
  display: block;
  width: 100%;
  aspect-ratio: 560 / 360;
  object-fit: cover;
}

/* ============================================================
   Секція «Наші сервіси»
   ============================================================ */
.services {
  min-height: 800px;
  display: flex;
  align-items: center;

  background: linear-gradient(
    173deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(165, 232, 255, 0.4) 100%
  );
}
.services .container-1920 {
  width: 100%;
}
.services__inner {
  display: grid;

  grid-template-columns: minmax(0, 680px) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
}
.services__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}
.services__label {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
}
.services__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.services__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 60px;
  padding: 3px 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #000;
  transition:
    background-color 0.2s,
    padding 0.2s;
}

.services__details {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--c-blue);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: none;
}
.services__details-arrow {
  width: 21px;
  height: auto;
  flex-shrink: 0;
}
/* Ховер (десктоп) / .is-open — перший тап на мобільному (JS, initServicesReveal):
   градієнт + бічні відступи + показ «Details». */
a.services__item:hover,
a.services__item:focus-visible,
a.services__item.is-open {
  background: linear-gradient(
    to right,
    rgba(144, 227, 255, 0.4),
    rgba(144, 227, 255, 0)
  );
  padding-inline: 6px 40px;
}
a.services__item:hover .services__details,
a.services__item:focus-visible .services__details,
a.services__item.is-open .services__details {
  display: inline-flex;
}
.services__item-short {
  display: none;
} /* коротка назва — лише на мобільному */
.services__btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  height: 40px;
  padding-inline: 20px;
  border-radius: 30px;
  color: var(--c-blue);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  transition: background-color 0.2s;
}
.services__btn-arrow {
  width: 21px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.services__btn:hover {
  background: rgba(15, 151, 230, 0.08);
}
.services__btn:hover .services__btn-arrow {
  transform: translateX(4px);
}
.services__graphic {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 850px;
  aspect-ratio: 850 / 478;
}
.services__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease;
  mix-blend-mode: multiply;
}
.services__slide.is-active {
  opacity: 1;
}

/* ============================================================
   Секція «Переваги»
   ============================================================ */
.advantages {
  min-height: 800px;
  display: flex;
  align-items: center;
}
.advantages .container-1920 {
  width: 100%;
}
.advantages__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6.5vw, 100px);
}
.advantages__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 5.2vw, 100px);
}
.advantage {
  border-top: 1px solid #000;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.advantage:not(:last-child) {
  padding-bottom: 20px;
}
.advantage__num {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--c-blue);
}
.advantage__title {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
}
.advantage__text {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
}

/* ============================================================
   Сторінка About us
   ============================================================ */
.about-hero {
  min-height: 800px;
  display: flex;
  align-items: center;
  padding-block: clamp(6rem, 8.3vw, 160px) 100px;
}
.about-hero .container-1920 {
  width: 100%;
}
.about-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.about-hero__title {
  margin: 0;
  max-width: 1720px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000;

  overflow-wrap: break-word;
  word-break: break-word;
}
.about-hero__title-line {
  display: block;
}
.about-hero__title-line--accent {
  color: var(--c-blue);
}
.about-hero__text {
  margin: 0;
  max-width: 1720px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--c-dark);
}

.about-mission {
  min-height: 800px;
  display: flex;
  align-items: center;
  padding-block: clamp(6rem, 8.3vw, 160px) 100px;
}
.about-mission .container-1920 {
  width: 100%;
}
.about-mission__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(3rem, 5.2vw, 100px);
}
.about-mission__col {
  flex: 1 1 0;
  min-width: 0;
  border-top: 1px solid #000;
  padding-block: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-mission__label {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-dark);
}
.about-mission__col-title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}
.about-mission__text {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--c-dark);
}

/* ============================================================
   Сторінка Blog
   ============================================================ */
.blog .container-1920 {
  width: 100%;
}
.blog__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-block: clamp(6rem, 8.3vw, 160px);
}
.blog__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000;
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 60px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card__media {
  aspect-ratio: 720 / 480;
  overflow: hidden;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 60px;

  height: 400px;
}
.blog-card__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-card__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  overflow-wrap: break-word;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__date {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.25;
  color: var(--c-grey);
}
.blog-card__excerpt {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.25;
  color: var(--c-dark);

  overflow-wrap: anywhere;
  word-break: break-word;

  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__more {
  margin-top: auto;
  align-self: flex-end;
  margin-inline-end: -20px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  height: 40px;
  padding-inline: 20px;
  border-radius: 30px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1.3;
  color: var(--c-blue);
  transition: background-color 0.2s;
}
.blog-card__more-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.blog-card__link:hover .blog-card__more {
  background: rgba(15, 151, 230, 0.08);
}
.blog-card__link:hover .blog-card__more-arrow {
  transform: translateX(4px);
}
.blog__empty {
  font-size: var(--fs-body);
  color: var(--c-dark);
}

.article-single__hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(8rem, 13vw, 200px) 60px;
  color: #fff;
}
.article-single__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.article-single__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-single__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(62, 55, 70, 0.9) 100%);
}
.article-single__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.article-single__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: break-word;
}
.article-single__date {
  flex-shrink: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  color: #fff;
}

.article-single__body .container-1920 {
  width: 100%;
}
.article-single__body-inner {
  padding-block: clamp(2.5rem, 4vw, 60px);
}
.article-single__content {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.25;
  color: var(--c-dark);

  overflow-wrap: anywhere;
  word-break: break-word;
}
.article-single__content > * + * {
  margin-top: 1.25em;
}
.article-single__content h2,
.article-single__content h3,
.article-single__content h4 {
  font-family: var(--f-head);
  font-weight: 600;
  color: #000;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 1.8em;
}
.article-single__content h2 {
  font-size: var(--fs-h3);
}
.article-single__content h3 {
  font-size: 1.5rem;
}
.article-single__content a {
  color: var(--c-blue);
  text-decoration: underline;
}
.article-single__content figure {
  margin: 0;
}

.article-single__content img {
  max-width: 100%;
  height: auto;
}
.article-single__content > img,
.article-single__content p > img {
  display: block;
  margin-inline: auto;
}
.article-single__content .wp-block-image {
  margin-block: 40px;
}

.article-single__content .wp-block-gallery {
  display: flex;
  gap: 20px;
  margin-block: 40px;
}
.article-single__content .wp-block-gallery > figure,
.article-single__content .wp-block-gallery .wp-block-image {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}
.article-single__content .wp-block-gallery img {
  height: 360px;
  object-fit: cover;
}

.article-single__content .gallery {
  display: flex;
  gap: 20px;
  margin-block: 40px;
}
.article-single__content .gallery-item {
  width: auto !important;
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
}
.article-single__content .gallery-icon,
.article-single__content .gallery-item a {
  height: 100%;
  margin: 0;
}
.article-single__content .gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 0 !important;
}
.article-single__content .gallery-caption {
  display: none;
}

/* ============================================================
   Секція «Наші проекти» — слайдер
   ============================================================ */
.projects {
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 40px);
}
.projects__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.projects__heading {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}
.projects__all {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  height: 40px;
  border-radius: 30px;

  padding-inline: 20px;
  margin-inline-end: -20px;
  color: var(--c-blue);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  transition: background-color 0.2s;
}
.projects__all-arrow {
  width: 21px;
  height: auto;
  transition: transform 0.2s;
}
.projects__all:hover {
  background: rgba(15, 151, 230, 0.08);
}
.projects__all:hover .projects__all-arrow {
  transform: translateX(4px);
}

.projects__slider {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.projects__arrow {
  flex: 0 0 100px;
  min-height: 480px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
  transition:
    background-color 0.2s,
    opacity 0.2s;
}
.projects__arrow--prev {
  background: linear-gradient(
    270deg,
    rgba(144, 227, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
}
.projects__arrow--next {
  background: linear-gradient(
    90deg,
    rgba(144, 227, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
}
.projects__arrow:hover:not([disabled]) {
  background: rgba(144, 227, 255, 0.6);
}
.projects__chevron {
  display: block;
  flex-shrink: 0;
}
.projects__chevron--default {
  width: 11px;
  height: 20px;
}
.projects__chevron--hover {
  display: none;
  width: 18px;
  height: 32px;
}
.projects__arrow:hover:not([disabled]) .projects__chevron--default {
  display: none;
}
.projects__arrow:hover:not([disabled]) .projects__chevron--hover {
  display: block;
}
.projects__arrow--prev .projects__chevron {
  transform: scaleX(-1);
}
.projects__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
}

.projects__viewport {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(
    1920px - 200px
  );
  overflow: hidden;
}
.projects__track {
  display: flex;
  transition: transform 0.5s ease;
}
.project-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.project-slide__inner {
  display: flex;
  gap: 10px;
  min-height: 480px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 144px rgba(0, 0, 0, 0.06);
  color: inherit;
  text-decoration: none;
}
.project-slide__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 60px 60px 80px;
}
.project-slide__top {
  display: flex;
  align-items: center;
  gap: 40px;
}
.project-slide__title {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #000;
}
.project-slide__loc {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  color: var(--c-blue);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
}
.project-slide__loc svg {
  width: 15px;
  height: 20px;
  flex-shrink: 0;
}
.project-slide__desc {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
}
.project-slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.project-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  border-radius: 30px;
  background: var(--c-dark);
  color: #fff;
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
/* Фото стискається разом із карткою (замість фіксованих 640px) — текст менше переноситься,
   тож висота картки/секції не росте зайве при звуженні. На мобільному нижче перекривається на 100%. */
.project-slide__media {
  flex: none;
  width: clamp(320px, 40%, 640px);
  overflow: hidden;
}
.project-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

a.project-slide__inner {
  cursor: pointer;
}
a.project-slide__inner:hover .project-slide__media img {
  transform: scale(1.04);
}

/* ============================================================
   Секція «Автоматизація»
   ============================================================ */
.automations {
  min-height: 800px;
  display: flex;
  align-items: center;
}
.automations .container-1920 {
  width: 100%;
}
.automations__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6.5vw, 100px);
}
.automations__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.automations__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}
.automations__subtext {
  margin: 0;
  max-width: 1720px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
}
.automations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.auto-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-height: 400px;
  padding: 40px clamp(1.5rem, 5.2vw, 100px);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 144px rgba(0, 0, 0, 0.06);
}
.auto-card__icon {
  display: flex;
  align-items: center;
  height: 80px;
}
.auto-card__icon-el {
  width: auto;
  height: auto;
  max-width: 80px;
  max-height: 80px;
  display: block;
}
.auto-card__title {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
}
.auto-card__text {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
}

/* ============================================================
   Секція «Інструменти» — лого, 360px, лише десктоп
   ============================================================ */
.tools {
  min-height: 360px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
}
.tools .container-1920 {
  width: 100%;
}
.tools__inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.tools__heading {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-dark);
}
.tools__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  flex-wrap: wrap;
}
.tools__logo {
  height: auto;
  width: auto;
  max-height: 60px;
  max-width: 220px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================================
   Секція «Команда»
   ============================================================ */
.team {
  min-height: 800px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    173deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(165, 232, 255, 0.4) 100%
  );
}
.team .container-1920 {
  width: 100%;
}
.team__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.5vw, 60px);
}
.team__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5.2vw, 100px);
}
.team-card {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  min-height: 440px;
  padding-right: 60px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 144px rgba(0, 0, 0, 0.06);
}
.team-card__photo {
  position: relative;
  align-self: stretch;
  flex: 0 0 clamp(160px, 16vw, 300px);
  overflow: hidden;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}
.team-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.4) 100%
  );
}
.team-card__content {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0 30px;
}
.team-card__position {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-dark);
}
.team-card__name {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #000;
}
.team-card__bio {
  margin: 0;
  flex: 1 1 auto;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
}
.team-card__profile {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #000;
}
.team-card__profile-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.team-card__profile span {
  font-family: var(--f-body);
  font-size: 1.25rem;
  text-decoration: underline;
}
.team-card__profile:hover span {
  color: var(--c-blue);
}

/* ============================================================
   Секція «Партнери» — лого, 360px, лише десктоп
   ============================================================ */
.partners {
  min-height: 360px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.partners .container-1920 {
  width: 100%;
}
.partners__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 80px);
}
.partners__heading {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
}
.partners__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  flex-wrap: wrap;
}
.partners__logo {
  height: auto;
  width: auto;
  max-height: 50px;
  max-width: 220px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================================
   Секція «Відгуки» (Clutch,)
   ============================================================ */
.reviews {
  min-height: 560px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.reviews .container-1920 {
  width: 100%;
}
.reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 3.1vw, 60px);
  align-items: start;
}
.reviews__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.1vw, 60px);
}
.reviews__rating {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.reviews__logo img {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
}
.reviews__rating-text {
  display: flex;
  flex-direction: column;
}
.reviews__rating-value {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
}
.reviews__rating-count {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--c-dark);
}
.reviews__stars {
  width: 158px;
  height: 30px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 360px;
}
.review-card__quote {
  width: 46px;
  height: 33px;
}
.review-card__text {
  margin: 0;
  flex: 1 1 auto;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
}
.review-card__footer {
  display: flex;
  align-items: center;
  gap: 20px;
}
.review-card__author {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--c-dark);
}
.review-card__company {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}
.review-card__client {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
}
.review-card__stars {
  display: flex;
  align-items: center;
  height: 20px;
  flex-shrink: 0;
}
.review-card__star {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

/* ============================================================
   Секція «Контакти» + форма
   ============================================================ */
.contacts {
  min-height: 1079px;
  display: flex;
  align-items: center;
}
.contacts .container-1920 {
  width: 100%;
}
.contacts__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 60px);
}
.contacts__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}

.contacts__people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 80px);
}
.contact-person {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 40px);
  min-width: 0;
}
.contact-person__photo {

  flex: 0 0 clamp(110px, 10vw, 160px);
  width: clamp(110px, 10vw, 160px);
  height: clamp(110px, 10vw, 160px);
  border-radius: 50%;
  overflow: hidden;
}
.contact-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-person__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.contact-person__position {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-dark);
}
.contact-person__name {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #000;
  overflow-wrap: break-word;
}
.contact-person__phone {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-person__phone span {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  opacity: 0.8;
}
.contact-person__email {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  color: #000;
  opacity: 0.8;
  text-decoration: underline;
  overflow-wrap: break-word;
  min-width: 0;
}

.contact-card {
  display: flex;
  gap: clamp(2rem, 4vw, 100px);
  padding: clamp(1.5rem, 3vw, 60px);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 144px rgba(0, 0, 0, 0.06);
}
.contact-card__left {
  flex: 0 0 clamp(280px, 24vw, 423px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-card__heading {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}
.contact-card__heading-main,
.contact-card__heading-accent {
  display: block;
}
.contact-card__heading-accent {
  color: var(--c-blue);
}
.contact-card__text {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
}

.contact-form {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.contact-form__row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-field {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  height: 100px;
  padding: 0 40px;
  background: #fff;
  box-shadow: 0 0 72px rgba(0, 0, 0, 0.06);
  border: 1px solid transparent;
}
.contact-field.is-invalid {
  border-color: #f14343;
}
.contact-field.is-invalid .contact-field__label,
.contact-field.is-invalid .contact-field__input,
.contact-field.is-invalid .contact-field__input::placeholder {
  color: #f14343;
  opacity: 1;
}
.contact-field__label {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  color: #000;
  opacity: 0.6;
}
.contact-field__input {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  outline: none;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  color: #000;
}
.contact-field__input::placeholder {
  font-weight: 400;
  opacity: 0.6;
}

.contact-form__box {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px 40px;
  background: #fff;
  box-shadow: 0 0 72px rgba(0, 0, 0, 0.06);
  border: 1px solid transparent;
}
.contact-form__box.is-invalid {
  border-color: #f14343;
}
.contact-form__box.is-invalid .contact-form__textarea,
.contact-form__box.is-invalid .contact-form__textarea::placeholder {
  color: #f14343;
  opacity: 1;
}
.contact-form__textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 0;
  padding: 0;
  background: transparent;
  outline: none;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #000;
}
.contact-form__textarea::placeholder {
  opacity: 0.6;
}
.contact-form__files {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-form__add {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-grey);
  border-radius: 30px;
  background: none;
  cursor: pointer;
  color: var(--c-blue);
  transition:
    background-color 0.2s,
    box-shadow 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.contact-form__add svg {
  width: 20px;
  height: 20px;
}
.contact-form__add svg path {
  stroke: currentColor;
}
.contact-form__add:hover {
  border-color: transparent;
  background: rgba(15, 151, 230, 0.7);
  box-shadow: 0 0 20px rgba(78, 191, 255, 0.8);
  color: #fff;
}
.contact-form__chips {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--c-dark);
  color: #fff;
  max-width: 100%;
}
.file-chip__name {
  min-width: 0;
  font-family: var(--f-small);
  font-size: 1.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-chip__remove {
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact-form__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.contact-form__msg {
  margin: 0 auto 0 0;
  font-family: var(--f-body);
  font-size: 1rem;
}
.contact-form__msg.is-ok {
  color: #1a9c5b;
}
.contact-form__msg.is-err {
  color: #f14343;
}
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  height: 60px;
  padding: 0 40px 0 30px;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  background: rgba(15, 151, 230, 0.8);
  box-shadow: 0 0 10px rgba(0, 127, 199, 0.6);
  color: #fff;
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}
.contact-form__submit:hover {
  background: rgba(15, 151, 230, 0.7);
  box-shadow: 0 0 20px rgba(78, 191, 255, 0.8);
}
.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.contact-form__submit-arrow {
  width: 20px;
  height: auto;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.contact-form__submit:hover .contact-form__submit-arrow {
  transform: rotate(0deg);
}
.contact-form__submit-arrow path {
  fill: #fff;
}

/* ============================================================
   Попап успішного відправлення форми
   ============================================================ */
.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.contact-popup[hidden] {
  display: none;
}
.contact-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 40, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.contact-popup__card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 100px);
  width: 100%;
  max-width: 1000px;
  padding: clamp(2rem, 5vw, 100px);
  background: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.25);
  animation: oddinPopupIn 0.25s ease;
}
@keyframes oddinPopupIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-popup__icon {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
}
.contact-popup__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.contact-popup__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid #000;
  padding-left: clamp(2rem, 5vw, 100px);
  color: var(--c-dark);
}
.contact-popup__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-dark);
}
.contact-popup__text {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1.3;
}
.contact-popup__subtext {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.25;
}
.contact-popup__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--c-dark);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.contact-popup__close:hover {
  opacity: 1;
}

/* ============================================================
   Футер
   ============================================================ */
.site-footer {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 17%,
    rgba(29, 148, 215, 0.4) 100%
  );
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.site-footer__expertise {
  display: flex;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: 40px;
}
.site-footer__expertise-item {
  max-width: 200px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #000;
}
.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 160px;
  padding-block: 60px;
  flex-wrap: wrap;
}
.site-footer__nav,
.menu--footer {
  display: contents;
}
.menu--footer a {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  color: #000;
  transition: color 0.2s;
}
.menu--footer a:hover {
  color: var(--c-blue);
}
.site-footer__copy {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--c-dark);
}
.site-footer__logo {
  line-height: 0;
}
.site-footer__logo-svg,
.site-footer__logo-img {
  display: block;
  width: 100%;
  height: auto;
}
.site-footer__logo-svg path {
  fill: #000;
}

/* ============================================================
   Мобільне меню — повноекранний оверлей
   Прихований до відкриття (атрибут hidden). Показується лише <1080px.
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 40px;
  color: #fff;
  background: linear-gradient(90deg, #000 0%, #6e7178 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu.is-open {
  opacity: 1;
}
body.menu-open {
  overflow: hidden;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}
.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: #fff;
}

.mobile-menu__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu--mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 4.2vh, 2.25rem);
  text-align: center;
}
.menu--mobile a {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.375rem;
  color: #fff;
  transition: color 0.2s;
}
.menu--mobile a:hover,
.menu--mobile .current-menu-item > a {
  color: var(--c-yellow);
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mobile-menu__cta {
  width: min(240px, 68vw);
}
.mobile-menu__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   Сторінка Services → Hero, 800px
   ============================================================ */
.services-hero {
  min-height: 800px;
  display: flex;
  align-items: center;
}
.services-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(2.5rem, 5.2vw, 100px);
  width: 100%;
}
.services-hero__intro {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services-hero__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.6vw, 5.0625rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000;
}
.services-hero__subtitle {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--c-dark);
}
.services-hero__list {
  flex: 0 0 360px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  color: var(--c-blue);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.services-hero__link-arrow {
  width: 20px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.services-hero__link:hover .services-hero__link-arrow {
  transform: translateX(4px);
}
.services-hero__link:hover span {
  text-decoration: underline;
}

/* ============================================================
   Сторінка Services → Секція списку сервісів
   ============================================================ */
.service-row {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.services-list .service-row:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

body:not(.home) .service-row {
  scroll-margin-top: 84px;
}
.service-row__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(2.5rem, 5.2vw, 100px);
  padding-block: 60px;
}
.service-row__media {
  flex: 0 0 360px;
  width: 360px;
  height: 360px;
  overflow: hidden;
}
.service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-row__body {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-row__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(2rem, 2.8vw, 3.125rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}
.service-row__desc {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
}
.service-row__desc p {
  margin: 0 0 1.25em;
}
.service-row__desc p:last-child {
  margin-bottom: 0;
}
.service-row__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  border-radius: 30px;

  padding-inline: 20px;
  margin-inline-start: -20px;
  color: var(--c-blue);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  transition: background-color 0.2s;
}
.service-row__link-arrow {
  width: 20px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.service-row__link:hover {
  background: rgba(15, 151, 230, 0.08);
}
.service-row__link:hover .service-row__link-arrow {
  transform: translateX(4px);
}
.service-row__features {
  flex: 0 0 360px;
  max-width: 360px;
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--c-dark);
}
.service-row__features li {
  margin: 0;
  padding-left: 10px;
}
.service-row__features li + li {
  margin-top: 4px;
}

/* ============================================================
   Сторінка списку проєктів
   ============================================================ */
.projects-page {
  padding-block: clamp(3rem, 8vw, 160px);
}
.projects-page__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.projects-page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
.projects-page__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #000;
}
.projects-page__filter {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.projects-page__filter-label {
  font-family: var(--f-body);
  font-size: 1.25rem;
  color: #000;
}

.projects-page__select {
  position: relative;
}

.projects-page__select-current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  width: 200px;
  height: 40px;
  padding-inline: 20px;
  border: 1px solid var(--c-grey);
  border-radius: 20px;
  color: var(--c-blue);
  list-style: none;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    border-radius 0.2s,
    box-shadow 0.2s,
    color 0.2s;
}
.projects-page__select-current::-webkit-details-marker {
  display: none;
}
.projects-page__select-current > span {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.projects-page__select-arrow {
  width: 11px;
  height: auto;
  transform: rotate(90deg);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.projects-page__select-arrow [fill="#1D95D8"] {
  fill: var(--c-blue);
}
.projects-page__select-current:hover
  .projects-page__select-arrow
  [fill="#1D95D8"],
.projects-page__select-current:focus-visible
  .projects-page__select-arrow
  [fill="#1D95D8"],
.projects-page__select[open] .projects-page__select-arrow [fill="#1D95D8"] {
  fill: #fff;
}

.projects-page__select-current:hover,
.projects-page__select-current:focus-visible {
  background: rgba(15, 151, 230, 0.7);
  border-color: #31a6ff;
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(78, 191, 255, 0.8);
  color: #fff;
  outline: none;
}

.projects-page__select[open] .projects-page__select-current {
  background: var(--c-blue);
  border-color: var(--c-blue);
  border-radius: 20px 20px 0 0;
  box-shadow: none;
  color: #fff;
}
.projects-page__select[open] .projects-page__select-arrow {
  transform: rotate(-90deg);
}
.projects-page__options {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  width: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--c-blue);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}
.projects-page__option {
  display: block;
  height: 40px;
  line-height: 40px;
  padding-inline: 20px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  text-decoration: none;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.projects-page__option:hover,
.projects-page__option.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.projects-page__empty {
  font-family: var(--f-body);
  font-size: 1.25rem;
  color: var(--c-dark);
}

.projects-page__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.project-slide--card {
  flex: 0 0 auto;
  width: 100%;
}
.project-slide--card .project-slide__content {
  gap: 20px;
}
.project-slide__params {
  margin: 0;
  padding-left: 30px;
  list-style: disc;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--c-dark);
}
.project-slide__params li {
  margin: 0;
}

.projects-page__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.projects-page__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border-radius: 30px;
  background: rgba(144, 227, 255, 0.1);
  color: var(--c-blue);
  font-family: var(--f-body);
  font-size: 1.25rem;
  line-height: 1;
}
.projects-page__pagination a.page-numbers:hover {
  background: rgba(144, 227, 255, 0.6);
}
.projects-page__pagination .page-numbers.current {
  background: var(--c-blue);
  color: #fff;
}
.projects-page__pagination .page-numbers.dots {
  background: none;
  color: #474747;
}

/* ============================================================
   Сторінка одного проєкту
   ============================================================ */
.project-single__hero {
  padding-top: clamp(2.5rem, 8vw, 160px);
}
.project-single__hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5.2vw, 100px);
}
.project-single__hero-media {
  flex: 0 0 720px;
  max-width: 720px;
  height: 480px;
  overflow: hidden;
}
.project-single__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-single__intro {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.project-single__back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  height: 40px;
  border-radius: 30px;

  padding-inline: 20px;
  margin-inline-start: -20px;
  color: var(--c-blue);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  transition: background-color 0.2s;
}
.project-single__back-arrow {
  width: 20px;
  height: auto;
  flex-shrink: 0;
  transform: scaleX(-1);
  transition: transform 0.2s;
}
.project-single__back:hover {
  background: rgba(15, 151, 230, 0.08);
}
.project-single__back:hover .project-single__back-arrow {
  transform: scaleX(-1) translateX(4px);
}
.project-single__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}
.project-single__loc {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--c-blue);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
}
.project-single__loc svg {
  width: 15px;
  height: 20px;
  flex-shrink: 0;
}

.project-single__body {
  padding-block: clamp(3rem, 8vw, 160px);
}
.project-single__body-inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(2.5rem, 5.2vw, 100px);
}
.project-single__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow-wrap: break-word;
}
.project-single__desc {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #000;
}
.project-single__desc p {
  margin: 0 0 1.25em;
}
.project-single__desc p:last-child {
  margin-bottom: 0;
}
.project-single__params {
  margin: 0;
  padding-left: 30px;
  list-style: disc;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--c-dark);
}

.project-gallery {
  position: relative;
  flex: 0 0 720px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project-gallery__viewport {
  width: 100%;
  height: 480px;
  overflow: hidden;
}
.project-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.project-gallery__item {
  flex: 0 0 100%;
  height: 100%;
}
.project-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-gallery__nav {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  gap: 10px;
}
.project-gallery__arrow {
  width: 60px;
  height: 60px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background: rgba(144, 227, 255, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition:
    background-color 0.2s,
    opacity 0.2s;
}
.project-gallery__arrow:hover:not([disabled]) {
  background: rgba(144, 227, 255, 0.6);
}
.project-gallery__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
}
.project-gallery__chevron {
  width: 7px;
  height: 13px;
  flex-shrink: 0;
}
.project-gallery__arrow--prev .project-gallery__chevron {
  transform: scaleX(-1);
}

/* ===================== Сторінка Team ===================== */

.team-hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(6rem, 12vw, 200px) 60px;
  color: #fff;
}
.team-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.team-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 40%,
    rgba(62, 55, 70, 0.6) 100%
  );
}
.team-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.team-hero__title {
  margin: 0;
  max-width: 1720px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.team-page__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 100px);
  padding-block: clamp(3rem, 6vw, 100px);
}
.team-page__group {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 60px);
}
.team-page__group-title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}

.team-page__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.1vw, 40px);
}
/* Мобільну коротку назву групи ховаємо на десктопі (див. медіа-запит нижче). */
.team-page__group-title--short {
  display: none;
}
.team-page__card {
  flex: 0 0 400px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow);
}
.team-page__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.team-page__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-page__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 40px;
}
.team-page__role {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--c-blue);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-page__name {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  white-space: nowrap;
}
.team-page__email {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.25;
  color: #000;
  text-decoration: underline;
  word-break: break-word;
}
.team-page__email:hover {
  color: var(--c-blue);
}

/* ============================================================
   Адаптив — ЄДИНИЙ брейкпоінт: 1080px
   ─ ≥1080px : десктопна верстка, плавно масштабується до 1920 (через clamp())
   ─ <1080px : мобільна верстка (плавно до 1080)
   Усі мобільні правила тримаємо в ЦЬОМУ блоці. Інших брейкпоінтів не додаємо.
   ============================================================ */
@media (max-width: 1080px) {
  /* На мобільному відступи секцій малі (40px), тож компенсацію хедера повертаємо і для дизайн-шаблонів. */
  body.page-template-page-services .site-main,
  body.page-template-page-projects .site-main,
  body.page-template-page-team .site-main,
  body.page-template-page-about .site-main,
  body.page-template-page-blog .site-main,
  body.single-project .site-main,
  body.single-article .site-main {
    padding-top: 40px;
  }

  /* --- Сторінка Team → мобільний: 1 колонка на всю ширину, заголовки 50px --- */
  .team-hero__title {
    font-size: 3.125rem;
    line-height: 1;
  }
  .team-page .container-1920 {
    padding-inline: 0;
  }
  .team-page__inner {
    gap: 40px;
    padding-block: 40px;
  }
  .team-page__group {
    gap: 20px;
  }
  .team-page__group-title {
    font-size: 3.125rem;
    padding-inline: 20px;
  }
  /* На мобільному «Administration» → коротка «Admins». */
  .team-page__group-title--full {
    display: none;
  }
  .team-page__group-title--short {
    display: inline;
  }

  .team-page__grid {
    justify-content: center;
    gap: 20px;
  }

  /* --- Services Hero → мобільний: стовпчиком, gap 20px, заголовок 50px --- */
  .services-hero {
    min-height: 0;
    padding-block: 40px 60px;
  }
  .services-hero__inner {
    flex-direction: column;
    gap: 20px;
  }
  .services-hero__title {
    font-size: 3.125rem;
    line-height: 1;
  }
  .services-hero__list {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  /* --- Services список → мобільний: зображення зверху, стовпчиком --- */
  .service-row__inner {
    flex-direction: column;
    gap: 20px;
    padding-block: 40px;
  }
  .service-row__media {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .service-row__body {
    align-self: auto;
    gap: 20px;
  }
  .service-row__title {
    font-size: 3.125rem;
    line-height: 1;
  }
  .service-row__link {
    margin-top: 0;
  }
  .service-row__features {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  /* --- Список проєктів → мобільний: заголовок 50px, картки фото зверху (~1:1), без фільтра --- */
  .projects-page {
    padding-block: 40px 60px;
  }
  .projects-page__inner {
    gap: 40px;
  }
  .projects-page__head {
    flex-direction: column;
    gap: 20px;
  }
  .projects-page__title {
    font-size: 3.125rem;
  }
  .projects-page__filter {
    display: none;
  } /* на мобільному фільтра немає */
  .projects-page__list {
    gap: 20px;
  }
  .project-slide--card .project-slide__inner {
    flex-direction: column-reverse;
    min-height: 0;
  }
  .project-slide--card .project-slide__content {
    padding: 20px;
    gap: 20px;
  }
  .project-slide--card .project-slide__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .project-slide--card .project-slide__media {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  /* --- Один проєкт → мобільний: фото зверху (~1:1), стовпчиком, без кнопки «All projects» --- */
  .project-single__hero {
    padding-top: 40px;
  }
  .project-single__hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .project-single__hero-media {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .project-single__back {
    display: none;
  }
  .project-single__intro {
    gap: 20px;
  }
  .project-single__title {
    font-size: 3.125rem;
  }
  .project-single__body {
    padding-block: 40px;
  }
  .project-single__body-inner {
    flex-direction: column;
    gap: 40px;
  }
  .project-single__text {
    gap: 20px;
  }
  .project-gallery {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
  }
  .project-gallery__viewport {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  /* --- Хедер → мобільний: лого + бургер (решта в оверлеї .mobile-menu) --- */
  .site-header__burger {
    display: flex;
  }
  .site-header__nav {
    display: none;
  } /* десктопне меню ховаємо */
  .site-header__actions .btn-bookcall {
    display: none;
  }
  .header-social {
    display: none;
  }

  .hero {
    min-height: 800px;
  }
  .hero__inner {
    padding-inline: 20px;
    padding-bottom: clamp(2.5rem, 8vw, 60px);
  }
  .hero__title {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
    letter-spacing: -0.04em;
    max-width: none;
  }
  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.25rem, 5vw, 1.75rem);
    margin-top: clamp(1.5rem, 7vw, 2.5rem);
  }
  .hero__slogan {
    max-width: none;
  }
  .hero__slogan br {
    display: none;
  } /* на мобільному текст тече природно */
  .hero__clutch-badge {
    width: 273px;
    max-width: 78vw;
  }

  .stats {
    min-height: 1091px;
    display: flex;
    align-items: center;
  }
  .stats__inner {
    gap: clamp(1.25rem, 5vw, 1.75rem);
  }
  .stats__head {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .stats__title {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }
  .stats__text {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .stats__text p + p {
    margin-top: 1rem;
  }
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 0;
  }
  .stat__number {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }

  .videos__grid {
    grid-template-columns: 1fr;
    gap: 10px;

    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    left: 50%;
    right: 50%;
  }
  .videos__el {
    aspect-ratio: 390 / 113.33;
  }

  .services__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .services__graphic {
    display: none;
  } /* графіки на мобільному немає */

  .services__item {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
    min-height: 56px;
  }
  .services__item-full {
    display: none;
  } /* на мобільному — коротка назва */
  .services__item-short {
    display: inline;
  }

  .advantages {
    min-height: 1310px;
    display: block;
    padding-top: 20px;
  }
  .advantages__inner {
    gap: 20px;
  }
  .advantages__title {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }
  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .advantage {
    padding-top: 20px;
  }

  /* --- Сторінка About us → мобільний: секції стовпчиком --- */
  .about-hero {
    min-height: auto;
    padding-block: 40px 0;
  }
  .about-hero__inner {
    gap: 20px;
  }
  .about-hero__title {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }
  .about-mission {
    min-height: auto;
    padding-block: 40px 20px;
  }
  .about-mission__inner {
    flex-direction: column;
    gap: 20px;
  }
  .about-mission__col-title {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }

  /* --- Сторінка Blog → мобільний: 1 колонка, менші відступи --- */
  .blog__inner {
    gap: 40px;
    padding-block: 40px;
  }
  .blog__title {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }
  .blog__grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  /* Фото вище, а не пропорція десктопу */
  .blog-card__media {
    aspect-ratio: auto;
    height: 350px;
  }
  .blog-card__body {
    height: auto; /* на мобільному картка тягнеться за контентом */
    padding: 20px;
    gap: 20px;
  }
  /* На мобільному дата — над заголовком */
  .blog-card__head {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .blog-card__title {
    font-size: 2rem;
  }

  .blog-card__more {
    margin-top: 0;
    align-self: flex-start;
    margin-inline-start: -20px;
    margin-inline-end: 0;
  }
  /* Одна стаття → мобільний: високий hero, дата прихована */
  .article-single__hero {
    min-height: min(800px, 85svh);
    padding-block: 120px 60px;
  }
  .article-single__hero-inner {
    gap: 20px;
  }
  .article-single__date {
    display: none;
  }
  .article-single__title {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }
  .article-single__body-inner {
    padding-block: 40px;
  }

  .article-single__content .wp-block-gallery,
  .article-single__content .gallery {
    flex-direction: column;
    gap: 10px;
  }
  .article-single__content .wp-block-gallery img,
  .article-single__content .gallery img {
    height: 240px;
  }

  .projects {
    min-height: 1200px;
  }
  .projects__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .projects__all {
    margin-inline-end: 0;
    margin-inline-start: -20px;
  }
  .projects__heading {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }
  .projects__slider {
    display: block;
  }
  .projects__arrow {
    display: none;
  }
  .projects__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .projects__viewport::-webkit-scrollbar {
    display: none;
  }
  .projects__track {
    transform: none !important;
    width: max-content;
    gap: 20px;
    padding-inline: 20px;
  }
  .project-slide {
    flex: 0 0 calc(100vw - 40px);
    scroll-snap-align: start;
  }
  .project-slide__inner {
    flex-direction: column;
    min-height: 0;
  }
  .project-slide__media {
    order: -1;
    flex: none;
    max-width: none;
    width: 100%;
    aspect-ratio: 1 / 1;
  }
  .project-slide__content {
    padding: 20px;
    gap: 20px;
  }
  .project-slide__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .project-slide__tags {
    flex-direction: column;
    align-items: flex-start;
  }

  .automations {
    min-height: 1316px;
    display: block;
  }
  .automations__inner {
    gap: 20px;
  }
  .automations__head {
    gap: 40px;
  }
  .automations__title {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }
  .automations__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .auto-card {
    min-height: 0;
    padding: 20px;
  }

  /* --- Секція «Інструменти» — лише десктоп, на мобільному ховаємо --- */
  .tools {
    display: none;
  }

  /* --- Секції лише десктоп, на мобільному ховаємо --- */
  .team {
    display: none;
  }
  .partners {
    display: none;
  }

  .reviews {
    min-height: 674px;
    display: block;
    padding-top: 20px;
  }
  .reviews__grid {
    display: block;
  }
  .reviews__rating {
    margin-bottom: 40px;
  }
  .reviews__cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .reviews__cards::-webkit-scrollbar {
    display: none;
  }
  .review-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-height: 0;
  }

  .contacts {
    min-height: 0;
    display: block;
    padding-top: 60px;
  }
  .contacts__inner {
    gap: 40px;
  }
  .contacts__title {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }
  .contacts__people {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-person {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .contact-person__photo {
    flex: none;
    width: 100px;
    height: 100px;
  }
  .contact-card {
    flex-direction: column;
    gap: 40px;
    padding: 20px;
  }
  .contact-card__heading {
    font-size: clamp(2.5rem, 12.8vw, 3.125rem);
  }
  .contact-card__left {
    flex: none;
  }
  .contact-form__row {
    flex-direction: column;
  }
  .contact-field {
    flex: none;
    padding: 0 20px;
  }
  .contact-form__box {
    padding: 20px;
  }
  .contact-form__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .contact-form__msg {
    margin: 0;
    text-align: center;
  }
  .contact-form__submit {
    align-self: center;
  }
  /* Попап успіху → мобільний: стовпчиком, іконка менша, межа зверху */
  .contact-popup__card {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
  }
  .contact-popup__icon {
    width: 100px;
    height: 100px;
  }
  .contact-popup__body {
    border-left: 0;
    border-top: 1px solid #000;
    padding-left: 0;
    padding-top: 20px;
  }

  /* --- Футер (мобільний,): без смуги напрямків, навігація стовпчиком + копірайт, потім лого --- */
  .site-footer__expertise {
    display: none;
  }
  .site-footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 60px 20px;
  }
  .site-footer__nav {
    display: block;
  }
  .menu--footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .menu--footer a {
    font-size: 1.25rem;
    line-height: 1.3;
    letter-spacing: 0.4px;
  }
  .site-footer__copy {
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: 0.4px;
  }
}

@media (max-width: 479.98px) {
  .team-page__card {
    flex-basis: 100%;
  }
  .team-page__name {
    white-space: normal;
  }
}
