/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 100;
}

body.menu-open .header__logo {
  transform: scale(0.95);
  transform-origin: top left;
}

.header.is-scrolled {
  background: rgba(241, 242, 246, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.header__logo {
  display: inline-flex;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__logo img {
  width: 140px;
  height: auto;
  transition: filter 0.3s ease;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 60px;
  transition: opacity 0.2s ease;
}

.nav__link {
  position: relative;
  font-size: 20px;
  font-weight: 600;
  color: #000000;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #000000;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Menu toggle (burger) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform 0.25s ease, width 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span:nth-child(1) {
  width: 36px;
}

.menu-toggle span:nth-child(2) {
  width: 26px;
}

.menu-toggle:hover span {
  width: 36px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
  width: 36px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-5.5px) rotate(-45deg);
  width: 36px;
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 24px;
  left: 24px;
  background: #17171A;
  z-index: 90;
  overflow: hidden;
  clip-path: circle(0px at var(--menu-x, 100%) var(--menu-y, 0%));
  transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.menu-overlay.is-open {
  clip-path: circle(150% at var(--menu-x, 100%) var(--menu-y, 0%));
  pointer-events: auto;
}

.menu-overlay__inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(max(var(--container-pad), (100vw - var(--container-width)) / 2) - 24px);
  width: min(var(--container-width), calc(100vw - 2 * var(--container-pad)));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  align-content: center;
  transform: translateY(-40px);
}

.menu-overlay__col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.menu-overlay__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 20px;
  font-size: 30px;
  font-weight: 500;
  color: #FFFFFF;
}

.menu-overlay__link-label {
  position: relative;
}

.menu-overlay__link-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
}

.menu-overlay__link:hover .menu-overlay__link-label::after {
  transform: scaleX(1);
}

.menu-overlay__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  flex-shrink: 0;
}

.menu-overlay__badge {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--gradient-banana);
  color: #17171A;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-overlay__email {
  position: absolute;
  left: calc(max(var(--container-pad), (100vw - var(--container-width)) / 2) - 24px);
  bottom: var(--space-10);
  color: #FFFFFF;
  font-size: 30px;
  font-weight: 500;
  opacity: 1;
}

.menu-overlay__email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
}

.menu-overlay__email:hover::after {
  transform: scaleX(1);
}

.menu-overlay__cta {
  position: absolute;
  right: max(var(--container-pad), (100vw - var(--container-width)) / 2);
  bottom: var(--space-10);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  transition: transform 0.25s ease;
}

.menu-overlay__cta:hover {
  transform: scale(1.06);
}

/* Header inversion while dark menu is open */
body.menu-open .header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.menu-open .header__logo img {
  filter: brightness(0) invert(1);
}

body.menu-open .menu-toggle span {
  background: #FFFFFF;
}

/* Page content squeezes while the dark menu opens, unsqueezes on close */
.page-shell {
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  transform-origin: top right;
}

body.menu-open .page-shell {
  transform: scale(0.95);
  overflow: hidden;
}

body.menu-open .nav {
  opacity: 0;
  pointer-events: none;
}

/* Brief modal */
.brief-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #FFFFFF;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.brief-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.brief-modal__inner {
  height: 100%;
  padding-top: 200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.brief-modal__title {
  position: relative;
  z-index: 1;
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.brief-modal__subtext {
  max-width: 480px;
}

.brief-modal__cta {
  align-self: flex-start;
  margin-top: 80px;
}

.brief-modal__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 60px;
}

.hero__plate.hero__plate--grey {
  width: 600px;
  height: 400px;
  background: var(--color-bg);
}

.hero__plate.hero__plate--grey .founder-banner__plate-watermark {
  color: #F7F8FA;
}

.brief-modal__left {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.brief-form__copyright {
  font-size: 18px;
  color: var(--color-ink-soft);
}

.brief-modal__photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 520px;
  height: 520px;
  background-image: url('../assets/images/brief/brief_girl.png');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  z-index: 0;
}

.brief-modal__photo--success {
  background-image: url('../assets/images/brief/brief_girl-success.png');
}

.brief-modal__right--static {
  overflow: visible;
}

.brief-modal__telegram {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  align-self: flex-start;
}

.brief-modal__right {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.brief-form__copyright--pinned {
  position: absolute;
  left: 0;
  bottom: 30px;
}

.brief-modal__right::-webkit-scrollbar {
  display: none;
}

.brief-modal__close {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.brief-modal__close span {
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-ink);
}

.brief-modal__close span:first-child {
  transform: translateY(5.5px) rotate(45deg);
}

.brief-modal__close span:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

body.brief-open .menu-toggle {
  display: none;
}

body.brief-open .brief-modal__close {
  display: flex;
}

body.brief-open .nav {
  opacity: 0;
  pointer-events: none;
}

body.brief-open .header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brief-form {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 720px;
  padding-bottom: 30px;
}

.brief-form__block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.brief-form__subtitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-ink);
}

.brief-form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 30px;
  column-gap: 24px;
}

.brief-form__field {
  display: flex;
  flex-direction: column;
}

.brief-form__field input,
.brief-form__field textarea {
  border: none;
  border-bottom: 2px solid var(--color-line);
  padding: 10px 0;
  font-size: 20px;
  font-family: inherit;
  color: var(--color-ink);
  background: transparent;
  resize: none;
  transition: border-color 0.2s ease;
}

.brief-form__field input::placeholder,
.brief-form__field textarea::placeholder {
  color: #CFCFCF;
}

.brief-form__field input:focus,
.brief-form__field textarea:focus {
  outline: none;
  border-color: var(--color-ink);
}

.brief-form__field.is-invalid input,
.brief-form__field.is-invalid textarea {
  border-color: #E5484D;
  color: #E5484D;
}

.brief-form__field.is-invalid input::placeholder,
.brief-form__field.is-invalid textarea::placeholder {
  color: #E5484D;
}

.brief-form__file {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
}

.brief-form__file-meta {
  color: currentColor;
  opacity: 0.6;
  margin-left: 4px;
}

.brief-form__file-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  background: none;
  border: none;
  padding: 0;
  color: currentColor;
  cursor: pointer;
}

.brief-form__file-remove[hidden] {
  display: none;
}

.brief-form__submit-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.brief-form__submit {
  align-self: flex-start;
}

.brief-form__submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.brief-form__status {
  font-size: 16px;
  color: var(--color-ink);
}

.brief-form__status--error {
  color: #E5484D;
}

.brief-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-ink-soft);
  cursor: pointer;
}

.brief-form__consent input[type="checkbox"] {
  appearance: none;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: 2px solid var(--color-line);
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.brief-form__consent input[type="checkbox"]:checked {
  background: var(--color-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6L5 9L10 3' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--color-ink);
}

.brief-form__consent.is-invalid input[type="checkbox"] {
  border-color: #E5484D;
}

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  border: none;
  outline: none;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.button:hover {
  opacity: 0.85;
}

.button--lg {
  height: auto;
  gap: 14px;
  padding: 26px 44px;
  font-size: 22px;
  font-weight: 400;
}

.hero__cta:hover {
  opacity: 1;
}

/* Hero */
.hero {
  position: relative;
  padding: 256px 0 80px;
  overflow: hidden;
}

.hero--page {
  padding: 200px 0 160px;
  min-height: 640px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-size: clamp(34px, 4.9vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 1100px;
}

.hero__title-line {
  display: block;
}

.hero__typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: -0.1em;
  animation: hero-cursor-blink 1s step-end infinite;
}

@keyframes hero-cursor-blink {
  50% { opacity: 0; }
}

.hero__cta {
  margin-top: 80px;
  height: auto;
  padding: 26px 44px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 400;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.hero__cta {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__cta:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero__cta-arrow {
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hero__cta:hover .hero__cta-arrow {
  transform: translateX(4px);
}

.hero__banner {
  position: relative;
  width: 100%;
  height: 800px;
  margin-top: 160px;
  border-radius: 60px;
  background: #000000;
  overflow: hidden;
}

.hero__banner--pre-footer {
  margin-top: 100px;
  margin-bottom: 160px;
}

.hero .hero__banner {
  margin-top: 200px;
}

.hero__banner--dark-hover .hero__plate::before {
  background: #000000;
}

.hero__banner--dark-hover .hero__plate:hover .hero__plate-title,
.hero__banner--dark-hover .hero__plate:hover .hero__plate-text {
  color: #FFFFFF;
}

.hero__banner--dark-hover .hero__plate:hover .founder-banner__plate-watermark {
  color: #262626;
}

.hero__banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__plates {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 10px;
}

.hero__plate {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 460px;
  height: 240px;
  padding: 30px 30px 30px 40px;
  border-radius: 40px;
  background: #FFFFFF;
  text-align: left;
}

.hero__plate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFC94D;
  clip-path: circle(0% at 20% 100%);
  transition: clip-path 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero__plate:hover::before {
  clip-path: circle(120% at 20% 100%);
}

.hero__plate-title {
  position: relative;
  z-index: 1;
  font-size: 30px;
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-ink);
  transition: color 0.35s ease 0.1s;
}

.hero__plate:hover .hero__plate-title {
  color: var(--color-ink);
}

.hero__plate-text {
  position: relative;
  z-index: 1;
  transition: color 0.35s ease 0.1s;
  font-size: 18px;
  line-height: 1.35;
  color: var(--color-ink-soft);
}

.hero__plate:hover .hero__plate-text {
  color: var(--color-ink);
}

.hero__plate-list {
  position: relative;
  z-index: 1;
}

.hero__plate-list li {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-ink-soft);
  list-style: disc;
  margin-left: 20px;
}

/* Logo marquee */
.logo-marquee {
  width: 100%;
  padding: 160px 0 80px;
  overflow: hidden;
}

.logo-marquee--home {
  padding-top: 220px;
  padding-bottom: 40px;
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee-scroll 45s linear infinite;
}

.logo-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-marquee__logo {
  height: auto;
  width: 120px;
  margin-right: 160px;
  opacity: 1;
  filter: grayscale(1) brightness(0);
}

.logo-marquee__logo--partner {
  width: 160px;
}

.logo-marquee__logo--beget {
  width: 112px;
}

.logo-marquee__logo--newtech {
  width: 160px;
}

.logo-marquee__logo--kalina {
  width: 100px;
}

@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Stub block (placeholder for upcoming sections) */
.stub-block {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.stub-block__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  text-align: left;
  margin-bottom: 12px;
}

.stub-block__text {
  font-size: 16px;
  color: var(--color-ink-soft);
}

/* About */
.about {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
}

.about__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  margin-bottom: 60px;
}

.about-sticky-scroller {
  position: relative;
  height: calc(var(--step-count, 3) * 100vh);
}

.about-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-sticky__media {
  position: relative;
  flex: 0 0 50%;
  height: 70vh;
}

.about-sticky__media-item {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-sticky__media-item.is-active {
  opacity: 1;
}

.about-sticky__media-item[data-media="0"] { background-image: linear-gradient(135deg, #2B2A29 0%, #000000 100%); }

.about-sticky__content {
  position: relative;
  flex: 1;
  height: 70vh;
}

.about-sticky__step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.about-sticky__step.is-active {
  opacity: 1;
  pointer-events: auto;
}

.about-sticky__cta {
  background: #000000;
  color: #FFFFFF;
  align-self: flex-start;
  margin-top: 32px;
}

.about-sticky__step-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-sticky__step-title--lg {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  margin-bottom: 24px;
}

.about-sticky__step-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  max-width: 500px;
}

/* Cases */
.cases {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.cases--home {
  border-top: 1px solid var(--color-line);
}

.cases__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  text-align: left;
  margin-bottom: 50px;
}

.cases__title--home {
  text-align: center;
  margin-bottom: 120px;
}

.cases-grid {
  display: flex;
  justify-content: space-between;
  width: 1600px;
  max-width: 100%;
  margin: 0 auto 50px;
  text-align: left;
}

.cases-grid__col {
  width: 740px;
  display: flex;
  flex-direction: column;
}

.scroll-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 90;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: scale(1.08);
}

.scroll-top svg {
  transform: rotate(-90deg);
}

.cases-grid__item {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-bottom: 80px;
}

.cases-grid__image {
  display: block;
  width: 100%;
  height: 500px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
}

.cases-grid__title {
  max-width: 680px;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

.cases-grid__desc {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: 10px;
}

.cases-grid__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 40px;
}

.cases-grid__image-wrap .cases-grid__image {
  margin-bottom: 0;
  transition: transform 0.5s ease;
}

.cases-grid__image-wrap:hover .cases-grid__image {
  transform: scale(1.08);
}

.cases-grid__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(241, 242, 246, 0.35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #000000;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cases-grid__badge svg {
  width: 64px;
  height: 64px;
}

.cases-grid__image-wrap:hover .cases-grid__badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cases-grid__date {
  font-size: 14px;
  color: var(--color-ink-soft);
}

.cases__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: auto;
  padding: 26px 44px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 400;
}

/* Services strip */
.services-strip {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
}

.services-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* FAQ */
.faq {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
}

.faq--no-line {
  border-top: none;
  padding-top: var(--space-block);
  padding-bottom: 60px;
}

.additional-services {
  padding: 160px 0;
  padding-top: 0;
  padding-bottom: 0;
}

.additional-services__sticky {
  gap: 120px;
}

.additional-services__sticky .about-sticky__step-title {
  margin-bottom: 60px;
}

.additional-services__sticky .about-sticky__media {
  width: 960px;
  flex: 0 0 960px;
}

.additional-services__sticky .service-tags__cloud {
  justify-content: flex-start;
}

.service-tags__cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 80px;
}

.service-tags__cloud--sm {
  gap: 20px;
}

.service-tags__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  border-radius: 24px;
  border: 1.5px solid var(--color-line);
  background: #FFFFFF;
  font-size: 26px;
  font-weight: 500;
  color: var(--color-ink);
  white-space: nowrap;
}

.service-tags__item--sm {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-tags__item--sm:hover {
  background: var(--color-ink);
  color: #FFFFFF;
}

.services-features__intro-block {
  max-width: 900px;
  margin: 200px auto 200px;
  text-align: center;
}

.services-features--divider .services-features__intro-block {
  margin-top: 200px;
}

.services-features--divider .services-features__flagship {
  margin-bottom: 200px;
}

.services-features__flagship-note {
  position: absolute;
  left: 80px;
  bottom: 40px;
  z-index: 2;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.partners-programs__submit {
  margin-top: 80px;
}

.services-features__intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: auto;
  padding: 26px 44px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 400;
  margin-top: 80px;
}

.services-features__intro-block .services-features__title {
  margin-bottom: 80px;
}

.services-features__intro-block .stub-block__text {
  font-size: clamp(14px, 1vw, 20px);
  line-height: 1.6;
  margin-bottom: 20px;
}

.services-features__intro-block .stub-block__text:last-of-type {
  margin-bottom: 0;
}

.faq__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  text-align: center;
  margin-bottom: 60px;
}

.faq__list {
  max-width: 1170px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-line);
  border-radius: 24px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.faq__item.is-open {
  background: #FFFFFF;
  border-bottom-color: transparent;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 60px 60px 30px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 26px;
  font-weight: 500;
  color: var(--color-ink);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--color-ink);
  border-radius: 50%;
}

.faq__icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-ink);
  transition: transform 0.25s ease;
}

.faq__icon span:nth-child(1) {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq__icon span:nth-child(2) {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq__item.is-open .faq__icon span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq__answer-inner {
  padding: 0 60px 60px;
  font-size: clamp(14px, 1vw, 20px);
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.faq__answer-inner p {
  margin-bottom: 16px;
}

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

/* Reusable animated gradient glow (mesh-gradient style) */
.blob-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob-bg span {
  position: absolute;
  width: 32vw;
  height: 32vw;
  background: radial-gradient(circle at 40% 40%, #FFC94D 0%, #FFB238 45%, rgba(255, 178, 56, 0) 72%);
  filter: blur(60px);
}

.blob-bg span:nth-child(1) {
  top: -8%;
  left: -6%;
  animation: blob-live-a 17s ease-in-out infinite;
}

.blob-bg span:nth-child(2) {
  top: -4%;
  right: 2%;
  animation: blob-live-b 21s ease-in-out infinite;
  animation-delay: -9s;
}

@keyframes blob-live-a {
  0%   { border-radius: 58% 42% 55% 45% / 45% 55% 42% 58%; transform: translate(0%, 0%) scale(0.75); opacity: 0; }
  25%  { border-radius: 42% 58% 40% 60% / 60% 40% 58% 42%; transform: translate(-3%, 4%) scale(1.05); opacity: 0.35; }
  50%  { border-radius: 65% 35% 60% 40% / 40% 60% 35% 65%; transform: translate(3%, -3%) scale(0.75); opacity: 0; }
  75%  { border-radius: 38% 62% 45% 55% / 55% 45% 62% 38%; transform: translate(-2%, -4%) scale(1.1); opacity: 0.4; }
  100% { border-radius: 58% 42% 55% 45% / 45% 55% 42% 58%; transform: translate(0%, 0%) scale(0.75); opacity: 0; }
}

@keyframes blob-live-b {
  0%   { border-radius: 45% 55% 42% 58% / 58% 42% 55% 45%; transform: translate(0%, 0%) scale(1.05); opacity: 0.35; }
  25%  { border-radius: 60% 40% 58% 42% / 42% 58% 40% 60%; transform: translate(3%, -4%) scale(0.75); opacity: 0; }
  50%  { border-radius: 40% 60% 35% 65% / 65% 35% 60% 40%; transform: translate(-3%, 3%) scale(1.1); opacity: 0.4; }
  75%  { border-radius: 55% 45% 62% 38% / 38% 62% 45% 55%; transform: translate(2%, 4%) scale(0.75); opacity: 0; }
  100% { border-radius: 45% 55% 42% 58% / 58% 42% 55% 45%; transform: translate(0%, 0%) scale(1.05); opacity: 0.35; }
}

/* Services features (homepage) */
.services-features {
  padding: 120px 0 160px;
}

.services-features--page {
  padding-top: 0;
  padding-bottom: 0;
}

.services-features--divider {
  border-top: 1px solid var(--color-line);
}

.services-features__title {
  max-width: 700px;
  margin: 0 auto 120px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: var(--color-ink);
}

.services-features__title--3 {
  font-size: 24px;
  margin-bottom: 60px;
}

.services-features__title--extra {
  margin-top: 120px;
  margin-bottom: 60px;
}

.services-features__row--extra {
  margin-top: 0;
}

.services-features__row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.services-features__row--vertical {
  grid-template-columns: repeat(3, 1fr);
}

.services-features__row--vertical .services-features__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 660px;
}

.services-features__card-image {
  position: relative;
  flex: 1;
  margin: 30px 0 -80px;
}

.services-features__card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
  transform: scale(1.25);
  transform-origin: bottom center;
}

.services-features__card-image--analysis img {
  transform: scale(1.03) translateY(0%);
}

.services-features__card-image--branding img {
  transform: scale(0.9) translateY(-53px);
}


.services-features__row--horizontal {
  grid-template-columns: repeat(2, 1fr);
}

.services-features__row--horizontal .services-features__card {
  height: 660px;
  overflow: hidden;
}

.services-features--page .services-features__row--tall {
  margin-bottom: 0;
}

.services-features__row--tall .services-features__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 660px;
}

.services-features__card-mvp2-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 660px;
  object-fit: cover;
  z-index: 0;
}

.services-features__card--mvp2 .services-features__card-title,
.services-features__card--mvp2 .services-features__card-text {
  position: relative;
  z-index: 1;
  max-width: 180px;
}

.services-features__card {
  padding: 80px;
  border-radius: 40px;
  background: #FFFFFF;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-features__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.services-features__card--photo-bg {
  position: relative;
}

.services-features__card--ui-ux2 {
  position: relative;
  background: #FFFFFF;
}

.services-features__card-uiux2-image {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: block;
}

.services-features__card--ui-ux2 .services-features__card-title,
.services-features__card--ui-ux2 .services-features__card-text,
.services-features__card--ui-ux2 .services-features__card-list {
  position: relative;
  z-index: 1;
  max-width: 240px;
}

.services-features__card--icon-bottom {
  position: relative;
}

.services-features__card--icon-bottom .services-features__card-text {
  max-width: 280px;
}

.services-features__card-icon-bottom {
  position: absolute;
  bottom: 80px;
  right: 80px;
  width: 340px;
}

.services-features__card-icon-bottom img {
  display: block;
  width: 100%;
  height: auto;
}

.services-features__card--photo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}

.services-features__card-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.services-features__card--photo-bg .services-features__card-title,
.services-features__card--photo-bg .services-features__card-text,
.services-features__card--photo-bg .services-features__card-list {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
}

.services-features__card--photo-bg .services-features__card-list {
  color: rgba(255, 255, 255, 0.55);
}

.services-features__card-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.services-features__card-list li {
  position: relative;
  padding-left: 20px;
}

.services-features__card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.services-features__card--photo-bg .services-features__card-text {
  max-width: 300px;
}

.services-features__card--acid {
  background: #FFD000;
}

.services-features__card--dark {
  background: #17171A;
}

.services-features__card--dark .services-features__card-title {
  color: #FFFFFF;
}

.services-features__card--dark .services-features__card-text {
  color: rgba(255, 255, 255, 0.55);
}

.services-features__card--dark .services-features__card-list {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
}

.services-features__card-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.services-features__card--dark .services-features__card-title,
.services-features__card--dark .services-features__card-text {
  position: relative;
  z-index: 1;
}

.services-features__card-web-wrap {
  position: absolute;
  left: 80px;
  bottom: 0;
  width: 446px;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
}

.services-features__card-web-wrap--wide {
  right: 0;
  bottom: 140px;
  width: 446px;
  border-radius: 0;
  overflow: visible;
}

.services-features__card-web-glass {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 30% 20%, rgba(255, 255, 255, 0.16), transparent 65%),
    radial-gradient(ellipse 55% 60% at 80% 75%, rgba(255, 255, 255, 0.1), transparent 70%);
  backdrop-filter: blur(18px);
}

.services-features__card-web-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.95;
}

.services-features__card--split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
}

.services-features__card-body {
  flex: 1;
  min-width: 0;
}

.services-features__card-side-image {
  flex-shrink: 0;
  width: 286px;
}

.services-features__card-side-image--reserve {
  width: 360px;
  align-self: center;
  margin-right: -80px;
}

.services-features__card-side-image img {
  display: block;
  width: 100%;
  height: auto;
}

.services-features__card-title {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #000000;
}

.services-features__card-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.services-features__flagship {
  position: relative;
  overflow: hidden;
  height: 660px;
  margin-top: 200px;
  margin-bottom: 0;
  padding: 80px;
  border-radius: 40px;
  background: #17171A;
  display: flex;
  align-items: flex-start;
}

.services-features__flagship-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.services-features__flagship-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.35);
}

.services-features__flagship-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.services-features__flagship-icon-wrap {
  position: absolute;
  z-index: 2;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  border-radius: 10px;
  overflow: hidden;
}

.services-features__flagship-icon-glass {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 30% 20%, rgba(255, 255, 255, 0.16), transparent 65%),
    radial-gradient(ellipse 55% 60% at 80% 75%, rgba(255, 255, 255, 0.1), transparent 70%);
  backdrop-filter: blur(18px);
}

.services-features__flagship-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.95;
}

.services-features__flagship-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--gradient-banana);
  color: #17171A;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 20px;
}

.services-features__flagship-title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.services-features__flagship-text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.services-features__flagship-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  margin-top: 60px;
  list-style: none;
}

.services-features__flagship-item {
  position: relative;
  padding-left: 20px;
}

.services-features__flagship-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
}

.services-features__flagship-item-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.services-features__flagship-item-text {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.services-strip__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-strip__num {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink-soft);
}

/* Page hero (listing pages: breadcrumb + title + filters) */
.page-hero {
  position: relative;
  padding: 200px 0 60px;
}

.page-hero--center {
  padding-bottom: 120px;
}

.page-hero--center .page-hero__title {
  text-align: center;
}

.page-hero--center .breadcrumb {
  justify-content: center;
}

.page-hero .blob-bg {
  inset: -120px;
}

.page-banner .breadcrumb {
  justify-content: center;
}

.contact-cards {
  padding-top: var(--space-block);
  padding-bottom: var(--space-block);
}

.contact-cards__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-cards__card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 420px;
  border-radius: 40px;
  background: #FFFFFF;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-cards__card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 45%);
  pointer-events: none;
}

.contact-cards__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.contact-cards__card--plain {
  min-height: 660px;
}

.contact-cards__card--plain::after {
  display: none;
}

.contact-cards__image--fixed {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 660px;
  flex: none;
}

.contact-cards__card--photo-bg::after {
  display: none;
}

.contact-cards__image.contact-cards__image--bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.contact-cards__card--photo-bg .contact-cards__content {
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
}

.contact-cards__card--photo-bg .contact-cards__title,
.contact-cards__card--photo-bg .contact-cards__text {
  max-width: 280px;
}

.contact-cards__content {
  flex: 0 0 50%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-cards__cta {
  margin-top: auto;
  align-self: flex-start;
}

.contact-cards__image {
  flex: 0 0 50%;
  width: 50%;
  object-fit: cover;
}

.contact-cards__title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-cards__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.contact-cards__card .contact-cards__list {
  margin-top: 20px;
}

.contact-cards__list li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-ink-soft);
  list-style: disc;
  margin-left: 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--color-ink-soft);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--color-ink);
}

.page-hero__title {
  font-size: clamp(34px, 4.9vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 80px;
}

.page-hero__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 20px;
}

.contact-socials {
  display: flex;
  gap: 20px;
}

.contact-socials__link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.contact-socials__link:hover {
  opacity: 0.7;
}

.page-hero__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-hero__email {
  position: relative;
  font-size: clamp(34px, 4.9vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  text-decoration: none;
  margin-bottom: 60px;
}

.page-hero__email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--color-ink);
}

.page-hero__email:hover,
.page-hero__email:active {
  background: var(--gradient-banana);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero__email:hover::after,
.page-hero__email:active::after {
  background: var(--gradient-banana);
}

.page-hero__phone {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  margin-bottom: 40px;
}

.page-hero__agency {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-ink);
}

.page-hero__cta:hover .page-hero__cta-arrow {
  transform: translateX(4px);
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-filters.is-invalid .case-filters__tab {
  border-color: #E5484D;
}

.case-filters__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--color-line);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.case-filters__tab:hover,
.case-filters__tab.is-active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #FFFFFF;
}

.cases--page {
  border-top: none;
  padding-top: 0;
}

/* Simple page banner (inner pages stub) */
.page-banner {
  position: relative;
  padding: 200px 0 var(--space-block);
  text-align: center;
}

.page-banner .blob-bg {
  inset: -120px;
}

.inline-avatar {
  display: inline-flex;
  width: 100px;
  height: 60px;
  vertical-align: middle;
  margin: 0 6px;
  border-radius: 30px;
  overflow: hidden;
  background: #FFD000;
}

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

.page-banner__title {
  position: relative;
  z-index: 1;
  font-size: clamp(34px, 4.9vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.services-strip__title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* SEO text blocks */
.seo-text {
  padding: 100px 0;
}

.seo-text--plain {
  padding-top: 40px;
  padding-bottom: 200px;
}

.seo-text--after-directions {
  padding-top: 60px;
}


.seo-text__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.seo-text__block {
  width: 1170px;
  max-width: 100%;
  padding: 60px;
  text-align: left;
}

.seo-text__block--card {
  width: 1170px;
  max-width: 100%;
  background: #FFFFFF;
  border-radius: 24px;
}

.seo-text__block--plain {
  max-width: 900px;
  padding: 0;
  text-align: center;
}

.seo-text__title {
  font-size: 26px;
  font-weight: 500;
  text-align: left;
  margin-bottom: 30px;
}

.seo-text__title--title2 {
  font-size: clamp(28px, 3vw, 44px);
  text-align: center;
  margin-bottom: 80px;
}

.seo-text__block p {
  font-size: clamp(14px, 1vw, 20px);
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: 16px;
}

.seo-text__block--plain .stub-block__text {
  font-size: clamp(14px, 1vw, 20px);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

.seo-text__block--plain .stub-block__text:last-of-type {
  margin-bottom: 0;
}

.seo-text__block p:last-child {
  margin-bottom: 0;
}

/* Founder banner (About page) */
.founder-banner {
  padding: 0 0 100px;
}

.founder-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.founder-banner__plates {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founder-banner__plate {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 50px;
  border-radius: 40px;
  background: #FFFFFF;
}

.founder-banner__plate-watermark {
  position: absolute;
  right: 20px;
  bottom: -0.18em;
  z-index: 0;
  font-size: 200px;
  font-weight: var(--fw-regular);
  line-height: 1;
  color: var(--color-bg);
  user-select: none;
  pointer-events: none;
}

.founder-banner__plate-watermark--flush {
  right: -0.05em;
}

.founder-banner__plate-title {
  position: relative;
  z-index: 1;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-ink);
}

.founder-banner__plate-text {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-ink-soft);
}

.founder-banner__photo {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: #000000;
  min-height: 600px;
}

.founder-banner__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-placeholder-note {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
}

.founder-quote {
  padding: 60px 0 100px;
  text-align: center;
}

.founder-quote__inner {
  max-width: 1500px;
}

.founder-quote__text {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-ink);
}

.founder-quote__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px auto 0;
  width: fit-content;
  text-align: left;
}

.founder-quote__avatar-wrap {
  display: flex;
  flex-shrink: 0;
}

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

.founder-quote__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-quote__author-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink);
}

.founder-quote__author-role {
  font-size: 15px;
  color: var(--color-ink-soft);
}

/* Clients carousel (About page) */
.clients-block {
  padding: 0 0 100px;
}

.clients-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.clients-block__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
}

.clients-block__nav {
  display: flex;
  gap: 12px;
}

.clients-block__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--color-ink);
  color: #FFFFFF;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.clients-block__arrow:hover {
  opacity: 0.8;
}

.clients-block__carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.clients-block__carousel::-webkit-scrollbar {
  display: none;
}

.clients-block__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.clients-block__slide-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 40px;
  overflow: hidden;
  background: var(--color-ink);
}

.clients-block__slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clients-block__slide-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--color-ink);
}

.clients-block__slide-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

/* Agency block (About page) */
.agency-block {
  padding: 0 0 100px;
}

.agency-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.agency-block__photo {
  position: relative;
  width: 50%;
  aspect-ratio: 3 / 4;
  border-radius: 40px;
  overflow: hidden;
  background: var(--color-ink);
}

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

.agency-block__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.agency-block__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  margin-bottom: 20px;
}

.agency-intro {
  padding: 120px 0;
}

.agency-intro__text-only {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.agency-intro__text-only .agency-block__title {
  text-align: center;
  margin-bottom: 80px;
}

.agency-intro__text-only .stub-block__text {
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
  text-wrap: pretty;
  margin-bottom: 20px;
}

.agency-intro__text-only .stub-block__text:last-of-type {
  margin-bottom: 0;
}

.agency-intro__text-only .button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: auto;
  padding: 26px 44px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 400;
  margin-top: 80px;
}

.agency-block__subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Blog listing */
.blog-list {
  padding: 0 0 160px;
}

.blog-page--hidden {
  display: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
}

.blog-card__image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(241, 242, 246, 0.35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #000000;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.blog-card__badge svg {
  width: 32px;
  height: 32px;
}

.blog-card:hover .blog-card__badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.blog-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-ink);
  margin-bottom: 10px;
}

.blog-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-ink-soft);
  margin-bottom: 20px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-card__date {
  font-size: 13px;
  color: var(--color-ink-soft);
  flex-shrink: 0;
}

.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.blog-card__tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-line);
  color: var(--color-ink-soft);
  font-size: 12px;
}

.blog-pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
}

.blog-pagination {
  display: flex;
  gap: 12px;
}

.blog-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-pagination__item.is-active {
  background: var(--color-ink);
  color: #FFFFFF;
}

.blog-pagination__count {
  font-size: 15px;
  color: var(--color-ink-soft);
  white-space: nowrap;
}

/* Footer */
.footer {
  background: #000000;
  color: #FFFFFF;
  padding-top: 160px;
}

.footer .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 120px;
  padding-right: 120px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 684px; /* 684px = ширина .footer__right, держит выравнивание с .footer__legal внизу */
  align-items: start;
  column-gap: 60px;
  padding-bottom: 100px;
}

.footer__cta-btn {
  background: var(--gradient-banana);
  color: #000000;
  height: auto;
  padding: 20px 40px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}

.footer__cta {
  flex-shrink: 0;
}

.footer__cta-title {
  white-space: nowrap;
  font-size: clamp(32px, 4.17vw, 80px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 60px;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.footer__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__nav a {
  position: relative;
  font-size: 24px;
  font-weight: 500;
  color: #FFFFFF;
}

.footer__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
}

.footer__nav a:hover::after {
  transform: scaleX(1);
}

.footer__email {
  position: relative;
  align-self: flex-start;
  font-size: 50px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  margin: 0 0 40px 0;
}

.footer__email:hover {
  background: var(--gradient-banana);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__email:hover::after {
  background: var(--gradient-banana);
}

.footer__email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
}

.footer__socials {
  align-self: flex-start;
  display: flex;
  gap: 20px;
  margin-top: 31px;
}

.footer__social {
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 0;
}

.footer__social img {
  transition: filter 0.2s ease;
}

.footer__social:hover img {
  filter: brightness(0) invert(1);
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 684px; /* совпадает с .footer__top — левый край .footer__legal встает под .footer__right */
  align-items: center;
  column-gap: 24px;
  padding: 40px 0;
  white-space: nowrap;
  border-top: 1px solid #494949;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__copy {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  color: #7F7F7F;
}

.footer__legal {
  display: flex;
  gap: 60px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.footer__legal a {
  position: relative;
  color: #7F7F7F;
}

.footer__legal a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
}

.footer__legal a:hover::after {
  transform: scaleX(1);
}
