@font-face { font-family: Proxima; src: url(assets/regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Proxima; src: url(assets/bold.otf); font-weight: 700; font-display: swap; }
@font-face { font-family: Proxima; src: url(assets/extra.otf); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --background: #14131b;
  --text: #f1efec;
  --lime: #baed00;
  --gutter: clamp(18px, 5vw, 72px);
  --header-height: 72px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1 Proxima, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
p, h1, figure { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }
img { display: block; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgb(20 19 27 / 95%);
}
.brand { display: inline-flex; gap: 5px; align-items: center; flex: none; }
.mark { width: 40px; margin-right: 3px; }
.word-rolic { width: 102.75px; }
.word-pop { width: 67.3px; }
.tagline, .navigation { color: #b9b9c6; }
.tagline { white-space: nowrap; }
.navigation { display: flex; align-items: center; gap: clamp(12px, 1.67vw, 24px); margin-left: auto; white-space: nowrap; }
.navigation a:hover { color: white; }
.navigation a[aria-current="location"] { color: var(--lime); }
#promotion { scroll-margin-top: 64px; }
.locale { display: flex; gap: 4px; align-items: center; margin-left: 8px; }
.locale img { width: 16px; filter: grayscale(1) brightness(1.6); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--lime);
  color: var(--background);
  padding: 6px 10px;
  font: 800 20px/1 Proxima, Arial, sans-serif;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  text-align: center;
}
.order { min-height: 40px; min-width: 178px; font-size: 16px; margin-right: calc(32px - var(--gutter)); margin-left: 40px; }
.secondary { color: #edecf6; background: transparent; border-color: #7e7e85; font-weight: 700; }
.secondary:focus-visible { background-color: rgba(255, 255, 255, .05); border-color: #fff; }
@media (hover: hover) {
  .primary:hover { box-shadow: 0 0 16px var(--lime); }
  .secondary:hover { background-color: rgba(255, 255, 255, .05); border-color: #fff; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .header .order:hover, .actions .button:hover { transform: scale(1.03); }
}
.hero { position: relative; display: grid; grid-template-columns: 45.91% 54.09%; align-items: start; }
.copy { position: relative; z-index: 1; padding-top: 40px; }
h1 { color: #f8f8f8; font-size: clamp(36px, 5vw, 72px); font-weight: 800; line-height: .78; margin-left: -3px; }
h1 strong { color: var(--lime); font-weight: inherit; }
.intro { font-size: clamp(18px, 1.667vw, 24px); max-width: 497px; margin-top: 20px; line-height: 1; }
.features { display: flex; gap: clamp(12px, 2.78vw, 40px); margin-top: 40px; }
.features li { display: flex; align-items: center; gap: 8px; font-size: clamp(15px, 1.39vw, 20px); }
.features img { width: 32px; flex: none; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 16px; margin-top: 48px; }
.stage {
  isolation: isolate;
  position: relative;
  width: calc(100% + min(3vw, 41px));
  aspect-ratio: 742 / 531;
  margin-top: 10px;
}
.phone { position: absolute; height: auto; transform-origin: center; animation: sway var(--period) var(--delay) ease-in-out infinite; }
.phone-left { left: 1.0782%; top: 12.4294%; width: 35.3100%; --period: 12s; --delay: -6s; --dx: -2px; --dy: -4px; --angle: -.7deg; }
.phone-right { left: 51.8868%; top: 14.8776%; width: 43.2615%; --period: 16s; --delay: -8s; --dx: 2px; --dy: -3px; --angle: .65deg; }
.phone-center { left: 20.6199%; top: 1.1299%; width: 45.0135%; --period: 14s; --delay: 0s; --dx: -1px; --dy: -4px; --angle: .45deg; }
@keyframes sway {
  0%, 50%, 100% { transform: none; }
  25% { transform: translate(var(--dx), var(--dy)) rotate(var(--angle)); }
  75% { transform: translate(calc(-1 * var(--dx)), calc(-1 * var(--dy))) rotate(calc(-1 * var(--angle))); }
}
/* Each gradient fades to transparency before its own edges. */
.lighting { position: absolute; inset: 0; pointer-events: none; }
.glow {
  position: absolute;
  width: 68%;
  height: 112%;
  background: radial-gradient(ellipse closest-side,
    rgba(var(--light-rgb), .64) 0%,
    rgba(var(--light-rgb), .40) 32%,
    rgba(var(--light-rgb), .13) 68%,
    rgba(var(--light-rgb), 0) 100%);
  opacity: .65;
  animation: light-drift var(--duration) ease-in-out var(--phase) infinite alternate;
}
.glow-green {
  left: 0;
  top: -8%;
  --light-rgb: 186, 237, 0;
  --drift-x: 16%;
  --drift-y: 16%;
  --duration: 8s;
  --phase: -2s;
}
.glow-yellow {
  right: 0;
  top: 0;
  --light-rgb: 237, 225, 0;
  --drift-x: -17%;
  --drift-y: -15%;
  --duration: 11s;
  --phase: -7s;
}
@keyframes light-drift {
  from { transform: translate(0, 0) scale(.92); opacity: .57; }
  to { transform: translate(var(--drift-x), var(--drift-y)) scale(.99); opacity: .87; }
}
.platforms { padding-block: 13px 30px; display: flex; gap: 24px; align-items: center; }
.platforms ul { display: flex; gap: 32px; flex-wrap: wrap; }
.platforms li { display: flex; align-items: center; gap: 4px; }
.platforms img { width: 24px; }
@media (max-width: 1190px) {
  .tagline { display: none; }
  .order { margin-right: 0; margin-left: 8px; min-width: 148px; }
  .features { gap: 14px; }
  .button:not(.order) { font-size: clamp(16px, 2vw, 20px); }
  .platforms { margin-top: 20px; }
}
@media (max-width: 900px) {
  .navigation { display: none; }
  .order { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .copy { padding-top: 28px; }
  h1 { font-size: clamp(33px, 9.4vw, 62px); line-height: .85; }
  .intro { margin-top: 18px; line-height: 1.15; }
  .features { gap: clamp(12px, 4vw, 32px); margin-top: 24px; }
  .features img { width: 24px; }
  .actions { margin-top: 24px; }
  .stage { width: min(100%, 680px); margin: 16px auto 0; }
  .platforms { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 0; }
  .platforms ul { gap: 12px 20px; }
}
@media (max-width: 450px) {
  :root { --header-height: 60px; }
  .header { gap: 8px; }
  .mark { width: 28px; }
  .word-rolic { width: 72px; }
  .word-pop { width: 47px; }
  .order { min-width: 0; min-height: 38px; font-size: 14px; }
  .features { display: grid; grid-template-columns: minmax(0, 23fr) minmax(0, 27fr) minmax(0, 50fr); }
  .features li { gap: 5px; font-size: 14px; }
  .features img { width: 19px; }
  .actions { gap: 8px; }
  .button:not(.order) { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .glow { animation: none; }
  .button { transition: none; }
}
@media (min-width: 901px) {
  .first-screen { min-height: calc(720px - var(--header-height)); }
  .features span { white-space: nowrap; }
}
@media (min-width: 901px) and (max-width: 1190px) {
  .features img { width: 25px; }
  .features li { gap: 6px; }
  .button:not(.order) { font-size: clamp(16px, 1.8vw, 20px); }
}
@media (max-width: 1070px) {
  .navigation { display: none; }
  .order { margin-left: auto; }
}

.work {
  --work-inset: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
  background: #f0efeb;
  color: #14131b;
  padding-block: 60px 40px;
}
.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 max(16px, calc(var(--work-inset) - 48px)) 16px var(--work-inset);
}
.work-label {
  display: inline-block;
  padding: 4px 8px;
  background: var(--lime);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}
.work h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 3.34vw, 48px);
  line-height: .86;
  font-weight: 800;
}
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.work-filters button, .work-more {
  appearance: none;
  border: 1px solid #7e7e85;
  border-radius: 100px;
  color: #7e7e85;
  background: transparent;
  padding: 8px 16px;
  font: 400 20px/1 Proxima, Arial, sans-serif;
  cursor: pointer;
}
.work-filters button {
  min-height: 32px;
  border-width: 1.4px;
  padding-block: 0;
  font-size: 14px;
  white-space: nowrap;
}
.work-filters button[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #14131b;
  font-size: 14px;
}
.work-filters button:focus-visible, .work-more:focus-visible { border-color: #14131b; color: #14131b; }
@media (hover: hover) {
  .work-filters button:hover, .work-more:hover { border-color: #14131b; color: #14131b; }
}
.work-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-inline: var(--work-inset);
  scroll-padding-inline: var(--work-inset);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.work-cards::-webkit-scrollbar { display: none; }
.work-cards.is-expanded { flex-wrap: wrap; overflow: visible; }
.work-card {
  position: relative;
  flex: 0 0 240px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #14131b;
  color: #f0efeb;
  scroll-snap-align: start;
}
.work-photo { width: 100%; height: 100%; object-fit: cover; object-position: center var(--crop); }
.work-card--plumbing .work-photo { transform: scale(1.13); transform-origin: 43% 40%; }
.work-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(20, 19, 27, .8));
}
.work-caption {
  position: absolute;
  z-index: 1;
  inset: auto 8px 8px 4px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
}
.work-caption h3 { margin: 3px 0 0; font-size: 18px; line-height: 1; font-weight: 700; }
.work-duration { margin: 2px 0 0 6px; font-size: 16px; font-weight: 400; }
.work-more {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0 var(--work-inset);
  font-size: 14px;
  border-radius: 8px;
  padding-block: 8px;
}
.work-more[hidden] { display: none; }
.work-more[aria-expanded="true"] img { transform: rotate(180deg); }
@media (min-width: 1100px) {
  .work { min-height: 720px; }
  .work-heading { min-height: 128px; }
  .work-heading > :first-child { align-self: start; }
}
@media (max-width: 600px) {
  .work { padding-top: 32px; }
  .work-heading { margin-right: var(--work-inset); gap: 16px; }
  .work-filters button { padding-inline: 12px; }
}

@font-face {
  font-family: Montserrat;
  src: url(assets/montserrat.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
.brief-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: 88px 116px;
}
.brief-section::before, .brief-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.brief-section::before {
  opacity: .6;
  inset: auto auto 8.625% 5%;
  width: 34.45%;
  height: min(638px, 80%);
  background: linear-gradient(var(--lime), rgb(186 237 0 / 20%));
  filter: blur(80px);
}
.brief-section::after {
  inset: auto 2.15% 8.875% auto;
  width: 38.34%;
  height: min(576px, 72%);
  background: linear-gradient(145deg, rgb(186 237 0 / 20%), var(--lime));
  opacity: .45;
  filter: blur(60px);
}
@media (prefers-reduced-motion: no-preference) {
  .brief-section::before { animation: brief-glow-drift 8s ease-in-out infinite alternate; }
  .brief-section::after { animation: brief-glow-drift 11s ease-in-out -5s infinite alternate-reverse; }
}
@keyframes brief-glow-drift {
  from { transform: translate(-12%, 11%) scale(.9); filter: blur(80px); }
  to { transform: translate(27%, -22%) scale(1.16); filter: blur(80px); }
}
.brief-panel {
  scroll-margin-top: 45px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 780px);
  column-gap: 28px;
  grid-template-rows: auto 1fr;
  padding: 23px 20px 23px 36px;
  border: 1px solid #35343d;
  border-radius: 24px;
  background: linear-gradient(214.64deg, rgb(15 15 19 / 85%) 30.594%, rgb(25 25 31 / 85%) 100%);
  backdrop-filter: blur(25px);
  box-shadow: 0 12px 40px 1px #000;
  font-family: Montserrat, Arial, sans-serif;
  color: #f7f6f3;
}
.brief-panel h2 { margin: 14px 0 38px; font-size: clamp(32px, 3vw, 43px); line-height: 1.07; font-weight: 800; letter-spacing: -1.4px; }
.brief-timeline { margin: 0; padding: 0; list-style: none; }
.brief-timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; min-height: 104px; }
.brief-timeline li::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 7px;
  width: 11px;
  height: 11px;
  background: url(assets/brief-marker.svg) center / contain no-repeat;
}
.brief-timeline li:not(:last-child)::after { content: ""; position: absolute; top: 22px; bottom: 4px; left: 53px; width: 1px; background: #78931b; }
.brief-timeline li > span { color: var(--lime); font-size: 23px; font-weight: 700; }
.brief-timeline h3 { margin: 0 0 6px; max-width: 280px; font-size: 21px; line-height: 24px; }
.brief-timeline p { max-width: 265px; color: #d2d2d1; font-size: 15px; line-height: 21px; }
#brief { grid-column: 2; grid-row: 1 / 3; min-width: 0; }
#project-form { color-scheme: light; background: #f4f2ed; color: #191a16; padding: 20px 28px 14px 32px; border-radius: 16px; min-height: 520px; }
#project-form h3 { margin: 0 0 20px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.23; font-weight: 800; letter-spacing: -.7px; }
.site-options, .brief-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.site-options { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.site-options .choice { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 8px; border: 1px solid transparent; border-radius: 16px; background: #e9e7e1; font: 700 16px/20px Proxima, Arial, sans-serif; cursor: pointer; position: relative; }
.site-options .choice:has(:checked) { background: #e3e1de; border-color: #000; }
.choice:has(:focus-visible) { outline: 2px solid #78931b; outline-offset: 2px; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice img { width: 24px; height: 24px; }
#brief-fields > label, .brief-fields label { display: grid; gap: 8px; margin-bottom: 16px; font-size: 15px; font-weight: 600; line-height: 18px; }
#brief-fields label[hidden] { display: none; }
#brief-fields input:not([type=radio]), #brief-fields textarea { width: 100%; min-width: 0; min-height: 52px; padding: 12px 16px; border: 2px solid #d6d5d1; border-radius: 12px; background: #f0efeb; color: inherit; font: 400 15px/1.4 Montserrat, Arial, sans-serif; }
#brief-fields textarea { resize: vertical; }
#brief-fields input::placeholder, #brief-fields textarea::placeholder { color: #50524b; opacity: 1; }
#brief-fields small { font-size: inherit; font-weight: inherit; }
.brief-fields label { margin-bottom: 10px; }
.brief-submit { display: flex; gap: 12px; min-height: 52px; width: 100%; border-radius: 12px; font: 700 17px/1.2 Montserrat, Arial, sans-serif; cursor: pointer; }
.brief-submit img { width: 16px; height: 16px; }
.contact-hint, .form-status { margin-top: 10px; color: #50524b; font-size: 13px; line-height: 1.4; }
.form-status:empty { margin: 0; }
#brief-success .button { color: #191a16; margin-top: 16px; font-size: 16px; }
@media (max-width: 1250px) {
  .brief-panel { grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr); padding: 24px; }
}
@media (max-width: 900px) {
  .brief-panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  #brief { grid-column: 1; grid-row: auto; }
  .brief-panel h2 { margin-top: 0; }
}
@media (max-width: 560px) {
  .brief-section { padding-block: 32px; }
  .brief-panel, #project-form { padding: 16px; }
  .brief-fields { grid-template-columns: 1fr; gap: 0; }
  .site-options { gap: 8px; }
  .site-options .choice { gap: 5px; font-size: 14px; }
  .choice img { width: 18px; height: 18px; }
}

.packages {
  display: grid;
  grid-template-columns: minmax(0, 284px) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 88px;
}
.packages-intro .work-label { color: #14131b; }
.packages-intro h2 { margin: 12px 0 18px; font-size: clamp(34px, 3.34vw, 48px); line-height: .86; font-weight: 800; }
.packages-intro > p:last-child { font-size: 24px; line-height: 1; }
.package-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 8px; }
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 332px;
  padding: 16px clamp(14px, 1.9vw, 27px) 14px;
  border: 1px solid #35343d;
  border-radius: 20px;
  background: rgb(20 19 27 / 80%);
  backdrop-filter: blur(20px);
  transition: transform 420ms cubic-bezier(.25, .65, .35, 1), box-shadow 180ms ease;
}
.package-card:has([aria-pressed="true"]) { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.package-card h3 { margin: 0 0 4px; font-size: 28px; line-height: 1; }
.package-card > p { line-height: 1.15; }
.package-card .package-price { margin: 6px 0 8px; font-size: 48px; font-weight: 800; line-height: 1; }
.package-card ul { display: grid; gap: 4px; margin-bottom: 16px; }
.package-card li { padding-left: 30px; position: relative; font-size: 16px; line-height: 24px; }
.package-card li::before { content: ""; position: absolute; width: 13px; height: 7px; left: 6px; top: 6px; border: solid var(--lime); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.package-popular { position: absolute; top: -9px; right: 26px; border-radius: 20px; padding: 6px 14px; background: var(--lime); color: #14131b; font-size: 14px; font-weight: 700; }
@font-face { font-family: Inter; src: url(assets/inter-bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter Mobile; src: url(assets/inter-regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter Mobile; src: url(assets/inter-extra-bold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
.package-select { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: auto; min-height: 48px; border: 2px solid #7e7e85; border-radius: 8px; background: transparent; color: #f4f2ed; font: 700 18px/24px Inter, Arial, sans-serif; cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease; }
.package-select[aria-pressed="true"] { background: var(--lime); color: #14131b; border-color: var(--lime); border-radius: 12px; }
.package-select[aria-pressed="true"]::after { content: ""; width: 16px; height: 9px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
@media (hover: hover) {
  .package-select:hover { border-color: var(--lime); box-shadow: 0 0 14px rgb(186 237 0 / 45%); }
  .package-card:hover { transform: scale(1.05); z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .package-card, .package-select { transition: none; }
  .package-card:hover { transform: none; }
}
.brief-package { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 3px 6px 3px 12px; border-radius: 20px; background: #e3e1de; font-size: 14px; font-weight: 600; }
.brief-package[hidden] { display: none; }
.brief-package button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font: inherit; font-size: 22px; cursor: pointer; }
.brief-package button:hover { background: #cfcdc8; }
@media (max-width: 1150px) {
  .packages { grid-template-columns: 1fr; }
  .packages-intro h2 br { display: none; }
}
@media (max-width: 680px) {
  .package-cards { grid-template-columns: 1fr; gap: 20px; }
  .packages { margin-bottom: 40px; }
}

.promotion {
  position: relative;
  isolation: isolate;
  overflow: clip;
  --promotion-top: clamp(52px, 19.58vw, 282px);
  --promotion-accent: #ede100;
  padding-block: var(--promotion-top) 96px;
  font-family: Proxima, Arial, sans-serif;
}
.promotion::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(var(--promotion-top) - 82px);
  left: 52.7%;
  width: 48.34%;
  aspect-ratio: 696 / 367;
  background: url(assets/promotion-wave.png) right top / 106.14% 113% no-repeat;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, #000 4%);
}
.promotion h2 { margin: 0; font-size: clamp(36px, 3.75vw, 54px); line-height: .92; font-weight: 800; }
.promotion h2 strong { color: var(--promotion-accent); font-weight: inherit; }
.promotion-intro { max-width: 631px; margin-top: 16px; font-size: clamp(18px, 1.67vw, 24px); line-height: 1; }
.promotion-steps {
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 282px) minmax(0, 235px);
  gap: 48px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}
.promotion-divider { margin: 32px calc(-1 * var(--gutter)) 32px 0; height: 2px; border: 0; background: rgb(126 126 133 / 20%); }
.promotion-steps span { display: block; color: var(--promotion-accent); font-size: 42px; line-height: 1; font-weight: 800; }
.promotion-steps h3 { margin: 8px 0; color: #f8f8f8; font-size: 20px; line-height: 1; font-weight: 800; }
.promotion-steps p { font-size: 16px; line-height: 1; font-weight: 400; }
.promotion-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 16px; }
.promotion-actions .button { gap: 8px; min-height: 64px; font-size: 20px; }
.promotion-actions .button img { flex: 0 0 24px; }
.promotion-actions .secondary { border-width: 1px; font-weight: 800; }
.promotion-cta { background: var(--promotion-accent); color: #14131b; }
@media (max-width: 1150px) {
  .promotion::before { display: none; }
  .promotion-steps br { display: none; }
}
@media (hover: hover) {
  .promotion-cta:hover { box-shadow: 0 0 16px rgb(237 225 0 / 55%); }
}
@media (max-width: 680px) {
  .promotion { padding-block: 56px; }
  .promotion-steps, .promotion-actions { grid-template-columns: 1fr; gap: 24px; }
}

.contacts { padding-block: 89px 40px; color: #f0efeb; }
.contacts .work-label { color: #14131b; font-size: 16px; line-height: 18px; }
.contacts h2 { margin: 12px 0 16px; font-size: clamp(34px, 3.34vw, 48px); font-weight: 800; line-height: 1; }
.contacts-intro { font-size: 16px; line-height: 18px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 848px; margin-top: 28px; }
.contact-cards li { display: flex; border-radius: 9px; background: #1c1a24; }
.contact-cards li:first-child, .contact-link { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 15px; }
.contact-link { width: 100%; min-width: 0; border-radius: inherit; color: inherit; text-decoration: none; }
.contact-link > div { min-width: 0; }
.contact-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.contact-arrow { margin-inline-start: auto; }
.contact-cards img { flex: none; }
.contact-cards strong, .contact-cards span { display: block; font-size: 14px; line-height: 19px; overflow-wrap: anywhere; }
.contact-cards strong { font-family: Inter, Proxima, Arial, sans-serif; font-weight: 700; }
.contact-cards span { margin-top: 3px; color: var(--lime); }
.site-footer { border-top: 2px solid #302d39; color: #f0efeb; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 303px) 1fr auto; gap: 30px; padding-block: 24px 30px; font-size: 12px; line-height: 20px; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 12.8px; }
.footer-brand .brand { gap: 4px; }
.footer-brand .mark { width: 32px; margin-right: 2.4px; }
.footer-brand .word-rolic { width: 82.2px; }
.footer-brand .word-pop { width: 53.84px; }
.footer-brand p { color: #b9b9c6; font-size: 12.8px; line-height: 1; }
.footer-copyright { margin-top: 12px; color: #adabb5; font-size: 14px; }
.footer-policies { display: grid; gap: 4px; align-content: start; }
.footer-company { text-align: right; }
@media (max-width: 800px) {
  .contacts { padding-top: 56px; }
  .contact-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .footer-company { text-align: left; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.menu-toggle, .mobile-action-label, .mobile-plan-features { display: none; }
html:has(.mobile-menu[open]) { overflow: hidden; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-copy {
  display: none;
  position: relative;
  flex: 0 0 24px;
  margin-inline-start: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--lime);
  cursor: pointer;
}
.contact-copy::before { content: ""; position: absolute; inset: -10px; }
.contact-copy[data-copied]::after {
  content: "Скопировано";
  position: absolute;
  inset: auto 0 calc(100% + 6px) auto;
  padding: 5px 7px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--background);
  font: 700 12px/1 Proxima, Arial, sans-serif;
}
.contact-cards li:first-child > div { min-width: 0; }

@media (max-width: 1070px) {
  :root { --header-height: 48px; }
  .header { display: grid; grid-template: 20px 12px / 1fr auto; gap: 0; padding-block: 8px; background: var(--background); }
  .header .order { display: none; }
  .header .tagline, .mobile-menu-header .tagline { display: block; font: 500 10px/12px Montserrat, Arial, sans-serif; }
  .tagline br { display: none; }
  .header .brand, .mobile-menu-header .brand { justify-self: start; gap: 2.5px; }
  .header .mark, .mobile-menu-header .mark { width: 20px; margin-right: 1.5px; }
  .header .word-rolic, .mobile-menu-header .word-rolic { width: 51.4px; }
  .header .word-pop, .mobile-menu-header .word-pop { width: 33.65px; }

  .menu-toggle {
    display: grid;
    grid-area: 1 / 2 / 3;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-inline-end: -8px;
    align-self: center;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--text);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; }
  .menu-close { color: #fff; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--background);
    color: var(--text);
    font-family: Montserrat, Arial, sans-serif;
    overscroll-behavior: contain;
  }
  .mobile-menu-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    grid-template: 20px 12px / 1fr auto;
    height: var(--header-height);
    padding: 8px var(--gutter);
    background: var(--background);
    outline: none;
  }
  .mobile-menu-nav { display: grid; gap: 25px; padding: 32px 24px 0; }
  .mobile-menu-nav a { display: block; margin-block: -8px; padding-block: 8px; font: 700 24px/27px Montserrat, Arial, sans-serif; }
  .mobile-menu-nav a:first-child { color: var(--lime); }
  .mobile-menu .mobile-menu-order { display: flex; min-height: 60px; margin: 32px 24px 0; font: 800 24px/27px Montserrat, Arial, sans-serif; }
  .mobile-menu-locale { gap: 8px; margin: 79px 26px 24px; color: var(--lime); font-size: 18px; }
  .mobile-menu-locale img { width: 24px; filter: none; }
}

@media (max-width: 680px) {
  :root { --gutter: clamp(16px, 5vw, 24px); }
  .first-screen, .work, .packages, .promotion, .contacts, .site-footer { font-family: Montserrat, Arial, sans-serif; }
  .hero { gap: 0; }
  .stage { grid-row: 1; width: min(100%, 350px); margin-top: 7px; }
  .copy { padding: 0; }
  .hero h1 { margin: 0; color: var(--text); font-size: clamp(21px, 6.97vw, 28px); line-height: 1.11; }
  .desktop-hero-break { display: none; }
  .intro { margin-top: 8px; font-size: 16px; line-height: 21px; }
  .features { display: flex; flex-direction: column; gap: 16px; width: min(100%, 207px); margin: 20px auto 0; }
  .features li { gap: 12px; font-size: 12px; line-height: 13px; min-height: 20.48px; }
  .features img { width: 20.48px; }
  .features li:nth-child(-n+2) br { display: none; }
  .features li:nth-child(2) { order: -1; }
  .actions { grid-template-columns: minmax(0, 1fr); gap: 12px; width: min(100%, 334px); margin: 24px auto 0; }
  .actions .button { min-height: 54px; padding-inline: 8px; font: 800 16px/1.1 Montserrat, Arial, sans-serif; }
  .actions .secondary { border-width: 1px; font-size: 14px; }
  .desktop-action-label { display: none; }
  .mobile-action-label { display: inline; }
  .platforms { padding-block: 54px 24px; gap: 8px; }
  .platforms b { font-size: 14px; line-height: 16px; }
  .platforms ul { width: min(100%, 358px); justify-content: space-between; gap: 6px; font-family: Proxima, Arial, sans-serif; }
  .platforms li { gap: 3.24px; font-size: clamp(10px, 3.23vw, 12.96px); }
  .platforms img { width: clamp(15px, 4.84vw, 19.44px); }

  .work { padding-block: 67px; }
  .work-heading { gap: 10px; margin-bottom: 14px; }
  .work-label, .contacts .work-label { font-size: 12px; line-height: 14px; }
  .work h2, .packages-intro h2, .promotion h2, .contacts h2 { font-size: 27px; line-height: 1.08; }
  .work h2 { margin-top: 12px; }
  .work-filters button, .work-more { font-family: Montserrat, Arial, sans-serif; font-size: 13px; }
  .work-filters button[aria-pressed="true"] { font-size: 13px; }
  .work-cards { gap: 12px; }
  .work-card { flex-basis: min(240px, 81vw); }
  .work-more { min-height: 44px; margin-top: 16px; border-radius: 100px; }
  .work-cards.is-expanded .work-card { flex-basis: min(240px, 100%); }

  .brief-and-promotion { position: relative; isolation: isolate; overflow: clip; }
  .brief-section { padding-block: 28px 30px; }
  .brief-section::before, .brief-section::after { display: none; }
  #brief { position: relative; }
  #brief::before, .promotion::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 652px;
    height: 652px;
    transform: translateX(-50%);
    border-radius: 70% 30% 45% 55%;
    background: linear-gradient(135deg, var(--lime), rgb(186 237 0 / 20%));
    filter: blur(80px);
    opacity: .3;
    pointer-events: none;
    z-index: -1;
  }
  #brief::before { top: -326px; }
  .packages { gap: 24px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #35343d; }
  .packages-intro h2 { margin: 10px 0; line-height: 1.16; color: #f4f2ed; }
  .packages-intro > p:last-child { margin-bottom: 8px; font-size: 14px; line-height: 1.16; color: #c2c0c9; }
  .packages { border-bottom-color: #4b581c; }
  .package-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; }
  .package-card { min-height: 154px; padding: 22px 1px 0; border-radius: 12px; text-align: center; overflow: hidden; font-family: "Inter Mobile", Arial, sans-serif; color: #f0efeb; }
  .package-card h3 { margin: 0; font-size: clamp(15px, 5vw, 20px); line-height: 30px; font-weight: 800; }
  .package-card > p { font-size: 12px; line-height: 12px; }
  .package-card .package-price {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    place-items: center;
    height: 48px;
    margin: 0;
    background: linear-gradient(100deg, rgb(44 39 79 / 25%), rgb(72 63 134 / 12.5%), rgb(44 39 79 / 25%));
    font-size: 20px;
    line-height: 30px;
    pointer-events: none;
  }
  .package-card:has([aria-pressed="true"]) { background: linear-gradient(rgb(57 255 93 / 10%), rgb(57 255 93 / 10%)), rgb(20 19 27 / 80%); }
  .package-card ul { display: none; }
  .package-popular { display: none; }
  .package-card::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 9px;
    width: 18px;
    height: 14px;
    background: url(assets/package-check.svg) center / contain no-repeat;
    opacity: 0;
    pointer-events: none;
  }
  .package-card:has([aria-pressed="true"])::after { opacity: 1; }
  .package-select, .package-select[aria-pressed="true"] { position: absolute; inset: 0; margin: 0; opacity: 0; }
  .package-card:has(:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }
  .mobile-plan-features { display: grid; padding: 4px 15px 0; font-family: "Inter Mobile", Arial, sans-serif; }
  .mobile-plan-features li { position: relative; padding-left: 30px; font-size: 16px; line-height: 28px; }
  .mobile-plan-features li::before { content: ""; position: absolute; top: 6px; left: 0; width: 18px; height: 14px; background: url(assets/package-check.svg) center / contain no-repeat; }

  .brief-panel { padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; box-shadow: none; scroll-margin-top: 0; }
  .brief-panel h2 { font-size: 27px; line-height: 1.16; margin: 0 0 18px; letter-spacing: 0; }
  .brief-timeline li { grid-template-columns: 40px 1fr; gap: 15px; min-height: 87px; }
  .brief-timeline li::before { left: 36px; width: 9px; height: 9px; }
  .brief-timeline li:not(:last-child)::after { left: 40px; }
  .brief-timeline li > span { font-size: 17px; }
  .brief-timeline h3 { max-width: none; font-size: 15px; line-height: 1.2; }
  .brief-timeline p { max-width: none; font-size: 13px; line-height: 1.3; }
  .brief-timeline li:last-child { min-height: 72px; }
  #project-form { padding: 18px; min-height: 0; }
  #project-form h3 { font-size: 24px; line-height: 1.16; letter-spacing: 0; }
  .site-options { gap: 8px; margin-bottom: 14px; }
  .site-options .choice { gap: 5px; padding-inline: 4px; border-radius: 10px; font: 700 11px/1.15 Montserrat, Arial, sans-serif; }
  .brief-fields { grid-template-columns: 1fr; gap: 0; }
  #brief-fields > label, .brief-fields label { margin-bottom: 14px; font-size: 13px; }
  #brief-fields input:not([type=radio]), #brief-fields textarea { padding: 9px 11px; min-height: 46px; font-size: 16px; }
  #brief-fields input::placeholder, #brief-fields textarea::placeholder { font-size: 12px; }
  .brief-package { background: var(--lime); font-size: 12px; }
  .contact-hint, .form-status { font-size: 12px; }

  .promotion { padding-block: 159px 97px; isolation: auto; overflow: visible; }
  .promotion::before {
    display: block;
    z-index: -2;
    top: -60px;
    left: 50%;
    width: 117.91%;
    transform: translateX(-50%);
    aspect-ratio: 474 / 251;
    background-position: right top;
    mask-image: none;
  }
  .promotion::after { top: calc(100% - 103px); }
  #promotion { scroll-margin-top: 12px; }
  .promotion h2 { line-height: 1.16; }
  .promotion-intro { margin-top: 12px; font-size: 15px; line-height: 1.16; }
  .promotion-intro br, .promotion-divider { display: none; }
  .promotion-steps, .promotion-actions { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .promotion-steps { margin: 20px 0 15px; }
  .promotion-steps li { display: grid; grid-template-columns: 39px 1fr; column-gap: 14px; row-gap: 5px; padding-block: 16px; border-top: 1px solid #35343d; }
  .promotion-steps span { grid-row: 1 / 3; font-size: 26px; }
  .promotion-steps h3 { margin: 0; font-size: 16px; line-height: 1.15; }
  .promotion-steps p { grid-column: 2; color: #c2c0c9; font-size: 14px; line-height: 1.2; }
  .promotion-actions { gap: 12px; width: min(100%, 334px); margin-inline: auto; }
  .promotion-actions .button { min-height: 54px; font: 800 14px/1.15 Montserrat, Arial, sans-serif; }

  .contacts { padding-block: 32px 24px; }
  .contacts h2 { margin-bottom: 12px; }
  .contacts-intro { color: #b9b9c6; font-size: 14px; line-height: 1.22; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .contact-cards li:first-child, .contact-link { min-height: 68px; padding-inline: 16px; }
  .contact-cards strong { font-family: inherit; }
  .contact-cards span { color: #b9b9c6; font-size: 13px; }
  .contact-copy { display: block; }

  .site-footer { margin-inline: var(--gutter); border-width: 1px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px 0 32px; }
  .footer-inner > div:first-child { display: contents; }
  .footer-brand { display: grid; gap: 5px; }
  .footer-brand br { display: none; }
  .footer-brand p { font-size: 12px; line-height: 1.2; }
  .footer-copyright { order: 1; margin: -6px 0 0; font-size: 12px; }
  .footer-company { color: #b9b9c6; line-height: 1.2; }
}

@media (max-width: 680px) and (hover: hover) {
  .package-card:hover {
    transform: none;
    border-color: var(--lime);
    box-shadow: inset 0 0 0 1px var(--lime);
    background: linear-gradient(rgb(57 255 93 / 10%), rgb(57 255 93 / 10%)), rgb(20 19 27 / 80%);
  }
  .package-card:hover::after { opacity: 1; }
}
