/* =========================
   Font
========================= */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

:root {
  --font-main: "Montserrat", sans-serif;

  --primadom-white: #ffffff;
  --primadom-dark: #090807;
  --primadom-dark-soft: #14110f;
  --primadom-cream: #f7d8aa;
  --primadom-copper: #c66b47;
  --primadom-copper-dark: #9d4f34;
  --primadom-glass: rgba(255, 255, 255, 0.12);
  --primadom-glass-border: rgba(255, 255, 255, 0.22);
}

/* =========================
   Reset
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: var(--font-main);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
}

body {
  font-family: var(--font-main);
  background: #ffffff;
  color: #0f172a;
  line-height: 1.5;
}

/* =========================
   Layout helpers
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
}

.section--tight {
  padding: 24px 0;
}

/* =========================
   Basic elements
========================= */
img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--font-main);
}

/* =========================
   Headings
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.12;
}

/* =========================
   Utilities
========================= */
.hidden { display: none; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* =========================
   Page namespaces
========================= */
.page-home {}
.page-results {}
.page-project {}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  user-select: none;
  transition: transform .22s ease, opacity .15s ease, box-shadow .22s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: #1e3a8a;
  color: #ffffff;
}

.btn--primary:hover {
  opacity: 0.95;
}

/* =========================
   Header
========================= */
.site-header {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 0 100px;
  pointer-events: none;
  font-family: var(--font-main);
}

.site-header__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.site-header__badge,
.site-header__nav,
.site-header__cta,
.site-header__right {
  pointer-events: auto;
}

/* =========================
   Badge
========================= */
.site-header__badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 22px 0 17px;
  border-radius: 999px;

  color: var(--primadom-white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 40px rgba(0, 0, 0, 0.22);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  transition:
    transform .28s ease,
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.site-header__badge:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 22px 58px rgba(0, 0, 0, 0.28);
}

.site-header__badge-dot {
  position: relative;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244, 215, 157, 0.14),
    0 0 20px rgba(244, 215, 157, 0.55);

  transition:
    transform .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}

.site-header__badge-dot::after {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(244, 215, 157, 0.42), transparent 64%);
  transition: opacity .28s ease, transform .28s ease;
}

.site-header__badge:hover .site-header__badge-dot {
  transform: scale(1.16);
  background: #ffe1a2;
  box-shadow:
    0 0 0 10px rgba(244, 215, 157, 0.18),
    0 0 28px rgba(244, 215, 157, 0.88),
    0 0 58px rgba(198, 107, 71, 0.36);
}

.site-header__badge:hover .site-header__badge-dot::after {
  opacity: 1;
  transform: scale(1.12);
}

.site-header__badge-text {
  display: inline-block;
  transform: translateX(2px);
}

/* =========================
   Navigation
========================= */
.site-header__nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 52px;
  padding: 6px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 48px rgba(0, 0, 0, 0.22);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  transition:
    transform .28s ease,
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.site-header__nav:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 24px 64px rgba(0, 0, 0, 0.30);
}

.site-header__nav-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;

  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;

  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease,
    font-weight .25s ease;
}

.site-header__nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.12);
  transition: opacity .25s ease, background .25s ease;
}

.site-header__nav-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.site-header__nav-link:hover::before {
  opacity: 1;
}

.site-header__nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 26px rgba(0, 0, 0, 0.18);
}

/* =========================
   AI nav effect
========================= */
.site-header__nav-link--ai:hover {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(168, 85, 247, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 22px rgba(96, 165, 250, 0.20),
    0 0 34px rgba(168, 85, 247, 0.14);
}

.site-header__nav-link--ai:hover::before {
  opacity: 1;
  background:
    radial-gradient(circle at 25% 50%, rgba(96, 165, 250, 0.28), transparent 42%),
    radial-gradient(circle at 76% 50%, rgba(168, 85, 247, 0.24), transparent 44%);
}

.site-header__nav-link--ai.is-active {
  color: #ffffff;
  font-weight: 500;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.30), rgba(124, 58, 237, 0.26), rgba(198, 107, 71, 0.14));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 22px rgba(59, 130, 246, 0.22),
    0 0 40px rgba(124, 58, 237, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.20);
}

.site-header__nav-link--ai.is-active::before {
  opacity: 1;
  background:
    radial-gradient(circle at 25% 50%, rgba(96, 165, 250, 0.24), transparent 42%),
    radial-gradient(circle at 76% 50%, rgba(168, 85, 247, 0.22), transparent 44%);
}

/* убрали нижнюю полоску у AI search */
.site-header__nav-link--ai.is-active::after {
  content: none;
}

/* =========================
   CTA
========================= */
.site-header__right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;

  color: #23140d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;

  background: linear-gradient(135deg, #f8d6a4 0%, #c96e49 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 16px 44px rgba(99, 47, 25, 0.34);

  transition:
    transform .28s ease,
    box-shadow .28s ease,
    filter .28s ease;
}

.site-header__cta:hover {
  transform: translateY(-4px);
  filter: saturate(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 26px 68px rgba(99, 47, 25, 0.44);
}

/* =========================
   Header responsive
========================= */
@media (max-width: 1400px) {
  .site-header {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header__nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 18px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-header__badge {
    height: 42px;
    padding: 0 16px 0 14px;
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  .site-header__right {
    justify-self: start;
  }

  .site-header__cta {
    height: 44px;
    padding: 0 20px;
    font-size: 13px;
  }
}
/* =========================
   Home Hero
========================= */
.home-hero {
  position: relative;
  min-height: 100vh;
  padding: 0 230px 88px;
  overflow: hidden;

  background:
    radial-gradient(circle at 16% 12%, rgba(247, 216, 170, 0.16), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(198, 107, 71, 0.18), transparent 34%),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.06), transparent 32%),
    linear-gradient(135deg, #060504 0%, #14100d 42%, #24140f 70%, #070605 100%);

  color: #ffffff;
  isolation: isolate;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;

  background:
    linear-gradient(90deg, rgba(247, 216, 170, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 216, 170, 0.04) 1px, transparent 1px);

  background-size: 84px 84px;
  opacity: 0.16;
  mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 68%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.02) 38%, rgba(0, 0, 0, 0.58) 100%),
    radial-gradient(circle at 50% 0%, rgba(247, 216, 170, 0.12), transparent 42%);
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(circle at 18% 74%, rgba(198, 107, 71, 0.16), transparent 34%),
    radial-gradient(circle at 86% 64%, rgba(247, 216, 170, 0.10), transparent 30%);
}

/* =========================
   Hero content
========================= */
.home-hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: 148px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 28px;
}

.home-hero__title-wrap {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.home-hero__title {
  max-width: 860px;
  margin: 0 auto;

  color: #ffffff;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-hero__subtitle {
  display: none;
}

/* =========================
   Featured carousel
========================= */
.home-hero__featured {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  border-radius: 42px;
  perspective: 1600px;
  transform-style: preserve-3d;

  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  transition:
    transform .34s ease,
    box-shadow .34s ease,
    border-color .34s ease;
}

.home-hero__featured:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 44px 128px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-style: preserve-3d;
}

.home-hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;

  transform:
    translateX(38px)
    rotateY(-13deg)
    rotateX(2deg)
    scale(1.035);

  transform-origin: center center;
  filter: saturate(0.94) brightness(0.96);

  transition:
    opacity .95s cubic-bezier(.2, .8, .2, 1),
    transform 1.05s cubic-bezier(.2, .8, .2, 1),
    filter 1.05s cubic-bezier(.2, .8, .2, 1);
}

.home-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform:
    translateX(0)
    rotateY(0deg)
    rotateX(0deg)
    scale(1);

  filter: saturate(1.04) brightness(1.08);
  z-index: 2;
}

.home-hero__slide.is-leaving {
  opacity: 0;
  transform:
    translateX(-34px)
    rotateY(12deg)
    rotateX(-1deg)
    scale(0.99);

  filter: saturate(0.92) brightness(0.92);
  z-index: 1;
}

.home-hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  transform: scale(1.025);
  transition: transform 5.2s ease;
}

.home-hero__slide.is-active .home-hero__slide-img {
  transform: scale(1.075);
}

.home-hero__featured:hover .home-hero__slide.is-active .home-hero__slide-img {
  transform: scale(1.095);
}

.home-hero__featured-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.08) 38%, rgba(0,0,0,0.42) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.30) 0%, transparent 48%, rgba(0,0,0,0.18) 100%);
}

/* =========================
   Featured text
========================= */
.home-hero__featured-top {
  position: absolute;
  top: 38px;
  left: 44px;
  right: 44px;
  z-index: 4;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 28px;
  text-align: left;
}

.home-hero__featured-info {
  min-width: 0;
}

.home-hero__featured-title {
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-hero__featured-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.home-hero__featured-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 19px;

  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;

  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.24);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* =========================
   Search fixed inside photo
========================= */
.home-hero__photo-search {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 34px;
  z-index: 8;
}

.home-hero__search {
  position: relative;
  width: 100%;
  height: 66px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 8px 10px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.home-hero__search.is-voice-active {
  border-color: rgba(247, 216, 170, 0.34);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(247, 216, 170, 0.10),
    0 0 48px rgba(198, 107, 71, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-hero__ai-badge {
  flex: 0 0 auto;
  height: 50px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 0 18px 0 15px;
  border-radius: 999px;

  color: rgba(255, 255, 255, 0.92);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 10px 26px rgba(0, 0, 0, 0.18);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-hero__ai-badge-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 7px rgba(244, 215, 157, 0.10),
    0 0 18px rgba(244, 215, 157, 0.56);
}

.home-hero__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;

  padding: 0;
  border: 0;
  outline: none;
  background: transparent;

  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.home-hero__input::placeholder {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 400;
}

/* =========================
   Voice button
========================= */
.home-hero__voice {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 10px 26px rgba(0, 0, 0, 0.18);

  overflow: visible;
  isolation: isolate;

  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.home-hero__voice:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 34px rgba(0, 0, 0, 0.26);
}

.home-hero__voice-aura {
  position: absolute;
  inset: -7px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;
  background:
    conic-gradient(
      from 180deg,
      rgba(96, 165, 250, 0.0),
      rgba(96, 165, 250, 0.42),
      rgba(168, 85, 247, 0.38),
      rgba(247, 216, 170, 0.34),
      rgba(96, 165, 250, 0.0)
    );
  filter: blur(8px);
  transform: scale(0.88);
  transition: opacity .24s ease, transform .24s ease;
}

.home-hero__voice-core {
  position: relative;
  z-index: 2;

  width: 34px;
  height: 34px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  transition:
    transform .24s ease,
    background .24s ease;
}

.home-hero__voice-icon {
  width: 22px;
  height: 22px;
  display: block;
  filter: invert(1);
  opacity: 0.78;
  transition:
    opacity .24s ease,
    transform .24s ease,
    filter .24s ease;
}

.home-hero__voice:hover .home-hero__voice-icon {
  opacity: 0.96;
  transform: scale(1.04);
}

.home-hero__search.is-voice-active .home-hero__voice {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(247, 216, 170, 0.38);
  background:
    radial-gradient(circle at 35% 25%, rgba(247, 216, 170, 0.22), transparent 40%),
    rgba(255, 255, 255, 0.10);
  box-shadow:
    0 0 0 1px rgba(247, 216, 170, 0.12),
    0 0 34px rgba(198, 107, 71, 0.24),
    0 16px 40px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-hero__search.is-voice-active .home-hero__voice-aura {
  opacity: 1;
  transform: scale(1);
  animation: homeVoiceAura 1.35s linear infinite;
}

.home-hero__search.is-voice-active .home-hero__voice-core {
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(168, 85, 247, 0.18), rgba(198, 107, 71, 0.18));
  animation: homeVoicePulse 1.05s ease-in-out infinite;
}

.home-hero__search.is-voice-active .home-hero__voice-icon {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 10px rgba(247, 216, 170, 0.40));
}

@keyframes homeVoiceAura {
  to {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes homeVoicePulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* =========================
   Voice popover
========================= */
.home-hero__voice-popover {
  position: absolute;
  right: 146px;
  bottom: 78px;
  z-index: 20;

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);

  transition:
    opacity .24s ease,
    transform .34s cubic-bezier(.16, 1, .3, 1);
}

.home-hero__search.is-voice-active .home-hero__voice-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-hero__voice-popover-inner {
  min-width: 292px;
  min-height: 64px;
  padding: 12px 14px;

  display: flex;
  align-items: center;
  gap: 12px;

  border-radius: 22px;

  color: #ffffff;
  background:
    radial-gradient(circle at 15% 20%, rgba(247, 216, 170, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(10, 9, 8, 0.92), rgba(33, 25, 21, 0.90));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.home-hero__voice-popover-inner::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);

  background: rgba(20, 16, 14, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero__voice-popover-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244, 215, 157, 0.10),
    0 0 22px rgba(244, 215, 157, 0.60);

  animation: homeVoiceDot 1s ease-in-out infinite;
}

@keyframes homeVoiceDot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

.home-hero__voice-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-hero__voice-status {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.home-hero__voice-text {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
}

.home-hero__voice-bars {
  margin-left: auto;
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.home-hero__voice-bars i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: rgba(247, 216, 170, 0.84);
  animation: homeVoiceBars .8s ease-in-out infinite;
}

.home-hero__voice-bars i:nth-child(2) {
  animation-delay: .12s;
}

.home-hero__voice-bars i:nth-child(3) {
  animation-delay: .24s;
}

.home-hero__voice-bars i:nth-child(4) {
  animation-delay: .36s;
}

@keyframes homeVoiceBars {
  0%, 100% {
    height: 7px;
    opacity: .55;
  }

  50% {
    height: 22px;
    opacity: 1;
  }
}

/* =========================
   Find button
========================= */
.home-hero__get {
  flex: 0 0 auto;
  height: 50px;
  min-width: 118px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 17px;
  font-weight: 600;

  background: var(--primadom-copper);
  box-shadow:
    0 12px 28px rgba(117, 49, 25, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

  transition:
    transform .24s ease,
    box-shadow .24s ease,
    filter .24s ease;
}

.home-hero__get:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow:
    0 18px 38px rgba(117, 49, 25, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* =========================
   Search chips inside photo
========================= */
.home-hero__chips {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-hero__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;

  color: rgba(255, 255, 255, 0.90);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;

  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    transform .24s ease,
    color .24s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.home-hero__chip:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.home-hero__chip:active {
  transform: translateY(0);
}

/* old external panel/caption off */
.home-hero__panel,
.home-hero__caption,
.home-hero__featured-controls,
.home-hero__featured-content {
  display: none;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1500px) {
  .home-hero {
    padding-left: 160px;
    padding-right: 160px;
  }

  .home-hero__title {
    font-size: 34px;
  }

  .home-hero__featured {
    height: 540px;
  }
}

@media (max-width: 1400px) {
  .site-header {
    padding-left: 80px;
    padding-right: 80px;
  }

  .home-hero {
    padding-left: 80px;
    padding-right: 80px;
  }

  .home-hero__title {
    font-size: 34px;
  }

  .home-hero__featured {
    height: 500px;
  }
}

@media (max-width: 1180px) {
  .site-header,
  .home-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header__nav {
    display: none;
  }

  .home-hero__inner {
    padding-top: 122px;
  }

  .home-hero__title {
    font-size: 34px;
  }

  .home-hero__featured {
    height: 440px;
  }

  .home-hero__featured-top {
    top: 28px;
    left: 30px;
    right: 30px;
  }

  .home-hero__photo-search {
    left: 30px;
    right: 30px;
    bottom: 28px;
  }

  .home-hero__search {
    gap: 10px;
  }

  .home-hero__ai-badge {
    padding: 0 15px 0 13px;
    font-size: 10.8px;
  }

  .home-hero__input {
    font-size: 16px;
  }

  .home-hero__voice {
    width: 46px;
    height: 46px;
  }

  .home-hero__voice-popover {
    right: 132px;
  }

  .home-hero__chips {
    gap: 8px;
  }

  .home-hero__chip {
    min-height: 36px;
    padding: 0 15px;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 18px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-header__badge {
    height: 42px;
    padding: 0 16px 0 14px;
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  .site-header__right {
    justify-self: start;
  }

  .site-header__cta {
    height: 44px;
    padding: 0 20px;
    font-size: 13px;
  }

  .home-hero {
    min-height: auto;
    padding: 0 16px 54px;
  }

  .home-hero__inner {
    padding-top: 142px;
    gap: 18px;
  }

  .home-hero__title {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.035em;
  }

  .home-hero__featured {
    height: 460px;
    border-radius: 28px;
  }

  .home-hero__featured-top {
    top: 22px;
    left: 22px;
    right: 22px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-hero__featured-title {
    font-size: 28px;
  }

  .home-hero__featured-meta {
    font-size: 12px;
  }

  .home-hero__featured-price {
    width: fit-content;
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .home-hero__photo-search {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .home-hero__search {
    height: auto;
    min-height: 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 10px;
    border-radius: 26px;
  }

  .home-hero__ai-badge {
    height: 38px;
    width: fit-content;
    padding: 0 14px 0 12px;
    font-size: 10.5px;
    align-self: center;
  }

  .home-hero__input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 4px;
    font-size: 15px;
    font-weight: 400;
  }

  .home-hero__voice {
    width: 100%;
    height: 44px;
    justify-content: center;
  }

  .home-hero__voice-popover {
    right: 0;
    left: 0;
    bottom: calc(100% + 12px);
  }

  .home-hero__voice-popover-inner {
    min-width: 0;
    width: 100%;
  }

  .home-hero__voice-text {
    max-width: 180px;
  }

  .home-hero__get {
    width: 100%;
    min-width: 0;
    height: 44px;
    margin-top: 2px;
    font-size: 15px;
  }

  .home-hero__chips {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 10px;
  }

  .home-hero__chip {
    min-height: 34px;
    padding: 0 13px;
    font-size: 12px;
  }
}
/* =========================
   Home Top Projects
========================= */
.home-top-projects {
  position: relative;
  padding: 86px 60px 86px;
  background:
    radial-gradient(circle at 12% 0%, rgba(198, 107, 71, 0.08), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(247, 216, 170, 0.15), transparent 34%),
    linear-gradient(180deg, #f4efe7 0%, #efe7dc 100%);
  color: #111111;
  overflow: hidden;
}

.home-top-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0,0,0,0.022) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.44;
  pointer-events: none;
}

.home-top-projects__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

.home-top-projects__head {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 0.72fr);
  align-items: end;
  justify-content: space-between;
  gap: 72px;
  margin-bottom: 34px;
}

.home-top-projects__eyebrow {
  margin: 0 0 12px;
  color: rgba(17, 17, 17, 0.42);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-top-projects__title {
  margin: 0;
  color: #111111;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home-top-projects__text {
  max-width: 620px;
  margin: 0 0 4px auto;
  color: rgba(17, 17, 17, 0.54);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.022em;
}

/* =========================
   Top Projects Cards
========================= */
.home-top-projects__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.top-project-card {
  position: relative;
  display: block;
  min-height: 300px;
  border-radius: 34px;
  color: #ffffff;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.top-project-card__media {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 34px;
  background: #14110f;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform, box-shadow;

  box-shadow:
    0 22px 58px rgba(43, 31, 22, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.14);

  transition:
    transform .34s cubic-bezier(.2,.8,.2,1),
    box-shadow .34s cubic-bezier(.2,.8,.2,1);
}

.top-project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.16);
  pointer-events: none;
  transition: border-color .28s ease;
}

.top-project-card:hover .top-project-card__media {
  transform: translate3d(0, -7px, 0);
  -webkit-transform: translate3d(0, -7px, 0);
  box-shadow:
    0 32px 88px rgba(43, 31, 22, 0.28),
    0 0 0 1px rgba(198, 107, 71, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.top-project-card:hover .top-project-card__media::after {
  border-color: rgba(255,255,255,0.26);
}

.top-project-card__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  filter: saturate(0.96) brightness(0.94);
  will-change: transform, filter;
  transition:
    transform .64s cubic-bezier(.2,.8,.2,1),
    filter .64s cubic-bezier(.2,.8,.2,1);
}

.top-project-card:hover .top-project-card__img {
  transform: scale(1.058);
  filter: saturate(1.04) brightness(1.02);
}

.top-project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.10) 42%, rgba(0,0,0,0.62) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.30) 0%, transparent 58%);
  pointer-events: none;
}

.top-project-card__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.top-project-card__title {
  max-width: 88%;
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-shadow: 0 10px 28px rgba(0,0,0,0.34);
}

.top-project-card__meta {
  max-width: 88%;
  margin: 0 0 16px;
  color: rgba(255,255,255,0.80);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.26;
}

.top-project-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.top-project-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 12px;
  border-radius: 999px;

  color: rgba(255,255,255,0.90);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;

  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 22px rgba(0,0,0,0.20);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.top-project-card__bottom,
.top-project-card__price {
  display: none;
}

/* =========================
   Ask Primadom AI — Projects
========================= */
.top-projects-ask {
  position: relative;
  width: min(1088px, 68.8%);
  height: 58px;
  margin: 54px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.top-projects-ask__trigger {
  position: absolute;
  inset: 0;
  width: fit-content;
  min-width: 236px;
  margin: 0 auto;
  height: 58px;
  padding: 0 30px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  color: #ffffff;
  font-size: 16px;
  font-weight: 450;
  letter-spacing: -0.012em;

  background:
    radial-gradient(circle at 16% 50%, rgba(247,216,170,0.14), transparent 26%),
    linear-gradient(135deg, rgba(9,8,7,0.96), rgba(34,26,21,0.94));
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 22px 64px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.14);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  transform: translate3d(0,0,0) scale(1);
  opacity: 1;
  pointer-events: auto;

  transition:
    opacity .22s ease,
    transform .36s cubic-bezier(.2,.8,.2,1),
    box-shadow .26s ease,
    border-color .26s ease,
    filter .26s ease;
}

.top-projects-ask__trigger:hover {
  transform: translate3d(0,-3px,0) scale(1.015);
  border-color: rgba(255,255,255,0.24);
  filter: saturate(1.04);
  box-shadow:
    0 30px 82px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.top-projects-ask__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244,215,157,0.12),
    0 0 22px rgba(244,215,157,0.64);
}

.top-projects-ask__form {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 58px;

  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  border-radius: 999px;

  opacity: 0;
  pointer-events: none;

  transform:
    translate3d(0, 14px, -70px)
    rotateX(-8deg)
    scaleX(0.36)
    scaleY(0.90);

  transform-origin: center center;

  background:
    radial-gradient(circle at 13% 50%, rgba(247,216,170,0.10), transparent 24%),
    radial-gradient(circle at 78% 45%, rgba(198,107,71,0.10), transparent 22%),
    linear-gradient(135deg, rgba(9,8,7,0.96), rgba(32,25,21,0.94));

  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 26px 76px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.12);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  overflow: hidden;

  transition:
    opacity .22s ease,
    transform .42s cubic-bezier(.16, 1, .3, 1),
    box-shadow .34s ease,
    border-color .34s ease;
}

.top-projects-ask__form::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;

  background:
    linear-gradient(
      110deg,
      transparent 0%,
      transparent 32%,
      rgba(255,255,255,0.20) 45%,
      rgba(247,216,170,0.18) 50%,
      transparent 64%,
      transparent 100%
    );

  transform: translateX(-110%);
}

.top-projects-ask__form::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    inset 0 -18px 34px rgba(255,255,255,0.025);
}

.top-projects-ask.is-opening .top-projects-ask__trigger,
.top-projects-ask.is-open .top-projects-ask__trigger {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -8px, 0) scale(0.92);
}

.top-projects-ask.is-open .top-projects-ask__form {
  opacity: 1;
  pointer-events: auto;
  transform:
    translate3d(0, 0, 0)
    rotateX(0deg)
    scaleX(1)
    scaleY(1);

  border-color: rgba(255,255,255,0.20);
  box-shadow:
    0 34px 92px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.top-projects-ask.is-open .top-projects-ask__form::before {
  animation: topProjectsAskShine .58s cubic-bezier(.16, 1, .3, 1) .06s both;
}

.top-projects-ask.is-closing .top-projects-ask__form {
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(0, 12px, -60px)
    rotateX(7deg)
    scaleX(0.42)
    scaleY(0.92);
}

@keyframes topProjectsAskShine {
  0% {
    opacity: 0;
    transform: translateX(-115%);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(115%);
  }
}

.top-projects-ask__badge {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: 42px;
  padding: 0 17px 0 14px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: rgba(255,255,255,0.92);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 10px 26px rgba(0,0,0,0.18);

  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease;
}

.top-projects-ask__badge:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.24);
}

.top-projects-ask__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4d79d;
  box-shadow:
    0 0 0 7px rgba(244,215,157,0.10),
    0 0 18px rgba(244,215,157,0.56);
}

.top-projects-ask__input {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;

  border: 0;
  outline: 0;
  background: transparent;

  color: rgba(255,255,255,0.94);
  font-size: 17px;
  font-weight: 400;
}

.top-projects-ask__input::placeholder {
  color: rgba(255,255,255,0.50);
}

.top-projects-ask__button {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: 42px;
  min-width: 104px;
  border-radius: 999px;

  color: #ffffff;
  font-size: 15px;
  font-weight: 600;

  background: var(--primadom-copper);
  box-shadow:
    0 12px 28px rgba(117,49,25,0.30),
    inset 0 1px 0 rgba(255,255,255,0.22);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.top-projects-ask__button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow:
    0 18px 38px rgba(117,49,25,0.40),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

/* =========================
   Home Top Developers
========================= */
.home-top-developers {
  position: relative;
  padding: 74px 60px 74px;
  overflow: hidden;
  color: #ffffff;

  background:
    radial-gradient(circle at 16% 8%, rgba(247,216,170,0.12), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(198,107,71,0.16), transparent 34%),
    radial-gradient(circle at 50% 76%, rgba(96,165,250,0.07), transparent 36%),
    linear-gradient(135deg, #060504 0%, #14100d 42%, #24140f 74%, #070605 100%);
}

.home-top-developers::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,216,170,0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247,216,170,0.038) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.16;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
}

.home-top-developers::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.16) 0%, transparent 36%, rgba(0,0,0,0.42) 100%);
}

.home-top-developers__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

.home-top-developers__head {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 0.72fr);
  align-items: end;
  justify-content: space-between;
  gap: 72px;
  margin-bottom: 42px;
}

.home-top-developers__eyebrow {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.48);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-top-developers__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home-top-developers__text {
  max-width: 620px;
  margin: 0 0 4px auto;
  color: rgba(255,255,255,0.60);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.022em;
}

/* =========================
   Developers 3D Carousel
========================= */
.top-developers-stage {
  position: relative;
  width: min(1280px, 100%);
  height: 390px;
  margin: 0 auto;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.top-developer-card {
  position: absolute;
  top: 0;
  left: 50%;

  width: min(680px, 48vw);
  height: 340px;

  overflow: hidden;
  border-radius: 34px;
  background: #12100e;
  color: #ffffff;
  cursor: pointer;

  transform-style: preserve-3d;
  opacity: 0;
  pointer-events: none;

  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 34px 110px rgba(0,0,0,0.44),
    inset 0 1px 0 rgba(255,255,255,0.12);

  transition:
    opacity .72s cubic-bezier(.2,.8,.2,1),
    transform .82s cubic-bezier(.2,.8,.2,1),
    filter .82s cubic-bezier(.2,.8,.2,1),
    box-shadow .42s ease,
    border-color .42s ease;
}

.top-developer-card.is-active {
  z-index: 5;
  opacity: 1;
  pointer-events: auto;
  transform:
    translateX(-50%)
    translateZ(90px)
    rotateY(0deg)
    scale(1);
  filter: saturate(1.04) brightness(1.03);
}

.top-developer-card.is-prev {
  z-index: 3;
  opacity: 0.62;
  pointer-events: auto;
  transform:
    translateX(calc(-50% - 430px))
    translateZ(-120px)
    rotateY(12deg)
    scale(0.82);
  filter: saturate(0.82) brightness(0.72);
}

.top-developer-card.is-next {
  z-index: 3;
  opacity: 0.62;
  pointer-events: auto;
  transform:
    translateX(calc(-50% + 430px))
    translateZ(-120px)
    rotateY(-12deg)
    scale(0.82);
  filter: saturate(0.82) brightness(0.72);
}

.top-developer-card.is-hidden {
  z-index: 1;
  opacity: 0;
  transform:
    translateX(-50%)
    translateZ(-220px)
    rotateY(0deg)
    scale(0.72);
  filter: saturate(0.7) brightness(0.55);
}

.top-developer-card:hover {
  border-color: rgba(247,216,170,0.28);
  box-shadow:
    0 44px 132px rgba(0,0,0,0.58),
    0 0 0 1px rgba(247,216,170,0.08),
    0 0 58px rgba(198,107,71,0.14),
    inset 0 1px 0 rgba(255,255,255,0.16);
}

.top-developer-card__img {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  transform: scale(1.035);
  transition:
    transform 1.2s cubic-bezier(.2,.8,.2,1),
    filter 1.2s cubic-bezier(.2,.8,.2,1);
}

.top-developer-card.is-active .top-developer-card__img {
  transform: scale(1.07);
}

.top-developer-card:hover .top-developer-card__img {
  transform: scale(1.10);
}

.top-developer-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.14) 0%, rgba(0,0,0,0.10) 36%, rgba(0,0,0,0.74) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.38) 0%, transparent 64%);
}

.top-developer-card__content {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 26px;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.top-developer-card__founded {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 10px;
  padding: 0 12px;
  border-radius: 999px;

  color: rgba(255,255,255,0.84);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.top-developer-card__title {
  max-width: 520px;
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.055em;
  text-shadow: 0 14px 34px rgba(0,0,0,0.36);
}

.top-developer-card__description {
  max-width: 500px;
  margin: 0 0 14px;
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.018em;

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

.top-developer-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.top-developer-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 12px;
  border-radius: 999px;

  color: rgba(255,255,255,0.90);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;

  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 10px 24px rgba(0,0,0,0.20);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* =========================
   Ask Developers
========================= */
.top-developers-ask {
  position: relative;
  width: min(1088px, 68.8%);
  height: 58px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.top-developers-ask__trigger {
  position: absolute;
  inset: 0;
  width: fit-content;
  min-width: 250px;
  margin: 0 auto;
  height: 58px;
  padding: 0 30px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  color: #ffffff;
  font-size: 16px;
  font-weight: 450;
  letter-spacing: -0.012em;

  background:
    radial-gradient(circle at 16% 50%, rgba(247,216,170,0.14), transparent 26%),
    linear-gradient(135deg, rgba(9,8,7,0.96), rgba(34,26,21,0.94));
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 22px 64px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.14);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  transform: translate3d(0,0,0) scale(1);
  opacity: 1;
  pointer-events: auto;

  transition:
    opacity .22s ease,
    transform .36s cubic-bezier(.2,.8,.2,1),
    box-shadow .26s ease,
    border-color .26s ease,
    filter .26s ease;
}

.top-developers-ask__trigger:hover {
  transform: translate3d(0,-3px,0) scale(1.015);
  border-color: rgba(255,255,255,0.24);
  filter: saturate(1.04);
  box-shadow:
    0 30px 82px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.top-developers-ask__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244,215,157,0.12),
    0 0 22px rgba(244,215,157,0.64);
}

.top-developers-ask__form {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 58px;

  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  border-radius: 999px;

  opacity: 0;
  pointer-events: none;

  transform:
    translate3d(0, 14px, -70px)
    rotateX(-8deg)
    scaleX(0.36)
    scaleY(0.90);

  transform-origin: center center;

  background:
    radial-gradient(circle at 13% 50%, rgba(247,216,170,0.10), transparent 24%),
    radial-gradient(circle at 78% 45%, rgba(198,107,71,0.10), transparent 22%),
    linear-gradient(135deg, rgba(9,8,7,0.96), rgba(32,25,21,0.94));

  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 26px 76px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.12);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  overflow: hidden;

  transition:
    opacity .22s ease,
    transform .42s cubic-bezier(.16, 1, .3, 1),
    box-shadow .34s ease,
    border-color .34s ease;
}

.top-developers-ask__form::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;

  background:
    linear-gradient(
      110deg,
      transparent 0%,
      transparent 32%,
      rgba(255,255,255,0.20) 45%,
      rgba(247,216,170,0.18) 50%,
      transparent 64%,
      transparent 100%
    );

  transform: translateX(-110%);
}

.top-developers-ask.is-opening .top-developers-ask__trigger,
.top-developers-ask.is-open .top-developers-ask__trigger {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -8px, 0) scale(0.92);
}

.top-developers-ask.is-open .top-developers-ask__form {
  opacity: 1;
  pointer-events: auto;
  transform:
    translate3d(0, 0, 0)
    rotateX(0deg)
    scaleX(1)
    scaleY(1);

  border-color: rgba(255,255,255,0.20);
  box-shadow:
    0 34px 92px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.top-developers-ask.is-open .top-developers-ask__form::before {
  animation: topDevelopersAskShine .58s cubic-bezier(.16, 1, .3, 1) .06s both;
}

.top-developers-ask.is-closing .top-developers-ask__form {
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(0, 12px, -60px)
    rotateX(7deg)
    scaleX(0.42)
    scaleY(0.92);
}

@keyframes topDevelopersAskShine {
  0% {
    opacity: 0;
    transform: translateX(-115%);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(115%);
  }
}

.top-developers-ask__badge {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: 42px;
  padding: 0 17px 0 14px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: rgba(255,255,255,0.92);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 10px 26px rgba(0,0,0,0.18);

  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease;
}

.top-developers-ask__badge:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.24);
}

.top-developers-ask__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4d79d;
  box-shadow:
    0 0 0 7px rgba(244,215,157,0.10),
    0 0 18px rgba(244,215,157,0.56);
}

.top-developers-ask__input {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;

  border: 0;
  outline: 0;
  background: transparent;

  color: rgba(255,255,255,0.94);
  font-size: 17px;
  font-weight: 400;
}

.top-developers-ask__input::placeholder {
  color: rgba(255,255,255,0.50);
}

.top-developers-ask__button {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: 42px;
  min-width: 104px;
  border-radius: 999px;

  color: #ffffff;
  font-size: 15px;
  font-weight: 600;

  background: var(--primadom-copper);
  box-shadow:
    0 12px 28px rgba(117,49,25,0.30),
    inset 0 1px 0 rgba(255,255,255,0.22);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.top-developers-ask__button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow:
    0 18px 38px rgba(117,49,25,0.40),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

/* =========================
   Voice Ask Controls:
   Top Projects + Top Developers
========================= */
.top-projects-ask__form.is-voice-active,
.top-developers-ask__form.is-voice-active {
  border-color: rgba(247, 216, 170, 0.34);
  box-shadow:
    0 28px 86px rgba(0,0,0,0.30),
    0 0 0 1px rgba(247,216,170,0.10),
    0 0 48px rgba(198,107,71,0.16),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.top-projects-ask__voice,
.top-developers-ask__voice {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;

  width: 42px;
  height: 42px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 10px 26px rgba(0,0,0,0.18);

  overflow: visible;
  isolation: isolate;

  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.top-projects-ask__voice:hover,
.top-developers-ask__voice:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 16px 34px rgba(0,0,0,0.26);
}

.top-projects-ask__voice-aura,
.top-developers-ask__voice-aura {
  position: absolute;
  inset: -7px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;

  background:
    conic-gradient(
      from 180deg,
      rgba(96,165,250,0.0),
      rgba(96,165,250,0.42),
      rgba(168,85,247,0.38),
      rgba(247,216,170,0.34),
      rgba(96,165,250,0.0)
    );

  filter: blur(8px);
  transform: scale(0.88);
  transition: opacity .24s ease, transform .24s ease;
}

.top-projects-ask__voice-core,
.top-developers-ask__voice-core {
  position: relative;
  z-index: 2;

  width: 30px;
  height: 30px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  transition:
    transform .24s ease,
    background .24s ease;
}

.top-projects-ask__voice-icon,
.top-developers-ask__voice-icon {
  width: 20px;
  height: 20px;
  display: block;

  filter: invert(1);
  opacity: 0.78;

  transition:
    opacity .24s ease,
    transform .24s ease,
    filter .24s ease;
}

.top-projects-ask__voice:hover .top-projects-ask__voice-icon,
.top-developers-ask__voice:hover .top-developers-ask__voice-icon {
  opacity: 0.96;
  transform: scale(1.04);
}

.top-projects-ask__form.is-voice-active .top-projects-ask__voice,
.top-developers-ask__form.is-voice-active .top-developers-ask__voice {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(247,216,170,0.38);

  background:
    radial-gradient(circle at 35% 25%, rgba(247,216,170,0.22), transparent 40%),
    rgba(255,255,255,0.10);

  box-shadow:
    0 0 0 1px rgba(247,216,170,0.12),
    0 0 34px rgba(198,107,71,0.24),
    0 16px 40px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.top-projects-ask__form.is-voice-active .top-projects-ask__voice-aura,
.top-developers-ask__form.is-voice-active .top-developers-ask__voice-aura {
  opacity: 1;
  transform: scale(1);
  animation: askVoiceAura 1.35s linear infinite;
}

.top-projects-ask__form.is-voice-active .top-projects-ask__voice-core,
.top-developers-ask__form.is-voice-active .top-developers-ask__voice-core {
  background:
    linear-gradient(
      135deg,
      rgba(96,165,250,0.22),
      rgba(168,85,247,0.18),
      rgba(198,107,71,0.18)
    );
  animation: askVoicePulse 1.05s ease-in-out infinite;
}

.top-projects-ask__form.is-voice-active .top-projects-ask__voice-icon,
.top-developers-ask__form.is-voice-active .top-developers-ask__voice-icon {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 10px rgba(247,216,170,0.40));
}

@keyframes askVoiceAura {
  to {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes askVoicePulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* =========================
   Voice Popovers
========================= */
.top-projects-ask__voice-popover,
.top-developers-ask__voice-popover {
  position: absolute;
  right: 132px;
  bottom: 72px;
  z-index: 20;

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);

  transition:
    opacity .24s ease,
    transform .34s cubic-bezier(.16, 1, .3, 1);
}

.top-projects-ask__form.is-voice-active .top-projects-ask__voice-popover,
.top-developers-ask__form.is-voice-active .top-developers-ask__voice-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.top-projects-ask__voice-popover-inner,
.top-developers-ask__voice-popover-inner {
  position: relative;

  min-width: 292px;
  min-height: 64px;
  padding: 12px 14px;

  display: flex;
  align-items: center;
  gap: 12px;

  border-radius: 22px;

  color: #ffffff;
  background:
    radial-gradient(circle at 15% 20%, rgba(247,216,170,0.18), transparent 32%),
    linear-gradient(135deg, rgba(10,9,8,0.92), rgba(33,25,21,0.90));

  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 22px 70px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.12);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.top-projects-ask__voice-popover-inner::after,
.top-developers-ask__voice-popover-inner::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);

  background: rgba(20,16,14,0.92);
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.top-projects-ask__voice-popover-dot,
.top-developers-ask__voice-popover-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244,215,157,0.10),
    0 0 22px rgba(244,215,157,0.60);

  animation: askVoiceDot 1s ease-in-out infinite;
}

@keyframes askVoiceDot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

.top-projects-ask__voice-copy,
.top-developers-ask__voice-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.top-projects-ask__voice-status,
.top-developers-ask__voice-status {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.top-projects-ask__voice-text,
.top-developers-ask__voice-text {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: rgba(255,255,255,0.66);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
}

.top-projects-ask__voice-bars,
.top-developers-ask__voice-bars {
  margin-left: auto;
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.top-projects-ask__voice-bars i,
.top-developers-ask__voice-bars i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: rgba(247,216,170,0.84);
  animation: askVoiceBars .8s ease-in-out infinite;
}

.top-projects-ask__voice-bars i:nth-child(2),
.top-developers-ask__voice-bars i:nth-child(2) {
  animation-delay: .12s;
}

.top-projects-ask__voice-bars i:nth-child(3),
.top-developers-ask__voice-bars i:nth-child(3) {
  animation-delay: .24s;
}

.top-projects-ask__voice-bars i:nth-child(4),
.top-developers-ask__voice-bars i:nth-child(4) {
  animation-delay: .36s;
}

@keyframes askVoiceBars {
  0%, 100% {
    height: 7px;
    opacity: .55;
  }

  50% {
    height: 22px;
    opacity: 1;
  }
}

/* =========================
   Responsive
========================= */
@media (max-width: 1280px) {
  .home-top-projects,
  .home-top-developers {
    padding-left: 28px;
    padding-right: 28px;
  }

  .home-top-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-project-card,
  .top-project-card__media {
    min-height: 300px;
    height: 300px;
  }

  .top-projects-ask {
    width: min(980px, 100%);
  }

  .top-developers-stage {
    width: 100%;
    height: 370px;
  }

  .top-developer-card {
    width: min(620px, 56vw);
    height: 320px;
  }

  .top-developer-card.is-prev {
    transform:
      translateX(calc(-50% - 330px))
      translateZ(-120px)
      rotateY(12deg)
      scale(0.82);
  }

  .top-developer-card.is-next {
    transform:
      translateX(calc(-50% + 330px))
      translateZ(-120px)
      rotateY(-12deg)
      scale(0.82);
  }

  .top-developers-ask {
    width: min(900px, 86%);
  }
}

@media (max-width: 860px) {
  .home-top-projects {
    padding: 72px 18px 72px;
  }

  .home-top-developers {
    padding: 66px 18px 66px;
  }

  .home-top-projects__head,
  .home-top-developers__head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }

  .home-top-projects__title,
  .home-top-developers__title {
    font-size: clamp(38px, 12vw, 54px);
  }

  .home-top-projects__text,
  .home-top-developers__text {
    margin-left: 0;
    font-size: 16px;
  }

  .home-top-projects__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .top-project-card,
  .top-project-card__media {
    min-height: 286px;
    height: 286px;
    border-radius: 28px;
  }

  .top-project-card__content {
    left: 22px;
    right: 22px;
    bottom: 20px;
  }

  .top-project-card__title {
    font-size: 24px;
  }

  .top-project-card__meta {
    font-size: 13px;
  }

  .top-developers-stage {
    height: 350px;
    perspective: 1200px;
  }

  .top-developer-card {
    width: min(560px, 86vw);
    height: 320px;
    border-radius: 28px;
  }

  .top-developer-card.is-active {
    transform:
      translateX(-50%)
      translateZ(70px)
      rotateY(0deg)
      scale(1);
  }

  .top-developer-card.is-prev {
    opacity: 0.20;
    transform:
      translateX(calc(-50% - 145px))
      translateZ(-150px)
      rotateY(15deg)
      scale(0.78);
  }

  .top-developer-card.is-next {
    opacity: 0.20;
    transform:
      translateX(calc(-50% + 145px))
      translateZ(-150px)
      rotateY(-15deg)
      scale(0.78);
  }

  .top-developer-card__content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .top-developer-card__founded {
    min-height: 27px;
    margin-bottom: 8px;
    padding: 0 11px;
    font-size: 9.5px;
  }

  .top-developer-card__title {
    max-width: 100%;
    font-size: 26px;
  }

  .top-developer-card__description {
    max-width: 100%;
    font-size: 12.5px;
  }

  .top-projects-ask,
  .top-developers-ask {
    width: 100%;
    height: auto;
    min-height: 58px;
    margin-top: 24px;
  }

  .top-projects-ask__trigger,
  .top-developers-ask__trigger {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 58px;
    font-size: 16px;
  }

  .top-projects-ask__form,
  .top-developers-ask__form {
    position: relative;
    height: auto;
    min-height: 66px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 28px;

    transform:
      translate3d(0, 10px, -40px)
      rotateX(-5deg)
      scale(0.96);
  }

  .top-projects-ask:not(.is-open) .top-projects-ask__form,
  .top-developers-ask:not(.is-open) .top-developers-ask__form {
    position: absolute;
    inset: 0;
  }

  .top-projects-ask.is-open .top-projects-ask__form,
  .top-developers-ask.is-open .top-developers-ask__form {
    transform:
      translate3d(0, 0, 0)
      rotateX(0deg)
      scale(1);
  }

  .top-projects-ask__badge,
  .top-developers-ask__badge {
    width: fit-content;
    height: 42px;
    padding: 0 16px 0 14px;
    font-size: 11px;
  }

  .top-projects-ask__input,
  .top-developers-ask__input {
    width: 100%;
    height: 44px;
    font-size: 15px;
  }

  .top-projects-ask__voice,
  .top-developers-ask__voice {
    width: 100%;
    height: 44px;
  }

  .top-projects-ask__button,
  .top-developers-ask__button {
    width: 100%;
    height: 46px;
    min-width: 0;
    font-size: 15px;
  }

  .top-projects-ask__voice-popover,
  .top-developers-ask__voice-popover {
    right: 0;
    left: 0;
    bottom: calc(100% + 12px);
  }

  .top-projects-ask__voice-popover-inner,
  .top-developers-ask__voice-popover-inner {
    min-width: 0;
    width: 100%;
  }

  .top-projects-ask__voice-text,
  .top-developers-ask__voice-text {
    max-width: 180px;
  }
}

/* =========================
   Home Intent Block — compact
========================= */
.home-intent {
  position: relative;
  padding: 64px 60px 68px;
  overflow: hidden;
  color: #111111;

  background:
    radial-gradient(circle at 12% 0%, rgba(198, 107, 71, 0.08), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(247, 216, 170, 0.16), transparent 34%),
    linear-gradient(180deg, #f5f0e8 0%, #efe7dc 100%);
}

.home-intent::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0,0,0,0.022) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.42;
  pointer-events: none;
}

.home-intent__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

/* =========================
   Questions panel
========================= */
.home-intent__panel {
  position: relative;
  min-height: auto;
  padding: 34px 38px 34px;
  border-radius: 36px;

  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow:
    0 24px 70px rgba(43, 31, 22, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.70);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-intent__eyebrow {
  margin: 0 0 9px;
  color: rgba(17,17,17,0.42);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-intent__title {
  max-width: 940px;
  margin: 0;
  color: #111111;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home-intent__text {
  max-width: 900px;
  margin: 16px 0 0;
  color: rgba(17,17,17,0.56);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: -0.018em;
}

.home-intent__routes {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-intent-route {
  min-height: 62px;
  padding: 0 16px 0 18px;
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  text-align: left;
  color: #191714;
  background: rgba(246, 241, 235, 0.88);
  border: 1px solid rgba(17,17,17,0.045);
  box-shadow:
    0 10px 26px rgba(43,31,22,0.055),
    inset 0 1px 0 rgba(255,255,255,0.74);

  transition:
    transform .24s ease,
    background .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

.home-intent-route:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(198,107,71,0.18);
  box-shadow:
    0 18px 38px rgba(43,31,22,0.10),
    inset 0 1px 0 rgba(255,255,255,0.90);
}

.home-intent-route__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-intent-route__label {
  color: #15130f;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.home-intent-route__meta {
  color: rgba(17,17,17,0.44);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.home-intent-route__arrow {
  flex: 0 0 auto;
  color: var(--primadom-copper);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transform: translateX(0);
  transition: transform .24s ease;
}

.home-intent-route:hover .home-intent-route__arrow {
  transform: translateX(4px);
}

.home-intent__dark-note {
  margin-top: 16px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 18px;

  display: flex;
  align-items: center;
  gap: 12px;

  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 450;
  line-height: 1.28;

  background:
    radial-gradient(circle at 10% 50%, rgba(247,216,170,0.14), transparent 28%),
    linear-gradient(135deg, rgba(9,8,7,0.96), rgba(36,28,23,0.94));
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow:
    0 16px 38px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.home-intent__dark-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #f4d79d;
  box-shadow:
    0 0 0 7px rgba(244,215,157,0.10),
    0 0 18px rgba(244,215,157,0.56);
}

/* =========================
   Ask panel below
========================= */
.intent-ask {
  position: relative;
  min-height: 300px;
  padding: 34px 38px;
  border-radius: 36px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;

  overflow: hidden;
  color: #ffffff;

  background:
    radial-gradient(circle at 84% 10%, rgba(247,216,170,0.18), transparent 28%),
    radial-gradient(circle at 70% 56%, rgba(255,255,255,0.06), transparent 30%),
    linear-gradient(135deg, #15120f 0%, #1b1713 48%, #050504 100%);

  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 30px 82px rgba(43,31,22,0.22),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.intent-ask::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 42%, transparent 62%),
    radial-gradient(circle at 20% 100%, rgba(198,107,71,0.12), transparent 36%);
  opacity: 0.72;
}

.intent-ask__top,
.intent-ask__form,
.intent-ask__examples {
  position: relative;
  z-index: 2;
}

.intent-ask__top {
  max-width: 980px;
}

.intent-ask__eyebrow {
  margin: 0 0 9px;
  color: rgba(255,255,255,0.46);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.intent-ask__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intent-ask__text {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.62);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: -0.018em;
}

/* =========================
   Ask search
========================= */
.intent-ask__form {
  position: relative;
  width: min(980px, 100%);
  min-height: 58px;
  padding: 6px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 20px 54px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.10);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  transition:
    border-color .24s ease,
    box-shadow .24s ease,
    background .24s ease;
}

.intent-ask__form.is-voice-active {
  border-color: rgba(247,216,170,0.34);
  box-shadow:
    0 26px 76px rgba(0,0,0,0.28),
    0 0 0 1px rgba(247,216,170,0.10),
    0 0 44px rgba(198,107,71,0.16),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.intent-ask__badge {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 17px 0 14px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: rgba(255,255,255,0.92);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 10px 24px rgba(0,0,0,0.16);
}

.intent-ask__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4d79d;
  box-shadow:
    0 0 0 7px rgba(244,215,157,0.10),
    0 0 18px rgba(244,215,157,0.56);
}

.intent-ask__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;

  border: 0;
  outline: 0;
  background: transparent;

  color: rgba(255,255,255,0.94);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1;
}

.intent-ask__input::placeholder {
  color: rgba(255,255,255,0.54);
}

.intent-ask__button {
  flex: 0 0 auto;
  height: 46px;
  min-width: 102px;
  border-radius: 999px;

  color: #ffffff;
  font-size: 15px;
  font-weight: 650;

  background: var(--primadom-copper);
  box-shadow:
    0 12px 26px rgba(117,49,25,0.30),
    inset 0 1px 0 rgba(255,255,255,0.22);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.intent-ask__button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow:
    0 16px 34px rgba(117,49,25,0.38),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

/* =========================
   Intent voice
========================= */
.intent-ask__voice {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;

  width: 46px;
  height: 46px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 10px 24px rgba(0,0,0,0.16);

  overflow: visible;
  isolation: isolate;

  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.intent-ask__voice:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 14px 30px rgba(0,0,0,0.24);
}

.intent-ask__voice-aura {
  position: absolute;
  inset: -7px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;

  background:
    conic-gradient(
      from 180deg,
      rgba(96,165,250,0.0),
      rgba(96,165,250,0.42),
      rgba(168,85,247,0.38),
      rgba(247,216,170,0.34),
      rgba(96,165,250,0.0)
    );

  filter: blur(8px);
  transform: scale(0.88);
  transition: opacity .24s ease, transform .24s ease;
}

.intent-ask__voice-core {
  position: relative;
  z-index: 2;

  width: 32px;
  height: 32px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  transition:
    transform .24s ease,
    background .24s ease;
}

.intent-ask__voice-icon {
  width: 19px;
  height: 19px;
  display: block;

  filter: invert(1);
  opacity: 0.78;

  transition:
    opacity .24s ease,
    transform .24s ease,
    filter .24s ease;
}

.intent-ask__voice:hover .intent-ask__voice-icon {
  opacity: 0.96;
  transform: scale(1.04);
}

.intent-ask__form.is-voice-active .intent-ask__voice {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(247,216,170,0.38);

  background:
    radial-gradient(circle at 35% 25%, rgba(247,216,170,0.22), transparent 40%),
    rgba(255,255,255,0.10);

  box-shadow:
    0 0 0 1px rgba(247,216,170,0.12),
    0 0 30px rgba(198,107,71,0.24),
    0 14px 34px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.intent-ask__form.is-voice-active .intent-ask__voice-aura {
  opacity: 1;
  transform: scale(1);
  animation: intentVoiceAura 1.35s linear infinite;
}

.intent-ask__form.is-voice-active .intent-ask__voice-core {
  background:
    linear-gradient(
      135deg,
      rgba(96,165,250,0.22),
      rgba(168,85,247,0.18),
      rgba(198,107,71,0.18)
    );
  animation: intentVoicePulse 1.05s ease-in-out infinite;
}

.intent-ask__form.is-voice-active .intent-ask__voice-icon {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 10px rgba(247,216,170,0.40));
}

@keyframes intentVoiceAura {
  to {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes intentVoicePulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* =========================
   Voice popover
========================= */
.intent-ask__voice-popover {
  position: absolute;
  right: 122px;
  bottom: 70px;
  z-index: 20;

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);

  transition:
    opacity .24s ease,
    transform .34s cubic-bezier(.16, 1, .3, 1);
}

.intent-ask__form.is-voice-active .intent-ask__voice-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.intent-ask__voice-popover-inner {
  position: relative;

  min-width: 272px;
  min-height: 58px;
  padding: 11px 13px;

  display: flex;
  align-items: center;
  gap: 11px;

  border-radius: 20px;

  color: #ffffff;
  background:
    radial-gradient(circle at 15% 20%, rgba(247,216,170,0.18), transparent 32%),
    linear-gradient(135deg, rgba(10,9,8,0.92), rgba(33,25,21,0.90));

  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 20px 58px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.12);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.intent-ask__voice-popover-inner::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: -8px;
  width: 15px;
  height: 15px;
  transform: rotate(45deg);

  background: rgba(20,16,14,0.92);
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.intent-ask__voice-popover-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244,215,157,0.10),
    0 0 20px rgba(244,215,157,0.60);

  animation: intentVoiceDot 1s ease-in-out infinite;
}

@keyframes intentVoiceDot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

.intent-ask__voice-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.intent-ask__voice-status {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.intent-ask__voice-text {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: rgba(255,255,255,0.66);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.15;
}

.intent-ask__voice-bars {
  margin-left: auto;
  height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.intent-ask__voice-bars i {
  display: block;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: rgba(247,216,170,0.84);
  animation: intentVoiceBars .8s ease-in-out infinite;
}

.intent-ask__voice-bars i:nth-child(2) {
  animation-delay: .12s;
}

.intent-ask__voice-bars i:nth-child(3) {
  animation-delay: .24s;
}

.intent-ask__voice-bars i:nth-child(4) {
  animation-delay: .36s;
}

@keyframes intentVoiceBars {
  0%, 100% {
    height: 7px;
    opacity: .55;
  }

  50% {
    height: 20px;
    opacity: 1;
  }
}

/* =========================
   Quick examples
========================= */
.intent-ask__examples {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.intent-ask__example {
  min-height: 31px;
  padding: 0 13px;
  border-radius: 999px;

  color: rgba(255,255,255,0.82);
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;

  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 9px 22px rgba(0,0,0,0.16);

  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease;
}

.intent-ask__example:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.23);
}

/* =========================
   Responsive
========================= */
@media (max-width: 1280px) {
  .home-intent {
    padding-left: 28px;
    padding-right: 28px;
  }

  .home-intent__routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-intent__panel,
  .intent-ask {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .home-intent {
    padding: 58px 18px;
  }

  .home-intent__inner {
    gap: 16px;
  }

  .home-intent__panel,
  .intent-ask {
    padding: 26px;
    border-radius: 28px;
  }

  .home-intent__title,
  .intent-ask__title {
    font-size: clamp(32px, 10vw, 44px);
  }

  .home-intent__text,
  .intent-ask__text {
    font-size: 14px;
  }

  .home-intent__routes {
    grid-template-columns: 1fr;
  }

  .home-intent-route {
    min-height: 58px;
  }

  .intent-ask__form {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 26px;
  }

  .intent-ask__badge {
    width: fit-content;
    height: 40px;
    padding: 0 15px 0 13px;
    font-size: 10.5px;
  }

  .intent-ask__input {
    width: 100%;
    height: 42px;
    font-size: 14px;
  }

  .intent-ask__voice {
    width: 100%;
    height: 42px;
  }

  .intent-ask__button {
    width: 100%;
    height: 44px;
    min-width: 0;
    font-size: 14px;
  }

  .intent-ask__voice-popover {
    right: 0;
    left: 0;
    bottom: calc(100% + 12px);
  }

  .intent-ask__voice-popover-inner {
    min-width: 0;
    width: 100%;
  }

  .intent-ask__voice-text {
    max-width: 180px;
  }
}
/* =========================
  Results — Primadom AI Search Output
========================= */

.results {
  display: none;
  position: relative;

  padding: 78px 0 0;

  background:
    radial-gradient(circle at 82% 0%, rgba(198, 107, 71, 0.10), transparent 34%),
    radial-gradient(circle at 12% 10%, rgba(247, 216, 170, 0.18), transparent 32%),
    linear-gradient(180deg, #f4eee5 0%, #eadfd2 100%);

  border-radius: 0 0 34px 34px;
  overflow: visible;
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(28, 22, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 22, 18, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.48;
}

.results.is-open {
  display: block;
}

/* =========================
  Sticky AI Search Bar
========================= */

.results__sticky {
  position: sticky;
  top: 18px;
  z-index: 160;

  padding: 0 86px;
  background: transparent;
  pointer-events: none;
}

.results__sticky-inner {
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.results__bar {
  position: relative;

  width: 100%;
  height: 72px;
  padding: 9px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 54px 54px;
  align-items: center;
  gap: 10px;

  border-radius: 999px;

  background:
    radial-gradient(circle at 12% 45%, rgba(247, 216, 170, 0.07), transparent 32%),
    linear-gradient(135deg, rgba(19, 17, 15, 0.84), rgba(50, 40, 34, 0.78));

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 28px 90px rgba(37, 28, 22, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);

  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);

  pointer-events: auto;
}

.results__bar::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.10),
      transparent 22%,
      transparent 75%,
      rgba(247, 216, 170, 0.06)
    );
}

.results__brand {
  position: relative;
  z-index: 2;

  height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;

  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  cursor: pointer;

  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.results__brand:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.105);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

.results__brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244, 215, 157, 0.10),
    0 0 20px rgba(244, 215, 157, 0.60);
}

.results__query {
  position: relative;
  z-index: 2;

  min-width: 0;
  width: 100%;

  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 390;
  line-height: 1;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.results__query--input {
  height: 54px;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 6px;
  margin: 0;

  -webkit-appearance: none;
  appearance: none;
}

.results__query--input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* =========================
  Voice + Close
========================= */

.results__voice,
.results__clear {
  position: relative;
  z-index: 2;

  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 14px 34px rgba(0, 0, 0, 0.18);

  transition:
    transform .24s ease,
    background .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

.results__voice:hover,
.results__voice.is-active {
  transform: translateY(-2px) scale(1.04);
  background:
    radial-gradient(circle at 35% 25%, rgba(247, 216, 170, 0.20), transparent 40%),
    rgba(255, 255, 255, 0.12);
  border-color: rgba(247, 216, 170, 0.25);
  box-shadow:
    0 0 34px rgba(198, 107, 71, 0.22),
    0 14px 34px rgba(0, 0, 0, 0.26);
}

.results__voice-aura {
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  opacity: 0;

  background:
    conic-gradient(
      from 180deg,
      rgba(96, 165, 250, 0),
      rgba(96, 165, 250, 0.42),
      rgba(168, 85, 247, 0.34),
      rgba(247, 216, 170, 0.32),
      rgba(96, 165, 250, 0)
    );

  filter: blur(8px);
}

.results__voice.is-active .results__voice-aura {
  opacity: 1;
  animation: resultsVoiceSpin 1.35s linear infinite;
}

@keyframes resultsVoiceSpin {
  to {
    transform: rotate(360deg);
  }
}

.results__voice-core {
  position: relative;
  z-index: 2;

  width: 22px;
  height: 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.results__voice-core img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  opacity: 0.82;
  filter: brightness(0) invert(1);
}

.results__clear:hover {
  transform: rotate(90deg) scale(1.04);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
}

.results__clear span {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
}

.results__clear span::before,
.results__clear span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  width: 16px;
  height: 2px;
  border-radius: 99px;

  background: rgba(255, 255, 255, 0.86);
}

.results__clear span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.results__clear span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =========================
  Results Grid — 4 columns
========================= */

.results__grid {
  position: relative;
  z-index: 2;

  width: 100%;
  margin-top: 34px;
  padding: 0 86px 0;

  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: 24px;
  row-gap: 34px;

  align-items: start;
}

.results-card {
  position: relative;

  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 30px;

  transform: translateY(0);
  transition:
    transform .28s ease,
    filter .28s ease;
}

.results-card:hover {
  transform: translateY(-5px);
}

.results-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 30px;
  padding: 1px;

  background:
    linear-gradient(
      135deg,
      rgba(247, 216, 170, 0.50),
      rgba(198, 107, 71, 0.26),
      rgba(255, 255, 255, 0.16)
    );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;

  transition: padding .24s ease, opacity .24s ease;
  opacity: 0.58;
}

.results-card:hover::before {
  padding: 2px;
  opacity: 0.9;
}

.results-card__inner {
  position: relative;

  height: clamp(300px, 20.2vw, 360px);
  min-height: 300px;

  border-radius: 30px;
  overflow: hidden;

  background:
    linear-gradient(135deg, rgba(24, 20, 17, 0.88), rgba(63, 45, 36, 0.66));

  box-shadow:
    0 22px 64px rgba(43, 30, 22, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.results-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.34) 100%);

  pointer-events: none;
}

.results-card__img {
  position: relative;
  z-index: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1.01);
  transition:
    transform .42s cubic-bezier(.16, 1, .3, 1),
    filter .42s ease;
}

.results-card:hover .results-card__img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.02);
}

.results-card__placeholder {
  width: 100%;
  height: 100%;

  background:
    radial-gradient(circle at 70% 20%, rgba(247, 216, 170, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(30, 25, 22, 0.95), rgba(88, 59, 45, 0.72));
}

/* =========================
  Title aligned with lower text,
  plaque only for Location + Price
========================= */

.results-card__meta {
  position: absolute;
  z-index: 4;

  left: 24px;
  right: 24px;
  bottom: 24px;

  padding: 0;
  min-height: 0;
  border-radius: 0;

  display: flex;
  flex-direction: column;
  gap: 0;

  color: #ffffff;

  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* сама плашка только под двумя строками */
.results-card__meta::before {
  content: "";
  position: absolute;
  z-index: 0;

  left: 0;
  right: 34px;
  bottom: 0;
  height: 58px;

  border-radius: 18px;

  background:
    linear-gradient(135deg, rgba(17, 16, 15, 0.19), rgba(42, 35, 30, 0.13));

  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

/* название теперь в той же колонке, что и строки внутри плашки */
.results-card__title {
  position: relative;
  z-index: 2;

  max-width: calc(100% - 34px);
  margin: 0 0 15px;
  padding-left: 15px;

  color: #ffffff;
  font-size: clamp(19px, 1.35vw, 25px);
  font-weight: 680;
  line-height: 1.03;
  letter-spacing: -0.045em;

  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.44),
    0 10px 34px rgba(0, 0, 0, 0.30);
}

.results-card__row {
  position: relative;
  z-index: 2;

  display: block;

  padding-left: 15px;
  padding-right: 15px;

  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(13px, 0.88vw, 15px);
  font-weight: 420;
  line-height: 1.18;
  letter-spacing: -0.015em;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.results-card__row:nth-of-type(1) {
  padding-top: 10px;
}

.results-card__row:last-of-type {
  padding-bottom: 10px;
}

.results-card__row span {
  opacity: 0.76;
  font-weight: 420;
}

.results-card__row strong {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 570;
}

.results__bottom-space {
  position: relative;
  z-index: 2;
  height: 110px;
}

/* =========================
  Price stable order
========================= */

.price {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;

  direction: ltr;
  unicode-bidi: isolate;
}

.price__currency,
.price__value {
  direction: ltr;
  unicode-bidi: isolate;
}

/* =========================
  RTL Results
========================= */

html[dir="rtl"] .results__bar,
body.rtl .results__bar {
  direction: rtl;
}

html[dir="rtl"] .results__query,
body.rtl .results__query {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .results-card__title,
html[dir="rtl"] .results-card__row,
body.rtl .results-card__title,
body.rtl .results-card__row {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .price__currency,
body.rtl .price__currency {
  order: 2 !important;
}

html[dir="rtl"] .price__value,
body.rtl .price__value {
  order: 1 !important;
}

/* =========================
  Responsive
========================= */

@media (max-width: 1280px) {
  .results__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    padding-left: 54px;
    padding-right: 54px;
  }

  .results__sticky {
    padding-left: 54px;
    padding-right: 54px;
  }

  .results-card__inner {
    height: 310px;
  }
}

@media (max-width: 980px) {
  .results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-left: 28px;
    padding-right: 28px;
  }

  .results__sticky {
    top: 14px;
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 760px) {
  .results {
    padding-top: 34px;
    border-radius: 0 0 24px 24px;
  }

  .results__sticky {
    top: 10px;
    padding: 0 14px;
  }

  .results__bar {
    height: auto;
    min-height: 68px;
    grid-template-columns: 1fr 48px 48px;
    gap: 8px;
    padding: 8px;
    border-radius: 28px;
  }

  .results__brand {
    grid-column: 1 / -1;
    width: fit-content;
    height: 44px;
    font-size: 10px;
  }

  .results__query--input {
    height: 48px;
    font-size: 15px;
  }

  .results__voice,
  .results__clear {
    width: 48px;
    height: 48px;
  }

  .results__grid {
    margin-top: 26px;
    padding-left: 14px;
    padding-right: 14px;
    grid-template-columns: 1fr !important;
    row-gap: 20px;
  }

  .results-card__inner {
    min-height: 250px;
    height: 250px;
  }

  .results-card__meta {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .results-card__meta::before {
    right: 20px;
    height: 56px;
    border-radius: 17px;
  }

  .results-card__title {
    font-size: 19px;
    margin-bottom: 13px;
    padding-left: 14px;
  }

  .results-card__row {
    font-size: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .results__bottom-space {
    height: 70px;
  }
}
/* =========================
   Project Page 2026
========================= */

/* local bidi safety */
.pd-price,
.pd-price__currency,
.pd-price__value {
  direction: ltr;
  unicode-bidi: isolate;
}

/* =========================
   Project Header
========================= */
.pd-header {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 0 100px;
  pointer-events: none;
  font-family: var(--font-main);
}

.pd-header__inner {
  width: 100%;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.pd-header__badge,
.pd-header__nav,
.pd-header__right,
.pd-header__cta {
  pointer-events: auto;
}

/* =========================
   Badge
========================= */
.pd-header__badge {
  justify-self: start;

  display: inline-flex;
  align-items: center;
  gap: 14px;

  height: 46px;
  padding: 0 22px 0 17px;
  border-radius: 999px;

  color: var(--primadom-white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 40px rgba(0, 0, 0, 0.22);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  transition:
    transform .28s ease,
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.pd-header__badge:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 22px 58px rgba(0, 0, 0, 0.28);
}

.pd-header__badge-dot {
  position: relative;

  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244, 215, 157, 0.14),
    0 0 20px rgba(244, 215, 157, 0.55);

  transition:
    transform .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}

.pd-header__badge-dot::after {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  opacity: 0;

  background: radial-gradient(circle, rgba(244, 215, 157, 0.42), transparent 64%);

  transition:
    opacity .28s ease,
    transform .28s ease;
}

.pd-header__badge:hover .pd-header__badge-dot {
  transform: scale(1.16);
  background: #ffe1a2;
  box-shadow:
    0 0 0 10px rgba(244, 215, 157, 0.18),
    0 0 28px rgba(244, 215, 157, 0.88),
    0 0 58px rgba(198, 107, 71, 0.36);
}

.pd-header__badge:hover .pd-header__badge-dot::after {
  opacity: 1;
  transform: scale(1.12);
}

.pd-header__badge-text {
  display: inline-block;
  transform: translateX(2px);
}

/* =========================
   Project Navigation
========================= */
.pd-header__nav {
  justify-self: center;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  height: 52px;
  padding: 6px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 48px rgba(0, 0, 0, 0.22);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  transition:
    transform .28s ease,
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.pd-header__nav:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 24px 64px rgba(0, 0, 0, 0.30);
}

.pd-header__nav-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 142px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;

  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;

  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease,
    font-weight .25s ease;
}

.pd-header__nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  border-radius: inherit;

  background: rgba(255, 255, 255, 0.12);

  transition:
    opacity .25s ease,
    background .25s ease;
}

.pd-header__nav-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.pd-header__nav-link:hover::before {
  opacity: 1;
}

.pd-header__nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 26px rgba(0, 0, 0, 0.18);
}

/* =========================
   AI Search Link
========================= */
.pd-header__nav-link--ai {
  min-width: 112px;
}

.pd-header__nav-link--ai::before {
  background:
    linear-gradient(
      135deg,
      rgba(96, 165, 250, 0.26),
      rgba(168, 85, 247, 0.24),
      rgba(198, 107, 71, 0.18)
    );
}

.pd-header__nav-link--ai:hover,
.pd-header__nav-link--ai.is-active {
  color: rgba(238, 244, 255, 0.98);
  font-weight: 520;

  background:
    radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.26), transparent 44%),
    linear-gradient(
      135deg,
      rgba(96, 165, 250, 0.24),
      rgba(168, 85, 247, 0.22),
      rgba(198, 107, 71, 0.16)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 30px rgba(0, 0, 0, 0.22),
    0 0 34px rgba(96, 165, 250, 0.12),
    0 0 44px rgba(168, 85, 247, 0.10);
}

/* =========================
   CTA
========================= */
.pd-header__right {
  justify-self: end;

  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.pd-header__cta {
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #15100d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;

  background: linear-gradient(135deg, #f7d3a2, #c86a47);
  box-shadow:
    0 18px 48px rgba(117, 49, 25, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);

  transition:
    transform .28s ease,
    filter .28s ease,
    box-shadow .28s ease;
}

.pd-header__cta:hover {
  transform: translateY(-4px);
  filter: saturate(1.06);
  box-shadow:
    0 26px 64px rgba(117, 49, 25, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

/* =========================
   Project Header Responsive
========================= */
@media (max-width: 1380px) {
  .pd-header {
    padding: 0 64px;
  }

  .pd-header__nav-link {
    min-width: 126px;
    padding: 0 15px;
    font-size: 13px;
  }

  .pd-header__nav-link--ai {
    min-width: 104px;
  }
}

@media (max-width: 1180px) {
  .pd-header {
    padding: 0 28px;
  }

  .pd-header__inner {
    grid-template-columns: 1fr auto;
  }

  .pd-header__nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .pd-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding: 18px 14px 0;

    background:
      linear-gradient(135deg, #060504 0%, #18120f 54%, #2a150f 100%);
  }

  .pd-header__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pd-header__badge,
  .pd-header__right {
    justify-self: center;
  }

  .pd-header__badge {
    height: 44px;
    padding: 0 16px 0 14px;
    font-size: 11px;
  }

  .pd-header__cta {
    height: 46px;
    padding: 0 24px;
    font-size: 14px;
  }
}
/* =========================
   Project Hero
========================= */
.pd-project-hero {
  --pd-project-side-gap: 230px;

  position: relative;
  padding: 118px 0 48px;
  color: #ffffff;

  background:
    radial-gradient(circle at 18% 10%, rgba(247, 216, 170, 0.12), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(198, 107, 71, 0.18), transparent 34%),
    linear-gradient(135deg, #060504 0%, #18120f 54%, #2a150f 100%);

  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
}

.pd-project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;

  background:
    linear-gradient(90deg, rgba(247, 216, 170, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 216, 170, 0.06) 1px, transparent 1px);
  background-size: 92px 92px;
}

.pd-project-hero__inner {
  position: relative;
  z-index: 2;

  width: min(1600px, calc(100vw - (var(--pd-project-side-gap) * 2)));
  margin: 0 auto;
}

/* =========================
   Project Gallery Hero
========================= */
.pd-project-gallery {
  position: relative;
  height: 470px;
  border-radius: 38px;
  overflow: hidden;
  isolation: isolate;

  background: #14110f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.pd-project-gallery__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  perspective: 1400px;
}

.pd-project-slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  pointer-events: none;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform:
    translate3d(calc(var(--gallery-dir, 1) * 34px), 0, 0)
    rotateY(calc(var(--gallery-dir, 1) * -5deg))
    scale(1.045);

  filter: saturate(1.02) contrast(1.01);
  transform-origin: center center;

  transition:
    opacity 1.05s cubic-bezier(.2, .8, .2, 1),
    transform 1.25s cubic-bezier(.16, 1, .3, 1),
    filter 1.05s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform, filter;
}

.pd-project-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;

  transform:
    translate3d(0, 0, 0)
    rotateY(0deg)
    scale(1);

  filter: saturate(1.05) contrast(1.01);
}

.pd-project-slide.is-leaving {
  z-index: 1;
  opacity: 0;

  transform:
    translate3d(calc(var(--gallery-dir, 1) * -42px), 0, 0)
    rotateY(calc(var(--gallery-dir, 1) * 4deg))
    scale(1.025);

  filter: saturate(.98) contrast(.99);
}

.pd-project-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 8;

  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;

  background: rgba(18, 16, 14, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transform: translateY(-50%);
  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    opacity .25s ease;
}

.pd-project-gallery__arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(18, 16, 14, 0.48);
  border-color: rgba(255, 255, 255, 0.22);
}

.pd-project-gallery__arrow--prev {
  left: 22px;
}

.pd-project-gallery__arrow--next {
  right: 22px;
}

.pd-project-gallery__info {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 36px;
  z-index: 7;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.pd-project-title-pill {
  max-width: min(455px, 48vw);
  padding: 10px 15px;
  border-radius: 18px;

  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(18, 18, 17, 0.14), rgba(35, 30, 26, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  pointer-events: auto;
}

.pd-project-title-pill h1 {
  margin: 0;

  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(20px, 1.95vw, 28px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.pd-project-title-pill p {
  margin: 6px 0 0;

  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 440;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.pd-project-price-pill {
  min-width: 146px;
  padding: 10px 15px;
  border-radius: 18px;

  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(18, 18, 17, 0.15), rgba(35, 30, 26, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 28px rgba(0, 0, 0, 0.10);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  pointer-events: auto;
}

.pd-project-price-pill span {
  display: block;
  margin-bottom: 6px;

  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pd-project-price-pill strong {
  display: block;

  color: rgba(255, 255, 255, 0.96);
  font-size: 16.5px;
  font-weight: 590;
  letter-spacing: -0.028em;
  line-height: 1;
}

/* =========================
   Project Ask Under Photo
========================= */
.pd-project-ask {
  position: relative;
  z-index: 6;

  width: 100%;
  min-height: 64px;
  margin-top: 16px;
  padding: 6px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  gap: 12px;

  background:
    linear-gradient(135deg, rgba(17, 16, 14, 0.76), rgba(33, 28, 24, 0.70));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  transition:
    border-color .24s ease,
    box-shadow .24s ease,
    background .24s ease;
}

.pd-project-ask.is-voice-active {
  border-color: rgba(247, 216, 170, 0.34);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(247, 216, 170, 0.10),
    0 0 48px rgba(198, 107, 71, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pd-project-ask__badge {
  height: 50px;
  padding: 0 18px 0 16px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;

  color: rgba(255, 255, 255, 0.92);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;

  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.pd-project-ask__badge span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 7px rgba(244, 215, 157, 0.10),
    0 0 18px rgba(244, 215, 157, 0.56);
}

.pd-project-ask__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;

  border: 0;
  outline: 0;
  background: transparent;

  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 390;
}

.pd-project-ask__input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.pd-project-ask__voice {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  overflow: visible;
  isolation: isolate;

  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.pd-project-ask__voice:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 34px rgba(0, 0, 0, 0.26);
}

.pd-project-ask__voice-aura {
  position: absolute;
  inset: -7px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;

  background:
    conic-gradient(
      from 180deg,
      rgba(96, 165, 250, 0),
      rgba(96, 165, 250, 0.42),
      rgba(168, 85, 247, 0.38),
      rgba(247, 216, 170, 0.34),
      rgba(96, 165, 250, 0)
    );

  filter: blur(8px);
  transform: scale(0.88);
  transition: opacity .24s ease, transform .24s ease;
}

.pd-project-ask__voice-core {
  width: 34px;
  height: 34px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition:
    transform .24s ease,
    background .24s ease;
}

.pd-project-ask__voice-core img {
  width: 20px;
  height: 20px;
  display: block;

  filter: invert(1);
  opacity: 0.82;

  transition:
    opacity .24s ease,
    filter .24s ease,
    transform .24s ease;
}

.pd-project-ask__voice:hover .pd-project-ask__voice-core img {
  opacity: 0.96;
  transform: scale(1.04);
}

.pd-project-ask.is-voice-active .pd-project-ask__voice {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(247, 216, 170, 0.38);

  background:
    radial-gradient(circle at 35% 25%, rgba(247, 216, 170, 0.22), transparent 40%),
    rgba(255, 255, 255, 0.10);

  box-shadow:
    0 0 0 1px rgba(247, 216, 170, 0.12),
    0 0 34px rgba(198, 107, 71, 0.24),
    0 16px 40px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pd-project-ask.is-voice-active .pd-project-ask__voice-aura {
  opacity: 1;
  transform: scale(1);
  animation: pdVoiceAura 1.35s linear infinite;
}

.pd-project-ask.is-voice-active .pd-project-ask__voice-core {
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(168, 85, 247, 0.18), rgba(198, 107, 71, 0.18));
  animation: pdVoicePulse 1.05s ease-in-out infinite;
}

.pd-project-ask.is-voice-active .pd-project-ask__voice-core img {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 10px rgba(247, 216, 170, 0.40));
}

@keyframes pdVoiceAura {
  to {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes pdVoicePulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.pd-project-ask__voice-popover {
  position: absolute;
  right: 144px;
  bottom: 78px;
  z-index: 20;

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);

  transition:
    opacity .24s ease,
    transform .34s cubic-bezier(.16, 1, .3, 1);
}

.pd-project-ask.is-voice-active .pd-project-ask__voice-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pd-project-ask__voice-popover-inner {
  position: relative;
  min-width: 272px;
  min-height: 58px;
  padding: 11px 13px;
  border-radius: 20px;

  display: flex;
  align-items: center;
  gap: 11px;

  color: #ffffff;
  background:
    radial-gradient(circle at 15% 20%, rgba(247, 216, 170, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(10, 9, 8, 0.92), rgba(33, 25, 21, 0.90));

  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.pd-project-ask__voice-popover-inner::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: -8px;
  width: 15px;
  height: 15px;
  transform: rotate(45deg);

  background: rgba(20, 16, 14, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pd-project-ask__voice-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244, 215, 157, 0.10),
    0 0 20px rgba(244, 215, 157, 0.60);

  animation: pdVoiceDot 1s ease-in-out infinite;
}

@keyframes pdVoiceDot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

.pd-project-ask__voice-status,
.pd-project-ask__voice-text {
  display: block;
}

.pd-project-ask__voice-status {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.pd-project-ask__voice-text {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.15;
}

.pd-project-ask__voice-bars {
  margin-left: auto;
  height: 20px;

  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.pd-project-ask__voice-bars i {
  display: block;
  width: 3px;
  height: 7px;
  border-radius: 999px;

  background: rgba(247, 216, 170, 0.84);
  animation: pdVoiceBars .8s ease-in-out infinite;
}

.pd-project-ask__voice-bars i:nth-child(2) { animation-delay: .12s; }
.pd-project-ask__voice-bars i:nth-child(3) { animation-delay: .24s; }
.pd-project-ask__voice-bars i:nth-child(4) { animation-delay: .36s; }

@keyframes pdVoiceBars {
  0%, 100% {
    height: 7px;
    opacity: .55;
  }

  50% {
    height: 20px;
    opacity: 1;
  }
}

.pd-project-ask__button {
  height: 50px;
  min-width: 124px;
  border: 0;
  border-radius: 999px;

  color: #ffffff;
  font-size: 15px;
  font-weight: 680;
  cursor: pointer;

  background: #c86b47;
  box-shadow:
    0 14px 34px rgba(117, 49, 25, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);

  transition:
    transform .22s ease,
    filter .22s ease,
    box-shadow .22s ease;
}

.pd-project-ask__button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow:
    0 18px 42px rgba(117, 49, 25, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

/* =========================
   Project Content
========================= */
.pd-project-content {
  --pd-project-side-gap: 230px;

  position: relative;
  z-index: 3;
  padding: 0 0 84px;

  background:
    radial-gradient(circle at 12% 0%, rgba(198, 107, 71, 0.08), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(247, 216, 170, 0.16), transparent 32%),
    linear-gradient(180deg, #f6f0e8 0%, #eee5da 100%);
}

.pd-project-content__inner {
  width: min(1600px, calc(100vw - (var(--pd-project-side-gap) * 2)));
  margin: 0 auto;
  padding-top: 22px;
}

.pd-project-card-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.pd-project-card-grid--lower {
  margin-top: 18px;
}

.pd-project-card {
  overflow: hidden;
  border-radius: 32px;

  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow:
    0 24px 80px rgba(43, 31, 22, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pd-project-card__head {
  min-height: 62px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pd-project-card__head h3 {
  margin: 0;

  color: #111111;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.pd-project-card__head span {
  color: rgba(17, 17, 17, 0.46);
  font-size: 12px;
  font-weight: 600;
}

.pd-project-card__body {
  padding: 24px 26px 26px;
}

.pd-project-description {
  margin: 0;

  color: rgba(17, 17, 17, 0.62);
  font-size: 16px;
  line-height: 1.58;
  letter-spacing: -0.018em;
}

.pd-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pd-detail-pill {
  min-height: 76px;
  padding: 16px;
  border-radius: 20px;

  background: rgba(246, 241, 235, 0.80);
  border: 1px solid rgba(17, 17, 17, 0.055);
}

.pd-detail-pill span {
  display: block;
  margin-bottom: 7px;

  color: rgba(17, 17, 17, 0.45);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pd-detail-pill strong {
  display: block;

  color: #111111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.pd-nearby-list {
  display: grid;
  gap: 10px;
}

.pd-nearby-item {
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  background: rgba(246, 241, 235, 0.80);
  border: 1px solid rgba(17, 17, 17, 0.055);
}

.pd-nearby-item strong {
  color: #111111;
  font-size: 15px;
  font-weight: 650;
}

.pd-nearby-item span {
  color: rgba(17, 17, 17, 0.58);
  font-size: 14px;
  font-weight: 650;
}

.pd-location-box {
  min-height: 128px;
  padding: 20px;
  border-radius: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  background:
    radial-gradient(circle at 12% 0%, rgba(198, 107, 71, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(246, 241, 235, 0.88), rgba(255, 255, 255, 0.70));
  border: 1px solid rgba(17, 17, 17, 0.055);
}

.pd-location-box span {
  display: block;
  margin-bottom: 8px;

  color: rgba(17, 17, 17, 0.45);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pd-location-box strong {
  color: #111111;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.pd-location-box a {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;

  background: #c86b47;
  box-shadow:
    0 14px 34px rgba(117, 49, 25, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.pd-project-cta-card {
  margin-top: 18px;
  padding: 28px;
  border-radius: 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  color: #ffffff;
  background:
    radial-gradient(circle at 84% 10%, rgba(247, 216, 170, 0.18), transparent 28%),
    linear-gradient(135deg, #15120f, #060504);

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pd-project-cta-card h3 {
  margin: 0;

  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.pd-project-cta-card p {
  max-width: 620px;
  margin: 14px 0 0;

  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.45;
}

.pd-project-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pd-project-actions a {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;

  transition:
    transform .22s ease,
    filter .22s ease,
    box-shadow .22s ease;
}

.pd-project-actions a:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
}

.pd-project-actions a:first-child,
.pd-project-actions a:nth-child(2) {
  color: #ffffff;
  background: #c86b47;
  box-shadow:
    0 14px 32px rgba(117, 49, 25, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.pd-project-actions a:last-child {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* =========================
   RTL Project Page
========================= */
html[dir="rtl"] .pd-project-hero,
body.rtl .pd-project-hero,
html[dir="rtl"] .pd-project-content,
body.rtl .pd-project-content {
  direction: rtl;
}

html[dir="rtl"] .pd-header__inner,
body.rtl .pd-header__inner {
  direction: rtl;
}

html[dir="rtl"] .pd-project-gallery__info,
body.rtl .pd-project-gallery__info {
  direction: rtl;
}

html[dir="rtl"] .pd-project-title-pill,
body.rtl .pd-project-title-pill,
html[dir="rtl"] .pd-project-card__head,
html[dir="rtl"] .pd-project-card__body,
body.rtl .pd-project-card__head,
body.rtl .pd-project-card__body {
  text-align: right;
}

html[dir="rtl"] .pd-project-price-pill,
body.rtl .pd-project-price-pill,
html[dir="rtl"] .pd-detail-pill strong,
body.rtl .pd-detail-pill strong {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] .pd-project-ask,
body.rtl .pd-project-ask {
  direction: rtl;
}

html[dir="rtl"] .pd-project-ask__input,
body.rtl .pd-project-ask__input {
  text-align: right;
  direction: rtl;
  unicode-bidi: plaintext;
}

html[dir="rtl"] .pd-nearby-item,
body.rtl .pd-nearby-item {
  flex-direction: row-reverse;
}

html[dir="rtl"] .pd-location-box,
body.rtl .pd-location-box {
  direction: rtl;
}

html[dir="rtl"] .pd-project-cta-card,
body.rtl .pd-project-cta-card {
  direction: rtl;
}

html[dir="rtl"] .pd-project-actions,
body.rtl .pd-project-actions {
  justify-content: flex-start;
}

/* =========================
   Project Responsive
========================= */
@media (max-width: 1500px) {
  .pd-project-hero,
  .pd-project-content {
    --pd-project-side-gap: 160px;
  }
}

@media (max-width: 1380px) {
  .pd-project-hero,
  .pd-project-content {
    --pd-project-side-gap: 120px;
  }
}

@media (max-width: 1180px) {
  .pd-project-hero,
  .pd-project-content {
    --pd-project-side-gap: 24px;
  }

  .pd-project-hero {
    padding: 104px 0 46px;
  }

  .pd-project-gallery {
    height: 470px;
  }

  .pd-project-content {
    padding: 0 0 66px;
  }

  .pd-project-card-grid {
    grid-template-columns: 1fr;
  }

  .pd-project-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .pd-project-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .pd-project-hero,
  .pd-project-content {
    --pd-project-side-gap: 14px;
  }

  .pd-project-hero {
    padding: 24px 0 38px;
  }

  .pd-project-gallery {
    height: 560px;
    border-radius: 28px;
  }

  .pd-project-gallery__arrow {
    width: 46px;
    height: 46px;
    font-size: 32px;
  }

  .pd-project-gallery__arrow--prev {
    left: 14px;
  }

  .pd-project-gallery__arrow--next {
    right: 14px;
  }

  .pd-project-gallery__info {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .pd-project-title-pill {
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .pd-project-title-pill h1 {
    font-size: 26px;
  }

  .pd-project-title-pill p {
    font-size: 11.5px;
  }

  .pd-project-price-pill {
    min-width: 0;
    padding: 11px 14px;
    border-radius: 18px;
  }

  .pd-project-price-pill strong {
    font-size: 17px;
  }

  .pd-project-ask {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 26px;
    padding: 10px;
  }

  .pd-project-ask__badge {
    width: fit-content;
    height: 42px;
    padding: 0 15px 0 13px;
    font-size: 10.5px;
  }

  .pd-project-ask__input {
    width: 100%;
    height: 42px;
    font-size: 14px;
  }

  .pd-project-ask__voice {
    width: 100%;
    height: 44px;
    flex-basis: auto;
  }

  .pd-project-ask__button {
    width: 100%;
    min-width: 0;
    height: 44px;
    font-size: 15px;
  }

  .pd-project-ask__voice-popover {
    left: 0;
    right: 0;
    bottom: calc(100% + 12px);
  }

  .pd-project-ask__voice-popover-inner {
    min-width: 0;
    width: 100%;
  }

  .pd-project-content {
    padding: 0 0 54px;
  }

  .pd-project-content__inner {
    padding-top: 18px;
  }

  .pd-details-grid,
  .pd-project-card-grid {
    grid-template-columns: 1fr;
  }

  .pd-project-card {
    border-radius: 26px;
  }

  .pd-project-card__head {
    min-height: 56px;
    padding: 0 18px;
  }

  .pd-project-card__head h3 {
    font-size: 17px;
  }

  .pd-project-card__head span {
    font-size: 11px;
  }

  .pd-project-card__body {
    padding: 18px;
  }

  .pd-project-description {
    font-size: 14px;
    line-height: 1.52;
  }

  .pd-location-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .pd-project-cta-card {
    padding: 22px;
    border-radius: 26px;
  }

  .pd-project-cta-card h3 {
    font-size: 24px;
  }

  .pd-project-actions {
    width: 100%;
    flex-direction: column;
  }

  .pd-project-actions a {
    width: 100%;
  }
}

/* =========================
   Project Lead Modal — Wide Compact
========================= */
html.pd-modal-open {
  overflow: hidden;
}

.pd-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  /* как hero/object: аккуратные отступы от краёв */
  padding: 34px 220px;

  opacity: 0;
  pointer-events: none;

  transition: opacity .28s ease;
}

.pd-lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pd-lead-modal__backdrop {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 50% 20%, rgba(247, 216, 170, 0.10), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(198, 107, 71, 0.10), transparent 32%),
    rgba(7, 6, 5, 0.42);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pd-lead-modal__panel {
  position: relative;

  width: 100%;
  max-width: 1480px;
  max-height: calc(100vh - 76px);
  overflow: visible;

  padding: 30px 34px;
  border-radius: 38px;

  color: #ffffff;

  background:
    radial-gradient(circle at 84% 0%, rgba(198, 107, 71, 0.13), transparent 34%),
    radial-gradient(circle at 12% 10%, rgba(247, 216, 170, 0.075), transparent 32%),
    linear-gradient(135deg, rgba(13, 12, 10, 0.62), rgba(39, 30, 24, 0.48));

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 110px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(34px) saturate(1.06);
  -webkit-backdrop-filter: blur(34px) saturate(1.06);

  transform: translateY(18px) scale(0.975);
  transition:
    transform .42s cubic-bezier(.16, 1, .3, 1),
    background .32s ease;
}

.pd-lead-modal.is-open .pd-lead-modal__panel {
  transform: translateY(0) scale(1);
}

.pd-lead-modal__panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.09),
      transparent 22%,
      transparent 72%,
      rgba(247, 216, 170, 0.045)
    );

  opacity: 0.68;
}

.pd-lead-modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 6;

  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: rgba(255, 255, 255, 0.88);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;

  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 16px 38px rgba(0, 0, 0, 0.20);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  cursor: pointer;

  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease;
}

.pd-lead-modal__close:hover {
  transform: rotate(90deg) scale(1.04);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

/* =========================
   Top intro block
========================= */
.pd-lead-modal__head {
  position: relative;
  z-index: 2;

  max-width: 820px;
  padding-right: 72px;
}

.pd-lead-modal__eyebrow {
  display: inline-block;
  margin-bottom: 10px;

  color: rgba(247, 216, 170, 0.78);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pd-lead-modal__head h2 {
  max-width: 760px;
  margin: 0;

  color: #ffffff;
  font-size: clamp(32px, 3vw, 50px);
  font-weight: 640;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.pd-lead-modal__head p {
  max-width: 720px;
  margin: 12px 0 0;

  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 390;
  line-height: 1.42;
  letter-spacing: -0.02em;
}

/* =========================
   Form
========================= */
.pd-lead-form {
  position: relative;
  z-index: 2;

  margin: 22px 0 0;
}

.pd-lead-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.pd-lead-field {
  display: grid;
  gap: 8px;
}

.pd-lead-field span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.pd-lead-field input,
.pd-lead-field textarea {
  width: 100%;
  border: 0;
  outline: 0;

  color: #ffffff;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 420;

  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.115);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);

  transition:
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.pd-lead-field input {
  height: 50px;
  padding: 0 16px;
  border-radius: 18px;
}

.pd-lead-field input::placeholder,
.pd-lead-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.pd-lead-field input:focus,
.pd-lead-field textarea:focus {
  background: rgba(255, 255, 255, 0.095);
  border-color: rgba(247, 216, 170, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 0 0 3px rgba(247, 216, 170, 0.055);
}

.pd-lead-field--comment {
  margin-top: 12px;
}

/* =========================
   AI Prepared Request Row
========================= */
.pd-lead-ai-row {
  position: relative;

  width: 100%;
  min-height: 74px;
  padding: 10px;
  border-radius: 999px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 54px 112px;
  gap: 10px;
  align-items: center;

  background:
    radial-gradient(circle at 12% 45%, rgba(247, 216, 170, 0.045), transparent 32%),
    linear-gradient(135deg, rgba(17, 16, 14, 0.48), rgba(36, 30, 26, 0.36));

  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    0 18px 54px rgba(0, 0, 0, 0.15);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.pd-lead-ai-row__badge {
  height: 54px;
  padding: 0 18px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 11px;

  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  white-space: nowrap;

  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pd-lead-ai-row__badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244, 215, 157, 0.10),
    0 0 18px rgba(244, 215, 157, 0.56);
}

.pd-lead-ai-row textarea {
  width: 100%;
  min-width: 0;

  height: 54px;
  min-height: 54px;
  max-height: 54px;

  padding: 17px 4px 12px;
  resize: none;
  overflow: hidden;

  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;

  font-size: 14px;
  font-weight: 390;
  line-height: 1.35;
  white-space: nowrap;
}

.pd-lead-ai-row textarea:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.pd-lead-field small {
  margin-top: 8px;

  color: rgba(255, 255, 255, 0.40);
  font-size: 12px;
  line-height: 1.35;
}

/* =========================
   Voice Button
========================= */
.pd-lead-voice {
  position: relative;

  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 14px 34px rgba(0, 0, 0, 0.18);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    transform .24s ease,
    background .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

.pd-lead-voice:hover,
.pd-lead-voice.is-active {
  transform: translateY(-2px) scale(1.04);
  background:
    radial-gradient(circle at 35% 25%, rgba(247, 216, 170, 0.20), transparent 40%),
    rgba(255, 255, 255, 0.12);
  border-color: rgba(247, 216, 170, 0.24);
  box-shadow:
    0 0 34px rgba(198, 107, 71, 0.20),
    0 14px 34px rgba(0, 0, 0, 0.26);
}

.pd-lead-voice__aura {
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  opacity: 0;

  background:
    conic-gradient(
      from 180deg,
      rgba(96, 165, 250, 0),
      rgba(96, 165, 250, 0.40),
      rgba(168, 85, 247, 0.36),
      rgba(247, 216, 170, 0.32),
      rgba(96, 165, 250, 0)
    );

  filter: blur(8px);
}

.pd-lead-voice.is-active .pd-lead-voice__aura {
  opacity: 1;
  animation: pdLeadVoiceSpin 1.35s linear infinite;
}

@keyframes pdLeadVoiceSpin {
  to {
    transform: rotate(360deg);
  }
}

.pd-lead-voice__core {
  position: relative;
  z-index: 2;

  width: 22px;
  height: 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pd-lead-voice__core img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  opacity: 0.82;
  filter: brightness(0) invert(1);
}

/* =========================
   Send button inside row
========================= */
.pd-lead-submit {
  position: relative;

  height: 54px;
  min-width: 112px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;

  background: #c86b47;
  box-shadow:
    0 16px 38px rgba(117, 49, 25, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);

  transition:
    transform .22s ease,
    filter .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

.pd-lead-submit:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow:
    0 22px 50px rgba(117, 49, 25, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.pd-lead-submit.is-done {
  background: #7aa34a;
}

/* old secondary is hidden if HTML still exists */
.pd-lead-secondary,
.pd-lead-modal__actions {
  display: none !important;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1500px) {
  .pd-lead-modal {
    padding-left: 120px;
    padding-right: 120px;
  }
}

@media (max-width: 1180px) {
  .pd-lead-modal {
    padding: 34px 28px;
  }

  .pd-lead-modal__panel {
    width: 100%;
    max-width: 980px;
    overflow: auto;
  }

  .pd-lead-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pd-lead-form__grid .pd-lead-field:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .pd-lead-modal {
    padding: 18px;
    align-items: flex-start;
  }

  .pd-lead-modal__panel {
    max-height: calc(100vh - 36px);
    padding: 20px;
    border-radius: 30px;
    overflow: auto;
  }

  .pd-lead-modal__head {
    padding-right: 44px;
  }

  .pd-lead-modal__head h2 {
    font-size: 32px;
  }

  .pd-lead-form__grid {
    grid-template-columns: 1fr;
  }

  .pd-lead-form__grid .pd-lead-field:last-child {
    grid-column: auto;
  }

  .pd-lead-ai-row {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: stretch;
    border-radius: 24px;
    padding: 14px;
  }

  .pd-lead-ai-row__badge {
    width: fit-content;
  }

  .pd-lead-ai-row textarea {
    height: 96px;
    min-height: 96px;
    max-height: 140px;
    white-space: normal;
    overflow: auto;
    padding: 8px 2px;
  }

  .pd-lead-voice,
  .pd-lead-submit {
    width: 100%;
    min-width: 0;
  }

  .pd-lead-voice {
    height: 52px;
    border-radius: 999px;
  }

  .pd-lead-submit {
    height: 52px;
  }
}
/* =========================
   Footer — Primadom AI
========================= */
.site-footer {
  position: relative;
  min-height: 430px;
  overflow: hidden;

  color: #ffffff;
  background:
    radial-gradient(circle at 14% 20%, rgba(247, 216, 170, 0.11), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(198, 107, 71, 0.18), transparent 34%),
    linear-gradient(135deg, #070604 0%, #17120f 52%, #2a150f 100%) !important;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-main);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  pointer-events: none;

  background:
    linear-gradient(90deg, rgba(247, 216, 170, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 216, 170, 0.06) 1px, transparent 1px);
  background-size: 92px 92px;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(247, 216, 170, 0.34),
    rgba(198, 107, 71, 0.28),
    transparent
  );
}

.site-footer__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(22px);
  opacity: 0.52;
}

.site-footer__glow--left {
  left: -160px;
  top: -160px;
  background: radial-gradient(circle, rgba(247, 216, 170, 0.18), transparent 68%);
}

.site-footer__glow--right {
  right: -140px;
  top: -120px;
  background: radial-gradient(circle, rgba(198, 107, 71, 0.22), transparent 70%);
}

.site-footer__inner {
  position: relative;
  z-index: 2;

  min-height: 430px;
  max-width: 100%;
  margin: 0 auto;
  padding: 58px 120px 48px;

  display: grid;
  grid-template-columns: minmax(420px, 720px) 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 72px;
  row-gap: 34px;

  background: transparent !important;
}

.site-footer * {
  color: inherit;
}

/* =========================
   Left side
========================= */
.site-footer__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 42px;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  min-height: 52px;
  padding: 0 22px 0 17px;
  border-radius: 999px;

  color: #ffffff;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 52px rgba(0, 0, 0, 0.22);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  transition:
    transform .28s ease,
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.site-footer__brand:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 26px 68px rgba(0, 0, 0, 0.30);
}

.site-footer__brand-dot {
  position: relative;

  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;

  background: #f4d79d;
  box-shadow:
    0 0 0 8px rgba(244, 215, 157, 0.14),
    0 0 22px rgba(244, 215, 157, 0.58);

  transition:
    transform .28s ease,
    background .28s ease,
    box-shadow .28s ease;
}

.site-footer__brand-dot::after {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  opacity: 0;

  background: radial-gradient(circle, rgba(244, 215, 157, 0.42), transparent 64%);
  transition: opacity .28s ease, transform .28s ease;
}

.site-footer__brand:hover .site-footer__brand-dot {
  transform: scale(1.16);
  background: #ffe1a2;
  box-shadow:
    0 0 0 10px rgba(244, 215, 157, 0.18),
    0 0 30px rgba(244, 215, 157, 0.88),
    0 0 58px rgba(198, 107, 71, 0.36);
}

.site-footer__brand:hover .site-footer__brand-dot::after {
  opacity: 1;
  transform: scale(1.12);
}

.site-footer__brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-footer__brand-title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer__brand-subtitle {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 450;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =========================
   Statement
========================= */
.site-footer__statement {
  max-width: 660px;
}

.site-footer__statement h2 {
  max-width: 620px;
  margin: 0;

  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(34px, 3.2vw, 58px);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.site-footer__statement p {
  max-width: 560px;
  margin: 18px 0 0;

  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
  font-weight: 390;
  line-height: 1.46;
  letter-spacing: -0.025em;
}

.site-footer__chips {
  margin-top: 22px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__chips span {
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 520;
  white-space: nowrap;

  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 34px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* =========================
   Right side
========================= */
.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.site-footer__contacts {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;

  z-index: 5;
  pointer-events: auto;
}

.footer-pill {
  height: 52px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 44px rgba(0, 0, 0, 0.16);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  font-size: 15px;
  font-weight: 420;
  line-height: 1;
  white-space: nowrap;

  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;

  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    color .24s ease,
    box-shadow .24s ease;
}

.footer-pill:hover {
  transform: translateY(-3px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(247, 216, 170, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 58px rgba(0, 0, 0, 0.24),
    0 0 34px rgba(198, 107, 71, 0.10);
}

/* =========================
   Socials
========================= */
.site-footer__social {
  display: flex;
  align-items: center;
  gap: 18px;

  z-index: 5;
  pointer-events: auto;
}

.footer-social {
  width: 42px;
  height: 42px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.14);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.footer-social:hover {
  transform: translateY(-4px) scale(1.04);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(247, 216, 170, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 50px rgba(0, 0, 0, 0.22),
    0 0 32px rgba(198, 107, 71, 0.10);
}

.footer-social img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  opacity: 0.86;
  filter: brightness(0) invert(1);

  transition:
    opacity .24s ease,
    transform .24s ease,
    filter .24s ease;
}

.footer-social:hover img {
  opacity: 1;
  transform: scale(1.08);
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 10px rgba(247, 216, 170, 0.22));
}

/* =========================
   Bottom
========================= */
.site-footer__bottom {
  grid-column: 1 / -1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  z-index: 2;
}

.site-footer__copyright,
.site-footer__address {
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  font-weight: 390;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.site-footer__address {
  text-align: right;
  max-width: 720px;
}

/* =========================
   Footer Responsive
========================= */
@media (max-width: 1180px) {
  .site-footer__inner {
    padding-left: 28px;
    padding-right: 28px;
    grid-template-columns: 1fr;
  }

  .site-footer__right {
    align-items: flex-start;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer__address {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .site-footer {
    min-height: 0;
  }

  .site-footer__inner {
    padding: 42px 20px 34px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .site-footer__left {
    gap: 28px;
  }

  .site-footer__statement h2 {
    font-size: 36px;
  }

  .site-footer__statement p {
    font-size: 15px;
  }

  .site-footer__contacts {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-pill {
    height: 48px;
    padding: 0 20px;
    font-size: 14px;
  }

  .site-footer__social {
    align-self: flex-start;
    justify-self: flex-start;
    gap: 12px;
  }

  .footer-social {
    width: 40px;
    height: 40px;
  }

  .site-footer__bottom {
    width: 100%;
  }

  .site-footer__address {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .site-footer__brand {
    width: 100%;
    height: auto;
    min-height: 52px;
    align-items: center;
  }

  .site-footer__brand-title {
    font-size: 11px;
  }

  .site-footer__brand-subtitle {
    font-size: 9px;
  }

  .site-footer__statement h2 {
    font-size: 31px;
  }

  .site-footer__contacts {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-pill {
    width: 100%;
  }
}

/* =========================
   RTL Footer
========================= */
body.rtl .footer-pill--ltr,
body.rtl a[href^="tel:"],
body.rtl a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

body.rtl .site-footer__address {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

body.rtl .site-footer__bottom {
  direction: rtl;
}

body.rtl .site-footer__contacts,
body.rtl .site-footer__social {
  direction: ltr;
}