:root {
  --gold: #b8860b;
  --gold-2: #e8ba4a;
  --gold-dark: #785600;
  --brown: #5c4033;
  --ink: #1e1b18;
  --cream: #fff9ea;
  --soft: #fbf6ed;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--cream);
}

.gold-gradient {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
}

.gold-text {
  color: var(--gold);
}

.brown-text {
  color: var(--brown);
}

.section-curve {
  position: relative;
  overflow: hidden;
}

.section-curve::before,
.section-curve::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 0;
  width: max(1440px, 116vw);
  height: 65px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold) 0%, #dca334 50%, var(--gold) 100%);
  box-shadow: inset 0 0 22px rgba(120, 86, 0, .24);
}

.section-curve::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 45px, 75% 26px, 50% 14px, 25% 26px, 0 45px);
}

.section-curve::after {
  bottom: 0;
  clip-path: polygon(0 20px, 25% 39px, 50% 51px, 75% 39px, 100% 20px, 100% 100%, 0 100%);
}

.section-curve > .section-inner {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 112px;
}

.home-services-figma {
  position: relative;
  overflow: hidden;
}

.home-services-figma > div {
  position: relative;
  z-index: 1;
}

.home-services-figma::before,
.home-services-figma::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 0;
  width: max(1440px, 116vw);
  height: 65px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold) 0%, #dca334 50%, var(--gold) 100%);
  box-shadow: inset 0 0 22px rgba(120, 86, 0, .24);
}

.home-services-figma::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 45px, 75% 26px, 50% 14px, 25% 26px, 0 45px);
}

.home-services-figma::after {
  bottom: 0;
  clip-path: polygon(0 20px, 25% 39px, 50% 51px, 75% 39px, 100% 20px, 100% 100%, 0 100%);
}

.service-mini-card {
  text-align: center;
}

.service-mini-image {
  width: 100%;
  aspect-ratio: 192.67 / 263.75;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .2);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

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

.service-mini-card h3 {
  margin-top: 12px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.service-mini-card p {
  min-height: 30px;
  margin: 8px auto 0;
  padding: 0 8px;
  color: #636363;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 9999px;
  padding: 10px 24px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(120, 86, 0, .18);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(120, 86, 0, .24);
}

.btn-gold.service-mini-btn {
  min-height: 22px;
  margin-top: 8px;
  padding: 4px 12px;
  font-size: 9px;
  line-height: 13.5px;
  box-shadow: none;
}

.home-experts-figma {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffefa 14.9%, #fff9ea 100%);
}

.home-experts-figma > div {
  position: relative;
  z-index: 1;
}

.home-experts-figma::before,
.home-experts-figma::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 0;
  width: max(1440px, 116vw);
  height: 65px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold) 0%, #dca334 50%, var(--gold) 100%);
  box-shadow: inset 0 0 22px rgba(120, 86, 0, .24);
}

.home-experts-figma::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 45px, 75% 26px, 50% 14px, 25% 26px, 0 45px);
}

.home-experts-figma::after {
  bottom: 0;
  clip-path: polygon(0 20px, 25% 39px, 50% 51px, 75% 39px, 100% 20px, 100% 100%, 0 100%);
}

.ceo-portrait-wrap {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

.ceo-portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 2px solid rgba(212, 175, 55, .3);
  border-radius: 16px;
}

.ceo-portrait-wrap img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.ceo-copy {
  max-width: 800px;
}

.ceo-heading {
  border-left: 4px solid var(--gold);
  padding-left: 28px;
}

.ceo-heading h2 {
  color: var(--brown);
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  text-transform: uppercase;
}

.ceo-heading p {
  margin-top: 4px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ceo-body {
  margin-top: 23px;
  display: grid;
  gap: 15px;
  color: var(--brown);
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
}

.experts-team {
  margin-top: 120px;
  text-align: center;
}

.experts-team h2 {
  color: var(--gold);
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.experts-team > img {
  display: block;
  width: min(100%, 1099px);
  height: auto;
  max-height: 461px;
  margin: 48px auto 0;
  object-fit: contain;
}

.experts-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
  padding-top: 16px;
}

.experts-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.experts-icon {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(180deg, var(--gold) 0%, #d4af37 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.experts-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.experts-stat-main .experts-icon {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(212, 175, 55, .2);
  background: var(--gold);
  font-size: 30px;
  line-height: 36px;
}

.experts-stat p {
  max-width: 395px;
  margin-top: 12px;
  color: var(--brown);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
}

.lux-card {
  background: #fff;
  border: 1px solid rgba(211, 196, 175, .75);
  box-shadow: 0 10px 40px -20px rgba(120, 86, 0, .3);
}

.hero-title {
  color: var(--brown);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.field {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d3c4af;
  background: transparent;
  padding: 13px 0 15px;
  color: #6b7280;
  outline: none;
}

.field:focus {
  border-color: var(--gold);
}

.figma-soft-section {
  background: linear-gradient(180deg, #fffefa 0%, #fff9ea 100%);
}

.figma-reason-grid .lux-card {
  min-height: 202px;
  border-color: rgba(211, 196, 175, .6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.figma-reason-grid h3 {
  color: var(--brown);
  font-size: 20px;
  line-height: 28px;
}

.figma-master-grid img {
  height: 500px;
  border: 1px solid rgba(211, 196, 175, .5);
  object-position: center top;
}

.figma-services-list article img,
.figma-news-list article img {
  height: 282px;
  border: 1px solid rgba(211, 196, 175, .5);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.figma-services-list article,
.figma-news-list article {
  min-height: 0;
}

.figma-services-list h3,
.figma-news-list h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 28px;
  text-transform: uppercase;
}

.figma-pricing > div {
  max-width: 1040px;
}

.figma-pricing .gold-gradient {
  padding: 32px;
}

.figma-form-section {
  background: #fff9ea;
}

.figma-form-section form {
  border-color: rgba(211, 196, 175, .3);
  box-shadow: 0 10px 40px -10px rgba(120, 86, 0, .1);
}

.figma-featured-news {
  border: 1px solid rgba(211, 196, 175, .3);
  box-shadow: 0 20px 40px -18px rgba(120, 86, 0, .25);
}

.figma-featured-news img {
  min-height: 360px;
}

.figma-news-tabs {
  border-top: 1px solid rgba(211, 196, 175, .45);
  border-bottom: 1px solid rgba(211, 196, 175, .45);
}

.figma-news-list {
  background: #fff9ea;
}

.figma-news-list article {
  display: flex;
  min-height: 540px;
  flex-direction: column;
}

.figma-news-list article a {
  width: max-content;
  margin-top: auto;
}

.figma-contact-main {
  background: linear-gradient(180deg, #fffefa 0%, #fff9ea 100%);
}

.figma-contact-main > div {
  align-items: start;
}

.figma-contact-form {
  border: 1px solid #d3c4af;
  border-radius: 0;
  box-shadow: 0 25px 50px -24px rgba(120, 86, 0, .3);
}

.figma-branches {
  background: #fff9ea;
}

.figma-branches article {
  border: 1px solid #d3c4af;
  border-radius: 0;
  box-shadow: none;
}

.figma-branches article h3 {
  color: var(--ink);
  font-size: 24px;
  line-height: 32px;
}

.figma-branches article img {
  opacity: .46;
  filter: saturate(.55);
}

@media (max-width: 767px) {
  .section-curve::before,
  .section-curve::after {
    height: 44px;
  }

  .section-curve::before {
    clip-path: polygon(0 0, 100% 0, 100% 30px, 75% 18px, 50% 10px, 25% 18px, 0 30px);
  }

  .section-curve::after {
    clip-path: polygon(0 14px, 25% 26px, 50% 34px, 75% 26px, 100% 14px, 100% 100%, 0 100%);
  }

  .section-curve > .section-inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-services-figma::before,
  .home-services-figma::after {
    height: 44px;
  }

  .home-services-figma::before {
    clip-path: polygon(0 0, 100% 0, 100% 30px, 75% 18px, 50% 10px, 25% 18px, 0 30px);
  }

  .home-services-figma::after {
    clip-path: polygon(0 14px, 25% 26px, 50% 34px, 75% 26px, 100% 14px, 100% 100%, 0 100%);
  }

  .home-experts-figma::before,
  .home-experts-figma::after {
    height: 44px;
  }

  .home-experts-figma::before {
    clip-path: polygon(0 0, 100% 0, 100% 30px, 75% 18px, 50% 10px, 25% 18px, 0 30px);
  }

  .home-experts-figma::after {
    clip-path: polygon(0 14px, 25% 26px, 50% 34px, 75% 26px, 100% 14px, 100% 100%, 0 100%);
  }

  .ceo-portrait-wrap {
    margin: 0 auto;
  }

  .ceo-heading {
    padding-left: 18px;
  }

  .ceo-heading h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .experts-team {
    margin-top: 72px;
  }

  .experts-team h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .experts-stats {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .figma-featured-news img {
    min-height: 260px;
  }

  .figma-news-list article {
    min-height: auto;
  }

  .figma-form-section form .flex {
    flex-direction: column;
  }
}
