.page--city {
  --city-ink: #152024;
  --city-muted: #5d686d;
  --city-yellow: #f8d20d;
  --city-cream: #fbf8e9;
  --city-line: rgba(21, 32, 36, .12);
  overflow: clip;
  background: #fff;
}

.page--city .cms-hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  padding: clamp(72px, 8vw, 118px) 0 clamp(64px, 7vw, 104px);
  background:
    radial-gradient(circle at 9% 18%, rgba(248, 210, 13, .38), transparent 29%),
    linear-gradient(118deg, #fffdf3 0%, #fff 48%, #f4f4f0 100%);
}

.page--city .cms-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 32, 36, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 32, 36, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.page--city .cms-hero__grid {
  grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}

.page--city .cms-hero__copy h1 {
  max-width: 780px;
  color: var(--city-ink);
  font-size: clamp(46px, 5.25vw, 78px);
  line-height: .98;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.page--city .cms-hero__copy h1::after {
  display: block;
  width: 118px;
  height: 8px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--city-yellow);
  content: "";
}

.page--city .cms-hero__copy .cms-lead {
  max-width: 680px;
  color: #465359;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.65;
}

.page--city .cms-hero__visual {
  min-height: 520px;
}

.page--city .cms-hero__image {
  width: 100%;
  min-height: 520px;
  border: 1px solid rgba(21, 32, 36, .12);
  border-radius: 34px;
  box-shadow: 0 32px 80px rgba(21, 32, 36, .2);
  object-fit: cover;
  object-position: 56% center;
}

.page--city .cms-hero__visual::after {
  position: absolute;
  right: -24px;
  bottom: -24px;
  z-index: -1;
  width: 68%;
  height: 76%;
  border-radius: 34px;
  background: var(--city-yellow);
  content: "";
}

.page--city .cms-hero__panel {
  right: auto;
  bottom: 28px;
  left: -34px;
  width: min(340px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(21, 32, 36, .94);
  color: #fff;
  box-shadow: 0 22px 52px rgba(21, 32, 36, .3);
  backdrop-filter: blur(16px);
}

.page--city .cms-hero__panel > span,
.page--city .cms-hero__panel li {
  color: #d7dddf;
}

.page--city .cms-hero__panel li i {
  background: var(--city-yellow);
}

.page--city .cms-hero__proofs li {
  border-color: rgba(21, 32, 36, .1);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 8px 22px rgba(21, 32, 36, .07);
}

.page--city [data-cms-block="quick_answer"] {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding-top: 0;
}

.page--city .cms-answer {
  border: 1px solid rgba(21, 32, 36, .12);
  background: #fff;
  box-shadow: 0 28px 70px rgba(21, 32, 36, .12);
}

.page--city .cms-section--cards[data-block-index="2"] .cms-card-grid {
  grid-template-columns: repeat(12, 1fr);
}

.page--city .cms-section--cards[data-block-index="2"] .cms-card {
  grid-column: span 4;
  min-height: 270px;
}

.page--city .cms-section--cards[data-block-index="2"] .cms-card:first-child,
.page--city .cms-section--cards[data-block-index="2"] .cms-card:nth-child(4) {
  grid-column: span 8;
}

.page--city .cms-section--cards[data-block-index="2"] .cms-card:first-child {
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgba(248, 210, 13, .3), transparent 30%),
    var(--city-ink);
}

.page--city .cms-section--cards[data-block-index="2"] .cms-card:first-child p {
  color: #ccd3d5;
}

.page--city .cms-section--cards[data-block-index="3"] {
  background: var(--city-cream);
}

.page--city .cms-section--comparison {
  background: #fff;
}

.page--city .cms-section--process {
  background:
    linear-gradient(135deg, rgba(248, 210, 13, .1), transparent 42%),
    #f5f5f1;
}

.page--city .cms-process li {
  border-color: rgba(21, 32, 36, .11);
  background: #fff;
  box-shadow: 0 12px 32px rgba(21, 32, 36, .06);
}

.page--city .cms-section--cta {
  background: #fff;
}

.page--city .cms-section--cta .cms-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 20%, rgba(248, 210, 13, .28), transparent 31%),
    var(--city-ink);
}

.page--city .cms-section--cta .cms-cta::after {
  position: absolute;
  right: 15%;
  bottom: -160px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  content: "";
}

.city-presence {
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(248, 210, 13, .14), transparent 28%),
    var(--city-ink);
}

.city-presence__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.city-presence .cms-eyebrow {
  color: var(--city-yellow);
}

.city-presence .cms-section__title {
  max-width: 780px;
  color: #fff;
}

.city-presence .cms-section__intro {
  max-width: 760px;
  color: #c4cccf;
}

.city-presence__facts {
  display: grid;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.city-presence__facts li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.city-presence__facts span {
  color: #89969a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.city-presence__facts strong,
.city-presence__facts a {
  color: #fff;
}

.city-presence__card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: clamp(32px, 4vw, 54px);
  border-radius: 30px;
  background: var(--city-yellow);
  color: var(--city-ink);
  box-shadow: 0 28px 68px rgba(0, 0, 0, .26);
}

.city-presence__card::after {
  position: absolute;
  top: -74px;
  right: -74px;
  width: 210px;
  height: 210px;
  border: 36px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  content: "";
}

.city-presence__code {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 44px;
  place-items: center;
  border: 1px solid rgba(21, 32, 36, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .32);
  font-weight: 900;
}

.city-presence__card > p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.city-presence__card h3 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}

.city-presence__card address {
  max-width: 310px;
  margin: 0 0 24px;
  font-size: 18px;
  font-style: normal;
  line-height: 1.55;
}

.city-presence__appointment {
  display: block;
  max-width: 320px;
  padding-top: 20px;
  border-top: 1px solid rgba(21, 32, 36, .22);
}

.city-presence__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 30px;
}

.city-presence__actions a {
  color: var(--city-ink);
  font-weight: 800;
  text-underline-offset: 5px;
}

.page--city .cms-section--rich-text.cms-section--security {
  background:
    radial-gradient(circle at 90% 20%, rgba(248, 210, 13, .16), transparent 26%),
    #f1f3f2;
}

.page--city .cms-section--contact-form {
  background: var(--city-cream);
}

@media (max-width: 1050px) {
  .page--city .cms-hero {
    min-height: 0;
  }

  .page--city .cms-hero__grid,
  .city-presence__grid {
    grid-template-columns: 1fr;
  }

  .page--city .cms-hero__visual {
    width: min(820px, 100%);
    min-height: 460px;
  }

  .page--city .cms-hero__image {
    min-height: 460px;
  }

  .page--city .cms-hero__panel {
    left: 24px;
  }

  .city-presence__card {
    width: min(660px, 100%);
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .page--city .cms-hero {
    padding: 54px 0 72px;
  }

  .page--city .cms-hero__copy h1 {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.01;
  }

  .page--city .cms-hero__copy h1::after {
    height: 6px;
    margin-top: 22px;
  }

  .page--city .cms-hero__actions {
    display: grid;
  }

  .page--city .cms-hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  .page--city .cms-hero__visual,
  .page--city .cms-hero__image {
    min-height: 350px;
  }

  .page--city .cms-hero__visual::after {
    right: -12px;
    bottom: -12px;
  }

  .page--city .cms-hero__panel {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 28px);
    margin: -54px auto 0;
  }

  .page--city [data-cms-block="quick_answer"] {
    margin-top: -28px;
  }

  .page--city .cms-section--cards[data-block-index="2"] .cms-card-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page--city .cms-section--cards[data-block-index="2"] .cms-card,
  .page--city .cms-section--cards[data-block-index="2"] .cms-card:first-child,
  .page--city .cms-section--cards[data-block-index="2"] .cms-card:nth-child(4) {
    grid-column: auto;
    min-height: 0;
  }

  .city-presence__facts li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .city-presence__card {
    padding: 30px 26px;
    border-radius: 24px;
  }

  .city-presence__code {
    margin-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page--city *,
  .page--city *::before,
  .page--city *::after {
    scroll-behavior: auto !important;
  }
}
