@font-face {
  font-family: Inter;
  src: url("inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --canvas: #141618;
  --band: #191c1f;
  --ink: #f4f2ed;
  --muted: #bcc0c3;
  --line: #353a40;
  --signal: #ff6a36;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.58;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #ffc5ac;
  outline-offset: 5px;
}
button, input, textarea { font: inherit; }
section { scroll-margin-block-start: 1.65rem; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; inset: .5rem auto auto .5rem; transform: translateY(-150%); background: var(--ink); color: var(--canvas); padding: .75rem; }
.skip:focus { transform: none; }

.masthead {
  min-height: 4.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .76rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; font-size: 1.18rem; }
.brand-mark { width: .86rem; height: .86rem; background: var(--signal); border-radius: .17rem; transform: rotate(45deg); }
.masthead nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.85rem, 2.8vw, 2.5rem); }
.masthead nav a { color: var(--muted); font-size: .875rem; font-weight: 600; text-decoration: none; }
.masthead nav a:hover, .phone-link:hover, .footer a:hover { color: var(--ink); text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.6rem;
  min-height: 29rem;
  padding-block: 2.9rem 3.35rem;
}
.intro h1 { margin: 0; font-size: clamp(3.35rem, 7.25vw, 6rem); line-height: .98; letter-spacing: -.075em; font-weight: 750; }
.intro h1 span { color: var(--signal); }
.intro p { margin: 1.55rem 0 0; max-width: 28rem; font-size: clamp(1.01rem, 1.55vw, 1.18rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.2rem 1.65rem; align-items: center; margin-top: 1.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 2.9rem;
  padding: .63rem 1rem;
  border: 1px solid var(--signal);
  border-radius: .45rem;
  background: var(--signal);
  color: #1d130e;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #ff895e; border-color: #ff895e; }
.phone-link, .footer a { color: var(--muted); text-decoration: none; }
.phone-link { font-weight: 650; }

.mobile-scene {
  position: relative;
  isolation: isolate;
  height: 21.3rem;
  max-width: 28rem;
  width: 100%;
  justify-self: center;
  background: radial-gradient(ellipse at 53% 50%, #2c3035, transparent 72%);
}
.rail {
  position: absolute;
  top: 1.2rem;
  left: 9%;
  right: 8%;
  height: .44rem;
  border-radius: .25rem;
  background: linear-gradient(#747a80, #3d4248);
  box-shadow: 0 .18rem .25rem #0008;
}
.tag {
  position: absolute;
  top: var(--level);
  left: var(--position);
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: var(--tag-text);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: .025em;
  text-decoration: none;
  text-align: center;
  z-index: 1;
}
.tag::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: .62rem;
  transform: rotate(45deg);
  z-index: -1;
  background: linear-gradient(145deg, var(--shade), var(--paint));
  box-shadow: 0 .7rem 1.5rem #0006, inset 0 0 0 1px #ffffff38;
  transition: transform .18s ease;
}
.tag::after {
  content: "";
  position: absolute;
  top: calc(1.6rem - var(--level));
  left: 50%;
  height: calc(var(--level) - 1.6rem - var(--size) * .18);
  width: 2px;
  background: linear-gradient(90deg, #545960, #90979c);
}
.tag span::before {
  content: "";
  position: absolute;
  top: calc(var(--size) * -.18);
  left: calc(50% - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20252b;
  box-shadow: 0 1px 0 #ffffff70;
}
.tag:hover::before { transform: rotate(40deg) scale(1.035); }
.tag:focus-visible { outline-offset: .55rem; }
.tag-home { --level: 7rem; --position: 17%; --size: 4.45rem; --shade: #fa461b; --paint: #ff7d30; --tag-text: #241007; }
.tag-about { --level: 13.7rem; --position: 35%; --size: 5rem; --shade: #075685; --paint: #1471a1; --tag-text: #fff; }
.tag-offer { --level: 7.8rem; --position: 64%; --size: 6rem; --shade: #a5bc20; --paint: #b8d130; --tag-text: #202604; }
.tag-contact { --level: 13.75rem; --position: 86%; --size: 4.5rem; --shade: #2f353c; --paint: #4a535d; --tag-text: #fff; }

h2 { margin: 0 0 .95rem; font-size: clamp(1.8rem, 3.7vw, 2.6rem); line-height: 1.09; font-weight: 700; letter-spacing: -.047em; }
h3 { margin: 0 0 .9rem; font-size: 1.2rem; letter-spacing: -.025em; }
.services-band { border-block: 1px solid var(--line); background: var(--band); }
.split, .contact { display: grid; align-items: start; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(2.15rem, 7vw, 6rem); padding-block: clamp(2.4rem, 6vw, 4rem); }
.about p { max-width: 28rem; margin: 0; color: var(--muted); }
.services { display: grid; gap: .05rem; margin: 0; padding: 0; list-style: none; }
.services li { padding: .6rem 0 .6rem 1.32rem; position: relative; color: var(--muted); }
.services li + li { border-top: 1px solid var(--line); }
.services li::before { content: ""; position: absolute; top: 1.2rem; left: .12rem; width: .42rem; height: .42rem; background: #b8d130; transform: rotate(45deg); }

address { display: grid; gap: .48rem; font-style: normal; color: var(--muted); }
address strong { color: var(--ink); }
address a { width: fit-content; }
.contact-form { padding: clamp(1.05rem, 3.4vw, 1.85rem); border: 1px solid var(--line); border-radius: .85rem; background: var(--band); }
.contact-form label { display: block; font-size: .84rem; font-weight: 650; margin: 0 0 .28rem; }
small { color: var(--muted); font-size: .74rem; font-weight: 400; }
.contact-form input, .contact-form textarea {
  display: block;
  min-height: 2.65rem;
  width: 100%;
  margin: 0 0 .87rem;
  border-radius: .38rem;
  border: 1px solid #4c535b;
  padding: .48rem .64rem;
  background: #131618;
  color: var(--ink);
}
.form-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: .78rem; }
.contact-form textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: .78rem; margin: -.12rem 0 .9rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1.25rem 1.45rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem; color: var(--muted); font-size: .8rem; }
.message-page { min-height: 75vh; display: grid; align-items: center; }
.message-box { max-width: 40rem; padding-block: 3rem; }
.message-box p { color: var(--muted); margin: .85rem 0 1.45rem; }

@media (max-width: 49rem) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: .55rem; padding-block: 2.5rem 1.1rem; }
  .mobile-scene { margin-top: .75rem; height: 16.6rem; }
  .tag-home { --level: 5.5rem; --size: 3.65rem; }
  .tag-about { --level: 10.5rem; --size: 3.85rem; }
  .tag-offer { --level: 6.4rem; --size: 4.5rem; }
  .tag-contact { --level: 10.4rem; --size: 3.7rem; }
  .split, .contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 29rem) {
  .wrap { width: min(100% - 2rem, 70rem); }
  .masthead { padding-block: .85rem; min-height: 0; align-items: start; flex-direction: column; }
  .masthead nav { gap: .3rem 1.1rem; }
  .intro h1 { font-size: clamp(2.65rem, 10.65vw, 3.55rem); }
  .intro p { margin-top: 1.05rem; }
  .hero-actions { margin-top: 1.25rem; gap: .85rem; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tag { font-size: .67rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tag::before { transition: none; }
}
