body.reference-chrome {
  --reference-header-height: 64px;
  --reference-type: "Inter Tight", Arial, sans-serif;
  --reference-light: #f1f2f7;
  --reference-ink: #161616;
  --reference-accent: #ad4966;
  --font: var(--reference-type);
  --font-heading: var(--reference-type);
  margin: 0;
}

.reference-chrome *, .reference-chrome *::before, .reference-chrome *::after { box-sizing: border-box; }

.reference-container {
  width: min(1130px, calc(100% - 64px));
  margin-inline: auto;
}

.reference-chrome :is(main, section, footer, .reference-planning__item) { scroll-margin-top: calc(var(--reference-header-height) + 12px); }

.reference-chrome .skip-link {
  position: fixed;
  top: 5px;
  left: 16px;
  z-index: 120;
  transform: translateY(-150%);
  background: #fff;
  padding: 10px 16px;
  color: #111;
}
.reference-chrome .skip-link:focus { transform: none; }

.reference-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  min-height: var(--reference-header-height);
  background: rgb(255 255 255 / 92%);
  color: var(--reference-ink);
  backdrop-filter: blur(14px);
  font: 400 13px/1.3 var(--reference-type);
}
.reference-site-header__row { display: flex; gap: 24px; align-items: center; min-height: var(--reference-header-height); }
.reference-site-header a, .reference-footer a { text-decoration: none; }
.reference-site-header :is(a,summary):hover { color: #8b354d; }
.reference-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: inherit;
  font: 700 25px/1 var(--reference-type);
  letter-spacing: -.04em;
  white-space: nowrap;
}
.reference-brand img { display: block; width: 34px; height: auto; }
.reference-nav { display: flex; gap: 16px; align-items: center; white-space: nowrap; }
.reference-nav a, .reference-site-header .reference-phone { color: inherit; }
.reference-nav__group { position: relative; }
.reference-nav__group summary, .reference-mobile-menu summary { display: flex; gap: 8px; align-items: center; cursor: pointer; list-style: none; }
.reference-nav__group summary::-webkit-details-marker, .reference-mobile-menu summary::-webkit-details-marker { display: none; }
.reference-nav__group summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--reference-accent);
  border-bottom: 1px solid var(--reference-accent);
  transform: translateY(-2px) rotate(45deg);
}
.reference-nav__group[open] summary::after { transform: translateY(2px) rotate(225deg); }
.reference-nav__group > div {
  position: absolute;
  top: calc(100% + 16px);
  left: -12px;
  display: grid;
  gap: 4px;
  min-width: 200px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e6e6ea;
  border-radius: 5px;
  box-shadow: 0 10px 26px #15151518;
}
.reference-nav__group > div a { padding: 8px 12px; border-radius: 3px; }
.reference-nav__group > div a:hover { background: var(--reference-light); }
.reference-site-header__contact { display: flex; align-items: center; gap: 16px; margin-left: auto; white-space: nowrap; }
.reference-mobile-menu { display: none; }

.reference-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 45px;
  padding: 0 28px;
  border: 0;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font: 400 14px/1.25 var(--reference-type);
  text-decoration: none;
}
.reference-button span { color: #f68ca9; }
.reference-chrome .reference-button:hover { background: #363636; color: white; }
.reference-compact-button { min-height: 35px; padding-inline: 12px; white-space: nowrap; font-size: 13px; }

.reference-footer {
  background: #303030;
  color: #f5f5f5;
  padding: 46px 0 28px;
  font: 400 14px/1.45 var(--reference-type);
}
.reference-footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr .85fr 1.7fr; align-items: start; gap: 28px; padding-bottom: 44px; }
.reference-footer__brand .reference-brand { color: #fff; }
.reference-footer__brand .reference-brand img { filter: brightness(0) invert(1); }
.reference-footer__brand p { color: #c3c3c3; max-width: 170px; margin: 26px 0 0; }
.reference-footer__links { display: grid; align-content: start; gap: 15px; }
.reference-footer__links strong { font-weight: 600; }
.reference-footer__links a, .reference-footer__contacts > a, .reference-footer__contacts > p { color: #d3d3d3; }
.reference-footer a:hover:not(.reference-button) { color: #fff; text-decoration: underline; }
.reference-footer__contacts { text-align: right; }
.reference-footer__contact-card { text-align: left; padding: 18px; background: #444; border-radius: 5px; }
.reference-footer__contact-card .reference-phone { color: #ffc1d1; font-weight: 600; font-size: 18px; }
.reference-footer__contact-card p { margin: 12px 0; color: #eee; }
.reference-footer__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.reference-footer__social, .reference-contact-grid__social { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.reference-footer__social { justify-content: flex-end; }
.reference-footer__social a, .reference-contact-grid__social a { display: inline-flex; color: inherit; padding: 6px 10px; border: 1px solid #858585; border-radius: 4px; }
.reference-footer__contacts > p { margin-bottom: 0; }
.reference-footer__legal {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: start;
  border-top: 1px solid #5d5d5d;
  padding-top: 18px;
  color: #c4c4c4;
  font-size: 12px;
}
.reference-footer__legal p { margin: 0; }
.reference-footer__legal > div { display: flex; gap: 10px 18px; flex-wrap: wrap; }
.reference-footer__legal a, .reference-footer__legal button { color: inherit; text-decoration: underline; }
.reference-footer__legal button { border: 0; padding: 0; background: transparent; font: inherit; cursor: pointer; }

.reference-to-top {
  position: fixed;
  right: 28px;
  bottom: 26px;
  z-index: 60;
  width: 45px;
  height: 45px;
  border: 1px solid #999;
  border-radius: 50%;
  background: rgb(255 255 255 / 88%);
  color: #272727;
  font: 400 24px/1 var(--reference-type);
  cursor: pointer;
}
.reference-to-top[hidden] { display: none; }

body.reference-chrome .reference-request {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 66px 20px;
  isolation: isolate;
  background: #e9e9ed;
}
.reference-request__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.reference-request__panel {
  width: min(100%, 490px);
  padding: clamp(24px, 4vw, 46px);
  border-radius: 5px;
  background: rgb(250 250 252 / 88%);
  color: var(--reference-ink);
  backdrop-filter: blur(12px);
}
body.reference-chrome .reference-request h2 {
  margin: 0 0 12px;
  color: var(--reference-ink);
  font: 400 clamp(22px, 2.1vw, 30px)/1.08 var(--reference-type);
}
.reference-request__panel > p { margin: 0 0 18px; color: #373737; font: 400 15px/1.4 var(--reference-type); }
body.reference-chrome .reference-request .lead-form { gap: 13px; color: #252525; }
body.reference-chrome .reference-request .lead-form__grid { grid-template-columns: 1fr; gap: 12px; }
body.reference-chrome .reference-request .lead-form__summary { background: #fff; border-color: #a65872; padding: 10px 12px; }
body.reference-chrome .reference-request .lead-form__field > input {
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid #e4e4e9;
  border-radius: 5px;
  background: #fff;
  color: #161616;
}
body.reference-chrome .reference-request .lead-form button[type=submit] {
  min-height: 45px;
  padding: 10px 18px;
  border: 0;
  border-radius: 5px;
  background: #303030;
  color: #fff;
  font: 400 14px/1.35 var(--reference-type);
}
body.reference-chrome .reference-request .lead-form button[type=submit]:hover { background: #161616; }
body.reference-chrome .reference-request .lead-form button[type=submit] span { color: #f68ca9; }

body.reference-chrome .cookie-banner {
  width: min(560px, calc(100% - 28px));
  left: 0;
  right: 0;
  bottom: 22px;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 10px 35px #0003;
  background: #fff;
  color: #272727;
  font: 400 13px/1.4 var(--reference-type);
}
body.reference-chrome .cookie-banner button { min-height: 34px; padding: 6px 10px; border-radius: 4px; background: #222; border-color: #222; }
body.reference-chrome .cookie-banner [data-cookie-reject] { background: #fff; color: #222; }

body.reference-chrome .legal-page { background: #fff; }
body.reference-chrome .legal-page h1 { font-size: clamp(31px, 3vw, 46px); }
body.reference-chrome .legal-page h2 { font-size: clamp(22px, 2.05vw, 31px); }
body.reference-simple-page { background: #fff; color: #161616; font: 400 16px/1.5 var(--reference-type); }
.reference-simple-page :is(h1,h2,h3,p) { margin: 0; }
.reference-plaza { margin-top: var(--reference-header-height); padding: 54px 0 75px; background: var(--reference-light); }
.reference-plaza h1 { text-align: center; font-size: clamp(32px, 3vw, 46px); font-weight: 400; line-height: 1.1; margin: 0 0 20px; }
.reference-plaza__lead { text-align: center; color: #444; }
.reference-plaza .reference-guides__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 30px; }
.reference-plaza .reference-guide { overflow: hidden; border-radius: 5px; background: #fff; color: inherit; text-decoration: none; }
.reference-plaza .reference-guide img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.reference-plaza .reference-guide div { padding: 20px; }
.reference-plaza .reference-guide h3 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.reference-plaza .reference-guide p { color: #4a4a4a; }
.reference-plaza .reference-guide:hover h3 { text-decoration: underline; }
.reference-contact-grid { display: grid; grid-template-columns: 407fr 704fr; gap: 18px; margin-top: 34px; }
.reference-contact-grid__copy { background: #fff; border-radius: 5px; padding: clamp(24px, 4vw, 44px); }
.reference-contact-grid__copy h2 { font-weight: 500; font-size: 28px; margin-bottom: 12px; }
.reference-contact-grid__copy p { margin-bottom: 18px; }
.reference-contact-grid__copy a:not(.reference-button) { color: #242424; }
.reference-contact-grid img { display: block; width: 100%; height: 100%; min-height: 310px; object-fit: cover; border-radius: 5px; }

@media (max-width: 1030px) {
  .reference-nav, .reference-site-header__contact .reference-compact-button { display: none; }
  .reference-mobile-menu { display: block; }
  .reference-mobile-menu > summary { color: inherit; padding: 10px 0 10px 10px; }
  .reference-mobile-menu nav {
    position: fixed;
    top: var(--reference-header-height);
    inset-inline: 0;
    display: grid;
    gap: 10px;
    max-height: calc(100dvh - var(--reference-header-height));
    overflow: auto;
    padding: 20px 32px 26px;
    background: #fff;
    box-shadow: 0 12px 28px #1112;
  }
  .reference-mobile-menu nav a:not(.reference-button) { color: #111; padding: 7px 0; }
  .reference-mobile-menu nav .reference-button { justify-self: start; }
  .reference-footer__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .reference-footer__contacts { grid-column: 2 / span 2; }
}

@media (max-width: 700px) {
  body.reference-chrome { --reference-header-height: 60px; }
  .reference-container { width: calc(100% - 36px); }
  .reference-site-header__row { gap: 9px; }
  .reference-brand { font-size: 20px; }
  .reference-brand img { width: 29px; }
  .reference-site-header__contact { font-size: 12px; }
  .reference-mobile-menu nav { padding-inline: 18px; }
  .reference-mobile-menu > summary { gap: 5px; padding-left: 4px; }
  .reference-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 14px; }
  .reference-footer__contacts { grid-column: 1 / -1; text-align: left; }
  .reference-footer__social { justify-content: flex-start; }
  .reference-footer__legal { flex-direction: column; gap: 14px; }
  .reference-to-top { right: 14px; bottom: 15px; }
  .reference-plaza { padding-block: 32px 40px; }
  .reference-plaza .reference-guides__grid, .reference-contact-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1031px) {
  .reference-site-header .reference-brand { font-size: 21px; min-width: 148px; }
}
