/* ============================================================
   METROPOLIS — vanilla CSS (BEM, longhand, no descendant selectors)
   Palette (matching React version):
   - background: #14110d (dark warm)
   - card:       #1b1814
   - foreground: #ebe5d0 (light warm)
   - muted:      #a89f87
   - gold:       #d4af55
   - gold-soft:  #e8d188
   - border:     rgba(212,175,85,0.25)
   ============================================================ */

* {
  box-sizing: border-box;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

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

.body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  background-color: #14110d;
  color: #ebe5d0;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
  background-color: transparent;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
}

.main-wrapper {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============== HEADER ============== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(20, 17, 13, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(212, 175, 85, 0.2);
}

.header__container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
}

.header__logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
}

.header__brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #e8d188;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__brand-tag {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: #a89f87;
  text-transform: uppercase;
  display: none;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 26px;
}

.header__nav-link {
  font-size: 14px;
  color: #a89f87;
  transition: color 0.2s;
}

.header__nav-link--active {
  color: #d4af55;
}

.header__cta {
  display: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: 16px;
  padding-right: 16px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.5);
  color: #d4af55;
  transition: background-color 0.2s;
}

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  flex-shrink: 0;
}

.header__burger-line {
  width: 22px;
  height: 2px;
  background-color: #d4af55;
  display: block;
}

.header__mobile-menu {
  display: none;
  flex-direction: column;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
  padding-top: 8px;
  padding-bottom: 14px;
}

.header__mobile-menu--open {
  display: flex;
}

.header__mobile-link {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 22px;
  padding-right: 22px;
  font-size: 15px;
  color: #ebe5d0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(212, 175, 85, 0.1);
}

.header__mobile-link--active {
  color: #d4af55;
}

.header__mobile-cta {
  margin-top: 14px;
  margin-left: 22px;
  margin-right: 22px;
  padding-top: 11px;
  padding-bottom: 11px;
  text-align: center;
  background-color: #d4af55;
  color: #14110d;
  font-weight: 500;
}

/* Tablet + Desktop */
@media (min-width: 768px) {
  .header__container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .header__logo {
    width: 48px;
    height: 48px;
  }
  .header__brand-name {
    font-size: 20px;
  }
  .header__brand-tag {
    display: block;
  }
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }
  .header__cta {
    display: inline-flex;
  }
  .header__burger {
    display: none;
  }
  .header__mobile-menu {
    display: none !important;
  }
}

/* ============== PAGE ============== */
.page {
  display: none;
  width: 100%;
}

.page--active {
  display: block;
}

.section__container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.section__head {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

.section__eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d4af55;
  margin-bottom: 14px;
}

.section__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
  color: #ebe5d0;
  font-weight: 500;
  margin-bottom: 14px;
}

.section__lead {
  font-size: 15px;
  color: #a89f87;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section__container {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .section__title {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .section__title {
    font-size: 42px;
  }
}

/* ============== DIVIDER ============== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.divider__line {
  width: 48px;
  height: 1px;
  background-color: rgba(212, 175, 85, 0.4);
}

.divider__diamond {
  width: 10px;
  height: 10px;
  background-color: #d4af55;
  transform: rotate(45deg);
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 22px;
  padding-right: 22px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-align: center;
  transition: opacity 0.2s, background-color 0.2s, transform 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background-color: #d4af55;
  color: #14110d;
  font-weight: 500;
  box-shadow: 0 14px 40px -14px rgba(212, 175, 85, 0.45);
}

.btn--outline {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.55);
  color: #d4af55;
  background-color: transparent;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(212, 175, 85, 0.2);
}

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("images/hero.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom, rgba(20, 17, 13, 0.85), rgba(20, 17, 13, 0.8), #14110d);
}

.hero__container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #d4af55;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 14px;
  padding-right: 14px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.4);
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;
  margin-bottom: 22px;
}

.hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  line-height: 1.1;
  color: #ebe5d0;
  font-weight: 500;
  margin-bottom: 18px;
}

.hero__title-italic {
  font-style: italic;
  color: #e8d188;
}

.hero__lead {
  font-size: 15px;
  color: #a89f87;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}

.hero__actions .btn {
  width: 100%;
  max-width: 320px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 28px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  color: #e8d188;
  font-weight: 500;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: #a89f87;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }
  .hero__actions .btn {
    width: auto;
  }
  .hero__title {
    font-size: 48px;
  }
  .hero__container {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero__stat-num {
    font-size: 42px;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 64px;
  }
  .hero__container {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* ============== SERVICES ============== */
.services {
  background-color: #14110d;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card-service {
  position: relative;
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.2);
  padding-top: 28px;
  padding-bottom: 28px;
  padding-left: 26px;
  padding-right: 26px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.card-service__num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  color: rgba(212, 175, 85, 0.4);
}

.card-service__icon {
  font-size: 36px;
  margin-bottom: 18px;
}

.card-service__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  color: #ebe5d0;
  margin-bottom: 10px;
  font-weight: 500;
}

.card-service__text {
  font-size: 14px;
  color: #a89f87;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .card-service {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============== WHY US ============== */
.whyus {
  background-color: #1a1814;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
  border-bottom-color: rgba(212, 175, 85, 0.2);
}

.whyus__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card-feature {
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.2);
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 22px;
  padding-right: 22px;
  text-align: center;
}

.card-feature__icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.card-feature__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  color: #ebe5d0;
  margin-bottom: 8px;
  font-weight: 500;
}

.card-feature__text {
  font-size: 14px;
  color: #a89f87;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .whyus__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .whyus__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============== APPROACH ============== */
.approach {
  padding-top: 56px;
  padding-bottom: 56px;
}

.approach__container {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}

.approach__lead {
  font-size: 15px;
  color: #a89f87;
  line-height: 1.65;
  margin-top: 16px;
  margin-bottom: 28px;
}

.approach__list {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.approach__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.approach__check {
  color: #d4af55;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .approach {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* ============== PROCESS ============== */
.process {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.process__step {
  text-align: center;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.2);
  background-color: #1b1814;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 22px;
  padding-right: 22px;
}

.process__num {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #d4af55;
  font-size: 14px;
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}

.process__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.process__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  color: #ebe5d0;
  margin-bottom: 8px;
  font-weight: 500;
}

.process__text {
  font-size: 14px;
  color: #a89f87;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .process__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============== QUOTE ============== */
.quote {
  background-color: #1a1814;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
  border-bottom-color: rgba(212, 175, 85, 0.2);
  padding-top: 56px;
  padding-bottom: 56px;
}

.quote__container {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}

.quote__mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 64px;
  color: #d4af55;
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 18px;
}

.quote__text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.45;
  color: #ebe5d0;
  margin-bottom: 22px;
}

.quote__author {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  color: #d4af55;
  margin-bottom: 4px;
}

.quote__role {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #a89f87;
}

@media (min-width: 640px) {
  .quote__text {
    font-size: 26px;
  }
  .quote {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* ============== ABOUT BLOCK ============== */
.about-block {
  padding-top: 56px;
  padding-bottom: 56px;
}

.about-block__container {
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}

.about-block__text {
  font-size: 15px;
  color: #a89f87;
  line-height: 1.65;
  margin-bottom: 14px;
}

.about-block__highlight {
  color: #d4af55;
}

.requisites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background-color: rgba(212, 175, 85, 0.2);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 28px;
}

.requisites__item {
  background-color: #14110d;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 14px;
  padding-right: 14px;
  text-align: center;
}

.requisites__key {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: #a89f87;
  margin-bottom: 8px;
}

.requisites__val {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  color: #d4af55;
}

@media (min-width: 768px) {
  .requisites {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .about-block {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* ============== CONTACT SHORT ============== */
.contact-short {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
}

.contact-short__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact-card {
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.3);
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 22px;
  padding-right: 22px;
  text-align: center;
  display: block;
  transition: border-color 0.2s;
}

.contact-card__icon {
  font-size: 26px;
  color: #d4af55;
  margin-bottom: 14px;
}

.contact-card__label {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #a89f87;
  margin-bottom: 8px;
}

.contact-card__val {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  color: #ebe5d0;
  word-break: break-word;
}

.contact-short__cta {
  text-align: center;
  margin-top: 36px;
}

@media (min-width: 640px) {
  .contact-short__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .contact-card {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .contact-short__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============== PAGE HERO ============== */
.page-hero {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(212, 175, 85, 0.2);
  padding-top: 56px;
  padding-bottom: 56px;
}

.page-hero__container {
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}

.page-hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1.15;
  color: #ebe5d0;
  font-weight: 500;
  margin-top: 14px;
  margin-bottom: 18px;
}

.page-hero__lead {
  font-size: 14px;
  color: #a89f87;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .page-hero__title {
    font-size: 40px;
  }
  .page-hero__lead {
    font-size: 16px;
  }
  .page-hero {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (min-width: 1024px) {
  .page-hero__title {
    font-size: 48px;
  }
}

/* ============== VACANCIES ============== */
.vacancies {
  padding-top: 40px;
  padding-bottom: 40px;
}

.vacancies__container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.vacancies__controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.vacancies__search {
  position: relative;
  flex-grow: 1;
}

.vacancies__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #d4af55;
  font-size: 14px;
}

.vacancies__search-input {
  width: 100%;
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 40px;
  padding-right: 14px;
  font-size: 14px;
  color: #ebe5d0;
  outline-style: none;
  outline-width: 0;
  transition: border-color 0.2s;
}

.vacancies__sort {
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 14px;
  padding-right: 14px;
  font-size: 14px;
  color: #ebe5d0;
  outline-style: none;
}

.vacancies__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vacancies__empty {
  text-align: center;
  color: #a89f87;
  padding-top: 40px;
  padding-bottom: 40px;
  display: none;
}

.vacancies__empty--show {
  display: block;
}

@media (min-width: 768px) {
  .vacancies__controls {
    flex-direction: row;
  }
  .vacancies {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* Vacancy card */
.vacancy {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  background-color: #1b1814;
  overflow: hidden;
  transition: border-color 0.2s;
}

.vacancy__head {
  width: 100%;
  text-align: left;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 22px;
  padding-right: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: transparent;
  cursor: pointer;
}

.vacancy__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vacancy__company {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d4af55;
  min-width: 0;
}

.vacancy__chevron {
  color: #d4af55;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.vacancy__chevron--open {
  transform: rotate(180deg);
}

.vacancy__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  color: #ebe5d0;
  font-weight: 500;
}

.vacancy__short {
  font-size: 14px;
  color: #a89f87;
  line-height: 1.55;
}

.vacancy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

.vacancy__salary {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  color: #d4af55;
}

.vacancy__meta-item {
  color: #a89f87;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vacancy__more {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(212, 175, 85, 0.8);
}

.vacancy__body {
  padding-top: 22px;
  padding-bottom: 24px;
  padding-left: 22px;
  padding-right: 22px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.15);
  display: none;
}

.vacancy__body--open {
  display: block;
}

.vacancy__sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.vacancy__section-title {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #d4af55;
  margin-bottom: 12px;
}

.vacancy__list {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vacancy__li {
  font-size: 14px;
  color: rgba(235, 229, 208, 0.85);
  display: flex;
  gap: 8px;
  line-height: 1.55;
}

.vacancy__bullet {
  color: #d4af55;
  flex-shrink: 0;
}

.vacancy__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.15);
}

@media (min-width: 640px) {
  .vacancy__sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vacancy__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .vacancy__sections {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vacancy__title {
    font-size: 22px;
  }
}

/* ============== CTA BLOCK ============== */
.cta-block {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
  background-color: #1a1814;
  padding-top: 56px;
  padding-bottom: 56px;
}

.cta-block__container {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}

.cta-block__icon {
  font-size: 48px;
  color: #d4af55;
  margin-bottom: 18px;
}

.cta-block__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  color: #ebe5d0;
  margin-bottom: 14px;
  font-weight: 500;
}

.cta-block__text {
  font-size: 15px;
  color: #a89f87;
  line-height: 1.6;
  margin-bottom: 26px;
}

@media (min-width: 640px) {
  .cta-block__title {
    font-size: 30px;
  }
}

/* ============== STATS ============== */
.stats {
  background-color: #1a1814;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(212, 175, 85, 0.2);
  padding-top: 40px;
  padding-bottom: 40px;
}

.stats__container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stats__item {
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.2);
  padding-top: 22px;
  padding-bottom: 22px;
  padding-left: 18px;
  padding-right: 18px;
  text-align: center;
}

.stats__icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.stats__num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  color: #e8d188;
  font-weight: 500;
  margin-bottom: 6px;
}

.stats__label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #a89f87;
}

@media (min-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
  .stats__num {
    font-size: 32px;
  }
}

/* ============== CASES ============== */
.cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.case {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  background-color: #1b1814;
  padding-top: 26px;
  padding-bottom: 26px;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
}

.case__industry {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d4af55;
  margin-bottom: 12px;
}

.case__client {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  color: #ebe5d0;
  margin-bottom: 14px;
  font-weight: 500;
}

.case__block-title {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a89f87;
  margin-bottom: 6px;
}

.case__block-text {
  font-size: 14px;
  color: rgba(235, 229, 208, 0.85);
  line-height: 1.55;
  margin-bottom: 16px;
}

.case__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
  margin-top: auto;
  padding-top: 16px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.15);
}

.case__metric-k {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  color: #d4af55;
}

.case__metric-l {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a89f87;
  margin-top: 4px;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .cases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

/* ============== REVIEWS ============== */
.reviews {
  background-color: #1a1814;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
  border-bottom-color: rgba(212, 175, 85, 0.2);
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.review {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  background-color: #1b1814;
  padding-top: 26px;
  padding-bottom: 26px;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}

.review__stars {
  color: #d4af55;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review__text {
  font-size: 14px;
  color: rgba(235, 229, 208, 0.9);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 18px;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.15);
}

.review__avatar {
  width: 50px;
  height: 50px;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;
  background-color: rgba(212, 175, 85, 0.15);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #d4af55;
  font-size: 18px;
  flex-shrink: 0;
}

.review__meta {
  min-width: 0;
}

.review__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  color: #d4af55;
  margin-bottom: 2px;
}

.review__role {
  font-size: 12px;
  color: #a89f87;
}

@media (min-width: 640px) {
  .reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

/* ============== VALUES ============== */
.values {
  background-color: #1a1814;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
  border-bottom-color: rgba(212, 175, 85, 0.2);
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.value-card {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  background-color: #1b1814;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
}

.value-card__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  color: #d4af55;
  margin-bottom: 12px;
  font-weight: 500;
}

.value-card__text {
  font-size: 14px;
  color: #a89f87;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .values__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============== TEXT SECTION ============== */
.text-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.text-section__container {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}

.text-section__p {
  font-size: 15px;
  color: #a89f87;
  line-height: 1.65;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .text-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* ============== FAQ ============== */
.faq {
  padding-top: 40px;
  padding-bottom: 56px;
}

.faq__container {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  background-color: #1b1814;
}

.faq-item__btn {
  width: 100%;
  text-align: left;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-item__q {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  color: #ebe5d0;
  font-weight: 500;
}

.faq-item__chevron {
  color: #d4af55;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item__chevron--open {
  transform: rotate(180deg);
}

.faq-item__body {
  padding-top: 14px;
  padding-bottom: 18px;
  padding-left: 20px;
  padding-right: 20px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.15);
  font-size: 14px;
  color: #a89f87;
  line-height: 1.65;
  display: none;
}

.faq-item__body--open {
  display: block;
}

@media (min-width: 640px) {
  .faq-item__q {
    font-size: 18px;
  }
}

/* ============== CONTACTS PAGE ============== */
.contacts-grid-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.contacts-grid-section__container {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .contacts-grid-section__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.offices {
  background-color: #1a1814;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
  border-bottom-color: rgba(212, 175, 85, 0.2);
}

.offices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.office-card {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  background-color: #1b1814;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 22px;
  padding-right: 22px;
  text-align: center;
}

.office-card__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.office-card__city {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #a89f87;
  margin-bottom: 8px;
}

.office-card__addr {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  color: #ebe5d0;
}

@media (min-width: 640px) {
  .offices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .office-card {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .offices__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============== FORM ============== */
.contact-form-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.contact-form-section__container {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  padding-top: 26px;
  padding-bottom: 26px;
  padding-left: 22px;
  padding-right: 22px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.form__label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a89f87;
}

.form__input, .form__textarea {
  background-color: #14110d;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  padding-top: 11px;
  padding-bottom: 11px;
  padding-left: 14px;
  padding-right: 14px;
  font-size: 14px;
  color: #ebe5d0;
  outline-style: none;
  width: 100%;
}

.form__textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}

.form__consent {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #a89f87;
  line-height: 1.5;
  align-items: flex-start;
}

.form__checkbox {
  margin-top: 3px;
  flex-shrink: 0;
}

.form__link {
  color: #d4af55;
  text-decoration: underline;
}

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

.form__success {
  display: none;
  color: #d4af55;
  font-size: 14px;
  padding-top: 8px;
}

.form__success--show {
  display: block;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
  .contact-form-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .form {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ============== REQUISITES PAGE ============== */
.requisites-section {
  padding-top: 48px;
  padding-bottom: 56px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
}

.requisites-card {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.25);
  background-color: #1b1814;
  padding-top: 26px;
  padding-bottom: 26px;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
}

.requisites-card__sub {
  font-size: 14px;
  color: #a89f87;
  margin-top: 4px;
  margin-bottom: 22px;
}

.requisites-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.requisites-card__item {
  text-align: left;
}

.requisites-card__key {
  font-size: 12px;
  color: #a89f87;
  margin-bottom: 4px;
}

.requisites-card__val {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  color: #d4af55;
}

@media (min-width: 640px) {
  .requisites-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .requisites-card {
    text-align: left;
  }
}

/* ============== LEGAL PAGES ============== */
.legal {
  padding-top: 56px;
  padding-bottom: 56px;
}

.legal__container {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.legal__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  color: #ebe5d0;
  font-weight: 500;
  margin-top: 14px;
  margin-bottom: 8px;
}

.legal__sub {
  font-size: 13px;
  color: #a89f87;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(212, 175, 85, 0.2);
}

.legal__h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  color: #d4af55;
  font-weight: 500;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal__p {
  font-size: 14px;
  color: rgba(235, 229, 208, 0.85);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal__list {
  list-style-type: disc;
  padding-left: 22px;
  margin-bottom: 14px;
  color: #a89f87;
}

.legal__li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .legal__title {
    font-size: 40px;
  }
  .legal__h2 {
    font-size: 24px;
  }
  .legal {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* ============== FOOTER ============== */
.footer {
  background-color: #161310;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.2);
  padding-top: 48px;
  padding-bottom: 24px;
}

.footer__container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.footer__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer__brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  color: #e8d188;
  letter-spacing: 0.05em;
}

.footer__about {
  font-size: 13px;
  color: #a89f87;
  line-height: 1.55;
}

.footer__heading {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #d4af55;
  margin-bottom: 8px;
}

.footer__link {
  font-size: 13px;
  color: #a89f87;
  transition: color 0.2s;
  word-break: break-word;
}

.footer__addr {
  font-size: 13px;
  color: #a89f87;
  line-height: 1.55;
}

.footer__bottom {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 24px;
  padding-left: 16px;
  padding-right: 16px;
  margin-top: 32px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.15);
  font-size: 12px;
  color: #a89f87;
  text-align: center;
}

@media (min-width: 640px) {
  .footer__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer__container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ============== COOKIE ============== */
.cookie {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 60;
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.4);
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 18px;
  padding-right: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

.cookie--show {
  display: flex;
}

.cookie__text {
  font-size: 13px;
  color: #a89f87;
  line-height: 1.5;
}

.cookie__link {
  color: #d4af55;
  text-decoration: underline;
}

.cookie__btn {
  background-color: #d4af55;
  color: #14110d;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 22px;
  padding-right: 22px;
  font-size: 13px;
  font-weight: 500;
  align-self: flex-start;
}

@media (min-width: 640px) {
  .cookie {
    flex-direction: row;
    align-items: center;
    bottom: 16px;
    left: 16px;
    right: auto;
    max-width: 460px;
  }
}

/* ============== CHAT BUBBLE ============== */
.chat-bubble {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #d4af55;
  color: #14110d;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 8px;
  padding-right: 16px;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;
  box-shadow: 0 14px 40px -14px rgba(212, 175, 85, 0.55);
  max-width: calc(100vw - 32px);
}

.chat-bubble--hidden {
  display: none;
}

.chat-bubble--shifted {
  bottom: 140px;
}

.chat-bubble__img {
  width: 44px;
  height: 44px;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;
  object-fit: cover;
  border-width: 2px;
  border-style: solid;
  border-color: rgba(20, 17, 13, 0.3);
  flex-shrink: 0;
}

.chat-bubble__status {
  position: absolute;
  bottom: 10px;
  left: 42px;
  width: 10px;
  height: 10px;
  background-color: #4ade80;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;
  border-width: 2px;
  border-style: solid;
  border-color: #d4af55;
}

.chat-bubble__text {
  display: none;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.chat-bubble__name {
  font-size: 12px;
  font-weight: 500;
}

.chat-bubble__sub {
  font-size: 10px;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .chat-bubble__text {
    display: flex;
  }
  .chat-bubble {
    bottom: 20px;
    right: 20px;
  }
  .chat-bubble--shifted {
    bottom: 110px;
  }
}

/* ============== CHAT WINDOW ============== */
.chat {
  position: fixed;
  bottom: 16px;
  right: 14px;
  left: 14px;
  z-index: 60;
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.4);
  box-shadow: 0 20px 70px -20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 540px;
  max-height: 80vh;
}

.chat[hidden] {
  display: none;
}

.chat--shifted {
  bottom: 140px;
}

@media (min-width: 640px) {
  .chat {
    bottom: 20px;
    right: 20px;
    left: auto;
    width: 380px;
  }
  .chat--shifted {
    bottom: 110px;
  }
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 14px;
  padding-right: 14px;
  background-color: #1a1814;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(212, 175, 85, 0.3);
}

.chat__avatar {
  width: 40px;
  height: 40px;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;
  object-fit: cover;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.5);
  flex-shrink: 0;
}

.chat__head-info {
  flex-grow: 1;
  min-width: 0;
}

.chat__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  color: #d4af55;
}

.chat__role {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #a89f87;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat__dot {
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;
  display: inline-block;
}

.chat__close {
  color: #a89f87;
  font-size: 18px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 8px;
  padding-right: 8px;
  transition: color 0.2s;
}

.chat__body {
  flex-grow: 1;
  overflow-y: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  background-color: rgba(20, 17, 13, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.msg {
  flex-shrink: 0;
}

.msg {
  display: flex;
}

.msg--bot {
  justify-content: flex-start;
}

.msg--user {
  justify-content: flex-end;
}

.msg__bubble {
  max-width: 80%;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 13px;
  line-height: 1.5;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.msg__bubble--bot {
  background-color: #1b1814;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.2);
  color: #ebe5d0;
  border-bottom-left-radius: 0;
}

.msg__bubble--user {
  background-color: #d4af55;
  color: #14110d;
  border-bottom-right-radius: 0;
}

.chat__form {
  display: flex;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(212, 175, 85, 0.3);
  background-color: #1a1814;
}

.chat__input {
  flex-grow: 1;
  background-color: rgba(20, 17, 13, 0.6);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(212, 175, 85, 0.2);
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 13px;
  color: #ebe5d0;
  outline-style: none;
  min-width: 0;
}

.chat__send {
  background-color: #d4af55;
  color: #14110d;
  width: 38px;
  height: 38px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
