/* =========================
   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(3, 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;
}
/* ===== Primadom-style warm theme for the first screen (feat/primadom-style, 09.11.2026) ===== */
.home-search {
  --search-accent-left: #e08a5c;
  --search-accent-right: #b8623a;
  --search-accent-hover-left: #eb9a6d;
  --search-accent-hover-right: #c46d43;
  --search-soft-blue: rgba(184, 98, 58, 0.22);
  --search-soft-blue-light: rgba(224, 138, 92, 0.14);
  padding-top: 84px;
  background:
    radial-gradient(circle at 72% 18%, rgba(184, 98, 58, 0.22), transparent 40%),
    radial-gradient(circle at 12% 16%, rgba(255, 236, 220, 0.05), transparent 30%),
    linear-gradient(180deg, #120d0a 0%, #1a130f 55%, #0d0907 100%);
}
.home-search__title { font-size: 40px; text-align: center; }
.home-search__featured-title a { color: inherit; text-decoration: none; }
.home-search__featured-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-search__chip:hover { border-color: rgba(224, 138, 92, 0.6); }
@media (max-width: 760px) {
  .home-search { padding-top: 92px; }
  .home-search__title { font-size: 26px; }
}

/* Legal / compliance note in footer (UAE advertising rules) */
.site-footer__legal {
  max-width: 980px;
  margin: 28px auto 0;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12.5px;
  line-height: 1.55;
  text-align: left;
}
.site-footer__legal p { margin: 0 0 6px; }

/* ===== AI Assistant chat window (feat/primadom-style) ===== */
.ai-chat { position: fixed; right: 22px; bottom: 22px; z-index: 9000; font-family: inherit; }
.ai-chat__pill {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; cursor: pointer;
  color: #fff; font-size: 15px; font-weight: 600;
  background: linear-gradient(90deg, #e08a5c 0%, #b8623a 100%);
  box-shadow: 0 16px 40px rgba(20,10,5,.38);
}
.ai-chat__pill-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.ai-chat.is-open .ai-chat__pill { display: none; }
.ai-chat__panel {
  width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 110px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, #1a130f 0%, #120d0a 100%); color: #f4ede7;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.ai-chat__panel[hidden] { display: none; }
.ai-chat__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ai-chat__head strong { display: block; font-size: 16px; }
.ai-chat__head span { font-size: 12px; color: rgba(244,237,231,.6); }
.ai-chat__close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.ai-chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ai-chat__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.ai-chat__msg a { color: #f0a77c; }
.ai-chat__msg--assistant { align-self: flex-start; background: rgba(255,255,255,.07); border-top-left-radius: 6px; }
.ai-chat__msg--user { align-self: flex-end; background: linear-gradient(90deg, #c8754b, #a95a35); color: #fff; border-top-right-radius: 6px; }
.ai-chat__msg.is-typing { opacity: .6; }
.ai-chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.ai-chat__input { flex: 1; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font-size: 15px; outline: none; }
.ai-chat__input:focus { border-color: rgba(224,138,92,.7); }
.ai-chat__send { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 20px; background: linear-gradient(90deg, #e08a5c, #b8623a); }
.ai-chat__note { margin: 0; padding: 0 16px 12px; font-size: 11px; line-height: 1.4; color: rgba(244,237,231,.45); }
@media (max-width: 760px) {
  .ai-chat { right: 12px; bottom: 12px; }
  .ai-chat__pill { height: 46px; padding: 0 18px; font-size: 14px; }
}

/* DLD Trakheesi QR on project pages */
.pd-project-qr{margin-left:auto;margin-right:-8px;pointer-events:auto;display:flex;align-items:center;gap:8px;padding:6px 10px 6px 6px;border-radius:14px;background:rgba(255,255,255,.92);color:#111;font-size:11px;line-height:1.2;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.pd-project-qr img{display:block;width:64px;height:64px;border-radius:8px;background:#fff}
@media (max-width:640px){.pd-project-qr img{width:52px;height:52px}}

/* ===== Client cabinet ===== */
.site-header__right,.pd-header__right{gap:10px}
.site-header__cabinet{display:inline-flex;align-items:center;justify-content:center;height:50px;padding:0 22px;border-radius:999px;pointer-events:auto;color:#111 !important;background:rgba(255,255,255,.92);border:1px solid rgba(0,0,0,.08);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-weight:600;font-size:14px;text-decoration:none;white-space:nowrap}
.pd-header .site-header__cabinet{color:#111 !important;background:rgba(255,255,255,.85);border-color:rgba(0,0,0,.08)}
@media (max-width:640px){.site-header__cabinet{height:42px;padding:0 14px;font-size:13px}}
.section-cabinet,.page-default:has(.cab){background:#F7F4EE}
.cab{max-width:1120px;margin:0 auto;padding:120px 16px 64px;color:#111}
.cab-card{max-width:560px;margin:0 auto;background:#fff;border-radius:28px;padding:36px 32px;box-shadow:0 20px 60px rgba(17,17,17,.08)}
.cab-eyebrow{margin:0 0 10px;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#8a7b62}
.cab-title{margin:0 0 12px;font-size:clamp(26px,4vw,36px);line-height:1.15;font-weight:700}
.cab-lead{margin:0 0 24px;font-size:16px;line-height:1.55;color:#4a4a4a}
.cab-form{display:grid;gap:16px}
.cab-field{display:grid;gap:6px;font-size:14px;font-weight:600}
.cab-field input{height:52px;padding:0 16px;border:1px solid #d9d4ca;border-radius:14px;font:inherit;font-weight:500;font-size:16px;background:#fbfaf7}
.cab-field input:focus{outline:2px solid #111;outline-offset:1px;background:#fff}
.cab-field small{font-weight:400;color:#777;font-size:12px}
.cab-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cab-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.45;color:#555}
.cab-consent input{margin-top:2px;width:18px;height:18px;flex:none}
.cab-error{margin:0;padding:10px 14px;border-radius:12px;background:#fdecea;color:#a12a1f;font-size:14px}
.cab-submit{display:inline-flex;align-items:center;justify-content:center;height:54px;padding:0 28px;border:0;border-radius:999px;background:#111;color:#fff !important;font:inherit;font-weight:600;font-size:16px;cursor:pointer;text-decoration:none}
.cab-submit:disabled{opacity:.6;cursor:wait}
.cab-ghost{height:54px;padding:0 24px;border-radius:999px;border:1px solid #111;background:transparent;font:inherit;font-weight:600;cursor:pointer}
.cab-actions{display:flex;flex-wrap:wrap;gap:12px}
.cab-welcome{max-width:none;margin-bottom:40px}
.cab-h2{margin:0 0 18px;font-size:24px}
.cab-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.cab-proj{display:flex;flex-direction:column;background:#fff;border-radius:22px;overflow:hidden;color:#111;text-decoration:none;box-shadow:0 10px 30px rgba(17,17,17,.06);transition:transform .2s}
.cab-proj:hover{transform:translateY(-3px)}
.cab-proj__img{display:block;aspect-ratio:4/3;background:#ddd center/cover no-repeat}
.cab-proj__body{display:grid;gap:6px;padding:16px 18px 18px;font-size:14px;color:#555}
.cab-proj__body strong{font-size:18px;color:#111}
.cab-proj__meta{display:flex;flex-wrap:wrap;gap:4px 12px}
.cab-proj__meta b{color:#111}
.cab-proj__meta em{font-style:normal}
.cab-proj__link{margin-top:4px;font-weight:600;color:#111}
.cab-logout{text-align:center;margin-top:32px}
.cab-link{background:none;border:0;color:#777;text-decoration:underline;cursor:pointer;font:inherit;font-size:13px}
@media (max-width:640px){.cab{padding-top:96px}.cab-card{padding:26px 20px;border-radius:22px}}

/* ===== New launches (Reelly) on home ===== */
.home-new-launches{background:#F7F4EE;color:#111;padding:72px 16px}
.home-new-launches__inner{max-width:1240px;margin:0 auto}
.home-new-launches__head{max-width:720px;margin-bottom:28px}
.home-new-launches__title{margin:0 0 10px;font-size:clamp(28px,4vw,42px);line-height:1.1;font-weight:700}
.home-new-launches__text{margin:0;color:#555;font-size:16px;line-height:1.5}
.home-new-launches__more{text-align:center;margin:36px 0 0}
.home-teaser{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.home-teaser__cta{margin:24px 0 0}
.home-teaser__pics{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px;border-radius:24px;overflow:hidden;text-decoration:none}
.home-teaser__pics span{display:block;aspect-ratio:4/3;background:#ccc center/cover no-repeat;filter:blur(7px) saturate(1.1);transform:scale(1.08)}
.home-teaser__pics b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:44px;background:rgba(247,244,238,.25)}
@media (max-width:820px){.home-teaser{grid-template-columns:1fr}}
.cab-proj__lock{margin-top:4px;font-weight:600;color:#8a7b62}
.cab-proj__soon{justify-self:start;padding:4px 10px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}

/* ===== 17.11.2026 home redesign: intro, guides, mobile fixes ===== */
@media (max-width:1100px){.home-top-projects__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:820px){.home-top-projects__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.home-top-projects__grid{grid-template-columns:1fr}}

.intro{background:#F7F4EE;color:#111;padding:120px 16px 56px}
.intro__inner{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:200px 1fr;gap:40px;align-items:start}
.intro__photo{width:200px;height:200px;border-radius:50%;object-fit:cover;object-position:50% 12%;background:#e9e3d8;box-shadow:0 12px 40px rgba(17,17,17,.12)}
.intro__name{margin:0;font-size:15px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.intro__roles{margin:6px 0 18px;color:#8a7b62;font-size:14px;line-height:1.5;font-weight:600}
.intro__title{margin:0 0 14px;font-size:clamp(26px,3.6vw,40px);line-height:1.15;font-weight:700}
.intro__lead{margin:0 0 20px;color:#444;font-size:17px;line-height:1.6;max-width:680px}
.intro__stats{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px;padding:0;list-style:none}
.intro__stats li{display:flex;align-items:baseline;gap:6px;padding:8px 14px;border-radius:999px;background:#fff;font-size:13px;color:#555}
.intro__stats b{font-size:15px;color:#111}
.intro__actions{display:flex;flex-wrap:wrap;gap:12px}
.intro__ghost{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#111 !important;height:54px}
@media (max-width:720px){
  .intro{padding:104px 16px 40px}
  .intro__inner{grid-template-columns:1fr;gap:18px;text-align:left}
  .intro__photo{width:104px;height:104px}
  .intro__lead{font-size:16px}
  .intro__actions a{flex:1 1 100%}
}

.home-guides{background:#fff;color:#111;padding:64px 16px}
.guides__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.guide-card{display:grid;gap:8px;align-content:start;padding:22px;border-radius:22px;background:#F7F4EE;color:#111;text-decoration:none;transition:transform .2s}
.guide-card:hover{transform:translateY(-3px)}
.guide-card__tag{justify-self:start;padding:3px 10px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.guide-card strong{font-size:19px;line-height:1.25}
.guide-card span{color:#555;font-size:14px;line-height:1.5}
.guide-card em{font-style:normal;font-weight:600;margin-top:4px}

.guides,.guide{background:#F7F4EE;color:#111;padding:120px 16px 64px}
.guides__inner{max-width:1120px;margin:0 auto}
.guide__inner{max-width:760px;margin:0 auto;font-size:17px;line-height:1.7;color:#222}
.guide__title{font-size:clamp(28px,4vw,40px);line-height:1.15;margin:16px 0 20px;color:#111}
.guide__short{background:#fff;border-radius:20px;padding:18px 22px;margin-bottom:24px}
.guide__short b{display:block;margin-bottom:6px;color:#8a7b62;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.guide__short p{margin:0}
.guide__facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:0 0 28px}
.guide__facts div{background:#fff;border-radius:16px;padding:12px 16px}
.guide__facts dt{font-size:13px;color:#777}
.guide__facts dd{margin:2px 0 0;font-weight:600;color:#111}
.guide__body h2,.guide__inner>h2{font-size:24px;line-height:1.25;margin:36px 0 12px;color:#111}
.guide__body h3{font-size:19px;margin:24px 0 8px}
.guide__body a{color:#111;text-decoration:underline}
.guide__body table{width:100%;border-collapse:collapse;font-size:15px;display:block;overflow-x:auto}
.guide__body th,.guide__body td{border-bottom:1px solid #e3ddd2;padding:8px 10px;text-align:left}
.guide__faq details{background:#fff;border-radius:14px;padding:14px 18px;margin-bottom:10px}
.guide__faq summary{font-weight:600;cursor:pointer}
.guide__faq p{margin:10px 0 0}
.guide__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
@media (max-width:720px){.guides,.guide{padding-top:96px}.guide__cta a{flex:1 1 100%}}

/* header on phones: badge + cabinet in one row, hide extra button */
@media (max-width:640px){
  .site-header__cta,.pd-header__cta{display:none !important}
  .site-header__badge,.pd-header__badge{height:42px;padding:0 14px}
  .site-header__badge-text,.pd-header__badge-text{font-size:11px}
}

/* ===== bright first screen (17.11.2026) ===== */
.intro--bright{position:relative;color:#fff;background:#1b120c var(--intro-bg) center 40%/cover no-repeat;min-height:88vh;display:flex;align-items:center;padding:130px 16px 70px;overflow:hidden}
.intro--bright::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,10,8,.82) 0%,rgba(14,10,8,.55) 55%,rgba(14,10,8,.15) 100%)}
.intro--bright .intro__inner{position:relative;z-index:1;width:100%;grid-template-columns:1fr;max-width:1160px}
.intro--bright .intro__body{max-width:720px}
.intro--bright .intro__who{display:flex;align-items:center;gap:16px;margin-bottom:22px}
.intro--bright .intro__photo{width:96px;height:96px;border:3px solid rgba(255,255,255,.9);box-shadow:0 10px 30px rgba(0,0,0,.35)}
.intro--bright .intro__name{color:#fff}
.intro--bright .intro__roles{color:#f2d6a6;margin:4px 0 0}
.intro--bright .intro__title{color:#fff;font-size:clamp(32px,5vw,58px);line-height:1.08;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.intro--bright .intro__lead{color:rgba(255,255,255,.9);font-size:18px}
.intro--bright .intro__stats li{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:rgba(255,255,255,.85)}
.intro--bright .intro__stats b{color:#fff}
.intro--bright .cab-submit{background:linear-gradient(90deg,#c8925a,#e7b77a);color:#1b120c !important}
.intro--bright .intro__ghost{border-color:#fff;color:#fff !important;background:rgba(255,255,255,.08)}
@media (max-width:720px){
  .intro--bright{min-height:auto;padding:110px 16px 44px;background-position:62% center}
  .intro--bright::before{background:linear-gradient(180deg,rgba(14,10,8,.55) 0%,rgba(14,10,8,.82) 60%,rgba(14,10,8,.9) 100%)}
  .intro--bright .intro__photo{width:72px;height:72px}
  .intro--bright .intro__lead{font-size:16px}
}

/* phones: header in one row; long lists become swipe carousels */
@media (max-width:640px){
  .site-header__inner{display:flex !important;justify-content:space-between;align-items:center;gap:8px}
  .site-header__nav{display:none !important}
  .site-header__right{display:flex;gap:8px}
  .site-header__cabinet{height:42px;padding:0 14px;font-size:13px}
}
@media (max-width:720px){
  .home-new-launches .cab-grid,.home-guides .guides__grid,.home-top-projects__grid{display:grid;grid-auto-flow:column;grid-template-columns:none !important;grid-auto-columns:82%;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding-bottom:10px;margin-right:-16px;padding-right:16px;-webkit-overflow-scrolling:touch}
  .home-new-launches .cab-grid>*,.home-guides .guides__grid>*,.home-top-projects__grid>*{scroll-snap-align:start}
  .home-new-launches,.home-guides{padding:48px 16px}
}

/* ===== 17.11 fixes: WhatsApp button, photo size, project carousel, centered Ask ===== */
.whatsapp-cta{position:fixed;left:16px;bottom:24px;z-index:9999;width:58px;height:58px;border-radius:999px;overflow:hidden;display:inline-flex;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.whatsapp-cta img{width:100%;height:100%;display:block;object-fit:contain}
@media (max-width:720px){.whatsapp-cta{left:12px;bottom:18px;width:52px;height:52px}}
.intro--bright .intro__photo{width:140px;height:140px}
@media (max-width:720px){.intro--bright .intro__photo{width:120px;height:120px}.intro--bright .intro__who{align-items:center}}
.tp-carousel{position:relative}
.tp-arrow{display:none}
.top-projects-ask__trigger{left:0;right:0;margin:0 auto}
@media (max-width:720px){
  .home-top-projects__grid{grid-auto-columns:100% !important;margin-right:0 !important;padding-right:0 !important;scrollbar-width:none}
  .home-top-projects__grid::-webkit-scrollbar{display:none}
  .home-top-projects__grid .top-project-card{width:100%}
  .tp-arrow{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#111;font-size:26px;line-height:1;box-shadow:0 6px 18px rgba(0,0,0,.18);cursor:pointer}
  .tp-arrow--prev{left:8px}.tp-arrow--next{right:8px}
  .top-projects-ask{width:100%}
}
.guide-card .guide-card__tag{color:#1b120c;background:linear-gradient(90deg,#c8925a,#e7b77a);font-size:12px;padding:4px 12px}
@media (max-width:720px){
  .home-top-projects{padding-left:16px !important;padding-right:16px !important}
  .home-top-projects__inner,.home-top-projects__head{padding-left:0 !important;padding-right:0 !important}
  .tp-carousel,.home-top-projects__grid{width:100% !important;max-width:none !important;margin-left:0 !important}
  .tp-arrow{top:18px;transform:none}
}

/* ===== Brand: Dealhash cube + name (17.11.2026) ===== */
.site-header__badge,.pd-header__badge{gap:10px !important;padding:0 18px 0 12px !important}
.brand__cube{width:30px;height:auto;display:block;flex:none}
.brand__text{display:flex;flex-direction:column;line-height:1.05;color:#fff}
.brand__text b{font-size:13px;letter-spacing:.14em;font-weight:600}
.brand__text small{font-size:8.5px;letter-spacing:.22em;opacity:.75;margin-top:3px}
@media (max-width:640px){.brand__cube{width:26px}.brand__text b{font-size:11px}.brand__text small{font-size:7px;letter-spacing:.16em}}

/* ===== Language switcher ===== */
.lang-switch{position:relative;pointer-events:auto}
.lang-switch summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;height:42px;min-width:52px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.92);color:#111;font-weight:700;font-size:13px;letter-spacing:.04em}
.lang-switch summary::-webkit-details-marker{display:none}
.lang-switch summary::after{content:"▾";margin-left:5px;font-size:10px}
.lang-switch__menu{position:absolute;right:0;top:48px;z-index:50;display:grid;min-width:150px;padding:6px;border-radius:14px;background:#fff;box-shadow:0 14px 40px rgba(0,0,0,.2)}
.lang-switch__menu a{padding:9px 12px;border-radius:10px;color:#111 !important;text-decoration:none;font-size:14px}
.lang-switch__menu a:hover,.lang-switch__menu a.is-active{background:#F2ECE2;font-weight:600}
@media (min-width:641px){.lang-switch summary{height:50px}}

/* ===== Hero in Svetlana's design ===== */
.hero2{position:relative;color:#fff;background:#0e0a08 var(--hero2-bg) 70% center/cover no-repeat;overflow:hidden}
.hero2::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,9,8,.94) 0%,rgba(12,9,8,.82) 38%,rgba(12,9,8,.45) 70%,rgba(12,9,8,.25) 100%),linear-gradient(0deg,rgba(12,9,8,.7) 0%,rgba(12,9,8,0) 35%)}
.hero2__inner{position:relative;z-index:1;max-width:1320px;margin:0 auto;min-height:100vh;display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);align-items:end;padding:96px 24px 0;gap:24px}
.hero2__photo{align-self:end;display:flex;justify-content:center}
.hero2__photo img{display:block;width:100%;max-width:540px;height:auto;filter:drop-shadow(0 20px 40px rgba(0,0,0,.45))}
.hero2__text{align-self:center;padding:40px 0 70px}
.hero2__title{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:clamp(44px,5.6vw,84px);line-height:1.02;letter-spacing:-.01em}
.hero2__title span,.hero2__title em{display:block}
.hero2__title em{font-style:italic;background:linear-gradient(90deg,#c8925a,#f0c98e,#c8925a);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero2__rule{display:block;width:90px;height:2px;margin:28px 0 22px;background:linear-gradient(90deg,#c8925a,#f0c98e)}
.hero2__sub{margin:0 0 30px;max-width:520px;font-size:18px;line-height:1.55;color:rgba(255,255,255,.88)}
.hero2__actions{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:40px}
.hero2__btn{display:inline-flex;align-items:center;gap:10px;height:54px;padding:0 26px;border-radius:6px;font-weight:600;font-size:16px;text-decoration:none;transition:transform .2s,filter .2s}
.hero2__btn:hover{transform:translateY(-1px);filter:brightness(1.05)}
.hero2__btn--gold{background:linear-gradient(90deg,#b98552,#d9aa72);color:#fff !important;box-shadow:0 10px 30px rgba(185,133,82,.35)}
.hero2__btn--line{border:1px solid #d9aa72;color:#fff !important;background:rgba(0,0,0,.35)}
.hero2__icons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none;max-width:620px}
.hero2__icons li{display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 10px;text-align:center;font-size:14px;line-height:1.3;color:rgba(255,255,255,.9);border-left:1px solid rgba(217,170,114,.45)}
.hero2__icons li:first-child{border-left:0}
.hero2__icons svg{width:30px;height:30px;fill:none;stroke:#d9aa72;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:900px){
  .hero2__inner{grid-template-columns:1fr;min-height:auto;padding:84px 16px 0;gap:0}
  .hero2__photo{order:1;height:380px;overflow:hidden;align-items:flex-start;-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent 100%);mask-image:linear-gradient(180deg,#000 72%,transparent 100%)}
  .hero2__photo img{width:300px;max-width:80%}
  .hero2__text{order:2;padding:0 0 44px;margin-top:-30px}
  .hero2::before{background:linear-gradient(180deg,rgba(12,9,8,.55) 0%,rgba(12,9,8,.85) 45%,rgba(12,9,8,.96) 100%)}
  .hero2__title{font-size:44px}
  .hero2__sub{font-size:16px}
  .hero2__actions a{flex:1 1 100%;justify-content:center}
  .hero2__icons{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}
  .hero2__icons li:nth-child(3){border-left:0}
}
@media (max-width:640px){.brand__text small{display:none}.brand__text b{white-space:nowrap}}
.site-header__cabinet{gap:8px}
.cab-ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
@media (max-width:640px){
  .site-header__cabinet{width:42px;padding:0 !important;border-radius:50%}
  .site-header__cabinet .cab-label{display:none}
  .lang-switch summary{min-width:46px;padding:0 10px}
}
.site-header,.site-header__inner,.pd-header,.pd-header__inner{overflow:visible !important}
@media (max-width:640px){
  .pd-header__inner{display:flex !important;justify-content:space-between;align-items:center;gap:8px}
  .pd-header__nav{display:none !important}
  .pd-header__right{display:flex;gap:8px;align-items:center}
}

/* ===== Compact footer (17.11.2026) ===== */
.site-footer--compact{background:#0e0a08 !important;color:#fff;padding:36px 16px 96px !important}
.site-footer--compact::before,.site-footer--compact::after{display:none !important}
.sf2{max-width:1160px;margin:0 auto}
.sf2__top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding-bottom:20px;border-bottom:1px solid rgba(217,170,114,.25)}
.sf2__brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.sf2__links{display:flex;flex-wrap:wrap;gap:10px}
.sf2__ico{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.sf2__ico img{width:18px;height:18px;filter:brightness(0) invert(1)}
.sf2__ico svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sf2__ico:hover{border-color:#d9aa72}
.sf2__legal{margin:16px 0 4px;font-size:12px;letter-spacing:.04em;color:#d9aa72}
.sf2__note{margin:0 0 10px;font-size:12px;line-height:1.5;color:rgba(255,255,255,.55)}
.sf2__copy{margin:0;font-size:12px;color:rgba(255,255,255,.45)}

/* ===== About me (17.11.2026) ===== */
.about2{background:#F7F4EE;color:#111;padding:72px 16px}
.about2__inner{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:center}
.about2__title{margin:0 0 18px;font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:clamp(36px,4.5vw,56px);line-height:1.05}
.about2__text p{margin:0 0 14px;font-size:17px;line-height:1.65;color:#333}
.about2__quote{margin:22px 0 28px;padding:4px 0 4px 18px;border-left:2px solid #c8925a;font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-size:24px;line-height:1.35;color:#8a6a43}
.about2__facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0;padding:0;list-style:none}
.about2__facts li{background:#fff;border-radius:20px;padding:22px 18px;box-shadow:0 10px 30px rgba(17,17,17,.06)}
.about2__facts b{display:block;font-family:"Cormorant Garamond",Georgia,serif;font-size:34px;line-height:1;color:#b98552;margin-bottom:6px}
.about2__facts span{font-size:14px;color:#555;line-height:1.4}
@media (max-width:820px){.about2{padding:52px 16px}.about2__inner{grid-template-columns:1fr;gap:28px}.about2__quote{font-size:21px}.about2 .hero2__btn{width:100%;justify-content:center}}

/* ===== Name like in Svetlana's mockup: serif, spaced, gold divider (17.11) ===== */
.brand__cube{padding-right:12px;margin-right:2px;border-right:1px solid rgba(217,170,114,.7);box-sizing:content-box}
.brand__text b{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:19px;letter-spacing:.16em;line-height:1}
.brand__text small{font-family:"Montserrat",sans-serif;font-size:8px;letter-spacing:.32em;color:#e8c99a;opacity:1;margin-top:5px}
@media (max-width:640px){
  .brand__cube{width:24px;padding-right:9px}
  .brand__text b{font-size:15px;letter-spacing:.12em}
  .brand__text small{display:block;font-size:6px;letter-spacing:.22em;margin-top:3px}
}
/* name always inside the oval */
.site-header__badge,.pd-header__badge{flex:0 0 auto !important;width:auto !important;max-width:none !important;white-space:nowrap;overflow:hidden;padding:0 20px 0 12px !important}
.brand__text{flex:0 0 auto}
@media (max-width:640px){
  .site-header__badge,.pd-header__badge{height:46px !important;padding:0 14px 0 10px !important}
  .brand__cube{width:22px;padding-right:8px}
  .brand__text b{font-size:14px;letter-spacing:.09em}
  .brand__text small{font-size:5.5px;letter-spacing:.18em}
}
@media (max-width:370px){.brand__text b{font-size:12.5px;letter-spacing:.06em}.brand__text small{display:none}}
@media (max-width:900px){.hero2__title{font-size:min(44px,11vw);overflow-wrap:anywhere}}
.hero2__title span,.hero2__title em,.about2__title,.about2__quote,.about2__facts b{font-family:"Cormorant Garamond",Georgia,serif !important}.hero2__title span,.hero2__title em{font-weight:500}

/* ===== Header as a dark bar, no oval around the name (17.11) ===== */
.site-header,.pd-header{background:rgba(14,10,8,.86) !important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid rgba(217,170,114,.25)}
.site-header__badge,.pd-header__badge{background:transparent !important;border:0 !important;box-shadow:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;overflow:visible !important;padding:0 !important}
.site-header__badge::before,.site-header__badge::after,.pd-header__badge::before,.pd-header__badge::after{display:none !important}
.site-header,.pd-header{top:0 !important;padding-top:10px !important;padding-bottom:10px !important;pointer-events:auto !important}
@media (max-width:640px){.site-header,.pd-header{padding-left:14px !important;padding-right:14px !important}}
/* phones: first-screen text centered */
@media (max-width:900px){
  .hero2__text{text-align:center}
  .hero2__rule{margin-left:auto;margin-right:auto}
  .hero2__sub{margin-left:auto;margin-right:auto}
  .hero2__actions{justify-content:center}
  .hero2__icons{margin-left:auto;margin-right:auto}
}

/* ===== Name exactly like the mockup on every width (17.11) ===== */
.brand__text b{font-family:"Cormorant Garamond",Georgia,serif !important;font-weight:500 !important;font-size:22px !important;letter-spacing:.14em !important;line-height:1 !important;color:#fff}
.brand__text small{display:block !important;font-family:"Montserrat",sans-serif;font-size:8.5px !important;letter-spacing:.34em !important;color:#e8c99a;margin-top:6px !important;white-space:nowrap}
.brand__cube{width:32px !important;padding-right:14px !important}
@media (max-width:640px){
  .brand__cube{width:26px !important;padding-right:10px !important}
  .brand__text b{font-size:16px !important;letter-spacing:.1em !important}
  .brand__text small{font-size:6.6px !important;letter-spacing:.24em !important;margin-top:4px !important}
}
@media (max-width:370px){
  .brand__text b{font-size:14.5px !important;letter-spacing:.08em !important}
  .brand__text small{font-size:6px !important;letter-spacing:.2em !important}
  .lang-switch summary{min-width:40px;padding:0 8px}
}
/* header right side like the mockup: language + cabinet icon only */
.site-header__cta{display:none !important}
.site-header__cabinet{width:46px !important;height:46px !important;padding:0 !important;border-radius:50% !important}
.site-header__cabinet .cab-label{display:none !important}
@media (max-width:720px){body{padding-bottom:84px}}

/* ===== About me with services tiles (her text, 17.11) ===== */
.about2__inner{align-items:start !important}
.about2__title{letter-spacing:.12em;font-size:clamp(30px,3.6vw,46px) !important;margin-bottom:6px !important}
.about2__sub{margin:0 0 20px !important;color:#b98552 !important;font-size:14px !important;font-weight:600;letter-spacing:.04em}
.about2__svc{background:#0e0a08;border-radius:28px;padding:30px 26px;color:#fff;position:sticky;top:96px}
.about2__svc-title{margin:0 0 18px;font-family:"Cormorant Garamond",Georgia,serif;font-size:30px;line-height:1;color:#fff}
.about2__tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:0;list-style:none}
.about2__tiles li{display:flex;flex-direction:column;gap:12px;padding:18px 16px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(217,170,114,.28);font-size:14px;line-height:1.45;color:rgba(255,255,255,.9);transition:border-color .2s,transform .2s}
.about2__tiles li:hover{border-color:#d9aa72;transform:translateY(-2px)}
.about2__tiles svg{width:30px;height:30px;fill:none;stroke:#d9aa72;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:820px){.about2__svc{position:static;padding:24px 16px;border-radius:22px}.about2__tiles{grid-template-columns:1fr 1fr;gap:10px}.about2__tiles li{padding:14px 12px;font-size:13px}}
@media (max-width:380px){.about2__tiles{grid-template-columns:1fr}}
.about2__inner{grid-template-columns:1.1fr 1fr !important}@media (max-width:820px){.about2__inner{grid-template-columns:1fr !important}}

/* article author byline */
.guide__by{display:flex;align-items:center;gap:12px;margin:-6px 0 22px}
.guide__by img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 12%;background:#e9e3d8}
.guide__by span{display:flex;flex-direction:column;font-size:14px;color:#333}
.guide__by small{color:#888;font-size:12px}
.guide-card__by{color:#8a7b62;font-size:12px;font-weight:600}

/* phones: buttons of the first screen visible without scrolling */
@media (max-width:900px){
  .hero2__inner{padding-top:72px}
  .hero2__photo{height:250px !important}
  .hero2__photo img{width:220px !important}
  .hero2__text{margin-top:-18px !important;padding-bottom:36px !important}
  .hero2__title{font-size:min(36px,9.5vw) !important}
  .hero2__rule{margin:14px auto 12px !important}
  .hero2__sub{font-size:15px !important;margin-bottom:18px !important}
  .hero2__actions{gap:10px !important;margin-bottom:28px !important}
  .hero2__btn{height:50px}
}

/* ===== All home carousels on phones: one card, arrows, no peek (17.11) ===== */
@media (max-width:720px){
  .home-guides .guides__grid,.home-new-launches .cab-grid{grid-auto-columns:100% !important;margin-right:0 !important;padding-right:0 !important;scrollbar-width:none}
  .home-guides .guides__grid::-webkit-scrollbar,.home-new-launches .cab-grid::-webkit-scrollbar{display:none}
  .home-guides .tp-arrow,.home-new-launches .tp-arrow{top:50%;transform:translateY(-50%)}
  .home-new-launches .tp-arrow{top:110px;transform:none}
  .home-guides .guide-card{padding:22px 54px}
}

/* ===== 12/10 pack (17.11): hero goal pills, card badges, quiz, steps, FAQ, save ===== */
.hero2__pills{display:flex;flex-wrap:wrap;gap:8px;margin:-18px 0 30px}
.hero2__pills a{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:999px;border:1px solid rgba(217,170,114,.55);background:rgba(255,255,255,.06);color:#f3dfbf !important;font-size:14px;font-weight:600;text-decoration:none;transition:background .2s}
.hero2__pills a:hover{background:rgba(217,170,114,.18)}
.hero2__pills .hero2__pill-quiz{background:#f3dfbf;color:#1b120c !important;border-color:#f3dfbf}
@media (max-width:900px){.hero2__pills{justify-content:center;margin:-12px 0 24px}.hero2__pills a{height:36px;padding:0 14px;font-size:13px}}

.tp-tag--price{background:rgba(217,170,114,.92) !important;color:#1b120c !important;font-weight:700}

.cab-proj__img{position:relative}
.cab-proj__save{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);color:#b98552;font-size:20px;line-height:1;box-shadow:0 4px 14px rgba(0,0,0,.15)}

.quiz{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,7,6,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.quiz[hidden]{display:none}
.quiz__box{position:relative;width:min(520px,100%);max-height:92vh;overflow:auto;background:#fff;color:#111;border-radius:24px;padding:28px 24px 22px;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.quiz__close{position:absolute;top:10px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:#F2ECE2;font-size:24px;line-height:1;cursor:pointer}
.quiz__title{margin:0 0 6px;font-family:"Cormorant Garamond",Georgia,serif;font-size:30px;line-height:1.1}
.quiz__sub{margin:0 0 16px;color:#555;font-size:14px;line-height:1.5}
.quiz__bar{height:4px;border-radius:4px;background:#F2ECE2;margin-bottom:20px;overflow:hidden}
.quiz__bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,#b98552,#e7b77a);transition:width .3s}
.quiz__step{display:none}
.quiz__step.is-active{display:grid;gap:10px}
.quiz__q{margin:0 0 4px;font-weight:700;font-size:18px}
.quiz__opts{display:grid;gap:10px}
.quiz__opts button{height:52px;border-radius:14px;border:1px solid #e3dccf;background:#fbfaf7;font:inherit;font-weight:600;font-size:15px;text-align:left;padding:0 16px;cursor:pointer;color:#111}
.quiz__opts button:hover{border-color:#b98552;background:#fff}
.quiz__form input[type=text],.quiz__form input[type=tel]{height:52px;padding:0 16px;border:1px solid #d9d4ca;border-radius:14px;font:inherit;font-size:16px;background:#fbfaf7}
.quiz__done{text-align:center}
.quiz__done .quiz__q{font-size:40px;color:#b98552}
.quiz__back{margin-top:12px}

.steps2,.faq2{background:#F7F4EE;color:#111;padding:64px 16px}
.faq2{background:#fff}
.steps2__inner,.faq2__inner{max-width:1120px;margin:0 auto}
.steps2__title{margin:0 0 26px;font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:clamp(32px,4vw,48px);line-height:1.05}
.steps2__list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 28px;padding:0;list-style:none}
.steps2__list li{display:grid;gap:8px;align-content:start;padding:24px 22px;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(17,17,17,.06)}
.steps2__list b{font-family:"Cormorant Garamond",Georgia,serif;font-size:36px;line-height:1;color:#b98552}
.steps2__list strong{font-size:18px}
.steps2__list span{color:#555;font-size:15px;line-height:1.5}
.steps2__cta{text-align:center;margin:0}
@media (max-width:820px){.steps2__list{grid-template-columns:1fr}.steps2__cta a{width:100%;justify-content:center}.steps2,.faq2{padding:48px 16px}}
.faq2 .guide__faq details{background:#F7F4EE}
.faq2 .guide__faq a{color:#8a6a43;font-weight:600}

/* ===== Reviews (page + home block) ===== */
.review-card{max-width:620px}
.rv-who{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-weight:600;font-size:14px}
.rv-who>span{width:100%}
.rv-who label{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border:1px solid #d9d4ca;border-radius:999px;background:#fbfaf7;font-weight:600;cursor:pointer}
.rv-who label:has(input:checked){border-color:#b98552;background:#fff4e6}
.cab-field select,.cab-field textarea{padding:12px 16px;border:1px solid #d9d4ca;border-radius:14px;font:inherit;font-size:16px;background:#fbfaf7}
.cab-field select{height:52px}
.rv-stars{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:4px}
.rv-stars input{display:none}
.rv-stars label{font-size:30px;color:#d9d4ca;cursor:pointer;line-height:1}
.rv-stars input:checked~label,.rv-stars label:hover,.rv-stars label:hover~label{color:#d9aa72}
.rv-hint{color:#777;font-size:12px;text-align:center}
.rev2{background:#fff;color:#111;padding:64px 16px}
.rev2__inner{max-width:1120px;margin:0 auto}
.rev2__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-bottom:30px}
.rev2__card{margin:0;padding:24px;border-radius:22px;background:#F7F4EE;display:grid;gap:14px}
.rev2__stars{color:#d9aa72;letter-spacing:2px}
.rev2__card blockquote{margin:0;font-size:16px;line-height:1.6;color:#222}
.rev2__card figcaption{display:flex;align-items:center;gap:12px}
.rev2__card img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.rev2__card figcaption span{display:flex;flex-direction:column}
.rev2__card small{color:#8a7b62}
[hidden]{display:none !important}
.cab-field input,.cab-field select,.cab-field textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
@media (min-width:721px){.home-guides .guides__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:721px) and (max-width:1100px){.home-guides .guides__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== Name a bit smaller; both lines exactly the same width (17.11) =====
   Sizes are tied to --bn, so the subtitle always spans the name's width. */
.brand__text{--bn:19px}
.brand__text b{font-size:var(--bn) !important;letter-spacing:.12em !important}
.brand__text small{display:block !important;font-size:calc(var(--bn) * .4737) !important;letter-spacing:.293em !important;margin-top:5px !important}
@media (max-width:640px){.brand__text{--bn:15px}.brand__text small{margin-top:4px !important}}
@media (max-width:370px){.brand__text{--bn:13.5px}}

/* Exclusive = 6 ABRA projects: two even rows of three on desktop/tablet (17.11) */
@media (min-width:721px){.home-top-projects__grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}

/* Footer licence block: three lines (18.11) */
.sf2__legal{line-height:1.7}

/* ===== 18.11: «Проекты в Дубае» on desktop = 2 rows x 4 cards, arrows scroll the rest ===== */
@media (min-width:721px){
  .home-new-launches .tp-carousel{position:relative}
  .home-new-launches .cab-grid{display:grid;grid-auto-flow:column;grid-template-columns:none !important;grid-template-rows:repeat(2,auto);grid-auto-columns:calc((100% - 60px) / 4);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .home-new-launches .cab-grid::-webkit-scrollbar{display:none}
  .home-new-launches .cab-grid>*{scroll-snap-align:start;min-width:0}
  .home-new-launches .tp-arrow{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:46px;height:46px;border:0;border-radius:50%;background:#111;color:#fff;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18)}
  .home-new-launches .tp-arrow--prev{left:-23px}.home-new-launches .tp-arrow--next{right:-23px}
  .home-new-launches .tp-arrow:hover{background:#b98552}
}
@media (min-width:721px) and (max-width:1100px){.home-new-launches .cab-grid{grid-auto-columns:calc((100% - 40px) / 3)}}
/* ===== 18.11: «Процесс работы» on a Dubai photo ===== */
.steps2--photo{position:relative;background:#111 var(--steps-bg) 50% 55%/cover no-repeat;color:#fff}
.steps2--photo::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,8,6,.62),rgba(10,8,6,.78))}
.steps2--photo .steps2__inner{position:relative}
.steps2--photo .steps2__title{color:#fff;text-align:center}
.steps2--photo .steps2__list li{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);box-shadow:none;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.steps2--photo .steps2__list b{color:#e6c98a}
.steps2--photo .steps2__list strong{color:#fff}
.steps2--photo .steps2__list span{color:rgba(255,255,255,.82)}
/* two rows must fit one desktop screen */
@media (min-width:721px){
  .home-new-launches{padding:48px 16px 40px}
  .home-new-launches__head{margin-bottom:20px}
  .home-new-launches .cab-proj__img{aspect-ratio:16/9}
  .home-new-launches .cab-proj__body{gap:3px;padding:10px 14px 12px;font-size:13px}
  .home-new-launches .cab-proj__body strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .home-new-launches .cab-proj__body span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .home-new-launches .cab-proj__lock{margin-top:2px;font-size:12px}
  .home-new-launches__more{margin-top:24px}
}
@media (min-width:721px){.home-new-launches .tp-arrow--prev{left:-8px}.home-new-launches .tp-arrow--next{right:-8px}}
@media (min-width:721px) and (max-width:1300px){.home-new-launches .tp-arrow--prev{left:6px}.home-new-launches .tp-arrow--next{right:6px}}

/* ===== 18.11: Arabic (RTL) fixes ===== */
html[dir="rtl"] .lang-switch__menu{right:auto;left:0}
/* carousels scroll in LTR (arrows and JS assume it); card text stays RTL */
html[dir="rtl"] .tp-carousel .cab-grid,html[dir="rtl"] .tp-carousel .guides__grid,html[dir="rtl"] .tp-carousel .home-top-projects__grid{direction:ltr}
html[dir="rtl"] .tp-carousel .cab-grid>*,html[dir="rtl"] .tp-carousel .guides__grid>*,html[dir="rtl"] .tp-carousel .home-top-projects__grid>*{direction:rtl}
html[dir="rtl"] body{overflow-x:hidden}

.cab-proj__lock.is-open{color:#b98552;font-weight:700}
/* 18.11: phone footer - all 8 icons in one even row */
@media (max-width:640px){
  .sf2__links{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;width:100%;justify-items:center}
  .sf2__ico{width:36px;height:36px}
  .sf2__ico img,.sf2__ico svg{width:16px;height:16px}
}
@media (max-width:340px){.sf2__links{grid-template-columns:repeat(4,1fr);row-gap:10px}}
