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

/* =========================
   Theme / Valentyna AI System
========================= */
:root {
  --font-main: "Montserrat", sans-serif;

  /* Valentyna core palette */
  --alex-bg: #080808;
  --alex-bg-soft: #111111;
  --alex-card: rgba(255, 255, 255, 0.055);
  --alex-card-strong: rgba(255, 255, 255, 0.085);
  --alex-line: rgba(255, 255, 255, 0.145);
  --alex-line-strong: rgba(255, 255, 255, 0.22);

  --alex-text: #f6f2ec;
  --alex-muted: rgba(246, 242, 236, 0.68);
  --alex-muted-soft: rgba(246, 242, 236, 0.46);

  --alex-gold: #d7c4a0;
  --alex-gold-light: #fff3d6;
  --alex-gold-dark: #a89468;

  /* CTA gradient only */
  --alex-cta-left: #2f3c50;
  --alex-cta-right: #171c24;
  --alex-cta-hover-left: #374760;
  --alex-cta-hover-right: #202632;

  --alex-glass: rgba(255, 255, 255, 0.055);
  --alex-glass-strong: rgba(255, 255, 255, 0.11);
  --alex-glass-border: rgba(255, 255, 255, 0.145);

  --alex-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
  --alex-shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.34);

  --alex-radius: 34px;
  --alex-max: 1420px;

  /* Compatibility aliases for old blocks */
  --primadom-white: #ffffff;
  --primadom-dark: #080808;
  --primadom-dark-soft: #111111;
  --primadom-cream: #d7c4a0;
  --primadom-copper: #d7c4a0;
  --primadom-copper-dark: #a89468;
  --primadom-glass: rgba(255, 255, 255, 0.055);
  --primadom-glass-border: rgba(255, 255, 255, 0.145);
}

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

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  font-family: var(--font-main);
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-main);
  background: var(--alex-bg);
  color: var(--alex-text);
  line-height: 1.5;
  font-weight: 400;
}

/* убираем возможные белые поля от внешних wrappers */
body > main,
body > .page,
.page,
.page-home,
.page-results,
.page-project,
.home-page,
.hero-wrap {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =========================
   Layout helpers
========================= */
.container {
  width: min(calc(100% - 72px), var(--alex-max));
  max-width: var(--alex-max);
  margin: 0 auto;
  padding: 0;
}

.section {
  padding: 72px 0;
}

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

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

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

a:hover,
a:focus,
a:visited,
a:active {
  color: inherit;
  text-decoration: none !important;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

/* =========================
   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 !important;
}

.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: 0;
  user-select: none;

  transition:
    transform .22s ease,
    opacity .15s ease,
    box-shadow .22s ease,
    background .22s ease,
    color .22s ease,
    filter .22s ease;
}

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

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

/* All primary CTA buttons */
.btn--primary {
  color: #ffffff;
  background: linear-gradient(
    90deg,
    var(--alex-cta-left) 0%,
    var(--alex-cta-right) 100%
  );
  border: 0;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.btn--primary:hover {
  color: #ffffff;
  opacity: 1;
  filter: brightness(1.08);
  background: linear-gradient(
    90deg,
    var(--alex-cta-hover-left) 0%,
    var(--alex-cta-hover-right) 100%
  );
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

/* =========================
   Header / Valentyna Kolomiiets
   Fixed compact glass header
========================= */
.site-header {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 999;

  padding: 0 34px;
  pointer-events: none;

  font-family: var(--font-main);
}

.site-header,
.site-header * {
  box-sizing: border-box;
}

.site-header a,
.site-header a:hover,
.site-header a:focus,
.site-header a:visited,
.site-header a:active {
  color: inherit;
  text-decoration: none !important;
  outline: none;
}

.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__right,
.site-header__cta {
  pointer-events: auto;
}

/* =========================
   Header badge / logo
========================= */
.site-header__badge {
  justify-self: start;

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

  height: 50px;
  padding: 0 22px 0 18px;
  border-radius: 999px;

  color: var(--alex-text) !important;
  background: var(--alex-glass);
  border: 1px solid var(--alex-glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    var(--alex-shadow);

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

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

.site-header__badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    var(--alex-shadow-strong);
}

/* Only logo dot changed */
.site-header__badge-dot {
  position: relative;

  width: 24px;
  height: 24px;
  flex: 0 0 24px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: linear-gradient(
    90deg,
    var(--alex-cta-left) 0%,
    var(--alex-cta-right) 100%
  );
  border: 0;
  box-shadow: none;
}

.site-header__badge-dot::after {
  content: "";

  width: 7px;
  height: 7px;
  border-radius: 50%;

  background: #ffffff;
  box-shadow: none;
}

.site-header__badge-text {
  display: inline-block;

  color: var(--alex-text) !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: none;
  white-space: nowrap;
}

/* =========================
   Header nav
========================= */
.site-header__nav {
  justify-self: center;

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

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

  background: var(--alex-glass);
  border: 1px solid var(--alex-glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    var(--alex-shadow);

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

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

.site-header__nav:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    var(--alex-shadow-strong);
}

.site-header__nav-link {
  position: relative;

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

  height: 42px;
  min-width: 108px;
  padding: 0 18px;
  border-radius: 999px;

  color: rgba(246, 242, 236, 0.74) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;

  background: transparent;
  border: 0;
  text-decoration: none !important;

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

.site-header__nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.085);
}

.site-header__nav-link.is-active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.22);
}

/* =========================
   Header right / CTA
========================= */
.site-header__right {
  justify-self: end;

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

/* Header CTA */
.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 50px;
  padding: 0 26px;
  border-radius: 999px;

  color: #ffffff !important;
  background: linear-gradient(
    90deg,
    var(--alex-cta-left) 0%,
    var(--alex-cta-right) 100%
  );
  border: 0;

  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;

  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);

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

.site-header__cta:hover {
  color: #ffffff !important;
  filter: brightness(1.08);
  transform: translateY(-2px);
  background: linear-gradient(
    90deg,
    var(--alex-cta-hover-left) 0%,
    var(--alex-cta-hover-right) 100%
  );
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

/* AI search Find button */
.find {
  color: #ffffff !important;
  background: linear-gradient(
    90deg,
    var(--alex-cta-left) 0%,
    var(--alex-cta-right) 100%
  ) !important;
  border: 0 !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28) !important;
}

.find:hover {
  color: #ffffff !important;
  filter: brightness(1.08);
  background: linear-gradient(
    90deg,
    var(--alex-cta-hover-left) 0%,
    var(--alex-cta-hover-right) 100%
  ) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

/* Generic CTA classes if used elsewhere */
.cta,
.cta-button,
.button-primary,
.project-cta,
.investment-cta,
[data-open-general-lead] {
  color: #ffffff !important;
  background: linear-gradient(
    90deg,
    var(--alex-cta-left) 0%,
    var(--alex-cta-right) 100%
  ) !important;
  border: 0 !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28) !important;
}

.cta:hover,
.cta-button:hover,
.button-primary:hover,
.project-cta:hover,
.investment-cta:hover,
[data-open-general-lead]:hover {
  color: #ffffff !important;
  filter: brightness(1.08);
  background: linear-gradient(
    90deg,
    var(--alex-cta-hover-left) 0%,
    var(--alex-cta-hover-right) 100%
  ) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

/* subtle top readability while scrolling */
.site-header::before {
  content: "";
  position: absolute;
  inset: -22px 0 auto 0;
  height: 92px;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.48) 0%,
    rgba(8, 8, 8, 0.22) 58%,
    rgba(8, 8, 8, 0) 100%
  );
}

/* =========================
   Header responsive
========================= */
@media (max-width: 1320px) {
  .site-header {
    padding: 0 24px;
  }

  .site-header__nav-link {
    min-width: 96px;
    padding: 0 16px;
    font-size: 13.5px;
  }

  .site-header__badge {
    height: 48px;
    padding: 0 20px 0 17px;
  }

  .site-header__badge-text {
    font-size: 12.5px;
    letter-spacing: 0.14em;
  }

  .site-header__cta {
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
  }
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header__nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    top: 14px;
    padding: 0 12px;
  }

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

  .site-header__badge {
    height: 44px;
    padding: 0 16px 0 14px;
  }

  .site-header__badge-text {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .site-header__badge-dot {
    width: 22px;
    height: 22px;
  }

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

  .site-header__cta {
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
  }
}
/* =========================
   Valentyna Personal Hero
========================= */

.valentyna-hero {
  position: relative;
  min-height: 100vh;
  padding: 102px 40px 38px;
  overflow: hidden;

  color: #ffffff;
  font-family: var(--font-main);

  background:
    radial-gradient(circle at 80% 18%, rgba(90, 109, 136, 0.14), transparent 34%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.035), transparent 30%),
    linear-gradient(135deg, #07090d 0%, #0b1017 42%, #171c24 100%);
}

.valentyna-hero,
.valentyna-hero * {
  box-sizing: border-box;
}

.valentyna-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.98) 0%, rgba(7, 9, 13, 0.95) 38%, rgba(12, 17, 24, 0.96) 62%, rgba(15, 21, 30, 0.98) 100%),
    radial-gradient(circle at 72% 44%, rgba(47, 60, 80, 0.22), transparent 42%),
    radial-gradient(circle at 25% 78%, rgba(255, 255, 255, 0.035), transparent 34%);

  pointer-events: none;
}

.valentyna-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: 0.13;
}

.valentyna-hero__inner {
  position: relative;
  z-index: 2;

  width: min(1640px, 100%);
  min-height: calc(100vh - 140px);
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(560px, 0.96fr) minmax(600px, 1.04fr);
  align-items: start;
  gap: clamp(58px, 5vw, 96px);
}

/* =========================
   Left portrait
========================= */

.valentyna-hero__media {
  position: relative;
  min-height: calc(100vh - 142px);

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

  overflow: visible;
}

.valentyna-hero__media::before {
  content: "";
  position: absolute;
  inset: -110px -80px -80px -120px;
  z-index: 0;

  background:
    radial-gradient(circle at 54% 26%, rgba(90, 109, 136, 0.10), transparent 38%),
    linear-gradient(135deg, #07090d 0%, #090d13 46%, #0d121a 100%);

  pointer-events: none;
}

.valentyna-hero__portrait-wrap {
  position: absolute;
  inset: -22px -34px 0 -44px;
  z-index: 1;

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

  overflow: visible;
}

.valentyna-hero__portrait {
  position: relative;
  z-index: 2;

  width: min(815px, 118%);
  max-width: none;
  max-height: calc(100vh - 64px);
  height: auto;

  object-fit: contain;
  object-position: center top;

  transform: translate(42px, -46px);

  filter:
    drop-shadow(0 34px 82px rgba(0, 0, 0, 0.34))
    saturate(1.02);
}

.valentyna-hero__portrait-fade {
  position: absolute;
  left: -90px;
  right: -90px;
  bottom: -7px;
  z-index: 3;

  height: 170px;

  background:
    linear-gradient(
      180deg,
      rgba(7, 9, 13, 0) 0%,
      rgba(7, 9, 13, 0.58) 62%,
      rgba(7, 9, 13, 0.98) 100%
    );

  pointer-events: none;
}
/* =========================
   Track card
========================= */

.valentyna-hero__track-card {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 5;

  width: min(650px, 96%);
  padding: 15px 21px 15px;
  border-radius: 28px;

  color: #ffffff;

  transform: translateX(-46%);

  background:
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.13), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.042));

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);

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

.valentyna-hero__track-top {
  display: flex;
  align-items: center;
  gap: 10px;

  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.valentyna-hero__track-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 8px;

  background: #ffffff;

  box-shadow:
    0 0 0 8px rgba(90, 109, 136, 0.14),
    0 0 20px rgba(90, 109, 136, 0.56);
}

.valentyna-hero__stats {
  margin-top: 12px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.valentyna-hero__stat {
  min-width: 0;
  min-height: 86px;
  padding: 12px 8px 10px;
  border-radius: 20px;

  display: grid;
  grid-template-rows: 32px 34px;
  align-items: center;
  justify-items: center;

  text-align: center;

  background: rgba(255, 255, 255, 0.062);
  border: 1px solid rgba(255, 255, 255, 0.105);

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

.valentyna-hero__stat:hover {
  transform: translateY(-3px);

  background: rgba(255, 255, 255, 0.078);
  border-color: rgba(255, 255, 255, 0.16);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

.valentyna-hero__stat strong {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 32px;

  color: #ffffff;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
  white-space: nowrap;

  transition: transform .24s ease;
}

.valentyna-hero__stat:hover strong {
  transform: translateY(-1px);
}

.valentyna-hero__stat span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 34px;
  margin: 0;

  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 410;
  line-height: 1.04;
  letter-spacing: -0.012em;
}
/* =========================
   Right content
========================= */

.valentyna-hero__content {
  position: relative;
  z-index: 4;

  max-width: 760px;
  padding: 66px clamp(22px, 2.6vw, 48px) 6px 0;
  transform: translateX(-4px);
}

.valentyna-hero__title {
  display: block;

  max-width: 760px;
  margin: 0;
  padding-bottom: 0.08em;

  overflow: visible;

  font-size: clamp(50px, 4.75vw, 80px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.078em;

  color: transparent;

  background:
    linear-gradient(
      115deg,
      #ffffff 0%,
      #f5f6f8 24%,
      #cbd2dc 46%,
      #ffffff 63%,
      #aeb8c7 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  text-shadow:
    0 20px 58px rgba(0, 0, 0, 0.22);
}

.valentyna-hero__role {
  margin: 30px 0 0;

  color: rgba(255, 255, 255, 0.70);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.31em;
  text-transform: uppercase;
}

.valentyna-hero__lead {
  max-width: 690px;
  margin: 25px 0 0;

  color: rgba(255, 255, 255, 0.70);
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 370;
  line-height: 1.34;
  letter-spacing: -0.034em;
}

/* =========================
   Dynamic insights card
========================= */

.valentyna-hero__insight-card {
  position: relative;

  max-width: 720px;
  min-height: 158px;
  margin-top: 31px;
  padding: 23px 25px 25px;
  border-radius: 28px;

  overflow: hidden;
  isolation: isolate;

  background:
    radial-gradient(circle at 13% 20%, rgba(90, 109, 136, 0.13), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.070), rgba(255, 255, 255, 0.034));

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 20px 58px rgba(0, 0, 0, 0.18);

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

.valentyna-hero__insight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;

  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.08),
      transparent 28%,
      transparent 72%,
      rgba(90, 109, 136, 0.08)
    );

  opacity: 0.62;
  pointer-events: none;
}

.valentyna-hero__insight-card::after {
  content: "";
  position: absolute;
  inset: -120%;
  z-index: -2;

  background:
    conic-gradient(
      from 0deg,
      rgba(90, 109, 136, 0.00) 0deg,
      rgba(90, 109, 136, 0.00) 54deg,
      rgba(120, 145, 176, 0.34) 78deg,
      rgba(236, 240, 247, 0.52) 96deg,
      rgba(120, 145, 176, 0.34) 118deg,
      rgba(90, 109, 136, 0.00) 150deg,
      rgba(90, 109, 136, 0.00) 360deg
    );

  opacity: 0.78;
  animation: valentynaHeroInsightOrbit 5.8s linear infinite;
  pointer-events: none;
}

.valentyna-hero__insight-border {
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;

  background:
    conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 0.08),
      rgba(90, 109, 136, 0.20),
      rgba(238, 242, 248, 0.62),
      rgba(90, 109, 136, 0.24),
      rgba(47, 60, 80, 0.20),
      rgba(255, 255, 255, 0.08)
    );

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

  mask-composite: exclude;
  -webkit-mask-composite: xor;

  opacity: 0.95;
  animation: valentynaHeroBorderGlow 5.8s linear infinite;
}

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

@keyframes valentynaHeroBorderGlow {
  0% {
    filter: brightness(0.82);
    opacity: 0.62;
  }

  35% {
    filter: brightness(1.18);
    opacity: 0.98;
  }

  70% {
    filter: brightness(0.92);
    opacity: 0.72;
  }

  100% {
    filter: brightness(0.82);
    opacity: 0.62;
  }
}

.valentyna-hero__insight-head {
  position: relative;
  z-index: 2;

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

.valentyna-hero__insight-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 560;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.valentyna-hero__insight-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.valentyna-hero__insight-dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;

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

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

.valentyna-hero__insight-dots i.is-active {
  width: 22px;

  background:
    linear-gradient(
      90deg,
      #5a6d88 0%,
      #d8dee8 50%,
      #2d3a50 100%
    );

  box-shadow:
    0 0 18px rgba(130, 150, 176, 0.30);
}

.valentyna-hero__insight-body {
  position: relative;
  z-index: 2;

  min-height: 82px;
  margin-top: 20px;
}

.valentyna-hero__insight-slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

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

.valentyna-hero__insight-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.valentyna-hero__insight-slide strong {
  display: block;

  max-width: 690px;

  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 1.28vw, 22px);
  font-weight: 545;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.valentyna-hero__insight-slide p {
  max-width: 690px;
  margin: 12px 0 0;

  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(14px, 0.96vw, 16px);
  font-weight: 350;
  line-height: 1.38;
  letter-spacing: -0.025em;
}

/* =========================
   Actions
========================= */

.valentyna-hero__actions {
  margin-top: 34px;

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 13px;
}

.valentyna-hero__cta {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;

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

  font-size: 15px;
  font-weight: 610;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;

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

.valentyna-hero__cta--primary {
  color: #ffffff;

  background:
    linear-gradient(
      90deg,
      #5a6d88 0%,
      #2d3a50 100%
    );

  border: 0;

  box-shadow:
    0 16px 38px rgba(10, 16, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.valentyna-hero__cta--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  background:
    linear-gradient(
      90deg,
      #667b99 0%,
      #354760 100%
    );

  box-shadow:
    0 22px 50px rgba(10, 16, 26, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.valentyna-hero__cta--ghost {
  color: rgba(255, 255, 255, 0.86);

  background: rgba(255, 255, 255, 0.048);
  border: 1px solid rgba(255, 255, 255, 0.13);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.095),
    0 16px 42px rgba(0, 0, 0, 0.14);

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

.valentyna-hero__cta--ghost:hover {
  transform: translateY(-2px);

  color: #ffffff;
  background: rgba(255, 255, 255, 0.078);
  border-color: rgba(255, 255, 255, 0.20);
}

.valentyna-hero__cta--soft {
  color: #ffffff;

  background:
    linear-gradient(
      90deg,
      rgba(90, 109, 136, 0.68),
      rgba(47, 60, 80, 0.74)
    );

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 16px 38px rgba(10, 16, 26, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.valentyna-hero__cta--soft:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

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

@media (max-width: 1500px) {
  .valentyna-hero {
    padding-top: 98px;
  }

  .valentyna-hero__inner {
    width: min(1500px, 100%);
    grid-template-columns: minmax(520px, 0.94fr) minmax(560px, 1.06fr);
    gap: clamp(48px, 4.6vw, 78px);
  }

  .valentyna-hero__media {
    min-height: calc(100vh - 134px);
  }

  .valentyna-hero__portrait {
    width: min(760px, 118%);
    transform: translate(38px, 0);
  }

  .valentyna-hero__content {
    max-width: 730px;
    padding-top: 58px;
    padding-right: clamp(18px, 2.2vw, 38px);
  }

  .valentyna-hero__title {
    max-width: 740px;
    font-size: clamp(48px, 4.55vw, 76px);
  }

  .valentyna-hero__track-card {
    width: min(620px, 94%);
    bottom: 14px;
  }

  .valentyna-hero__insight-card {
    max-width: 700px;
  }
}

@media (max-width: 1280px) {
  .valentyna-hero {
    padding: 96px 28px 42px;
  }

  .valentyna-hero__inner {
    grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1fr);
    gap: 42px;
  }

  .valentyna-hero__media {
    min-height: calc(100vh - 132px);
  }

  .valentyna-hero__portrait-wrap {
    inset: -8px -24px 0 -42px;
  }

  .valentyna-hero__portrait {
    width: min(690px, 116%);
    max-height: calc(100vh - 82px);
    transform: translate(30px, 0);
  }

  .valentyna-hero__content {
    max-width: 690px;
    padding-top: 54px;
    padding-right: 18px;
  }

  .valentyna-hero__title {
    max-width: 700px;
    font-size: clamp(46px, 5.3vw, 68px);
  }

  .valentyna-hero__track-card {
    width: min(590px, 94%);
    bottom: 14px;
  }

  .valentyna-hero__stat strong {
    font-size: 23px;
  }

  .valentyna-hero__stat span {
    font-size: 10.5px;
  }

  .valentyna-hero__insight-card {
    max-width: 660px;
  }

  .valentyna-hero__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .valentyna-hero {
    min-height: auto;
    padding: 108px 20px 44px;
  }

  .valentyna-hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .valentyna-hero__media {
    min-height: 600px;
    order: 2;
  }

  .valentyna-hero__content {
    order: 1;
    max-width: none;
    padding: 12px 0 6px;
    transform: none;
  }

  .valentyna-hero__portrait-wrap {
    inset: -18px 0 0 0;
  }

  .valentyna-hero__portrait {
    width: min(720px, 108%);
    max-height: none;
    transform: translateY(14px);
  }

  .valentyna-hero__track-card {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(650px, 96%);
    margin: auto auto 20px;
    align-self: flex-end;
  }

  .valentyna-hero__title {
    max-width: 720px;
    font-size: clamp(48px, 11vw, 76px);
  }

  .valentyna-hero__lead,
  .valentyna-hero__insight-card {
    max-width: 720px;
  }
}

@media (max-width: 620px) {
  .valentyna-hero {
    padding: 94px 14px 34px;
  }

  .valentyna-hero__media {
    min-height: 520px;
  }

  .valentyna-hero__portrait {
    width: min(620px, 118%);
    transform: translateY(14px);
  }

  .valentyna-hero__title {
    font-size: clamp(42px, 13vw, 60px);
  }

  .valentyna-hero__role {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .valentyna-hero__lead {
    font-size: 17px;
  }

  .valentyna-hero__insight-card {
    min-height: 188px;
    padding: 18px;
    border-radius: 24px;
  }

  .valentyna-hero__insight-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .valentyna-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .valentyna-hero__cta {
    width: 100%;
  }

  .valentyna-hero__track-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .valentyna-hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .valentyna-hero__stat span {
    font-size: 11px;
  }
}
/* =========================
   Cases / Real Transactions
========================= */

.cases-section {
  --cases-blue-left: var(--search-accent-left, #5a6d88);
  --cases-blue-right: var(--search-accent-right, #2d3a50);
  --cases-blue-hover-left: var(--search-accent-hover-left, #667b99);
  --cases-blue-hover-right: var(--search-accent-hover-right, #354760);

  position: relative;
  padding: clamp(28px, 3.4vw, 50px) 40px clamp(30px, 3.4vw, 50px);
  overflow: hidden;

  color: #0d1118;
  font-family: var(--font-main);

  background:
    radial-gradient(circle at 86% 18%, rgba(90, 109, 136, 0.13), transparent 30%),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(135deg, #f7f5f1 0%, #eeeae2 50%, #eef2f5 100%);
}

.cases-section,
.cases-section * {
  box-sizing: border-box;
}

.cases-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  pointer-events: none;

  background-image:
    linear-gradient(rgba(23, 28, 36, 0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 28, 36, 0.026) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: 0.46;
}

.cases-section__inner {
  position: relative;
  z-index: 1;

  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 34px;

  background:
    radial-gradient(circle at 88% 14%, rgba(90, 109, 136, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.76));

  border: 1px solid rgba(255, 255, 255, 0.86);

  box-shadow:
    0 24px 74px rgba(20, 24, 30, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);

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

/* =========================
   Head
========================= */

.cases-section__head {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(420px, 1.22fr);
  align-items: end;
  gap: clamp(28px, 4vw, 64px);
}

.cases-section__eyebrow {
  margin: 0 0 9px;

  color: rgba(13, 17, 24, 0.45);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.cases-section__title {
  max-width: 560px;
  margin: 0;

  color: #080b10;
  font-size: clamp(32px, 3.45vw, 54px);
  font-weight: 650;
  line-height: 0.97;
  letter-spacing: -0.07em;
}

.cases-section__subtitle {
  max-width: 700px;
  margin: 0;

  color: rgba(13, 17, 24, 0.62);
  font-size: clamp(16px, 1.20vw, 21px);
  font-weight: 360;
  line-height: 1.34;
  letter-spacing: -0.043em;
}

.cases-section__disclaimer {
  max-width: 700px;
  margin: 11px 0 0;

  color: rgba(13, 17, 24, 0.45);
  font-size: 11.5px;
  font-weight: 430;
  line-height: 1.38;
  letter-spacing: -0.018em;
}

/* =========================
   Body
========================= */

.cases-section__body {
  margin-top: clamp(22px, 2.35vw, 32px);

  display: grid;
  grid-template-columns: minmax(350px, 0.67fr) minmax(560px, 1.33fr);
  gap: 14px;
}

.cases-section__featured {
  position: relative;
  min-height: 274px;
  border-radius: 27px;
  overflow: hidden;

  color: #ffffff;

  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.11), transparent 38%),
    linear-gradient(135deg, #171c24 0%, #2d3a50 100%);

  box-shadow:
    0 18px 46px rgba(13, 17, 24, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.17);
}

.cases-section__featured::after {
  content: "";
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 27%),
    radial-gradient(circle at 84% 78%, rgba(255, 255, 255, 0.13), transparent 34%);
  opacity: 0.52;
}

.cases-section__featured-slide {
  position: absolute;
  inset: 0;
  z-index: 1;

  padding: 23px;

  opacity: 0;
  transform: translateY(7px) scale(0.992);
  filter: blur(4px);
  pointer-events: none;

  transition:
    opacity .72s cubic-bezier(.19, .78, .22, 1),
    transform .72s cubic-bezier(.19, .78, .22, 1),
    filter .72s cubic-bezier(.19, .78, .22, 1);
}

.cases-section__featured-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.cases-section__featured-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cases-section__roi {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;

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

  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.042em;

  background:
    linear-gradient(90deg, var(--cases-blue-left), var(--cases-blue-right));

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.21),
    0 12px 26px rgba(0, 0, 0, 0.18);
}

.cases-section__period {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12.5px;
  font-weight: 540;
  letter-spacing: -0.018em;
}

.cases-section__featured h3 {
  max-width: 440px;
  margin: 24px 0 0;

  color: #ffffff;
  font-size: clamp(23px, 1.88vw, 31px);
  font-weight: 645;
  line-height: 1.00;
  letter-spacing: -0.062em;
}

.cases-section__type {
  margin: 10px 0 0;

  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 420;
  letter-spacing: -0.027em;
}

.cases-section__facts {
  margin-top: 18px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cases-section__facts div {
  min-height: 64px;
  padding: 10px 10px 9px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.070);
  border: 1px solid rgba(255, 255, 255, 0.105);
}

.cases-section__facts span {
  display: block;

  color: rgba(255, 255, 255, 0.52);
  font-size: 8.8px;
  font-weight: 620;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.cases-section__facts strong {
  display: block;
  margin-top: 7px;

  color: #ffffff;
  font-size: 13px;
  font-weight: 610;
  letter-spacing: -0.025em;
}

/* =========================
   Small cards
========================= */

.cases-section__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cases-section__case {
  min-height: 112px;
  padding: 15px;
  border-radius: 22px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;

  text-align: left;
  cursor: pointer;

  color: #0d1118;

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.73));

  border: 1px solid rgba(13, 17, 24, 0.060);

  box-shadow:
    0 12px 28px rgba(13, 17, 24, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);

  transition:
    transform .44s cubic-bezier(.19, .78, .22, 1),
    background .44s cubic-bezier(.19, .78, .22, 1),
    border-color .44s cubic-bezier(.19, .78, .22, 1),
    box-shadow .44s cubic-bezier(.19, .78, .22, 1),
    color .44s cubic-bezier(.19, .78, .22, 1);
}

.cases-section__case:hover {
  transform: translateY(-2px);

  border-color: rgba(90, 109, 136, 0.15);

  box-shadow:
    0 18px 38px rgba(13, 17, 24, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);
}

.cases-section__case.is-active {
  color: #ffffff;

  background:
    linear-gradient(135deg, rgba(90, 109, 136, 0.95), rgba(45, 58, 80, 0.98));

  border-color: rgba(255, 255, 255, 0.18);

  box-shadow:
    0 18px 42px rgba(47, 60, 80, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cases-section__case-roi {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;

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

  color: var(--cases-blue-right);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.028em;

  background: rgba(90, 109, 136, 0.09);

  transition:
    background .44s cubic-bezier(.19, .78, .22, 1),
    color .44s cubic-bezier(.19, .78, .22, 1);
}

.cases-section__case.is-active .cases-section__case-roi {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.cases-section__case-title {
  display: block;
  margin-top: 11px;

  font-size: 14.8px;
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.cases-section__case-meta {
  display: block;
  margin-top: 7px;

  color: rgba(13, 17, 24, 0.46);
  font-size: 11.5px;
  font-weight: 450;
  line-height: 1.16;
  letter-spacing: -0.018em;

  transition: color .44s cubic-bezier(.19, .78, .22, 1);
}

.cases-section__case.is-active .cases-section__case-meta {
  color: rgba(255, 255, 255, 0.64);
}

/* =========================
   Ask Invest AI — Cases
========================= */

.cases-ask {
  position: relative;
  width: min(1088px, 68.8%);
  min-height: 58px;
  margin: 54px auto 0;

  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.cases-ask__trigger {
  position: relative;
  width: fit-content;
  min-width: 236px;
  height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;

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

  cursor: pointer;

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

  background:
    radial-gradient(circle at 16% 50%, rgba(90, 109, 136, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(23, 28, 36, 0.96), rgba(8, 10, 14, 0.94));

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow:
    0 22px 64px rgba(31, 37, 45, 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;
}

.cases-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(31, 37, 45, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cases-ask__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 0 0 8px rgba(90, 109, 136, 0.16),
    0 0 22px rgba(90, 109, 136, 0.52);
}

.cases-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(90, 109, 136, 0.14), transparent 24%),
    radial-gradient(circle at 78% 45%, rgba(47, 60, 80, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(23, 28, 36, 0.96), rgba(8, 10, 14, 0.94));

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow:
    0 26px 76px rgba(31, 37, 45, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

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

  overflow: visible;

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

.cases-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(90, 109, 136, 0.18) 50%,
      transparent 64%,
      transparent 100%
    );

  transform: translateX(-110%);
}

.cases-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);
}

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

.cases-ask.is-open .cases-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(31, 37, 45, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

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

.cases-ask.is-closing .cases-ask__form {
  opacity: 0;
  pointer-events: none;

  transform:
    translate3d(0, 12px, -60px)
    rotateX(7deg)
    scaleX(0.42)
    scaleY(0.92);
}

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

  18% {
    opacity: 1;
  }

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

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

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

  cursor: pointer;

  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;
}

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

.cases-ask__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 0 0 7px rgba(90, 109, 136, 0.16),
    0 0 18px rgba(90, 109, 136, 0.52);
}

.cases-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;
}

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

/* =========================
   Voice button
========================= */

.cases-ask__voice {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;

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

  cursor: pointer;

  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 10px 26px rgba(0, 0, 0, 0.18) !important;

  overflow: visible;
  isolation: isolate;

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

.cases-ask__voice:hover {
  transform: translateY(-2px);

  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.32), transparent 40%),
    rgba(255, 255, 255, 0.12) !important;

  border-color: rgba(47, 60, 80, 0.34) !important;

  box-shadow:
    0 0 34px rgba(47, 60, 80, 0.22),
    0 14px 34px rgba(0, 0, 0, 0.26) !important;
}

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

  opacity: 0;

  background:
    conic-gradient(
      from 180deg,
      rgba(47, 60, 80, 0),
      rgba(47, 60, 80, 0.52),
      rgba(55, 71, 96, 0.42),
      rgba(255, 255, 255, 0.18),
      rgba(47, 60, 80, 0)
    ) !important;

  filter: blur(8px);
  transform: scale(0.88);

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

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

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

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

  background: transparent !important;

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

.cases-ask__voice-icon {
  width: 20px;
  height: 20px;
  display: block;

  filter: invert(1) !important;
  opacity: 0.78;

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

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

.cases-ask__form.is-voice-active {
  border-color: rgba(47, 60, 80, 0.50) !important;

  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(47, 60, 80, 0.16),
    0 0 48px rgba(47, 60, 80, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.cases-ask__form.is-voice-active .cases-ask__voice,
.cases-ask__voice[aria-pressed="true"] {
  transform: translateY(-2px) scale(1.03);

  border-color: rgba(47, 60, 80, 0.42) !important;

  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.34), transparent 40%),
    rgba(255, 255, 255, 0.10) !important;

  box-shadow:
    0 0 0 1px rgba(47, 60, 80, 0.14),
    0 0 34px rgba(47, 60, 80, 0.24),
    0 16px 40px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.cases-ask__form.is-voice-active .cases-ask__voice-aura,
.cases-ask__voice[aria-pressed="true"] .cases-ask__voice-aura {
  opacity: 1;
  transform: scale(1);
  animation: casesVoiceAura 1.35s linear infinite;
}

.cases-ask__form.is-voice-active .cases-ask__voice-core,
.cases-ask__voice[aria-pressed="true"] .cases-ask__voice-core {
  background:
    linear-gradient(
      135deg,
      rgba(47, 60, 80, 0.26),
      rgba(55, 71, 96, 0.22),
      rgba(255, 255, 255, 0.10)
    ) !important;

  animation: casesVoicePulse 1.05s ease-in-out infinite;
}

.cases-ask__form.is-voice-active .cases-ask__voice-icon,
.cases-ask__voice[aria-pressed="true"] .cases-ask__voice-icon {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 10px rgba(47, 60, 80, 0.40)) !important;
}

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

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

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

/* =========================
   Voice popover
========================= */

.cases-ask__voice-popover {
  position: absolute;
  right: 128px;
  bottom: 70px;
  z-index: 30;

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

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

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

.cases-ask__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(47, 60, 80, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.94), rgba(23, 28, 36, 0.90)) !important;

  border: 1px solid rgba(255, 255, 255, 0.16) !important;

  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;

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

.cases-ask__voice-popover-inner::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -8px;

  width: 16px;
  height: 16px;

  transform: rotate(45deg);

  background: rgba(23, 28, 36, 0.92) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

  background: #ffffff !important;

  box-shadow:
    0 0 0 8px rgba(47, 60, 80, 0.18),
    0 0 22px rgba(47, 60, 80, 0.52) !important;

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

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

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

.cases-ask__voice-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 3px;
}

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

.cases-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;
}

.cases-ask__voice-bars {
  margin-left: auto;
  height: 22px;

  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.cases-ask__voice-bars i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.84) !important;

  animation: casesVoiceBars .8s ease-in-out infinite;
}

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

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

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

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

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

/* =========================
   Ask button
========================= */

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

  cursor: pointer;

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

  background:
    linear-gradient(
      90deg,
      var(--cases-blue-left) 0%,
      var(--cases-blue-right) 100%
    );

  box-shadow:
    0 12px 28px rgba(10, 16, 26, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

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

.cases-ask__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  box-shadow:
    0 18px 38px rgba(10, 16, 26, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

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

@media (max-width: 1280px) {
  .cases-section {
    padding-left: 28px;
    padding-right: 28px;
  }

  .cases-section__inner {
    padding: 32px;
  }

  .cases-section__head {
    gap: 34px;
  }

  .cases-section__body {
    grid-template-columns: 1fr;
  }

  .cases-section__featured {
    min-height: 252px;
  }

  .cases-ask {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .cases-section {
    padding: 30px 16px;
  }

  .cases-section__inner {
    padding: 24px 16px;
    border-radius: 30px;
  }

  .cases-section__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cases-section__title {
    font-size: clamp(34px, 10vw, 52px);
  }

  .cases-section__subtitle {
    font-size: 18px;
  }

  .cases-section__cards {
    grid-template-columns: 1fr;
  }

  .cases-section__facts {
    grid-template-columns: 1fr;
  }

  .cases-section__featured {
    min-height: 390px;
  }

  .cases-ask {
    width: 100%;
    min-height: 58px;
    margin-top: 34px;
  }

  .cases-ask__trigger {
    width: 100%;
    min-width: 0;
  }

  .cases-ask__form {
    height: auto;
    min-height: 58px;
    padding: 10px;
    border-radius: 28px;

    flex-direction: column;
    align-items: stretch;
  }

  .cases-ask.is-open {
    min-height: 194px;
  }

  .cases-ask__badge,
  .cases-ask__input,
  .cases-ask__voice,
  .cases-ask__button {
    width: 100%;
  }

  .cases-ask__voice {
    height: 42px;
  }

  .cases-ask__input {
    height: 42px;
    padding: 0 14px;
  }

  .cases-ask__voice-popover {
    right: 16px;
    left: 16px;
    bottom: 116px;
    min-width: 0;
  }
}
/* =========================
   Home Search
   Independent visual clone of Home Hero
   No .home-hero / no .site-header dependency
========================= */

.home-search,
.home-search *,
.home-search *::before,
.home-search *::after {
  box-sizing: border-box;
  font-family: var(--font-main, "Montserrat", sans-serif);
}

.home-search {
  --search-white: #ffffff;

  --search-bg-1: #070809;
  --search-bg-2: #0e1117;
  --search-bg-3: #171c24;
  --search-bg-4: #090a0d;

  /* CTA only — lighter serious metallic blue */
  --search-accent-left: #5a6d88;
  --search-accent-right: #2d3a50;
  --search-accent-hover-left: #667b99;
  --search-accent-hover-right: #354760;

  --search-soft-blue: rgba(47, 60, 80, 0.46);
  --search-soft-blue-light: rgba(55, 71, 96, 0.32);
  --search-line: rgba(255, 255, 255, 0.145);
  --search-line-strong: rgba(255, 255, 255, 0.24);

  position: relative;
  min-height: 100vh;
  padding: 0 230px 88px;
  overflow: hidden;

  background:
    radial-gradient(circle at 72% 20%, rgba(47, 60, 80, 0.46), transparent 38%),
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.055), transparent 30%),
    linear-gradient(
      135deg,
      #070809 0%,
      #0e1117 42%,
      #171c24 66%,
      #090a0d 100%
    );

  color: #ffffff;
  isolation: isolate;
  scroll-margin-top: 96px;
}

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

  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 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-search::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.03) 38%, rgba(0, 0, 0, 0.58) 100%),
    radial-gradient(circle at 50% 0%, rgba(47, 60, 80, 0.34), transparent 42%);
}

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

  background:
    radial-gradient(circle at 18% 74%, rgba(47, 60, 80, 0.34), transparent 34%),
    radial-gradient(circle at 86% 64%, rgba(255, 255, 255, 0.06), transparent 30%);
}

/* =========================
   Search content
========================= */

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

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

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

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

.home-search__subtitle {
  display: none;
}

/* =========================
   Featured carousel
========================= */

.home-search__featured {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  border-radius: 42px;
  perspective: 1600px;
  transform-style: preserve-3d;

  background: #111821;
  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-search__featured:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 44px 128px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

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

.home-search__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-search__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-search__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-search__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  transform: scale(1.025);
  transition: transform 5.2s ease;
}

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

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

.home-search__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-search__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-search__featured-info {
  min-width: 0;
}

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

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

.home-search__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(8, 10, 14, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.18);

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

/* =========================
   Search fixed inside photo
========================= */

.home-search__photo-search {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 34px;
  z-index: 8;
}

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

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

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

  background:
    radial-gradient(circle at 12% 45%, rgba(47, 60, 80, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.84), rgba(23, 28, 36, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);

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

.home-search__search.is-voice-active {
  border-color: rgba(47, 60, 80, 0.50);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(47, 60, 80, 0.16),
    0 0 48px rgba(47, 60, 80, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-search__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-search__ai-badge-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;

  background: #ffffff;
  box-shadow:
    0 0 0 7px rgba(47, 60, 80, 0.18),
    0 0 18px rgba(47, 60, 80, 0.52);
}

.home-search__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-search__input::placeholder {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 400;
}

/* =========================
   Voice button
========================= */

.home-search__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.075);
  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);

  overflow: visible;
  isolation: isolate;

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

.home-search__voice:hover {
  transform: translateY(-2px);
  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.32), transparent 40%),
    rgba(255, 255, 255, 0.12);
  border-color: rgba(47, 60, 80, 0.34);
  box-shadow:
    0 0 34px rgba(47, 60, 80, 0.22),
    0 14px 34px rgba(0, 0, 0, 0.26);
}

.home-search__voice-aura {
  position: absolute;
  inset: -7px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;
  background:
    conic-gradient(
      from 180deg,
      rgba(47, 60, 80, 0),
      rgba(47, 60, 80, 0.52),
      rgba(55, 71, 96, 0.42),
      rgba(255, 255, 255, 0.18),
      rgba(47, 60, 80, 0)
    );
  filter: blur(8px);
  transform: scale(0.88);
  transition: opacity .24s ease, transform .24s ease;
}

.home-search__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-search__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-search__voice:hover .home-search__voice-icon {
  opacity: 0.96;
  transform: scale(1.04);
}

.home-search__search.is-voice-active .home-search__voice {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(47, 60, 80, 0.42);
  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.34), transparent 40%),
    rgba(255, 255, 255, 0.10);
  box-shadow:
    0 0 0 1px rgba(47, 60, 80, 0.14),
    0 0 34px rgba(47, 60, 80, 0.24),
    0 16px 40px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-search__search.is-voice-active .home-search__voice-aura {
  opacity: 1;
  transform: scale(1);
  animation: searchVoiceAura 1.35s linear infinite;
}

.home-search__search.is-voice-active .home-search__voice-core {
  background:
    linear-gradient(
      135deg,
      rgba(47, 60, 80, 0.26),
      rgba(55, 71, 96, 0.22),
      rgba(255, 255, 255, 0.10)
    );
  animation: searchVoicePulse 1.05s ease-in-out infinite;
}

.home-search__search.is-voice-active .home-search__voice-icon {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 10px rgba(47, 60, 80, 0.40));
}

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

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

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

/* =========================
   Voice popover
========================= */

.home-search__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-search__search.is-voice-active .home-search__voice-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-search__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(47, 60, 80, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.94), rgba(23, 28, 36, 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-search__voice-popover-inner::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);

  background: rgba(23, 28, 36, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

  background: #ffffff;
  box-shadow:
    0 0 0 8px rgba(47, 60, 80, 0.18),
    0 0 22px rgba(47, 60, 80, 0.52);

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

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

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

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

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

.home-search__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-search__voice-bars {
  margin-left: auto;
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.home-search__voice-bars i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  animation: searchVoiceBars .8s ease-in-out infinite;
}

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

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

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

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

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

/* =========================
   Find button
========================= */

.home-search__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: linear-gradient(
    90deg,
    var(--search-accent-left) 0%,
    var(--search-accent-right) 100%
  );
  box-shadow:
    0 14px 34px rgba(10, 16, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

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

.home-search__get:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  background: linear-gradient(
    90deg,
    var(--search-accent-hover-left) 0%,
    var(--search-accent-hover-right) 100%
  );
  box-shadow:
    0 18px 42px rgba(10, 16, 26, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

/* =========================
   Search chips inside photo
========================= */

.home-search__chips {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-search__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(23, 28, 36, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  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-search__chip:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: rgba(47, 60, 80, 0.52);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

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

/* Old external panel/caption off */

.home-search__panel,
.home-search__caption,
.home-search__featured-controls,
.home-search__featured-content {
  display: none;
}

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

@media (max-width: 1500px) {
  .home-search {
    padding-left: 160px;
    padding-right: 160px;
  }

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

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

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

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

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

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

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

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

  .home-search__featured {
    height: 440px;
  }

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

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

  .home-search__search {
    gap: 10px;
  }

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

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

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

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

  .home-search__chips {
    gap: 8px;
  }

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

@media (max-width: 760px) {
  .home-search {
    min-height: auto;
    padding: 0 16px 54px;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .home-search__chip {
    min-height: 34px;
    padding: 0 13px;
    font-size: 12px;
  }
}

/* =========================
   Home Top Projects
========================= */
.home-top-projects {
  --top-projects-bg-light-1: #f8f5ef;
  --top-projects-bg-light-2: #f1ece3;
  --top-projects-bg-light-3: #dfe7ee;

  --top-projects-dark-1: #080a0e;
  --top-projects-dark-2: #111821;
  --top-projects-dark-3: #171c24;
  --top-projects-dark-4: #2f3c50;

  --top-projects-cta-left: #5a6d88;
  --top-projects-cta-right: #2d3a50;
  --top-projects-cta-hover-left: #667b99;
  --top-projects-cta-hover-right: #354760;

  position: relative;
  padding: 86px 60px 86px;
  background:
    radial-gradient(circle at 82% 6%, rgba(47, 60, 80, 0.16), transparent 32%),
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.94), transparent 34%),
    linear-gradient(135deg, #f8f5ef 0%, #f1ece3 42%, #dfe7ee 100%);
  color: #111317;
  overflow: hidden;
}

.home-top-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 28, 36, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 28, 36, 0.08) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.36;
  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, 19, 23, 0.46);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-top-projects__title {
  margin: 0;
  color: #111317;
  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, 19, 23, 0.58);
  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: #111821;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform, box-shadow;

  box-shadow:
    0 22px 58px rgba(31, 37, 45, 0.16),
    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(31, 37, 45, 0.24),
    0 0 0 1px rgba(47, 60, 80, 0.12),
    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 Invest 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(90, 109, 136, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(23, 28, 36, 0.96), rgba(8, 10, 14, 0.94));
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 22px 64px rgba(31, 37, 45, 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(31, 37, 45, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.top-projects-ask__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 0 8px rgba(90, 109, 136, 0.16),
    0 0 22px rgba(90, 109, 136, 0.52);
}

.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(90, 109, 136, 0.14), transparent 24%),
    radial-gradient(circle at 78% 45%, rgba(47, 60, 80, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(23, 28, 36, 0.96), rgba(8, 10, 14, 0.94));

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

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

  overflow: visible;

  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(90,109,136,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(31, 37, 45, 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: #ffffff;
  box-shadow:
    0 0 0 7px rgba(90,109,136,0.16),
    0 0 18px rgba(90,109,136,0.52);
}

.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);
}

/* =========================
   Voice button — EXACT Home Search colors
========================= */

.top-projects-ask__voice {
  position: relative;
  z-index: 3;
  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.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 10px 26px rgba(0, 0, 0, 0.18) !important;

  overflow: visible;
  isolation: isolate;

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

.top-projects-ask__voice:hover {
  transform: translateY(-2px);
  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.32), transparent 40%),
    rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(47, 60, 80, 0.34) !important;
  box-shadow:
    0 0 34px rgba(47, 60, 80, 0.22),
    0 14px 34px rgba(0, 0, 0, 0.26) !important;
}

.top-projects-ask__voice-aura {
  position: absolute;
  inset: -7px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;
  background:
    conic-gradient(
      from 180deg,
      rgba(47, 60, 80, 0),
      rgba(47, 60, 80, 0.52),
      rgba(55, 71, 96, 0.42),
      rgba(255, 255, 255, 0.18),
      rgba(47, 60, 80, 0)
    ) !important;
  filter: blur(8px);
  transform: scale(0.88);
  transition: opacity .24s ease, transform .24s ease;
}

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

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

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

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

.top-projects-ask__voice-icon {
  width: 20px;
  height: 20px;
  display: block;
  filter: invert(1) !important;
  opacity: 0.78;
  transition:
    opacity .24s ease,
    transform .24s ease,
    filter .24s ease;
}

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

.top-projects-ask__form.is-voice-active {
  border-color: rgba(47, 60, 80, 0.50) !important;
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(47, 60, 80, 0.16),
    0 0 48px rgba(47, 60, 80, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.top-projects-ask__form.is-voice-active .top-projects-ask__voice,
.top-projects-ask__voice[aria-pressed="true"] {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(47, 60, 80, 0.42) !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.34), transparent 40%),
    rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    0 0 0 1px rgba(47, 60, 80, 0.14),
    0 0 34px rgba(47, 60, 80, 0.24),
    0 16px 40px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.top-projects-ask__form.is-voice-active .top-projects-ask__voice-aura,
.top-projects-ask__voice[aria-pressed="true"] .top-projects-ask__voice-aura {
  opacity: 1;
  transform: scale(1);
  animation: topProjectsVoiceAura 1.35s linear infinite;
}

.top-projects-ask__form.is-voice-active .top-projects-ask__voice-core,
.top-projects-ask__voice[aria-pressed="true"] .top-projects-ask__voice-core {
  background:
    linear-gradient(
      135deg,
      rgba(47, 60, 80, 0.26),
      rgba(55, 71, 96, 0.22),
      rgba(255, 255, 255, 0.10)
    ) !important;
  animation: topProjectsVoicePulse 1.05s ease-in-out infinite;
}

.top-projects-ask__form.is-voice-active .top-projects-ask__voice-icon,
.top-projects-ask__voice[aria-pressed="true"] .top-projects-ask__voice-icon {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 10px rgba(47, 60, 80, 0.40)) !important;
}

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

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

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

/* =========================
   Voice popover — EXACT Home Search colors
========================= */

.top-projects-ask__voice-popover {
  position: absolute;
  right: 128px;
  bottom: 70px;
  z-index: 30;

  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 {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.top-projects-ask__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(47, 60, 80, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.94), rgba(23, 28, 36, 0.90)) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;

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

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

  background: rgba(23, 28, 36, 0.92) !important;
  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 {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;

  background: #ffffff !important;
  box-shadow:
    0 0 0 8px rgba(47, 60, 80, 0.18),
    0 0 22px rgba(47, 60, 80, 0.52) !important;

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

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

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

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

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

.top-projects-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 {
  margin-left: auto;
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.top-projects-ask__voice-bars i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84) !important;
  animation: topProjectsVoiceBars .8s ease-in-out infinite;
}

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

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

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

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

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

/* =========================
   Ask button
========================= */

.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:
    linear-gradient(
      90deg,
      var(--top-projects-cta-left) 0%,
      var(--top-projects-cta-right) 100%
    );
  box-shadow:
    0 12px 28px rgba(10,16,26,0.28),
    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: brightness(1.08);
  box-shadow:
    0 18px 38px rgba(10,16,26,0.38),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

/* =========================
   Home Top Developers
========================= */
.home-top-developers {
  --top-developers-bg-1: #070809;
  --top-developers-bg-2: #0e1117;
  --top-developers-bg-3: #171c24;
  --top-developers-bg-4: #090a0d;

  --top-developers-blue-1: #2f3c50;
  --top-developers-blue-2: #5a6d88;
  --top-developers-blue-3: #667b99;
  --top-developers-blue-4: #354760;

  --top-developers-cta-left: #5a6d88;
  --top-developers-cta-right: #2d3a50;
  --top-developers-cta-hover-left: #667b99;
  --top-developers-cta-hover-right: #354760;

  position: relative;
  padding: 74px 60px 74px;
  overflow: hidden;
  color: #ffffff;

  background:
    radial-gradient(circle at 16% 8%, rgba(90, 109, 136, 0.18), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(47, 60, 80, 0.28), transparent 34%),
    radial-gradient(circle at 50% 76%, rgba(102, 123, 153, 0.10), transparent 36%),
    linear-gradient(135deg, #070809 0%, #0e1117 42%, #171c24 74%, #090a0d 100%);
}

.home-top-developers::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.18;
  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.12) 0%, transparent 36%, rgba(0,0,0,0.38) 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.50);
  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.64);
  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: #111821;
  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.10) brightness(1.11);
}

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

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

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

.top-developer-card:hover {
  border-color: rgba(90, 109, 136, 0.34);
  box-shadow:
    0 44px 132px rgba(0,0,0,0.58),
    0 0 0 1px rgba(90, 109, 136, 0.12),
    0 0 58px rgba(47, 60, 80, 0.18),
    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);
  filter: saturate(0.98) brightness(0.96) contrast(1.01);
  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);
  filter: saturate(1.02) brightness(0.99) contrast(1.02);
}

.top-developer-card:hover .top-developer-card__img {
  transform: scale(1.10);
  filter: saturate(1.05) brightness(1.01) contrast(1.03);
}

.top-developer-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.10) 36%, rgba(0,0,0,0.66) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.36) 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.86);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  background: rgba(23, 28, 36, 0.38);
  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.78);
  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(90, 109, 136, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(23, 28, 36, 0.96), rgba(8, 10, 14, 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: #ffffff;
  box-shadow:
    0 0 0 8px rgba(90, 109, 136, 0.16),
    0 0 22px rgba(90, 109, 136, 0.52);
}

.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(90, 109, 136, 0.14), transparent 24%),
    radial-gradient(circle at 78% 45%, rgba(47, 60, 80, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(23, 28, 36, 0.96), rgba(8, 10, 14, 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: visible;

  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(90,109,136,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: #ffffff;
  box-shadow:
    0 0 0 7px rgba(90,109,136,0.16),
    0 0 18px rgba(90,109,136,0.52);
}

.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);
}

/* =========================
   Voice Ask Controls — same palette as Search
========================= */
.top-developers-ask__form.is-voice-active {
  border-color: rgba(47, 60, 80, 0.50);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(47, 60, 80, 0.16),
    0 0 48px rgba(47, 60, 80, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.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.075);
  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);

  overflow: visible;
  isolation: isolate;

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

.top-developers-ask__voice:hover {
  transform: translateY(-2px);
  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.32), transparent 40%),
    rgba(255, 255, 255, 0.12);
  border-color: rgba(47, 60, 80, 0.34);
  box-shadow:
    0 0 34px rgba(47, 60, 80, 0.22),
    0 14px 34px rgba(0, 0, 0, 0.26);
}

.top-developers-ask__voice-aura {
  position: absolute;
  inset: -7px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;
  background:
    conic-gradient(
      from 180deg,
      rgba(47, 60, 80, 0),
      rgba(47, 60, 80, 0.52),
      rgba(55, 71, 96, 0.42),
      rgba(255, 255, 255, 0.18),
      rgba(47, 60, 80, 0)
    );
  filter: blur(8px);
  transform: scale(0.88);
  transition: opacity .24s ease, transform .24s ease;
}

.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-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-developers-ask__voice:hover .top-developers-ask__voice-icon {
  opacity: 0.96;
  transform: scale(1.04);
}

.top-developers-ask__form.is-voice-active .top-developers-ask__voice {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(47, 60, 80, 0.42);
  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.34), transparent 40%),
    rgba(255, 255, 255, 0.10);

  box-shadow:
    0 0 0 1px rgba(47, 60, 80, 0.14),
    0 0 34px rgba(47, 60, 80, 0.24),
    0 16px 40px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

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

.top-developers-ask__form.is-voice-active .top-developers-ask__voice-core {
  background:
    linear-gradient(
      135deg,
      rgba(47, 60, 80, 0.26),
      rgba(55, 71, 96, 0.22),
      rgba(255, 255, 255, 0.10)
    );
  animation: topDevelopersVoicePulse 1.05s ease-in-out infinite;
}

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

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

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

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

/* =========================
   Voice Popover — same palette as Search
========================= */
.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-developers-ask__form.is-voice-active .top-developers-ask__voice-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.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(47, 60, 80, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.94), rgba(23, 28, 36, 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-developers-ask__voice-popover-inner::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);

  background: rgba(23, 28, 36, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

  background: #ffffff;
  box-shadow:
    0 0 0 8px rgba(47, 60, 80, 0.18),
    0 0 22px rgba(47, 60, 80, 0.52);

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

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

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

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

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

.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-developers-ask__voice-bars {
  margin-left: auto;
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

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

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

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

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

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

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

/* =========================
   Ask Button
========================= */
.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:
    linear-gradient(
      90deg,
      var(--top-developers-cta-left) 0%,
      var(--top-developers-cta-right) 100%
    );
  box-shadow:
    0 12px 28px rgba(10, 16, 26, 0.28),
    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: brightness(1.08);
  box-shadow:
    0 18px 38px rgba(10, 16, 26, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

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

  .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-developers {
    padding: 66px 18px 66px;
  }

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

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

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

  .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-developers-ask {
    width: 100%;
    height: auto;
    min-height: 58px;
    margin-top: 24px;
  }

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

  .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-developers-ask:not(.is-open) .top-developers-ask__form {
    position: absolute;
    inset: 0;
  }

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

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

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

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

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

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

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

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

/* =========================
   Home Intent Block — compact
========================= */
.home-intent {
  --intent-bg-light-1: #f8f5ef;
  --intent-bg-light-2: #f1ece3;
  --intent-bg-light-3: #dfe7ee;

  --intent-dark-1: #070809;
  --intent-dark-2: #0e1117;
  --intent-dark-3: #171c24;
  --intent-dark-4: #2f3c50;

  --intent-cta-left: #5a6d88;
  --intent-cta-right: #2d3a50;
  --intent-cta-hover-left: #667b99;
  --intent-cta-hover-right: #354760;

  position: relative;
  padding: 64px 60px 68px;
  overflow: hidden;
  color: #111317;

  background:
    radial-gradient(circle at 82% 4%, rgba(47, 60, 80, 0.16), transparent 32%),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(135deg, #f8f5ef 0%, #f1ece3 42%, #dfe7ee 100%);
}

.home-intent::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 28, 36, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 28, 36, 0.08) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.36;
  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(31, 37, 45, 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,19,23,0.44);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-intent__title {
  max-width: 940px;
  margin: 0;
  color: #111317;
  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,19,23,0.58);
  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: #151923;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23,28,36,0.055);
  box-shadow:
    0 10px 26px rgba(31,37,45,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(90,109,136,0.22);
  box-shadow:
    0 18px 38px rgba(31,37,45,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: #111317;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

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

.home-intent-route__arrow {
  flex: 0 0 auto;
  color: #5a6d88;
  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(90,109,136,0.20), transparent 28%),
    linear-gradient(135deg, rgba(23,28,36,0.96), rgba(8,10,14,0.94));
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow:
    0 16px 38px rgba(31,37,45,0.16),
    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: #ffffff;
  box-shadow:
    0 0 0 7px rgba(90,109,136,0.16),
    0 0 18px rgba(90,109,136,0.52);
}

/* =========================
   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(90,109,136,0.22), transparent 28%),
    radial-gradient(circle at 70% 56%, rgba(255,255,255,0.06), transparent 30%),
    linear-gradient(135deg, #070809 0%, #0e1117 48%, #171c24 100%);

  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 30px 82px rgba(31,37,45,0.24),
    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(47,60,80,0.18), 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.48);
  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.64);
  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:
    radial-gradient(circle at 13% 50%, rgba(90,109,136,0.14), transparent 24%),
    radial-gradient(circle at 78% 45%, rgba(47,60,80,0.14), transparent 22%),
    linear-gradient(135deg, rgba(23,28,36,0.96), rgba(8,10,14,0.94));

  border: 1px solid rgba(255,255,255,0.15);
  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(47, 60, 80, 0.50);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(47, 60, 80, 0.16),
    0 0 48px rgba(47, 60, 80, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.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: #ffffff;
  box-shadow:
    0 0 0 7px rgba(90,109,136,0.16),
    0 0 18px rgba(90,109,136,0.52);
}

.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:
    linear-gradient(
      90deg,
      var(--intent-cta-left) 0%,
      var(--intent-cta-right) 100%
    );
  box-shadow:
    0 12px 28px rgba(10,16,26,0.28),
    inset 0 1px 0 rgba(255,255,255,0.22);

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

.intent-ask__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  background:
    linear-gradient(
      90deg,
      var(--intent-cta-hover-left) 0%,
      var(--intent-cta-hover-right) 100%
    );
  box-shadow:
    0 18px 38px rgba(10,16,26,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.075);
  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);

  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:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.32), transparent 40%),
    rgba(255, 255, 255, 0.12);
  border-color: rgba(47, 60, 80, 0.34);
  box-shadow:
    0 0 34px rgba(47, 60, 80, 0.22),
    0 14px 34px rgba(0, 0, 0, 0.26);
}

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

  background:
    conic-gradient(
      from 180deg,
      rgba(47, 60, 80, 0),
      rgba(47, 60, 80, 0.52),
      rgba(55, 71, 96, 0.42),
      rgba(255, 255, 255, 0.18),
      rgba(47, 60, 80, 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(47, 60, 80, 0.42);

  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.34), transparent 40%),
    rgba(255, 255, 255, 0.10);

  box-shadow:
    0 0 0 1px rgba(47, 60, 80, 0.14),
    0 0 34px rgba(47, 60, 80, 0.24),
    0 16px 40px rgba(0, 0, 0, 0.30),
    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(47, 60, 80, 0.26),
      rgba(55, 71, 96, 0.22),
      rgba(255, 255, 255, 0.10)
    );
  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(47, 60, 80, 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(47, 60, 80, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.94), rgba(23, 28, 36, 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(23, 28, 36, 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: #ffffff;
  box-shadow:
    0 0 0 8px rgba(47, 60, 80, 0.18),
    0 0 22px rgba(47, 60, 80, 0.52);

  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(255, 255, 255, 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(90,109,136,0.22);
  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 — Invest AI Search Output
========================= */

.results {
  display: none;
  position: relative;

  padding: 150px 0 0;

  background:
    radial-gradient(circle at 82% 0%, rgba(47, 60, 80, 0.12), transparent 34%),
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.92), transparent 32%),
    linear-gradient(135deg, #f8f5ef 0%, #f1ece3 42%, #dfe7ee 100%);

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

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

  background-image:
    linear-gradient(rgba(23, 28, 36, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 28, 36, 0.075) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.34;
}

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

/* =========================
  Fixed AI Search Bar
  fixed under header, same glass family
========================= */

.results__sticky {
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  z-index: 1000;

  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: min(70vw, 1180px);
  height: 52px;
  padding: 5px;

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

  border-radius: 999px;

  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.34), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.18));

  border: 1px solid rgba(255, 255, 255, 0.34);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 16px 42px rgba(31, 37, 45, 0.10),
    0 0 0 1px rgba(23, 28, 36, 0.025);

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

  pointer-events: auto;

  transition:
    grid-template-columns .26s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.results__bar.has-query {
  grid-template-columns: auto minmax(0, 1fr) 42px 42px 42px;
}

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

  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.22),
      transparent 26%,
      transparent 74%,
      rgba(255, 255, 255, 0.08)
    );
}

/* =========================
  Brand / Invest AI
  blue transparent pill
========================= */

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

  height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  border: 0;

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

  color: #ffffff;
  font-family: var(--font-main);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;

  background:
    radial-gradient(circle at 18% 48%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(
      90deg,
      rgba(47, 60, 80, 0.78) 0%,
      rgba(23, 28, 36, 0.78) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.16);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px rgba(31, 37, 45, 0.12);

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

  cursor: pointer;

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

.results__brand:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 18% 48%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(
      90deg,
      rgba(55, 71, 96, 0.84) 0%,
      rgba(32, 38, 50, 0.84) 100%
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 30px rgba(31, 37, 45, 0.16);
}

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

  background: #ffffff;
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.10),
    0 0 16px rgba(255, 255, 255, 0.48);
}

/* =========================
  Input
========================= */

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

  min-width: 0;
  width: 100%;

  color: rgba(23, 28, 36, 0.72);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 430;
  line-height: 1;

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

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

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

.results__query--input::placeholder {
  color: rgba(23, 28, 36, 0.38);
}

/* =========================
  Send button
  appears only when user types
========================= */

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

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

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

  color: #ffffff;
  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transform: scale(0.72) translateX(8px);

  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(
      90deg,
      rgba(47, 60, 80, 0.92) 0%,
      rgba(23, 28, 36, 0.92) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.16);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px rgba(31, 37, 45, 0.16);

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

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

.results__bar.has-query .results__send {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateX(0);
}

.results__send:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.08);

  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(
      90deg,
      rgba(55, 71, 96, 0.94) 0%,
      rgba(32, 38, 50, 0.94) 100%
    );

  border-color: rgba(255, 255, 255, 0.24);

  box-shadow:
    0 0 24px rgba(47, 60, 80, 0.16),
    0 14px 30px rgba(31, 37, 45, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.results__send:active {
  transform: scale(0.98);
}

.results__send-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.results__send-icon path {
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* =========================
  Voice + Close
  grey icons inside transparent glass pills
========================= */

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

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

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

  color: rgba(23, 28, 36, 0.46);
  cursor: pointer;

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.18));

  border: 1px solid rgba(255, 255, 255, 0.28);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 8px 20px rgba(31, 37, 45, 0.07);

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

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

.results__voice:hover,
.results__voice.is-active {
  transform: translateY(-2px) scale(1.04);

  background:
    radial-gradient(circle at 35% 25%, rgba(47, 60, 80, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.22));

  border-color: rgba(255, 255, 255, 0.36);

  box-shadow:
    0 0 24px rgba(47, 60, 80, 0.10),
    0 12px 28px rgba(31, 37, 45, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.results__voice-aura {
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;

  background:
    conic-gradient(
      from 180deg,
      rgba(47, 60, 80, 0),
      rgba(47, 60, 80, 0.48),
      rgba(55, 71, 96, 0.38),
      rgba(255, 255, 255, 0.24),
      rgba(47, 60, 80, 0)
    );

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

.results__voice.is-active .results__voice-aura,
.results__bar.is-voice-active .results__voice-aura {
  opacity: 1;
  transform: scale(1);
  animation: resultsVoiceSpin 1.35s linear infinite;
}

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

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

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

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

  background: transparent;

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

.results__voice.is-active .results__voice-core,
.results__bar.is-voice-active .results__voice-core {
  background:
    linear-gradient(
      135deg,
      rgba(47, 60, 80, 0.18),
      rgba(55, 71, 96, 0.14),
      rgba(255, 255, 255, 0.24)
    );
  animation: resultsVoicePulse 1.05s ease-in-out infinite;
}

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

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

.results__voice-core img {
  width: 17px;
  height: 17px;
  display: block;
  object-fit: contain;
  opacity: 0.58;

  filter:
    brightness(0)
    saturate(100%)
    invert(17%)
    sepia(12%)
    saturate(800%)
    hue-rotate(178deg)
    brightness(93%)
    contrast(90%);

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

.results__voice:hover .results__voice-core img,
.results__voice.is-active .results__voice-core img,
.results__bar.is-voice-active .results__voice-core img {
  opacity: 0.84;
  transform: scale(1.04);
  filter:
    brightness(0)
    saturate(100%)
    invert(17%)
    sepia(16%)
    saturate(950%)
    hue-rotate(178deg)
    brightness(90%)
    contrast(96%)
    drop-shadow(0 0 8px rgba(47, 60, 80, 0.20));
}

.results__clear:hover {
  transform: rotate(90deg) scale(1.04);

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.22));

  border-color: rgba(255, 255, 255, 0.36);
}

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

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

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

  background: rgba(23, 28, 36, 0.44);
}

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

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

/* =========================
  Voice Popover
========================= */

.results__voice-popover {
  position: absolute;
  right: 88px;
  top: calc(100% + 12px);
  z-index: 30;

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

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

.results__bar.is-voice-active .results__voice-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.results__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(47, 60, 80, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.94), rgba(23, 28, 36, 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);
}

.results__voice-popover-inner::after {
  content: "";
  position: absolute;
  right: 34px;
  top: -8px;

  width: 16px;
  height: 16px;
  transform: rotate(45deg);

  background: rgba(18, 22, 29, 0.92);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

  background: #ffffff;
  box-shadow:
    0 0 0 8px rgba(47, 60, 80, 0.18),
    0 0 22px rgba(47, 60, 80, 0.52);

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

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

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

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

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

.results__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;
}

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

.results__voice-bars i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  animation: resultsVoiceBars .8s ease-in-out infinite;
}

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

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

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

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

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

/* =========================
  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(90, 109, 136, 0.46),
      rgba(47, 60, 80, 0.28),
      rgba(255, 255, 255, 0.20)
    );

  -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(17, 24, 35, 0.88), rgba(47, 60, 80, 0.66));

  box-shadow:
    0 22px 64px rgba(31, 37, 45, 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(90, 109, 136, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(17, 24, 35, 0.95), rgba(47, 60, 80, 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, 28, 36, 0.25), rgba(47, 60, 80, 0.16));

  border: 1px solid rgba(255, 255, 255, 0.095);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  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__bar {
    width: min(82vw, 980px);
  }

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

  .results__sticky {
    padding-left: 54px;
  }

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

@media (max-width: 980px) {
  .results__bar {
    width: 100%;
  }

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

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

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

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

  .results__bar {
    width: 100%;
    height: auto;
    min-height: 58px;
    grid-template-columns: 1fr 0 42px 42px;
    gap: 8px;
    padding: 8px;
    border-radius: 28px;
  }

  .results__bar.has-query {
    grid-template-columns: 1fr 42px 42px 42px;
  }

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

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

  .results__send,
  .results__voice,
  .results__clear {
    width: 42px;
    height: 42px;
  }

  .results__voice-popover {
    right: 0;
    left: 0;
    top: calc(100% + 12px);
  }

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

  .results__voice-text {
    max-width: 180px;
  }

  .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 — Valentyna Kolomiiets / Invest AI
========================= */

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

/* =========================
   Project Header — same style as main header
========================= */

.pd-header {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 80;

  padding: 0 34px;
  pointer-events: none;

  font-family: var(--font-main);
}

.pd-header,
.pd-header * {
  box-sizing: border-box;
}

.pd-header a,
.pd-header a:hover,
.pd-header a:focus,
.pd-header a:visited,
.pd-header a:active {
  color: inherit;
  text-decoration: none !important;
  outline: none;
}

.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 / Logo
========================= */

.pd-header__badge {
  justify-self: start;

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

  height: 50px;
  padding: 0 22px 0 18px;
  border-radius: 999px;

  color: var(--alex-text, #f6f2ec) !important;

  background: var(--alex-glass, rgba(255, 255, 255, 0.055));
  border: 1px solid var(--alex-glass-border, rgba(255, 255, 255, 0.145));

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    var(--alex-shadow, 0 18px 60px rgba(0, 0, 0, 0.25));

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

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

.pd-header__badge:hover {
  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.22);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    var(--alex-shadow-strong, 0 24px 70px rgba(0, 0, 0, 0.34));
}

.pd-header__badge-dot {
  position: relative;

  width: 24px;
  height: 24px;
  flex: 0 0 24px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    linear-gradient(
      90deg,
      var(--alex-cta-left, #2f3c50) 0%,
      var(--alex-cta-right, #171c24) 100%
    );

  border: 0;
  box-shadow: none;
}

.pd-header__badge-dot::after {
  content: "";

  width: 7px;
  height: 7px;
  border-radius: 50%;

  background: #ffffff;
  box-shadow: none;
}

.pd-header__badge-text {
  display: inline-block;

  color: var(--alex-text, #f6f2ec) !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;

  transform: none;
}

/* =========================
   Navigation
========================= */

.pd-header__nav {
  justify-self: center;

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

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

  background: var(--alex-glass, rgba(255, 255, 255, 0.055));
  border: 1px solid var(--alex-glass-border, rgba(255, 255, 255, 0.145));

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    var(--alex-shadow, 0 18px 60px rgba(0, 0, 0, 0.25));

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

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

.pd-header__nav:hover {
  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    var(--alex-shadow-strong, 0 24px 70px rgba(0, 0, 0, 0.34));
}

.pd-header__nav-link {
  position: relative;

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

  height: 42px;
  min-width: 108px;
  padding: 0 18px;
  border-radius: 999px;

  color: rgba(246, 242, 236, 0.74) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;

  background: transparent;
  border: 0;
  text-decoration: none !important;

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

.pd-header__nav-link::before {
  display: none;
}

.pd-header__nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.085);
  transform: none;
}

.pd-header__nav-link.is-active {
  color: #ffffff !important;

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

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.22);
}

/* AI link should not have separate blue/purple styling */
.pd-header__nav-link--ai {
  min-width: 108px;
}

.pd-header__nav-link--ai:hover,
.pd-header__nav-link--ai.is-active {
  color: #ffffff !important;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.11);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.22);
}

/* =========================
   CTA — same as main header
========================= */

.pd-header__right {
  justify-self: end;

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

.pd-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 50px;
  padding: 0 26px;
  border-radius: 999px;

  color: #ffffff !important;

  background:
    linear-gradient(
      90deg,
      var(--alex-cta-left, #2f3c50) 0%,
      var(--alex-cta-right, #171c24) 100%
    );

  border: 0;

  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;

  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);

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

.pd-header__cta:hover {
  color: #ffffff !important;

  filter: brightness(1.08);
  transform: translateY(-2px);

  background:
    linear-gradient(
      90deg,
      var(--alex-cta-hover-left, #374760) 0%,
      var(--alex-cta-hover-right, #202632) 100%
    );

  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

/* subtle top readability, same logic as main header */
.pd-header::before {
  content: "";
  position: absolute;
  inset: -22px 0 auto 0;
  height: 92px;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.48) 0%,
      rgba(8, 8, 8, 0.22) 58%,
      rgba(8, 8, 8, 0) 100%
    );
}

/* =========================
   Project Header Responsive
========================= */

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

  .pd-header__nav-link {
    min-width: 96px;
    padding: 0 16px;
    font-size: 13.5px;
  }

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

  .pd-header__badge {
    height: 48px;
    padding: 0 20px 0 17px;
  }

  .pd-header__badge-text {
    font-size: 12.5px;
    letter-spacing: 0.14em;
  }

  .pd-header__cta {
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
  }
}

@media (max-width: 1120px) {
  .pd-header__inner {
    grid-template-columns: 1fr auto;
  }

  .pd-header__nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .pd-header {
    top: 14px;
    padding: 0 12px;
  }

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

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

  .pd-header__badge-text {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .pd-header__badge-dot {
    width: 22px;
    height: 22px;
  }

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

  .pd-header__cta {
    height: 44px;
    padding: 0 20px;
    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(90, 109, 136, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(47, 60, 80, 0.20), transparent 34%),
    linear-gradient(135deg, #070809 0%, #0e1117 54%, #171c24 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(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 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: #171c24;
  border: 1px solid rgba(255, 255, 255, 0.14);
  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) brightness(0.92);
  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.03) contrast(1.01) brightness(0.94);
}

.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) brightness(0.9);
}

.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:
    linear-gradient(135deg, rgba(47, 60, 80, 0.34), rgba(23, 28, 36, 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:
    linear-gradient(135deg, rgba(90, 109, 136, 0.46), rgba(47, 60, 80, 0.42));

  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(23, 28, 36, 0.28), rgba(47, 60, 80, 0.14));

  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: 560;
  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(23, 28, 36, 0.30), rgba(47, 60, 80, 0.16));

  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(23, 28, 36, 0.78), rgba(47, 60, 80, 0.54));

  border: 1px solid rgba(255, 255, 255, 0.15);

  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(90, 109, 136, 0.42);

  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(90, 109, 136, 0.10),
    0 0 48px rgba(47, 60, 80, 0.20),
    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: 11.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));

  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: #ffffff;
  box-shadow:
    0 0 0 7px rgba(90, 109, 136, 0.13),
    0 0 18px rgba(90, 109, 136, 0.58);
}

.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: 16px;
  font-weight: 390;
}

.pd-project-ask__input::placeholder {
  color: rgba(255, 255, 255, 0.52);
  font-size: 16px;
}

.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(47, 60, 80, 0),
      rgba(90, 109, 136, 0.48),
      rgba(47, 60, 80, 0.44),
      rgba(255, 255, 255, 0.24),
      rgba(47, 60, 80, 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(90, 109, 136, 0.42);

  background:
    radial-gradient(circle at 35% 25%, rgba(90, 109, 136, 0.22), transparent 40%),
    rgba(255, 255, 255, 0.10);

  box-shadow:
    0 0 0 1px rgba(90, 109, 136, 0.14),
    0 0 34px rgba(47, 60, 80, 0.28),
    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(90, 109, 136, 0.22), rgba(47, 60, 80, 0.18), rgba(255, 255, 255, 0.16));
  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(90, 109, 136, 0.42));
}

@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(90, 109, 136, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.94), rgba(23, 28, 36, 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(18, 22, 29, 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: #ffffff;
  box-shadow:
    0 0 0 8px rgba(90, 109, 136, 0.14),
    0 0 20px rgba(90, 109, 136, 0.62);

  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: 13px;
  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: 12px;
  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(255, 255, 255, 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 {
  flex: 0 0 auto;

  height: 50px;
  min-width: 118px;
  border: 0;
  border-radius: 999px;

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

  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;

  background:
    linear-gradient(
      90deg,
      #5a6d88 0%,
      #2d3a50 100%
    );

  box-shadow:
    0 14px 34px rgba(10, 16, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

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

.pd-project-ask__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  background:
    linear-gradient(
      90deg,
      #667b99 0%,
      #354760 100%
    );

  box-shadow:
    0 18px 42px rgba(10, 16, 26, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.pd-project-ask__button:active {
  transform: translateY(0);
  filter: brightness(1.02);

  box-shadow:
    0 10px 26px rgba(10, 16, 26, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* =========================
   Project Hero Ask CTA
   Same as main search CTA
========================= */

.pd-project-ask__button {
  flex: 0 0 auto;

  height: 50px;
  min-width: 118px;
  border: 0;
  border-radius: 999px;

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

  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;

  background:
    linear-gradient(
      90deg,
      #5a6d88 0%,
      #2d3a50 100%
    );

  box-shadow:
    0 14px 34px rgba(10, 16, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

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

.pd-project-ask__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  background:
    linear-gradient(
      90deg,
      #667b99 0%,
      #354760 100%
    );

  box-shadow:
    0 18px 42px rgba(10, 16, 26, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.pd-project-ask__button:active {
  transform: translateY(0);
  filter: brightness(1.02);

  box-shadow:
    0 10px 26px rgba(10, 16, 26, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* =========================
   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(90, 109, 136, 0.10), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(47, 60, 80, 0.14), transparent 32%),
    linear-gradient(135deg, #f8f5ef 0%, #f1ece3 42%, #dfe7ee 100%);
}

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

  background-image:
    linear-gradient(rgba(23, 28, 36, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 28, 36, 0.06) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.32;
}

.pd-project-content__inner {
  position: relative;
  z-index: 2;

  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(23, 28, 36, 0.10),
    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(23, 28, 36, 0.07);

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

.pd-project-card__head h3 {
  margin: 0;

  color: #171c24;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.pd-project-card__head span {
  color: rgba(23, 28, 36, 0.46);
  font-size: 12px;
  font-weight: 600;
}

.pd-project-card__body {
  padding: 24px 26px 26px;
}

.pd-project-description {
  margin: 0;

  color: rgba(23, 28, 36, 0.66);
  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(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 28, 36, 0.055);
}

.pd-detail-pill span {
  display: block;
  margin-bottom: 7px;

  color: rgba(23, 28, 36, 0.45);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pd-detail-pill strong {
  display: block;

  color: #171c24;
  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(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 28, 36, 0.055);
}

.pd-nearby-item strong {
  color: #171c24;
  font-size: 15px;
  font-weight: 650;
}

.pd-nearby-item span {
  color: rgba(23, 28, 36, 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(90, 109, 136, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.52));

  border: 1px solid rgba(23, 28, 36, 0.055);
}

.pd-location-box span {
  display: block;
  margin-bottom: 8px;

  color: rgba(23, 28, 36, 0.45);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pd-location-box strong {
  color: #171c24;
  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:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(90deg, #5a6d88 0%, #2f3c50 100%);

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 14px 34px rgba(23, 28, 36, 0.24),
    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(90, 109, 136, 0.20), transparent 28%),
    linear-gradient(135deg, #171c24, #070809);

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.32),
    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,
    background .22s ease,
    border-color .22s ease;
}

.pd-project-actions a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.pd-project-actions a:first-child,
.pd-project-actions a:nth-child(2) {
  color: #ffffff;

  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(90deg, #5a6d88 0%, #2f3c50 100%);

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 14px 32px rgba(23, 28, 36, 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:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));

  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 — Valentyna / Invest AI
========================= */

html.pd-modal-open {
  overflow: hidden;
}

.pd-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 999;

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

  padding: 34px 220px;

  opacity: 0;
  pointer-events: none;

  transition: opacity .28s ease;
}

.pd-lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   Backdrop
========================= */

.pd-lead-modal__backdrop {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 18% 8%, rgba(90, 109, 136, 0.18), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(47, 60, 80, 0.22), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(7, 8, 9, 0.52);

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

/* =========================
   Panel
========================= */

.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 82% 0%, rgba(90, 109, 136, 0.16), transparent 34%),
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.065), transparent 32%),
    linear-gradient(
      135deg,
      rgba(7, 8, 9, 0.68) 0%,
      rgba(23, 28, 36, 0.58) 48%,
      rgba(47, 60, 80, 0.46) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.16);

  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);

  backdrop-filter: blur(36px) saturate(1.04);
  -webkit-backdrop-filter: blur(36px) saturate(1.04);

  transform: translateY(18px) scale(0.975);

  transition:
    transform .42s cubic-bezier(.16, 1, .3, 1),
    background .32s ease,
    box-shadow .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.10),
      transparent 22%,
      transparent 72%,
      rgba(90, 109, 136, 0.08)
    );

  opacity: 0.72;
}

.pd-lead-modal__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.14;
}

/* =========================
   Close
========================= */

.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:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 16px 38px rgba(0, 0, 0, 0.22);

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

  cursor: pointer;

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

.pd-lead-modal__close:hover {
  transform: rotate(90deg) scale(1.04);

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));

  border-color: rgba(255, 255, 255, 0.24);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 20px 46px rgba(0, 0, 0, 0.28);
}

/* =========================
   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(255, 255, 255, 0.58);
  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:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.08);

  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:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.06));

  border-color: rgba(90, 109, 136, 0.48);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 3px rgba(90, 109, 136, 0.10),
    0 14px 36px rgba(0, 0, 0, 0.12);
}

.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(90, 109, 136, 0.09), transparent 32%),
    linear-gradient(135deg, rgba(7, 8, 9, 0.58), rgba(23, 28, 36, 0.46));

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    0 18px 54px rgba(0, 0, 0, 0.18);

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

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

.pd-lead-ai-row.is-voice-active {
  border-color: rgba(90, 109, 136, 0.42);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 20px 64px rgba(0, 0, 0, 0.28),
    0 0 48px rgba(47, 60, 80, 0.22);
}

.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:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04));

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.pd-lead-ai-row__badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 0 0 8px rgba(90, 109, 136, 0.14),
    0 0 18px rgba(90, 109, 136, 0.62);
}

.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 — same effect as search
========================= */

.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:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 14px 34px rgba(0, 0, 0, 0.20);

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

  overflow: visible;
  isolation: isolate;

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

.pd-lead-voice:hover {
  transform: translateY(-2px);

  background:
    radial-gradient(circle at 35% 25%, rgba(90, 109, 136, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.12);

  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);
}

.pd-lead-voice.is-active {
  transform: translateY(-2px) scale(1.04);

  background:
    radial-gradient(circle at 35% 25%, rgba(90, 109, 136, 0.22), transparent 40%),
    rgba(255, 255, 255, 0.12);

  border-color: rgba(90, 109, 136, 0.42);

  box-shadow:
    0 0 0 1px rgba(90, 109, 136, 0.14),
    0 0 34px rgba(47, 60, 80, 0.28),
    0 16px 40px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pd-lead-voice__aura {
  position: absolute;
  inset: -8px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;

  background:
    conic-gradient(
      from 180deg,
      rgba(47, 60, 80, 0),
      rgba(90, 109, 136, 0.48),
      rgba(47, 60, 80, 0.44),
      rgba(255, 255, 255, 0.24),
      rgba(47, 60, 80, 0)
    );

  filter: blur(8px);
  transform: scale(0.88);

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

.pd-lead-voice.is-active .pd-lead-voice__aura {
  opacity: 1;
  transform: scale(1);
  animation: pdLeadVoiceAura 1.35s linear infinite;
}

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

.pd-lead-voice__core {
  position: relative;
  z-index: 2;

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

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

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

.pd-lead-voice.is-active .pd-lead-voice__core {
  background:
    linear-gradient(
      135deg,
      rgba(90, 109, 136, 0.22),
      rgba(47, 60, 80, 0.18),
      rgba(255, 255, 255, 0.16)
    );

  animation: pdLeadVoicePulse 1.05s ease-in-out infinite;
}

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

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

.pd-lead-voice__core img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;

  opacity: 0.82;
  filter: brightness(0) invert(1);

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

.pd-lead-voice:hover .pd-lead-voice__core img,
.pd-lead-voice.is-active .pd-lead-voice__core img {
  opacity: 1;
  transform: scale(1.04);

  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 10px rgba(90, 109, 136, 0.42));
}

/* =========================
   Voice Popover — same as search
========================= */

.pd-lead-voice-popover {
  position: absolute;
  right: 132px;
  bottom: 82px;
  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-lead-ai-row.is-voice-active .pd-lead-voice-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pd-lead-voice-popover__inner {
  position: relative;

  min-width: 292px;
  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(90, 109, 136, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.94), rgba(23, 28, 36, 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-lead-voice-popover__inner::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: -8px;

  width: 15px;
  height: 15px;

  transform: rotate(45deg);

  background: rgba(18, 22, 29, 0.92);

  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pd-lead-voice-popover__dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 0 0 8px rgba(90, 109, 136, 0.14),
    0 0 20px rgba(90, 109, 136, 0.62);

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

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

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

.pd-lead-voice-popover__copy {
  min-width: 0;
}

.pd-lead-voice-popover__status,
.pd-lead-voice-popover__text {
  display: block;
}

.pd-lead-voice-popover__status {
  color: rgba(255, 255, 255, 0.96);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.pd-lead-voice-popover__text {
  max-width: 190px;
  margin-top: 4px;

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

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

.pd-lead-voice-popover__bars {
  margin-left: auto;
  height: 20px;

  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.pd-lead-voice-popover__bars i {
  display: block;

  width: 3px;
  height: 7px;
  border-radius: 999px;

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

  animation: pdLeadVoiceBars .8s ease-in-out infinite;
}

.pd-lead-voice-popover__bars i:nth-child(2) { animation-delay: .12s; }
.pd-lead-voice-popover__bars i:nth-child(3) { animation-delay: .24s; }
.pd-lead-voice-popover__bars i:nth-child(4) { animation-delay: .36s; }

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

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

/* =========================
   Send button inside row
   Same CTA color family as main search
========================= */

.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:
    linear-gradient(
      90deg,
      #5a6d88 0%,
      #2d3a50 100%
    );

  box-shadow:
    0 16px 38px rgba(10, 16, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

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

.pd-lead-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  background:
    linear-gradient(
      90deg,
      #667b99 0%,
      #354760 100%
    );

  box-shadow:
    0 22px 50px rgba(10, 16, 26, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.pd-lead-submit.is-done {
  background:
    linear-gradient(
      90deg,
      #5f7f69 0%,
      #2f5540 100%
    );
}

/* 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-popover {
    left: 0;
    right: 0;
    bottom: calc(100% + 12px);
  }

  .pd-lead-voice-popover__inner {
    min-width: 0;
    width: 100%;
  }

  .pd-lead-voice-popover__text {
    max-width: 62vw;
  }

  .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 — Valentyna Kolomiiets
========================= */

.site-footer {
  --footer-dark-1: #070809;
  --footer-dark-2: #0e1117;
  --footer-dark-3: #171c24;
  --footer-blue: #2f3c50;
  --footer-blue-soft: #5a6d88;
  --footer-white: #ffffff;

  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  min-height: 430px;
  overflow: hidden;

  color: #ffffff;

  background:
    radial-gradient(circle at 12% 18%, rgba(90, 109, 136, 0.18), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(47, 60, 80, 0.24), transparent 34%),
    radial-gradient(circle at 52% 100%, rgba(255, 255, 255, 0.045), transparent 34%),
    linear-gradient(135deg, #070809 0%, #0e1117 46%, #171c24 100%) !important;

  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-main);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  pointer-events: none;

  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 92px 92px;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(90, 109, 136, 0.42),
      rgba(255, 255, 255, 0.20),
      transparent
    );
}

.site-footer__glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
  opacity: 0.56;
}

.site-footer__glow--left {
  left: -180px;
  top: -170px;
  background:
    radial-gradient(circle, rgba(90, 109, 136, 0.22), transparent 68%);
}

.site-footer__glow--right {
  right: -150px;
  top: -130px;
  background:
    radial-gradient(circle, rgba(47, 60, 80, 0.30), transparent 70%);
}

.site-footer__inner {
  position: relative;
  z-index: 2;

  width: 100%;
  min-height: 430px;
  max-width: none;
  margin: 0;
  padding: 64px 120px 48px;

  display: grid;
  grid-template-columns: minmax(420px, 760px) 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 78px;
  row-gap: 38px;

  background: transparent !important;
}

.site-footer * {
  color: inherit;
}

/* =========================
   Left side
========================= */

.site-footer__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.site-footer__eyebrow {
  margin: 0 0 36px;

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

  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  transform: translateY(-8px);
}

.site-footer__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;

  background: #ffffff;
  box-shadow:
    0 0 0 8px rgba(90, 109, 136, 0.16),
    0 0 20px rgba(90, 109, 136, 0.54);
}

/* =========================
   Statement
========================= */

.site-footer__statement {
  max-width: 720px;
}

.site-footer__statement h2 {
  max-width: 640px;
  margin: 0;

  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(34px, 3.2vw, 56px);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.site-footer__statement p {
  max-width: 610px;
  margin: 22px 0 0;

  color: rgba(255, 255, 255, 0.60);
  font-size: 16px;
  font-weight: 390;
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.site-footer__chips {
  margin-top: 26px;

  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.78);
  font-size: 12px;
  font-weight: 520;
  white-space: nowrap;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.035)
    );

  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 34px rgba(0, 0, 0, 0.14);

  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;
  justify-content: flex-end;
  flex-wrap: wrap;
  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.88);
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.032)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 44px rgba(0, 0, 0, 0.18);

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

  font-size: 15px;
  font-weight: 430;
  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:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.10), transparent 34%),
    linear-gradient(
      90deg,
      rgba(47, 60, 80, 0.52),
      rgba(23, 28, 36, 0.46)
    );

  border-color: rgba(90, 109, 136, 0.36);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 22px 58px rgba(0, 0, 0, 0.26),
    0 0 34px rgba(47, 60, 80, 0.18);
}

.footer-pill--primary {
  color: #ffffff;

  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.15), transparent 34%),
    linear-gradient(
      90deg,
      rgba(47, 60, 80, 0.92),
      rgba(23, 28, 36, 0.94)
    );

  border-color: rgba(255, 255, 255, 0.14);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 46px rgba(0, 0, 0, 0.24);
}

.footer-pill--primary:hover {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(
      90deg,
      rgba(90, 109, 136, 0.94),
      rgba(47, 60, 80, 0.94)
    );
}

/* =========================
   Socials
========================= */

.site-footer__social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;

  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:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.032)
    );

  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.16);

  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:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.11), transparent 36%),
    linear-gradient(
      90deg,
      rgba(47, 60, 80, 0.40),
      rgba(23, 28, 36, 0.36)
    );

  border-color: rgba(90, 109, 136, 0.30);

  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(47, 60, 80, 0.16);
}

.footer-social img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  opacity: 0.84;
  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(90, 109, 136, 0.34));
}

/* =========================
   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.60);
  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__contacts {
    justify-content: flex-start;
  }

  .site-footer__social {
    justify-content: 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: 46px 20px 34px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .site-footer__statement h2 {
    font-size: 38px;
  }

  .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__eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }

  .site-footer__statement h2 {
    font-size: 32px;
  }

  .site-footer__contacts {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-pill {
    width: 100%;
  }

  .site-footer__chips {
    gap: 8px;
  }

  .site-footer__chips span {
    font-size: 11px;
  }
}

/* =========================
   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;
}