:root {
  --bg: #f5f5f3;
  --text: #000000;
  --accent: #ff5000;
  --secondary: #cccccc;
  --line: #787878;
  --page-pad: 15px;
  --nav-top: 214px;
  --content-top: 280px;
  --footer-bottom: 17px;
  --gap: 50px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Suisse Intl", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--page-pad);
  overflow: hidden;
}

.site-header {
  position: relative;
  height: 178px;
  padding-top: 43px;
}

.brand {
  font-size: clamp(82px, 11.39vw, 164px);
  line-height: 0.74;
  letter-spacing: -0.012em;
  white-space: nowrap;
}

.plus-button {
  position: absolute;
  top: 47px;
  left: min(637px, calc(100vw - 160px));
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.language-note {
  display: none;
}

.language-note-mobile {
  display: none;
}

.site-nav {
  position: absolute;
  top: var(--nav-top);
  left: var(--page-pad);
  right: var(--page-pad);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--gap);
  font-size: 20px;
  line-height: 1;
}

.site-nav a {
  color: var(--secondary);
  width: max-content;
}

.site-nav a:nth-child(1) {
  grid-column: 1;
}

.site-nav a:nth-child(2) {
  grid-column: 2;
}

.site-nav a:nth-child(3) {
  grid-column: 3;
}

.site-nav a:nth-child(4) {
  grid-column: 4;
}

.site-nav a:nth-child(5) {
  grid-column: 5;
}

.site-nav a.is-active {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.view {
  position: absolute;
  inset: var(--content-top) var(--page-pad) 70px;
  display: none;
}

.view.is-active {
  display: block;
}

.view-home h1,
.view-about h1 {
  margin: 100px 0 0;
  max-width: none;
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.view-about h1 {
  margin-top: 20px;
  color: var(--accent);
}

.services-list {
  width: min(900px, 100%);
  margin-top: -12px;
}

.service-item {
  border-bottom: 1px solid transparent;
}

.service-item summary {
  display: block;
  color: var(--secondary);
  font-size: 64px;
  line-height: 0.96;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  transition: color 160ms ease;
}

.service-item summary::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 14px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 17px solid var(--accent);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 220ms ease;
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.service-item summary::marker {
  content: "";
}

.service-item summary:hover,
.service-item[open] summary {
  color: var(--text);
}

.service-item summary:hover::after,
.service-item[open] summary::after {
  opacity: 1;
}

.service-item[open] summary::after {
  transform: translateY(-8px);
}

.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--text);
  font-size: 32px;
  line-height: 0.94;
  overflow: hidden;
  transition: grid-template-rows 220ms ease, padding 220ms ease;
}

.service-item[open] .service-panel {
  grid-template-rows: 1fr;
  padding: 7px 0 18px;
}

.service-panel p {
  min-height: 0;
  max-width: 850px;
  margin: 0;
}

.service-panel p::selection,
.service-item summary::selection {
  background: var(--accent);
  color: var(--text);
}

.project-table {
  width: 100%;
  margin-top: 0;
  font-size: 26px;
  line-height: 1;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(420px, 1.7fr) minmax(360px, 1.1fr) 178px;
  align-items: center;
  min-height: 47px;
  border-top: 1px solid var(--line);
}

.project-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.project-row span:nth-child(3) {
  padding-left: 0;
}

.more-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.more-button span {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 16px solid var(--accent);
  transform: translateY(3px);
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  margin-top: 0;
}

.contact-list {
  min-width: 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 43px 185px 1fr;
  align-items: center;
  min-height: 49px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 34px;
  line-height: 1;
}

.contact-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contact-row:last-child {
  border-bottom: 1px solid var(--line);
}

.project-cta {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 72px;
  margin-top: 45px;
  background: var(--accent);
  color: var(--text);
  font-size: 38px;
  line-height: 1;
}

.scam-note {
  margin: 10px 0 0;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.site-footer {
  position: fixed;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: var(--footer-bottom);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  font-size: 20px;
  line-height: 1;
}

.site-footer p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  :root {
    --page-pad: 12px;
    --gap: 20px;
    --nav-top: 132px;
    --content-top: 190px;
    --footer-bottom: 12px;
  }

  .site-shell {
    min-height: 100svh;
    overflow: visible;
    padding-bottom: 12px;
  }

  body {
    overflow: auto;
  }

  .site-header {
    height: auto;
    padding-top: 18px;
  }

  .brand {
    grid-column: 1 / 4;
    font-size: clamp(68px, 19vw, 104px);
  }

  .plus-button {
    top: 22px;
    right: 0;
    left: auto;
    margin-top: 8px;
    font-size: 24px;
  }

  .language-note {
    display: none;
  }

  .language-note-mobile {
    display: block;
    margin: 34px 0 0;
    color: var(--accent);
    font-size: 14px;
    line-height: 1.18;
    text-transform: uppercase;
  }

  .site-nav {
    position: static;
    grid-template-columns: repeat(5, max-content);
    justify-content: space-between;
    column-gap: 12px;
    margin-top: 28px;
    font-size: 16px;
  }

  .site-nav a:nth-child(n) {
    grid-column: auto;
  }

  .view {
    position: static;
    display: none;
    margin-top: 48px;
  }

  .view-home h1,
  .view-about h1 {
    margin-top: 0;
    font-size: clamp(36px, 9.7vw, 64px);
  }

  .services-list {
    width: 100%;
    margin-top: 0;
  }

  .service-item summary {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 0.98;
  }

  .service-item summary::after {
    margin-left: 9px;
    border-left-width: 7px;
    border-right-width: 7px;
    border-top-width: 12px;
    transform: translateY(-5px);
  }

  .service-item[open] summary::after {
    transform: translateY(-5px);
  }

  .service-panel {
    font-size: 23px;
    line-height: 0.9;
  }

  .service-item[open] .service-panel {
    padding: 8px 0 18px;
  }

  .project-table {
    font-size: 20px;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: auto;
    padding: 9px 0;
  }

  .more-button {
    font-size: 20px;
  }

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-row {
    grid-template-columns: 38px minmax(128px, 0.75fr) minmax(0, 1fr);
    min-height: 44px;
    font-size: clamp(20px, 6vw, 34px);
  }

  .contact-list + .contact-list .contact-row:first-child {
    border-top: 0;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .project-cta {
    min-height: 64px;
    margin-top: 36px;
    padding: 0 12px;
    font-size: clamp(27px, 7.5vw, 38px);
    text-align: center;
  }

  .site-footer {
    position: static;
    margin-top: 72px;
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .site-nav {
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    row-gap: 12px;
  }

  .contact-row {
    grid-template-columns: 38px 1fr;
    row-gap: 3px;
    padding: 7px 0;
  }

  .contact-row span:last-child {
    grid-column: 2;
    color: var(--secondary);
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
}
