/* @import MUST come first — before any other rules */
@import url("styles.css");

/* ── FONTS ── */

@font-face {
  font-family: "Classy Vogue";
  src: url("../assets/fonts/classyvogueregular-p7rry.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   BASE RESET
   ============================================================ */

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

input,
textarea,
select {
  font: inherit;
}

/* ============================================================
   LAYOUT
   ============================================================ */

/* 200px gap between every section on the page */
.site__main > section + section {
  margin-top: 100px;
}

@media (max-width: 768px) {
  .site__main > section + section {
    margin-top: 100px;
  }
}

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

.container--narrow {
  max-width: var(--container-narrow);
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site__main {
  flex: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site__footer {
  background-color: var(--color-black);
  color: var(--color-text-inverse);
}

.footer {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--spacing-8);
  padding-block: var(--spacing-16) var(--spacing-10);
}

/* ── TOP: contacts left, nav right ── */

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-16);
  margin-bottom: var(--spacing-16);
}

/* ── CONTACTS ── */

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}

.footer__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-4);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-inverse);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(249, 248, 244, 0.4);
  transition: text-decoration-color var(--transition-fast);
}

.footer__contact:hover {
  text-decoration-color: var(--color-text-inverse);
}

.footer__contact-icon {
  flex-shrink: 0;
  filter: brightness(10);
  opacity: 0.85;
}

/* ── SOCIALS ── */

.footer__socials {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  margin-top: var(--spacing-2);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.footer__social:hover {
  opacity: 1;
}

.footer__social img {
  filter: brightness(10);
  display: block;
}

/* ── NAV ── */

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--spacing-16);
  row-gap: var(--spacing-6);
  align-content: start;
}

.footer__nav-link {
  font-family: var(--font-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-inverse);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.footer__nav-link:hover {
  opacity: 0.6;
}

/* ── BOTTOM ── */

.footer__bottom {
  border-top: 1px solid rgba(249, 248, 244, 0.15);
  padding-top: var(--spacing-6);
}

.footer__copy {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  color: rgba(249, 248, 244, 0.6);
}

.footer__policy {
  color: rgba(249, 248, 244, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer__policy:hover {
  color: var(--color-text-inverse);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .footer {
    padding-inline: var(--spacing-5);
    padding-block: var(--spacing-12) var(--spacing-8);
  }

  .footer__top {
    flex-direction: column;
    gap: var(--spacing-10);
    margin-bottom: var(--spacing-10);
  }

  .footer__nav {
    column-gap: var(--spacing-10);
  }
}

/* ============================================================
   HEADER — base (тёмный, для внутренних страниц)
   ============================================================ */

.site__header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-bg);
  transition:
    background-color var(--transition-base),
    backdrop-filter var(--transition-base);
}

.site__header .header__trigger,
.site__header .header__logo,
.site__header .header__cta {
  color: var(--color-black);
}

/* Логотип — тёмный по умолчанию */
.header__logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0);
  transition: filter var(--transition-base);
}

.site__header.is-scrolled {
  background-color: rgba(249, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── HOME + SERVICES: прозрачный fixed хедер ── */

.home .site__header,
.page-template-page-services .site__header,
.single-service .site__header,
.single-post .site__header {
  background-color: transparent;
}

.home .site__header .header__trigger,
.home .site__header .header__logo,
.home .site__header .header__cta,
.page-template-page-services .site__header .header__trigger,
.page-template-page-services .site__header .header__logo,
.page-template-page-services .site__header .header__cta,
.single-service .site__header .header__trigger,
.single-service .site__header .header__logo,
.single-service .site__header .header__cta,
.single-post .site__header .header__trigger,
.single-post .site__header .header__logo,
.single-post .site__header .header__cta {
  color: var(--color-white);
}

/* Логотип — белый на прозрачном хедере */
.home .site__header .header__logo-img,
.page-template-page-services .site__header .header__logo-img,
.single-service .site__header .header__logo-img,
.single-post .site__header .header__logo-img {
  filter: brightness(0) invert(1);
}

.home .site__header.is-scrolled,
.page-template-page-services .site__header.is-scrolled,
.single-service .site__header.is-scrolled,
.single-post .site__header.is-scrolled {
  background-color: rgba(249, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home .site__header.is-scrolled .header__trigger,
.home .site__header.is-scrolled .header__logo,
.home .site__header.is-scrolled .header__cta,
.page-template-page-services .site__header.is-scrolled .header__trigger,
.page-template-page-services .site__header.is-scrolled .header__logo,
.page-template-page-services .site__header.is-scrolled .header__cta,
.single-service .site__header.is-scrolled .header__trigger,
.single-service .site__header.is-scrolled .header__logo,
.single-service .site__header.is-scrolled .header__cta,
.single-post .site__header.is-scrolled .header__trigger,
.single-post .site__header.is-scrolled .header__logo,
.single-post .site__header.is-scrolled .header__cta {
  color: var(--color-black);
}

/* Логотип — снова тёмный после скролла */
.home .site__header.is-scrolled .header__logo-img,
.page-template-page-services .site__header.is-scrolled .header__logo-img,
.single-service .site__header.is-scrolled .header__logo-img,
.single-post .site__header.is-scrolled .header__logo-img {
  filter: brightness(0);
}

/* ── HEADER INNER ── */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-inline: var(--spacing-8);
}

.header__trigger {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--transition-fast);
}

.header__trigger:hover {
  opacity: 0.7;
}

.header__trigger-label {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  line-height: 1;
}

.header__trigger-lines {
  position: relative;
  width: 40px;
  height: 13px;
  flex-shrink: 0;
}

.header__trigger-line {
  position: absolute;
  left: 0;
  height: 1px;
  background-color: currentColor;
  transform-origin: center center;
  transition:
    top 0.35s ease,
    width 0.35s ease,
    transform 0.35s ease,
    opacity 0.25s ease;
}

.header__trigger-line--long {
  width: 40px;
  top: 0;
}

.header__trigger-line--short {
  width: 18px;
  top: 13px;
}

.header__trigger.is-active .header__trigger-line {
  opacity: 0;
}

.header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: opacity var(--transition-fast);
}

.header__logo:hover {
  opacity: 0.7;
}

.header__logo-brand {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.header__logo-name {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
}

.header__cta {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.header__cta:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .header {
    padding-inline: var(--spacing-5);
  }

  .header__cta {
    display: none;
  }

  .header__logo {
    position: static;
    transform: none;
    margin-left: auto;
  }
}

/* ============================================================
   NAV OVERLAY
   ============================================================ */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.65s;
}

.nav-overlay.is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.nav-overlay__panel {
  position: relative;
  z-index: 1;
  width: 42%;
  min-width: 320px;
  height: 100%;
  background: rgba(40, 35, 32, 0.18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--header-height) + var(--spacing-8)) var(--spacing-12);
  padding-inline: var(--spacing-12);
  transform: translateX(-100%);
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-overlay.is-open .nav-overlay__panel {
  transform: translateX(0);
}

.nav-overlay__backdrop {
  flex: 1;
  background: rgba(38, 38, 38, 0.08);
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}

.nav-overlay.is-open .nav-overlay__backdrop {
  opacity: 1;
}

.nav-overlay__menu-label {
  position: absolute;
  top: 36px;
  left: var(--spacing-12);
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.nav-overlay.is-open .nav-overlay__menu-label {
  opacity: 1;
}
.nav-overlay__menu-label:hover {
  opacity: 0.7 !important;
}

.nav-overlay__close {
  position: absolute;
  top: 36px;
  right: 42px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease 0.15s;
}

.nav-overlay.is-open .nav-overlay__close {
  opacity: 1;
}
.nav-overlay__close:hover {
  opacity: 0.6 !important;
}

.nav-overlay__close-line {
  position: absolute;
  width: 22px;
  height: 1px;
  background-color: var(--color-white);
  transform-origin: center;
}

.nav-overlay__close-line:first-child {
  transform: rotate(45deg);
}
.nav-overlay__close-line:last-child {
  transform: rotate(-45deg);
}

.nav-overlay__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-12);
}

.nav-overlay__item {
  overflow: hidden;
}

.nav-overlay__link {
  display: block;
  font-family: var(--font-secondary);
  font-size: var(--font-size-xl);
  font-weight: 400;
  color: var(--color-white);
  text-decoration: none;
  line-height: 1.25;
  padding-block: var(--spacing-2);
  transform: translateY(110%);
  transition:
    transform 0.55s cubic-bezier(0.76, 0, 0.24, 1),
    opacity var(--transition-fast);
}

.nav-overlay.is-open .nav-overlay__link {
  transform: translateY(0);
}

.nav-overlay.is-open .nav-overlay__item:nth-child(1) .nav-overlay__link {
  transition-delay: 0.15s;
}
.nav-overlay.is-open .nav-overlay__item:nth-child(2) .nav-overlay__link {
  transition-delay: 0.2s;
}
.nav-overlay.is-open .nav-overlay__item:nth-child(3) .nav-overlay__link {
  transition-delay: 0.25s;
}
.nav-overlay.is-open .nav-overlay__item:nth-child(4) .nav-overlay__link {
  transition-delay: 0.3s;
}
.nav-overlay.is-open .nav-overlay__item:nth-child(5) .nav-overlay__link {
  transition-delay: 0.35s;
}

.nav-overlay__link:hover {
  opacity: 0.55;
}

.nav-overlay__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-top: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-overlay.is-open .nav-overlay__contacts {
  opacity: 1;
  transition-delay: 0.4s;
}

.nav-overlay__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3);
  font-size: var(--font-size-sm);
  color: rgba(249, 248, 244, 0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-overlay__contact:hover {
  color: var(--color-white);
}

.nav-overlay__contact-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.7;
  filter: brightness(10);
}

body.menu-is-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .nav-overlay__panel {
    width: 100%;
    min-width: unset;
    padding-inline: var(--spacing-6);
  }

  .nav-overlay__menu-label {
    left: var(--spacing-6);
  }
  .nav-overlay__backdrop {
    display: none;
  }
  .nav-overlay__link {
    font-size: var(--font-size-3xl);
  }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__video {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  left: 0;
  right: 0;
  height: 55%;
  pointer-events: none;
  z-index: 1;
}

.hero__overlay--top {
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(38, 38, 38, 0.5) 0%,
    rgba(38, 38, 38, 0) 100%
  );
}

.hero__overlay--bottom {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(38, 38, 38, 0.5) 0%,
    rgba(38, 38, 38, 0) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: var(--spacing-16) var(--spacing-8);
  color: var(--color-white);
}

.hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(var(--font-size-2xl), 4.5vw, var(--font-size-4xl));
  font-weight: 400;
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  line-height: var(--line-height-tight);
  max-width: 840px;
  margin-bottom: var(--spacing-6);
}

.hero__subtitle {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 400;
  color: rgba(249, 248, 244, 0.8);
  margin-bottom: var(--spacing-10);
  letter-spacing: 0.02em;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  border: 1px solid rgba(249, 248, 244, 0.55);
  transition: opacity var(--transition-fast);
}

.hero__cta:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .hero {
    height: 100svh;
  }
  .hero__subtitle {
    font-size: var(--font-size-base);
  }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  background-color: var(--color-bg);
  background-image: url("../assets/media/texture.png");
  background-size: cover;
  background-position: center;
  padding-bottom: var(--spacing-20);
  padding-top: 100px;
}

/* hero → about: no gap, about starts right after hero */
.site__main > .about {
  margin-top: 0;
}

.about .container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}

.about__heading {
  max-width: 80%;
}

.about__heading-line {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.about__heading-line--primary {
  color: var(--color-black);
}

.about__heading-line--secondary {
  color: var(--color-gray-400);
}

.about__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--spacing-8);
}

.about__cta {
  white-space: nowrap;
  color: var(--color-black);
}

.about__body {
  max-width: 410px;
  text-align: right;
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .about__heading {
    max-width: 85%;
  }
}

@media (max-width: 768px) {
  .about {
    padding-block: var(--spacing-16);
  }

  .about__heading {
    max-width: 100%;
  }

  .about__heading-line {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .about__footer {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: var(--spacing-8);
  }

  .about__body {
    text-align: left;
    max-width: 100%;
  }
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  background-color: var(--color-bg);
  padding-bottom: var(--spacing-20);
}

.services__list {
  margin-bottom: var(--spacing-16);
}

.services__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-8);
  padding: 64px 0;
  border-top: 1px solid var(--color-border);
  cursor: pointer;
  clip-path: inset(0);
}

.services__item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.services__item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/media/texture.png");
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.services__item:hover .services__item-bg {
  opacity: 1;
}

.services__left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  transition: transform 0.35s ease;
}

.services__number {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  line-height: 1;
}

.services__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.15;
}

.services__description {
  position: relative;
  z-index: 1;
  align-self: center;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  transition: transform 0.35s ease;
}

@media (min-width: 769px) {
  .services__item:hover .services__left {
    transform: translateX(16px);
  }

  .services__item:hover .services__description {
    transform: translateX(-16px);
  }
}

.services__outro {
  font-family: var(--font-primary);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  color: var(--color-text);
  line-height: var(--line-height-base);
  max-width: 640px;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
  .services__item {
    grid-template-columns: 55% 1fr;
  }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .services {
    padding-block: var(--spacing-16);
  }

  .services__item {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
    padding-block: 40px;
  }

  .services__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .services__description {
    align-self: auto;
  }

  .services__outro {
    font-size: 1.125rem;
  }
}

.services__item-link {
  display: contents;
}

/* ============================================================
   FOUNDER
   ============================================================ */

.founder {
  background-color: var(--color-bg);
}

.founder__cta.link--ruled {
  display: inline;
}

/* ── TOP: two columns, image glued to right viewport edge ── */

.founder__top {
  display: grid;
  /* image first in HTML (mobile order), text second */
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-bottom: var(--spacing-16);
}

/* text column: left padding matches container centering */
.founder__content {
  order: -1; /* text left on desktop */
  padding-top: var(--spacing-20);
  padding-bottom: var(--spacing-12);
  padding-right: var(--spacing-10);
  /* align left edge to container */
  padding-left: max(
    var(--spacing-6),
    calc((100vw - var(--container-max)) / 2 + var(--spacing-6))
  );
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}

/* image column: no padding — goes to right edge */
.founder__media {
  overflow: hidden;
}

.founder__img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── CONTENT TYPOGRAPHY ── */

.founder__title {
  font-family: var(--font-secondary);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--color-black);
}

.founder__lead {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  font-weight: 400;
  color: var(--color-black);
  line-height: var(--line-height-base);
}

.founder__bio {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ── BOTTOM: at a glance ── */

.founder__bottom {
  padding-bottom: var(--spacing-20);
}

.founder__glance-title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-black);
  margin-bottom: var(--spacing-8);
}

.founder__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-5);
  margin-bottom: var(--spacing-10);
}

.founder__list-item {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
}

.founder__cta {
  color: var(--color-black);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .founder__top {
    grid-template-columns: 1fr;
    margin-bottom: var(--spacing-10);
  }

  /* image first on mobile (natural HTML order) */
  .founder__media {
    order: -1;
  }

  .founder__img {
    max-height: 480px;
  }

  .founder__content {
    order: 0;
    padding-top: var(--spacing-10);
    padding-right: var(--spacing-5);
    padding-left: var(--spacing-5);
  }

  .founder__bottom {
    padding-bottom: var(--spacing-16);
  }
}

/* ============================================================
   PROJECTS
   ============================================================ */

.projects {
  padding-bottom: var(--spacing-16);
}

.projects__title {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--color-black);
  text-align: center;
  margin-bottom: var(--spacing-12);
}

/* ── GRID — CSS columns masonry ── */

.projects__grid {
  columns: 3;
  column-gap: 10px;
  margin-bottom: var(--spacing-12);
}

.projects__item {
  break-inside: avoid;
  margin-bottom: 10px;
}

/* ── CARD ── */

.projects__card {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* ── IMAGE ── */

.projects__media {
  display: block;
  width: 100%;
}

.projects__img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.projects__img--placeholder {
  background-color: var(--color-gray-300);
}

/* ── OVERLAY ── */

.projects__overlay {
  position: absolute;
  inset: 0;
  background: rgba(38, 38, 38, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

/* ── MORE INFO BUTTON ── */

.projects__info {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.projects__btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-white);
  background-color: transparent;
  border: 1px solid rgba(249, 248, 244, 0.75);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

/* card hover — color image, show overlay + button */
.projects__card:hover .projects__img {
  filter: grayscale(0%);
}
.projects__card:hover .projects__overlay {
  opacity: 1;
}
.projects__card:hover .projects__info {
  opacity: 1;
}

/* button hover — fill white, text dark */
.projects__btn:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black);
}

/* ── FOOTER CTA ── */

.projects__footer {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-12);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .projects__title {
    font-size: 32px;
    margin-bottom: var(--spacing-8);
  }

  .projects__grid {
    columns: 1;
    column-gap: 0;
  }

  .projects__item {
    margin-bottom: 8px;
  }

  .projects__btn {
    padding: 0;
    border: none;
    background: transparent;
  }

  .projects__btn:hover {
    background: transparent;
    border: none;
    color: var(--color-white);
  }

  /* image always colored on mobile */
  .projects__img {
    filter: grayscale(0%);
  }

  /* overlay always slightly visible on mobile */
  .projects__overlay {
    opacity: 0.25;
  }

  /* button always visible at bottom center */
  .projects__info {
    opacity: 1;
    align-items: flex-end;
    padding-bottom: var(--spacing-5);
  }
}

/* ============================================================
   LOGOS
   ============================================================ */

.logos {
  overflow: hidden;

  /* logos section overrides the 200px gap — sits flush against about */
  margin-top: 0 !important;
}

.site__main > .logos {
  margin-top: 0;
}

.logos__swiper {
  overflow: hidden;
}

/* critical: makes delay:0 autoplay look like a smooth continuous ticker */
.logos__swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.logos__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.logos__img {
  width: 100%;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) brightness(0);
  opacity: 0.75;
  transition: opacity var(--transition-base);
}

.logos__img:hover {
  opacity: 1;
}

.logos__name {
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-black);
  opacity: 0.75;
}

/* ============================================================
   BLOG
   ============================================================ */

.blog__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-8);
}

.blog__all {
  color: var(--color-black);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.blog__title {
  font-family: var(--font-secondary);
  font-size: 48px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--color-black);
  text-align: center;
  line-height: 1;
}

/* ── GRID: 4 columns, no side padding ── */

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

/* ── CARD ── */

.blog__card {
  position: relative;
}

.blog__link {
  display: block;
  position: relative;
  overflow: hidden;
}

/* ── IMAGE ── */

.blog__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.blog__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition:
    filter 0.5s ease,
    transform 0.6s ease;
}

.blog__img--placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-gray-300);
}

/* ── GRADIENTS ── */

.blog__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(38, 38, 38, 0.55) 0%,
      rgba(38, 38, 38, 0) 45%
    ),
    linear-gradient(to top, rgba(38, 38, 38, 0.55) 0%, rgba(38, 38, 38, 0) 35%);
  pointer-events: none;
  z-index: 1;
}

.blog__overlay {
  position: absolute;
  inset: 0;
  background: rgba(38, 38, 38, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

/* ── CONTENT ── */

.blog__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-6);
  color: var(--color-white);
}

.blog__post-title {
  font-family: var(--font-primary);
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-snug);
  color: var(--color-white);
  max-width: 90%;
}

.blog__info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.blog__read-more {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-white);
  border: 1px solid rgba(249, 248, 244, 0.75);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.blog__meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-6);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: rgba(249, 248, 244, 0.8);
}

/* ── HOVER ── */

.blog__link:hover .blog__img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.blog__link:hover .blog__overlay {
  opacity: 1;
}

.blog__link:hover .blog__info {
  opacity: 1;
}

.blog__read-more:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black);
}

/* ── TABLET ── */

@media (max-width: 1024px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog__media {
    aspect-ratio: 4 / 5;
  }
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .blog__header {
    flex-direction: column-reverse;
    gap: var(--spacing-4);
  }

  .blog__title {
    text-align: left;
  }

  .blog__grid {
    grid-template-columns: 1fr;
  }

  .blog__media {
    aspect-ratio: 4 / 3;
  }

  .blog__img {
    filter: grayscale(0%);
  }

  .blog__overlay {
    opacity: 0.2;
  }

  .blog__info {
    opacity: 1;
  }
}

/* ============================================================
   404
   ============================================================ */

.error404 {
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-16) var(--spacing-8);
  background-color: var(--color-bg);
}

.error404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-6);
}

.error404__code {
  font-family: var(--font-secondary);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 400;
  line-height: 0.85;
  color: var(--color-black);
  letter-spacing: -0.02em;
}

.error404__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--color-black);
  line-height: var(--line-height-tight);
  margin-top: var(--spacing-4);
}

.error404__body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
}

.error404__cta {
  display: inline-flex;
  align-items: center;
  margin-top: var(--spacing-2);
  padding: 12px 36px;
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-black);
  text-decoration: none;
  border: 1px solid var(--color-black);
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.error404__cta:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

@media (max-width: 768px) {
  .error404__code {
    font-size: clamp(6rem, 28vw, 10rem);
  }
}

/* ============================================================
   PAGE — PUBLIC OFFER / PRIVACY POLICY
   ============================================================ */

.page-offer {
  padding-top: calc(var(--header-height) + var(--spacing-10));
  padding-bottom: var(--spacing-24);
  background-color: var(--color-bg);
}

/* ── BREADCRUMB ── */

.page-offer__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-6);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.page-offer__breadcrumb-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-offer__breadcrumb-link:hover {
  color: var(--color-text);
}

.page-offer__breadcrumb-sep {
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.page-offer__breadcrumb-current {
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
}

/* ── TITLE ── */

.page-offer__title {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-black);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-12);
}

/* ── INTRO TEXT (before first accordion) ── */

.page-offer__intro {
  margin-bottom: var(--spacing-12);
}

.page-offer__intro p {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-4);
}

.page-offer__intro p:last-child {
  margin-bottom: 0;
}

/* ── ACCORDION ── */

.page-offer__accordion {
  border-bottom: 1px solid var(--color-border);
}

.page-offer__item {
  border-top: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.page-offer__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-8);
  padding: var(--spacing-6) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: opacity var(--transition-fast);
  position: relative;
  z-index: 2;
}

.page-offer__trigger:hover {
  opacity: 0.6;
}

.page-offer__trigger-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
}

.page-offer__trigger-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--color-text);
}

/* plus/cross via pseudo-elements */
.page-offer__trigger-icon::before,
.page-offer__trigger-icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

/* horizontal bar — always visible */
.page-offer__trigger-icon::before {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* vertical bar — rotates to 0deg when open (becomes part of X) */
.page-offer__trigger-icon::after {
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
}

/* open state: vertical bar rotates 45deg → forms × with horizontal */
.page-offer__item.is-open .page-offer__trigger-icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.page-offer__item.is-open .page-offer__trigger-icon::after {
  transform: translateX(-50%) rotate(45deg);
}
/* ── PANEL ── */

.page-offer__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-offer__item.is-open .page-offer__panel {
  max-height: 2000px;
}

.page-offer__panel-inner {
  padding-bottom: var(--spacing-8);
}

.page-offer__panel-inner p {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-4);
}

.page-offer__panel-inner p:last-child {
  margin-bottom: 0;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .page-offer {
    padding-top: calc(var(--header-height) + var(--spacing-6));
    padding-bottom: var(--spacing-16);
  }

  .page-offer__title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: var(--spacing-8);
  }

  .page-offer__trigger {
    padding: var(--spacing-5) 0;
  }
}

/* ============================================================
   ABOUT HERO
   ============================================================ */

.about-hero {
  padding-top: calc(var(--header-height) + var(--spacing-16));

  background-color: var(--color-bg);
  background-image: url("../assets/media/texture.png");
  background-size: cover;
  background-position: center;
}

/* ── TOP: title + tags ── */

.about-hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-16);
  padding-inline: var(--spacing-8);
}

.about-hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 4vw, 3.5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1;
  color: var(--color-black);
  max-width: 900px;
}

/* ── TAGS ROW ── */

.about-hero__tags {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  flex-wrap: wrap;
  justify-content: center;
}

.about-hero__tag {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
}

/* bullet between items via pseudo-element */
.about-hero__tag + .about-hero__tag::before {
  content: "•";
  margin-right: var(--spacing-4);
  color: var(--color-text);
}

/* ── VIDEO ── */

.about-hero__media {
  /* container даёт боковые отступы */
}

.about-hero__video {
  width: 100%;
  height: 55vh;
  object-fit: cover;
  display: block;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .about-hero {
    padding-top: calc(var(--header-height) + var(--spacing-10));
    padding-bottom: var(--spacing-12);
  }

  .about-hero__top {
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-10);
    padding-inline: var(--spacing-5);
  }

  .about-hero__tags {
    gap: var(--spacing-3);
  }

  .about-hero__tag {
    font-size: var(--font-size-sm);
  }
}

/* ============================================================
   ABOUT MANIFESTO
   ============================================================ */

.about-manifesto {
  background-color: var(--color-bg);
}

.about-manifesto__title {
  font-family: var(--font-secondary);
  font-size: clamp(0.5rem, 2vw, 1.75rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1.05;
  color: var(--color-black);
  text-align: center;
  margin: 0 auto var(--spacing-12);
  max-width: 80%;
}

.about-manifesto__body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .about-manifesto {
    padding-block: var(--spacing-16);
  }

  .about-manifesto__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    margin-bottom: var(--spacing-8);
  }
}

/* ============================================================
   ABOUT FOUNDER
   ============================================================ */

.about-founder {
  background-color: var(--color-bg);
}

.about-founder__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-10);
  align-items: start;
}

/* ── PHOTO ── */

.about-founder__media {
  overflow: hidden;
}

.about-founder__img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── CONTENT ── */

.about-founder__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
  padding-top: var(--spacing-4);
}

.about-founder__label {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  line-height: 1;
}

.about-founder__label strong {
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

/* ── NAME ── */

.about-founder__name {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-founder__name-line {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1.1;
  color: var(--color-black);
  display: block;
}

/* вторая строка сдвинута вправо */
.about-founder__name-line--second {
  padding-left: 15%;
}

/* ── BIO ── */

.about-founder__bio {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}

.about-founder__bio p {
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .about-founder {
    padding-block: var(--spacing-16);
  }

  .about-founder__inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-10);
  }

  .about-founder__img {
    max-height: 480px;
  }

  .about-founder__name-line {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .about-founder__name-line--second {
    padding-left: 10%;
  }
}

/* ============================================================
   ABOUT FEATURES
   ============================================================ */

.about-features {
  padding-block: var(--spacing-24);
  background-color: var(--color-bg);
}

.about-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.about-features__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--spacing-10);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  min-height: 320px;
}

/* убираем правый border у последнего в каждой строке */
.about-features__item:nth-child(3n) {
  border-right: none;
}

/* убираем нижний border у последней строки */
.about-features__item:nth-last-child(-n + 3) {
  border-bottom: none;
}

.about-features__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 2.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-black);
}

.about-features__text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .about-features {
    padding-block: var(--spacing-16);
  }

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

  .about-features__item {
    padding: var(--spacing-8) 0;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    min-height: auto;
    gap: var(--spacing-6);
  }

  .about-features__item:last-child {
    border-bottom: none;
  }

  /* сброс nth-child для мобильного */
  .about-features__item:nth-child(3n) {
    border-right: none;
  }

  .about-features__item:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--color-border);
  }

  .about-features__item:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   ABOUT CTA
   ============================================================ */

.about-cta {
  background-color: var(--color-black);
  padding-block: var(--spacing-24);
}

.about-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-8);
}

.about-cta__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1.1;
  color: var(--color-text-inverse);
}

.about-cta__text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: rgba(249, 248, 244, 0.7);
  line-height: var(--line-height-relaxed);
  max-width: 640px;
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 40px;
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-text-inverse);
  text-decoration: none;
  border: 1px solid rgba(249, 248, 244, 0.55);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast);
}

.about-cta__btn:hover {
  background-color: rgba(249, 248, 244, 0.1);
  border-color: var(--color-text-inverse);
}

@media (max-width: 768px) {
  .about-cta {
    padding-block: var(--spacing-16);
  }

  .about-cta__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
}

/* ============================================================
   ABOUT MAP
   ============================================================ */

.about-map {
  padding-block: var(--spacing-24);
  background-color: var(--color-bg);
}

.about-map__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-12);
}

.about-map__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: var(--line-height-tight);
  color: var(--color-black);
}

.about-map__text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ── MAP + PINS ── */

.about-map__visual {
  position: relative;
  width: 80%;
  margin: 0 auto;
}

.about-map__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── PIN BASE ── */

.about-map__pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-map__pin-label {
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-cocoa);
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  white-space: nowrap;
  line-height: 1.4;
}

.about-map__pin-line {
  display: block;
  width: 1px;
  height: 28px;
  background-color: var(--color-cocoa);
}

.about-map__pin-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-bg);
  border: 2px solid var(--color-cocoa);
}

/* ── PIN POSITIONS (% от размера карты) ── */

.about-map__pin--italy {
  left: 46%;
  top: 28%;
}

.about-map__pin--monte-carlo {
  left: 45%;
  top: 34%;
}

.about-map__pin--dubai {
  left: 54%;
  top: 38%;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .about-map {
    padding-block: var(--spacing-16);
  }

  .about-map__pin-label {
    font-size: 0.5rem;
    padding: 3px 7px;
  }

  .about-map__pin-line {
    height: 16px;
  }

  .about-map__pin-dot {
    width: 6px;
    height: 6px;
  }
}

/* ============================================================
   ABOUT BELIEVE
   ============================================================ */

.about-believe {
  padding-block: var(--spacing-24);
  background-color: var(--color-bg);
}

.about-believe__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-16);
  align-items: start;
}

/* ── PHOTO ── */

.about-believe__media {
  overflow: hidden;
}

.about-believe__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── CONTENT ── */

.about-believe__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
  padding-top: var(--spacing-2);
}

.about-believe__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: var(--line-height-tight);
  color: var(--color-black);
}

/* ── LEAD ── */

.about-believe__lead {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.about-believe__lead-heading {
  font-family: var(--font-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  line-height: var(--line-height-snug);
}

.about-believe__lead-text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ── LIST ── */

.about-believe__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  list-style: none;
  counter-reset: believe-counter;
}

.about-believe__item {
  counter-increment: believe-counter;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}

.about-believe__item-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 1.6vw, 1.625rem);
  font-weight: 400;
  color: var(--color-black);
  line-height: var(--line-height-tight);
}

.about-believe__item-title::before {
  content: counter(believe-counter) ". ";
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  vertical-align: middle;
}

.about-believe__item-text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .about-believe {
    padding-block: var(--spacing-16);
  }

  .about-believe__inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-10);
    align-items: start;
  }

  .about-believe__img {
    height: 480px;
  }
}

/* ============================================================
   ABOUT STATS
   ============================================================ */

.about-stats {
  background-color: var(--color-black);
  padding-block: var(--spacing-20);
}

.about-stats__swiper {
  overflow: hidden;
}

.about-stats__slide {
  padding: var(--spacing-8);
  min-height: 340px;
  display: flex;
  align-items: flex-start;
}

.about-stats__text {
  font-family: var(--font-secondary);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: rgba(249, 248, 244, 0.25);
  transition: color var(--transition-base);
}

.about-stats__swiper .swiper-slide-active .about-stats__text {
  color: var(--color-text-inverse);
}

/* ── BOTTOM ── */

.about-stats__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--spacing-8);
  margin-top: var(--spacing-10);
  gap: var(--spacing-8);
}

.about-stats__desc {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: rgba(249, 248, 244, 0.55);
  line-height: var(--line-height-relaxed);
  max-width: 300px;
  flex-shrink: 0;
}

/* ── PAGINATION ── */

.about-stats__pagination {
  display: flex;
  flex: 1;
  height: 1px;
}

.about-stats__pagination .swiper-pagination-bullet {
  flex: 1;
  height: 1px;
  border-radius: 0;
  background-color: rgba(249, 248, 244, 0.2);
  opacity: 1;
  margin: 0;
  transition: background-color var(--transition-base);
}

.about-stats__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-text-inverse);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .about-stats__slide {
    padding: var(--spacing-6);
    min-height: 240px;
  }

  .about-stats__bottom {
    padding-inline: var(--spacing-5);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-6);
  }

  .about-stats__pagination {
    width: 100%;
  }
}

/* ============================================================
   ABOUT TESTIMONIALS
   ============================================================ */

.about-testimonials {
  padding-block: var(--spacing-24);
  background-color: var(--color-bg);
}

.about-testimonials__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-16);
  align-items: start;
}

.about-testimonials__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1.1;
  color: var(--color-black);
}

/* ── AVATARS ── */

.about-testimonials__avatars {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-10);
}

.about-testimonials__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-bg);
  cursor: pointer;
  margin-left: -16px;
  transition: opacity var(--transition-base);
  flex-shrink: 0;
  padding: 0;
  background: none;
  opacity: 0.35;
}

.about-testimonials__avatar:first-child {
  margin-left: 0;
}

.about-testimonials__avatar.is-active {
  opacity: 1;
  z-index: 2;
}

.about-testimonials__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── SLIDES ── */

.about-testimonials__slide {
  display: none;
  flex-direction: column;
  gap: var(--spacing-8);
}

.about-testimonials__slide.is-active {
  display: flex;
}

.about-testimonials__text {
  font-family: var(--font-primary);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

.about-testimonials__author {
  font-family: var(--font-secondary);
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .about-testimonials {
    padding-block: var(--spacing-16);
  }

  .about-testimonials__inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-10);
  }
}

/* ============================================================
   SERVICES HERO
   ============================================================ */

.services-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 28, 26, 0.5);
  z-index: 1;
}

.services-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-6);
  padding-inline: var(--spacing-8);
  max-width: 860px;
}

.services-hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1;
  color: var(--color-white);
}

.services-hero__text {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: var(--font-weight-regular);
  color: rgba(249, 248, 244, 0.85);
  line-height: var(--line-height-relaxed);
  max-width: 680px;
}

@media (max-width: 768px) {
  .services-hero__content {
    padding-inline: var(--spacing-5);
  }
}

/* ============================================================
   SERVICES INTRO
   ============================================================ */

.services-intro {
  padding-block: var(--spacing-20);
  background-color: var(--color-bg);
}

.services-intro__text {
  font-family: var(--font-primary);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: 1.2;
  max-width: 860px;
}

/* ============================================================
   SERVICES LIST
   ============================================================ */

.services-list {
  background-color: var(--color-bg);
  padding-bottom: var(--spacing-24);
}

.services-list__item {
  padding-block: var(--spacing-16);
}

.services-list__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-12);
  align-items: start;
}

/* чётные — фото слева, текст справа */
.services-list__item--reverse .services-list__inner {
  direction: rtl;
}

.services-list__item--reverse .services-list__inner > * {
  direction: ltr;
}

/* ── CONTENT ── */

.services-list__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-5);
  padding-top: var(--spacing-2);
}

.services-list__num {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1;
}

.services-list__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-black);
}

.services-list__desc {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

.services-list__more {
  color: var(--color-black);
  align-self: flex-start;
}

/* ── PHOTO ── */

.services-list__media {
  overflow: hidden;
}

.services-list__img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ── TAGS ── */

.services-list__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-6);
  margin-top: var(--spacing-8);
}

.services-list__tag {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  border: 1px solid var(--color-black);
  padding: var(--spacing-4) var(--spacing-6);
  line-height: 1;
  white-space: nowrap;
  margin-right: -1px;
  margin-bottom: -1px;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .services-list__inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
    direction: ltr;
  }

  .services-list__item--reverse .services-list__inner {
    direction: ltr;
  }

  .services-list__tags {
    margin-top: var(--spacing-6);
  }
}

/* ============================================================
   SINGLE SERVICE — HERO
   ============================================================ */

.service-hero {
  position: relative;
  width: 100%;
  height: 80svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 18, 16, 0.55);
  z-index: 1;
}

.service-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-5);
  padding-inline: var(--spacing-8);
  max-width: 900px;
  flex: 1;
  justify-content: center;
}

.service-hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1.05;
  color: var(--color-white);
}

.service-hero__text {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: var(--font-weight-regular);
  color: rgba(249, 248, 244, 0.85);
  line-height: var(--line-height-relaxed);
  max-width: 640px;
}

/* ── BOTTOM NAV ── */

.service-hero__nav {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 60%;
}

.service-hero__nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-4) var(--spacing-3);
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  border: 1px solid rgba(249, 248, 244, 0.5);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}

.service-hero__nav-btn:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .service-hero {
    justify-content: flex-start;
    padding-top: var(--header-height);
  }

  .service-hero__content {
    flex: 0;
    padding-block: var(--spacing-10);
    justify-content: flex-start;
  }

  .service-hero__nav {
    position: static;
    transform: none;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    padding-inline: var(--spacing-5);
    padding-bottom: var(--spacing-8);
    margin-top: auto;
  }

  .service-hero__nav-btn {
    flex: 1 1 calc(50% - 4px);
  }
}

/* ============================================================
   SINGLE SERVICE — ABOUT
   ============================================================ */

.service-about {
  background-color: var(--color-bg);
  padding-inline: 0;
}

.service-about__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1.05;
  color: var(--color-black);
  margin-bottom: var(--spacing-12);
}

.service-about__title-muted {
  color: var(--color-text-muted);
}

.service-about__texts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-12);
  margin-bottom: var(--spacing-16);
}

.service-about__text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

/* ── FEATURES GRID ── */

.service-about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-about__feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--spacing-10);
  border-left: 1px solid var(--color-border);
  min-height: 320px;
}

.service-about__feature:first-child {
  border-left: none;
  padding-left: 0;
}

.service-about__feature-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 2.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-black);
}

.service-about__feature-text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .service-about {
    padding-block: var(--spacing-16);
  }

  .service-about__texts {
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-10);
  }

  .service-about__features {
    grid-template-columns: 1fr;
  }

  .service-about__feature {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-8) 0;
    min-height: auto;
    gap: var(--spacing-6);
  }

  .service-about__feature:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ============================================================
   SINGLE SERVICE — PROCESS
   ============================================================ */

.service-process {
  background-color: var(--color-bg);
}

.service-process__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 2.5vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: var(--line-height-tight);
  color: var(--color-black);
  margin-bottom: var(--spacing-12);
}

.service-process__list {
  list-style: none;
}

.service-process__item {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-12);
  align-items: start;
  padding-block: var(--spacing-10);
  border-bottom: 1px solid var(--color-border);
}

.service-process__item:last-child {
  border: none;
}

.service-process__left {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-3);
}

.service-process__num {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 2.5vw, 3rem);
  font-weight: 400;
  color: var(--color-black);
  flex-shrink: 0;
  line-height: 1.1;
}

.service-process__name {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 2.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-black);
}

.service-process__text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  padding-top: var(--spacing-2);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .service-process {
    padding-block: var(--spacing-16);
  }

  .service-process__item {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
    padding-block: var(--spacing-8);
  }
}

/* ============================================================
   SINGLE SERVICE — INCLUDED
   ============================================================ */

.service-included {
  background-image: url("../assets/media/texture.png");
  background-repeat: no-repeat;
  padding-block: var(--spacing-20);
  overflow: visible;
}

.service-included__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  color: var(--color-text-inverse);
  line-height: 1.1;
  margin-bottom: var(--spacing-10);
}

/* ── BOTTOM: pagination + swiper ── */

.service-included__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}

/* ── PAGINATION ── */

.service-included__pagination {
  display: flex;
  padding-inline: var(--spacing-8);
}

.service-included__pagination .swiper-pagination-bullet {
  flex: 1;
  height: 1px;
  border-radius: 0;
  background-color: rgba(249, 248, 244, 0.2);
  opacity: 1;
  margin: 0;
  transition: background-color var(--transition-base);
}

.service-included__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-text-inverse);
}

/* ── SWIPER ── */

.service-included__swiper {
  overflow: visible;
  padding-left: var(--spacing-8);
  width: 100%;
  max-width: 100%;
}

.service-included__slide {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  padding-top: var(--spacing-8);
  padding-inline: var(--spacing-8);
}

.service-included__num {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: rgba(249, 248, 244, 0.4);
  line-height: 1;
  margin-bottom: var(--spacing-2);
}

.service-included__name {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  color: var(--color-text-inverse);
  line-height: 1.05;
}

.service-included__swiper
  .swiper-slide:not(.swiper-slide-active)
  .service-included__name {
  color: rgba(249, 248, 244, 0.25);
}

.service-included__swiper
  .swiper-slide:not(.swiper-slide-active)
  .service-included__num {
  color: rgba(249, 248, 244, 0.15);
}

.service-included__text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: rgba(249, 248, 244, 0.6);
  line-height: var(--line-height-relaxed);
  max-width: 50%;
}

.service-included__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  overflow: hidden;
  width: 100%;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .service-included__slide {
    width: 60vw;
  }

  .service-included__pagination {
    padding-inline: var(--spacing-5);
  }

  .service-included__swiper {
    padding-inline: var(--spacing-5);
  }
  .service-included__text {
    max-width: unset;
  }
}

/* ============================================================
   SINGLE SERVICE — CONTACT
   ============================================================ */

.service-contact {
  padding-bottom: var(--spacing-24);
  background-color: var(--color-bg);
}

.service-contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-8);
}

.service-contact__title {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: var(--line-height-tight);
  color: var(--color-black);
}

.service-contact__text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

.service-contact__link {
  color: var(--color-black);
  margin-top: var(--spacing-6);
}

@media (max-width: 768px) {
  .service-contact {
    padding-block: var(--spacing-16);
  }
}

/* ============================================================
   PROJECTS HERO
   ============================================================ */

.projects-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  background-image: url("../assets/media/texture.png");
  background-size: cover;
  background-position: center;
  padding-block: var(--spacing-20);
  padding-top: calc(var(--header-height) + var(--spacing-20));
}

.projects-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-6);
  max-width: 680px;
  margin: 0 auto;
}

.projects-hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1;
  color: var(--color-black);
}

.projects-hero__text {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

@media (max-width: 768px) {
  .projects-hero {
    min-height: 50vh;
    padding-top: calc(var(--header-height) + var(--spacing-12));
  }
}

/* ============================================================
   PROJECTS ARCHIVE
   ============================================================ */

.projects-archive {
  padding-bottom: var(--spacing-16) var(--spacing-24);
  background-color: var(--color-bg);
  margin-top: 80px !important;
  margin-bottom: 80px !important;
}

.projects-archive__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--spacing-6);
}

/* ── CARD SIZES ── */

.projects-archive__card--full {
  grid-column: span 6;
}

.projects-archive__card--third {
  grid-column: span 2;
}

.projects-archive__card--half {
  grid-column: span 3;
}

/* ── CARD ── */

.projects-archive__link {
  display: block;
  overflow: hidden;
  position: relative;
}

.projects-archive__media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.projects-archive__card--full .projects-archive__media {
  aspect-ratio: 16 / 7;
}

.projects-archive__card--third .projects-archive__media {
  aspect-ratio: 4 / 3;
}

.projects-archive__card--half .projects-archive__media {
  aspect-ratio: 3 / 2;
}

.projects-archive__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition:
    filter 0.5s ease,
    transform 0.6s ease;
}

.projects-archive__img--placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-gray-300);
}

/* ── DATE ── */

.projects-archive__date {
  position: absolute;
  bottom: var(--spacing-4);
  left: var(--spacing-4);
  z-index: 3;
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ── GRADIENT ── */

.projects-archive__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 28, 26, 0.7) 0%,
    rgba(30, 28, 26, 0) 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

/* ── HOVER OVERLAY ── */

.projects-archive__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.projects-archive__btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-white);
  border: 1px solid rgba(249, 248, 244, 0.75);
}

.projects-archive__btn:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

/* ── HOVER STATE ── */

.projects-archive__link:hover .projects-archive__img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.projects-archive__link:hover .projects-archive__gradient {
  opacity: 1;
}

.projects-archive__link:hover .projects-archive__hover {
  opacity: 1;
}

.projects-archive__link:hover .projects-archive__date {
  opacity: 1;
}

/* ── META ── */

.projects-archive__meta {
  padding-top: var(--spacing-4);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.projects-archive__title {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-black);
  line-height: var(--line-height-tight);
}

.projects-archive__desc {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ── TABLET ── */

@media (max-width: 1024px) {
  .projects-archive__card--full {
    grid-column: span 6;
  }

  .projects-archive__card--third,
  .projects-archive__card--half {
    grid-column: span 3;
  }
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .projects-archive__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
  }

  .projects-archive__card--full,
  .projects-archive__card--third,
  .projects-archive__card--half {
    grid-column: span 1;
  }

  .projects-archive__card--full .projects-archive__media,
  .projects-archive__card--third .projects-archive__media,
  .projects-archive__card--half .projects-archive__media {
    aspect-ratio: 4 / 3;
  }

  .projects-archive__img {
    filter: grayscale(0%);
  }

  .projects-archive__gradient,
  .projects-archive__date {
    opacity: 1;
  }
}

/* ============================================================
   SINGLE PROJECT — INTRO
   ============================================================ */

.project-intro {
  padding-top: 120px;
}

.project-intro__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-black);
  max-width: 14ch;
  margin-bottom: 80px;
}

.project-intro__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-6);
  margin-bottom: 48px;
}

.project-intro__desc {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
  max-width: 36ch;
}

.project-intro__link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
  white-space: nowrap;
  flex-shrink: 0;
}

.project-intro__media {
  width: 100%;
}

.project-intro__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .project-intro {
    padding-top: 80px;
  }

  .project-intro__title {
    margin-bottom: 48px;
  }

  .project-intro__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-4);
    margin-bottom: 32px;
  }

  .project-intro__desc {
    max-width: 100%;
  }
}

/* ============================================================
   SINGLE PROJECT — TEXT SECTIONS
   ============================================================ */

.project-text__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-6);
  margin-bottom: 60px;
}

.project-text__row:last-child {
  margin-bottom: 0;
}

.project-text__label {
  font-family: var(--font-secondary);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--color-black);
}

.project-text__body {
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--color-text);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .project-text {
    padding-block: 60px;
  }

  .project-text__row {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
    padding-block: 40px;
  }
}

/* ============================================================
   SINGLE PROJECT — GALLERY
   ============================================================ */

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-gallery__row {
  display: grid;
  width: 100%;
}

/* 1 фото — полная ширина */
.project-gallery__row--1 {
  grid-template-columns: 1fr;
}

/* 2 фото — два в ряд */
.project-gallery__row--2 {
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.project-gallery__item {
  overflow: hidden;
}

.project-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .project-gallery__row--2 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SINGLE PROJECT — STAGES
   ============================================================ */

.project-stages__list {
  list-style: none;
}

.project-stages__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-6);
  padding-block: 40px;
  border-bottom: 1px solid var(--color-border);
}

.project-stages__item:last-child {
  border-bottom: none;
}

.project-stages__left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.project-stages__num {
  font-family: var(--font-secondary);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--color-black);
  flex-shrink: 0;
}

.project-stages__name {
  font-family: var(--font-secondary);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
}

.project-stages__text {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text-muted);
  align-self: start;
  padding-top: 4px;
}

.project-stages__media {
  width: 100%;
}

.project-stages__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .project-stages__item {
    grid-template-columns: 1fr;
    gap: var(--spacing-3);
    padding-block: 28px;
  }

  .project-stages__media {
    margin-top: 40px;
  }
}

/* ============================================================
   SINGLE PROJECT — TIMELINE
   ============================================================ */

.project-timeline .container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.project-timeline__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-6);
}

.project-timeline__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--color-black);
  align-self: start;
}

.project-timeline__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-timeline__text p {
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--color-text);
}

.project-timeline__credits {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  margin-left: calc(50% + var(--spacing-3));
}

.project-timeline__credit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid var(--color-border);
}

.project-timeline__credit-role {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--color-black);
}

.project-timeline__credit-name {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .project-timeline__top {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }

  .project-timeline__credits {
    margin-left: 0;
  }

  .project-timeline__credit-row {
    padding-block: 16px;
  }
}

/* ============================================================
   SINGLE PROJECT — QUOTE
   ============================================================ */

.project-quote .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  padding-block: 80px;
}

.project-quote__text {
  font-family: var(--font-secondary);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-black);
  max-width: 32ch;
  quotes: none;
}

.project-quote__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.project-quote__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.project-quote__name {
  font-size: var(--font-size-base);
  color: var(--color-black);
}

.project-quote__company {
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
}

.project-quote__link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .project-quote .container {
    padding-block: 60px;
    gap: 32px;
  }

  .project-quote__text {
    max-width: 100%;
  }
}

/* ============================================================
   SINGLE PROJECT — NEXT PROJECTS
   ============================================================ */

.project-next {
  padding-bottom: 100px;
}

.project-next__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--color-black);
  margin-bottom: 60px;
}

.project-next__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */

.project-next__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-next__link {
  display: block;
}

/* Media */

.project-next__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.project-next__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-next__img--placeholder {
  background-color: var(--color-gray-200);
}

/* Gradient overlay always visible */
.project-next__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

/* Date bottom-left */
.project-next__date {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: var(--font-size-sm);
  color: var(--color-text-inverse);
  letter-spacing: 0.02em;
}

/* Hover overlay */
.project-next__hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-next__btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--color-text-inverse);
  color: var(--color-text-inverse);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hover state */
.project-next__link:hover .project-next__hover {
  opacity: 1;
}

.project-next__link:hover .project-next__img {
  transform: scale(1.03);
}

/* Meta */

.project-next__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-next__name {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-black);
  line-height: 1.2;
}

.project-next__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .project-next {
    padding-bottom: 60px;
  }

  .project-next__title {
    margin-bottom: 40px;
  }

  .project-next__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* On mobile show hover state always */
  .project-next__hover {
    opacity: 0;
  }
}

/* ============================================================
   CONTACT — HERO
   ============================================================ */

.contact-hero {
  padding-block: 140px 120px;
}

.contact-hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1;
  color: var(--color-black);
  margin-bottom: 24px;
}

.contact-hero__text {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-muted);
  max-width: 36ch;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .contact-hero {
    padding-block: 80px 60px;
  }

  .contact-hero__title {
    margin-bottom: 24px;
  }
}

/* ============================================================
   CONTACT — FORM SECTION
   ============================================================ */

.contact-form-section {
  padding-bottom: 140px;
  margin-top: 0 !important;
}

.contact-form-section__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

/* ── FORM ── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Labels */

.contact-form__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

/* Underline inputs */

.contact-form__input {
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
  border-radius: 0;
  padding: 8px 0;
  font-size: var(--font-size-base);
  color: var(--color-black);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.contact-form__input:focus {
  border-bottom-color: var(--color-black);
}

/* Placeholder-style labels (sit above empty inputs) */

.contact-form__label--placeholder {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
}

/* Niches */

.contact-form__niches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.contact-form__niche {
  cursor: pointer;
}

.contact-form__niche input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-form__niche-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 12px;
  border: 1px solid var(--color-border-dark);
  font-size: var(--font-size-sm);
  color: var(--color-black);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  user-select: none;
}

/* Circle indicator */
.contact-form__niche-label::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-dark);
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}

/* Checked state */
.contact-form__niche input[type="radio"]:checked + .contact-form__niche-label {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.contact-form__niche
  input[type="radio"]:checked
  + .contact-form__niche-label::before {
  background: var(--color-white);
  border-color: var(--color-white);
}

/* Checkbox */

.contact-form__field--checkbox {
  gap: 8px;
}

.contact-form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.contact-form__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-form__checkbox-box {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--color-border-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.contact-form__checkbox:checked + .contact-form__checkbox-box {
  background: var(--color-black);
  border-color: var(--color-black);
}

.contact-form__checkbox:checked + .contact-form__checkbox-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: 2px solid var(--color-white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.contact-form__checkbox-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.contact-form__checkbox-text a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Validation errors */

.contact-form__error {
  font-size: var(--font-size-xs);
  color: var(--color-error);
  display: none;
}

.contact-form__field.has-error .contact-form__error {
  display: block;
}

.contact-form__field.has-error .contact-form__input {
  border-bottom-color: var(--color-error);
}

.contact-form__field.has-error .contact-form__checkbox-box {
  border-color: var(--color-error);
}

/* Submit */

.contact-form__submit {
  align-self: flex-start;
  padding: 14px 40px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form__submit:hover {
  background: var(--color-gray-800);
}

/* Success message */

.contact-form__success {
  font-size: var(--font-size-base);
  color: var(--color-success);
  display: none;
}

.contact-form__success.is-visible {
  display: block;
}

/* ── SIDEBAR ── */

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 8px;
}

.contact-sidebar__label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.contact-sidebar__value {
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.3;
  text-decoration: none;
}

a.contact-sidebar__value:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .contact-form-section {
    padding-bottom: 80px;
  }

  .contact-form-section__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-sidebar {
    gap: 40px;
  }
}

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */

/* Hero */

.blog-archive-hero {
  padding-block: 200px 0px;
}

.blog-archive-hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1;
  color: var(--color-black);
}

/* Featured */

.blog-archive-featured {
  position: relative;
  display: block;
  margin-top: 100px !important;
}

.blog-archive-featured__link {
  display: block;
  position: relative;
}

.blog-archive-featured__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-archive-featured__media .blog-archive__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-archive-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    transparent 100%
  );
}

/* READ MORE top-right */
.blog-archive-featured__top {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
}

.blog-archive-featured__btn {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--color-text-inverse);
  color: var(--color-text-inverse);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Title + meta bottom-left */
.blog-archive-featured__bottom {
  position: absolute;
  bottom: 36px;
  left: 36px;
  right: 36px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-archive-featured__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text-inverse);
  max-width: 18ch;
}

.blog-archive-featured__meta {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-archive-featured__sep {
  opacity: 0.5;
}

/* Grid of 3 */

.blog-archive-grid {
  margin-top: 0;
}

.blog-archive-grid__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.blog-archive-card__link {
  display: block;
}

.blog-archive-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.blog-archive-card__media .blog-archive__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: grayscale(30%);
}

.blog-archive-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
}

.blog-archive-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
  z-index: 2;
}

.blog-archive-card__title {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-inverse);
  max-width: 16ch;
}

.blog-archive-card__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-archive-card__btn {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--color-text-inverse);
  color: var(--color-text-inverse);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-archive-card__link:hover .blog-archive-card__hover {
  opacity: 1;
}

.blog-archive-card__link:hover .blog-archive-card__media .blog-archive__img {
  transform: scale(1.04);
}

.blog-archive-card__meta {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Placeholder */
.blog-archive__img--placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-gray-300);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .blog-archive-hero {
    padding-block: 60px 40px;
  }

  .blog-archive-featured__media {
    aspect-ratio: 4 / 3;
  }

  .blog-archive-featured__bottom {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .blog-archive-grid__inner {
    grid-template-columns: 1fr;
  }

  .blog-archive-card__media {
    aspect-ratio: 4 / 3;
  }

  .blog-archive-card__hover {
    opacity: 1;
  }
}

/* ============================================================
   BLOG — ALL ARTICLES
   ============================================================ */

.blog-all {
  padding-block: 80px 120px;
  position: relative;
}

/* Header */

.blog-all__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-6);
  margin-bottom: 40px;
}

.blog-all__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--color-black);
}

/* Search */

.blog-all__search {
  position: relative;
  width: 260px;
}

.blog-all__search-input {
  width: 100%;
  background: var(--color-gray-100);
  border: none;
  border-radius: 0;
  padding: 10px 40px 10px 16px;
  font-size: var(--font-size-sm);
  color: var(--color-black);
  outline: none;
  appearance: none;
}

.blog-all__search-input::placeholder {
  color: var(--color-text-muted);
}

.blog-all__search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

/* Topics */

.blog-all__topics {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.blog-all__topics-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  padding-top: 10px;
  white-space: nowrap;
}

.blog-all__topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-all__topic {
  cursor: pointer;
}

.blog-all__topic input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.blog-all__topic-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--color-border-dark);

  font-size: var(--font-size-sm);
  color: var(--color-black);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  user-select: none;
}

.blog-all__topic-label::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-dark);
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.blog-all__topic input[type="radio"]:checked + .blog-all__topic-label {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.blog-all__topic input[type="radio"]:checked + .blog-all__topic-label::before {
  background: var(--color-white);
  border-color: var(--color-white);
}

/* List */

.blog-all__list {
  border-top: 1px solid var(--color-border);
}

.blog-all__item {
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.2s;
}

.blog-all__item.is-hidden {
  display: none;
}

.blog-all__item-link {
  display: flex;
  align-items: center;
  gap: 0;
  padding-block: 28px;
  text-decoration: none;
  position: relative;
  min-height: 100px;
}

/* Thumbnail — в DOM, ширина 0 по умолчанию */

.blog-all__item-thumb {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  overflow: hidden;
  flex-shrink: 0;
  transition: width 0.4s ease;
}

.blog-all__item-thumb-img {
  width: 160px;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* При ховере — фото разворачивается, текст сдвигается */

.blog-all__item-link:hover .blog-all__item-thumb {
  width: 160px;
}

.blog-all__item-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding-left: 0;
  margin-left: 0;
  transition: margin-left 0.4s ease;
}

.blog-all__item-link:hover .blog-all__item-body {
  margin-left: 184px;
}

.blog-all__item-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-all__item-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
  transition: color 0.2s;
}

.blog-all__item-link:hover .blog-all__item-title {
  color: var(--color-gray-600);
}

.blog-all__item-meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

.blog-all__item-arrow {
  flex-shrink: 0;
  margin-left: auto;
  margin-left: 24px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.blog-all__item-link:hover .blog-all__item-arrow {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* No results */

.blog-all__no-results {
  padding-block: 40px;
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .blog-all__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .blog-all__search {
    width: 100%;
  }

  .blog-all__preview {
    display: none;
  }

  .blog-all__item-link {
    padding-block: 20px;
  }

  .blog-archive-featured {
    margin-top: 60px !important;
  }
}

/* ============================================================
   SINGLE POST — HERO
   ============================================================ */

.single-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.single-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.single-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 140px;
  padding-bottom: 52px;
}

/* Back to Blogs */

.single-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s;
}

.single-hero__back:hover {
  color: var(--color-white);
}

.single-hero__back-circle {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.single-hero__back:hover .single-hero__back-circle {
  border-color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.1);
}

/* Bottom */

.single-hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.single-hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-white);
  max-width: 20ch;
}

.single-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.single-hero__meta-sep {
  opacity: 0.4;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .single-hero__inner {
    padding-top: 110px;
    padding-bottom: 36px;
  }

  .single-hero__title {
    max-width: 100%;
  }
}

/* ============================================================
   SINGLE POST — BODY
   ============================================================ */

.single-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  max-width: var(--container-max);
  margin-inline: auto;

  padding-block: 80px;
  align-items: start;
}

/* TOC */

.single-toc {
  position: sticky;
  top: 100px;
  align-self: start;
}

.single-toc__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 24px;
}

.single-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-toc__nav a {
  font-family: var(--font-secondary);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}

.single-toc__nav a:hover {
  color: var(--color-black);
}

.single-toc__nav a.is-active {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Content */

.single-content__inner > * + * {
  margin-top: 24px;
}

.single-content__inner h2 {
  font-family: var(--font-secondary);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
  margin-top: 52px;
}

.single-content__inner h3 {
  font-family: var(--font-secondary);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--color-black);
  margin-top: 36px;
}

.single-content__inner p {
  font-size: var(--font-size-md);
  line-height: 1.8;
  color: var(--color-text);
}

.single-content__inner p:first-of-type {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.6;
}

.single-content__inner ul,
.single-content__inner ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.single-content__inner ul {
  list-style: disc;
}

.single-content__inner ol {
  list-style: decimal;
}

.single-content__inner li {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
}

.single-content__inner blockquote {
  border-left: 3px solid var(--color-border-dark);
  padding: 12px 20px;
  margin-block: 32px;
  background: var(--color-gray-100);
}

.single-content__inner blockquote p {
  font-style: italic;
  color: var(--color-text-muted);
}

.single-content__inner img {
  width: 100%;
  height: auto;
  display: block;
  margin-block: 8px;
}

.single-content__inner a img {
  transition: opacity 0.2s;
}

.single-content__inner a img:hover {
  opacity: 0.85;
}

.single-content__inner a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .single-body {
    grid-template-columns: 1fr;
    padding-block: 48px;
    gap: 0;
  }

  .single-toc {
    display: none;
  }
}

/* ============================================================
   SINGLE POST — NEXT POSTS
   ============================================================ */

.single-next {
  padding-block: 80px 120px;
}

.single-next__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-6);
  margin-bottom: 40px;
}

.single-next__title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.1;
}

.single-next__all {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
  white-space: nowrap;
  padding-bottom: 8px;
}

.single-next__list {
  border-top: 1px solid var(--color-border);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .single-next {
    padding-block: 60px 80px;
  }

  .single-next__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================================

/* ============================================================
   ABOUT — COMPANY (text from client, redesigned layout)
   ============================================================ */

.about-company {
  padding-block: 60px 0;
}

.about-company__eyebrow {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}


/* ── INTRO ── */

.about-company__intro {
  padding-block: 60px;
}

.about-company__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-8);
  align-items: start;
}

.about-company__lead {
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-black);
}

.about-company__intro-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-company__intro-text p {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* ── ADVANTAGES ── */

.about-company__advantages {
  padding-block: 100px;
}

.about-company__advantages-title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-black);
  margin-bottom: 64px;
  max-width: 14ch;
}

.about-company__advantages-list {
  list-style: none;
}

.about-company__advantage {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--spacing-6);
  align-items: start;
  padding-block: 40px;
  border-top: 1px solid var(--color-border);
}

.about-company__advantage:last-child {
  border-bottom: 1px solid var(--color-border);
}

.about-company__advantage-num {
  font-family: var(--font-secondary);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--color-gray-300);
  line-height: 1;
}

.about-company__advantage-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-company__advantage-name {
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-black);
  max-width: 32ch;
}

.about-company__advantage-text {
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 52ch;
}

/* ── FOUNDER ── */

.about-company__founder {
  padding-block: 100px;
}

.about-company__founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.about-company__founder-media {
  position: sticky;
  top: 120px;
}

.about-company__founder-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-company__founder-name {
  font-family: var(--font-secondary);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 32px;
}

.about-company__founder-quote {
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-black);
  padding-left: 24px;
  border-left: 2px solid var(--color-cocoa);
  margin-bottom: 40px;
}

.about-company__founder-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-company__founder-text p {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* ── PHILOSOPHY (closing manifesto, dark contrast) ── */

.about-company__philosophy {
  background: url("../assets/media/texture.png");
  background-repeat: no-repeat;
  padding-block: 100px;
  margin-top: 0;
  margin-bottom: 40px;
}

.about-company__philosophy-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.about-company__philosophy-text {
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  margin-bottom: 12px;
}

.about-company__philosophy-text--accent {
  margin-bottom: 0;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .about-company {
    padding-block: 40px 0;
  }

  .about-company__intro {
    padding-block: 40px;
  }

  .about-company__intro-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-5);
  }

  .about-company__advantages {
    padding-block: 60px;
  }

  .about-company__advantages-title {
    margin-bottom: 40px;
    max-width: 100%;
  }

  .about-company__advantage {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 28px;
  }

  .about-company__advantage-name,
  .about-company__advantage-text {
    max-width: 100%;
  }

  .about-company__founder {
    padding-block: 60px;
  }

  .about-company__founder-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-company__founder-media {
    position: static;
  }

  .about-company__founder-quote {
    padding-left: 16px;
  }

  .about-company__philosophy {
    padding-block: 60px;
  }
}


 .projects-archive{
   overflow: hidden;
 }  

.projects-filter {
  margin-bottom: 48px;
}

.projects-filter.swiper{
  overflow: visible;
}

.projects-filter .swiper-wrapper {
  align-items: center;
}

.projects-filter .swiper-slide {
  width: auto;
}

.projects-filter__btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--color-border-dark);
  background: none;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.projects-filter__btn:hover {
  color: var(--color-black);
  border-color: var(--color-black);
}

.projects-filter__btn.is-active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* Hide cards when filtered */
.projects-archive__card.is-hidden {
  display: none;
}

/* ============================================================
   SINGLE PROJECT — GNS8 (bespoke layout, this project only)
   Scoped under .gns8 / .is-gns8 so no other project is affected.
   ============================================================ */

.gns8 {
  --gns8-measure: 60ch; /* comfortable reading width */
}

/* Hairline marker used instead of numbers */
.gns8__rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-cocoa);
  opacity: 0.55;
}

.gns8__rule--light {
  background: var(--color-khaki);
  opacity: 0.7;
  margin-inline: auto;
}

.gns8__heading {
  font-family: var(--font-secondary);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--color-black);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
}

.gns8__heading--sm {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: 0.08em;
}

.gns8__para {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.85;
  color: var(--color-text);
  max-width: var(--gns8-measure);
}

.gns8__para + .gns8__para {
  margin-top: 1.35em;
}

/* ── BRIEF — editorial rows ─────────────────────────────── */

.gns8__brief {
  padding-block: clamp(64px, 9vw, 130px);
}

.gns8__row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--color-border);
}

.gns8__row:first-child {
  border-top: none;
  padding-top: 0;
}

.gns8__row-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Heading stays aligned with the top of the text while scrolling
   past long copy on wide screens */
@media (min-width: 1025px) {
  .gns8__row-head {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

/* ── PHOTO BREAK ────────────────────────────────────────── */

.gns8__figure {
  margin-block: clamp(8px, 2vw, 24px);
}

.gns8__figure-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Reserved photo slot (shown until real images are added) */
.gns8__ph {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gns8__ph::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid var(--color-border-dark);
  opacity: 0.5;
  pointer-events: none;
}

.gns8__ph--wide {
  aspect-ratio: 16 / 9;
}

.gns8__ph-label {
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* ── DETAIL — triptych on a soft ground ─────────────────── */

.gns8__detail {
 
  margin-block: clamp(26px, 6vw, 48px);
}

.gns8__triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}

.gns8__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gns8__col .gns8__para {
  max-width: none;
}

/* ── SECONDARY GALLERY ──────────────────────────────────── */

.gns8__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 32px);
  margin-block: clamp(24px, 4vw, 56px);
}

.gns8__gallery-item {
  overflow: hidden;
}

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

/* ── FINAL — dark finale ────────────────────────────────── */

.gns8__final {
  background: url("../assets/media/texture.png");
  background-repeat: no-repeat;
  color: var(--color-black);
  padding-block: clamp(80px, 12vw, 170px);
  margin-top: clamp(24px, 4vw, 56px);
}

.gns8__final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.gns8__final-title {
  font-family: var(--font-secondary);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--color-black);
}

.gns8__final-body {
  max-width: 62ch;
}

.gns8__para--light {
  color: var(--color-black);
  max-width: none;
}

.gns8__gallery{
  display: none;
}

/* ── MOBILE ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .gns8__triptych {
    grid-template-columns: 1fr;
    gap: clamp(36px, 6vw, 56px);
  }
}

@media (max-width: 768px) {
  .gns8__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gns8__para,
  .gns8__final-body {
    max-width: 100%;
  }

  .gns8__gallery {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   COOKIE NOTICE — bottom-center toast (brand style)
   Paste at the END of css/main.css
   ============================================================ */

.cookie-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(24px);
  width: calc(100% - 40px);
  max-width: 560px;
  z-index: var(--z-toast);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.cookie-notice.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-notice__inner {
  position: relative;
  background: var(--color-cocoa);
  color: var(--color-text-inverse);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  border-radius: 2px;
}

.cookie-notice__eyebrow {
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--font-size-xs);
  color: var(--color-khaki);
  margin: 0 0 10px;
}

.cookie-notice__text {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  line-height: 1.65;
  color: var(--color-text-inverse);
  margin: 0 0 20px;
  max-width: 46ch;
}

.cookie-notice__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-notice__link {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  letter-spacing: 0.02em;
  color: var(--color-khaki);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-notice__link:hover {
  color: var(--color-white);
}

.cookie-notice__accept {
  padding: 12px 34px;
  background: var(--color-white);
  color: var(--color-cocoa);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cookie-notice__accept:hover {
  background: var(--color-khaki);
}

.cookie-notice__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-khaki);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cookie-notice__close:hover {
  color: var(--color-white);
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .cookie-notice {
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .cookie-notice__inner {
    padding: 24px 22px;
  }

  .cookie-notice__actions {
    gap: 18px;
  }

  .cookie-notice__accept {
    flex: 1 1 auto;
    text-align: center;
  }
}