@charset "UTF-8";

@font-face {
  font-family: "Gotham Pro";
  src: url("Шрифты/Gotham Pro/gothampro.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Pro";
  src: url("Шрифты/Gotham Pro/gothampro_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Pro";
  src: url("Шрифты/Gotham Pro/gothampro_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("Шрифты/Open Sans/OpenSans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg-page: #02101c;
  --bg-panel: rgba(6, 21, 38, 0.94);
  --bg-panel-strong: rgba(4, 15, 28, 0.97);
  --line: rgba(157, 208, 246, 0.24);
  --line-strong: rgba(190, 226, 255, 0.5);
  --text-main: #f3f1e5;
  --text-soft: #b8c8d9;
  --text-gold: #d7c7a0;
  --accent: #48b2ff;
  --glow: #58c5ff;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-main);
  font-family: "Open Sans", sans-serif;
  background:
    radial-gradient(circle at top, rgba(76, 194, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(2, 13, 24, 0.48), rgba(2, 10, 19, 0.96)),
    url("Графика/Фон сайта.png") center top / cover fixed no-repeat,
    var(--bg-page);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 36px auto 48px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px 28px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(11, 37, 63, 0.96), rgba(3, 18, 34, 0.98)),
    url("Графика/Текстуры.png") center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}

.topbar::after {
  content: none;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.topbar__logo {
  width: 82px;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32));
}

.topbar__title,
.hero__title,
.section-title,
.service-card h3,
.cta-button,
.contacts__link {
  font-family: "Gotham Pro", sans-serif;
}

.topbar__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.topbar__subtitle {
  margin-top: 6px;
  color: #e8f2ff;
  font-family: "Gotham Pro", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.topbar__nav a {
  position: relative;
  color: #eef6ff;
  font-family: "Gotham Pro", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0 14px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.topbar__nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(173, 216, 246, 0.15), rgba(214, 238, 255, 0.78), rgba(173, 216, 246, 0.15));
}

.topbar__nav a:hover,
.topbar__nav a:focus-visible {
  color: var(--glow);
  text-shadow: 0 0 18px rgba(88, 197, 255, 0.45);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(320px, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.layout__main,
.layout__side {
  display: flex;
  flex-direction: column;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 34, 58, 0.92), rgba(5, 18, 31, 0.96)),
    url("Графика/Текстуры.png") center / cover no-repeat;
  box-shadow: var(--shadow-md);
}

.panel--hero {
  min-height: 470px;
  padding: 56px 42px;
  overflow: visible;
  border-radius: 0 0 12px 12px;
  border-top: none;
  border-bottom: none;
  background: url("Графика/Баннер.png") center / 100% 100% no-repeat;
}

.panel--hero::after,
.panel--hero::before {
  content: "";
  position: absolute;
  left: -10px;
  width: calc(100% + 20px);
  height: 42px;
  background: url("Графика/Панель 1.png") center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}

.panel--hero::before {
  top: -12px;
}

.panel--hero::after {
  bottom: -12px;
}

.panel--hero::after {
  background: url("Графика/Панель 1.png") center / 100% 100% no-repeat;
}

.panel--hero .hero__content::before {
  content: "";
  position: absolute;
  inset: -56px -42px;
  background:
    radial-gradient(circle at 34% 56%, rgba(112, 205, 255, 0.46), transparent 21%),
    radial-gradient(circle at 28% 60%, rgba(255, 255, 255, 0.28), transparent 10%);
  pointer-events: none;
  z-index: -1;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 410px;
  padding-top: 0;
}

@media (min-width: 861px) {
  .hero__content {
    position: absolute;
    left: 42px;
    bottom: 66px;
  }
}

.hero__anchor {
  position: absolute;
  left: 50%;
  bottom: -18px;
  z-index: 5;
  width: 52px;
  height: 52px;
  transform: translateX(-50%);
  display: block;
}

.hero__title {
  margin: 0;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.05em;
}

.hero__title span,
.hero__title strong {
  display: block;
}

.hero__title span {
  color: #f7f0df;
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 700;
}

.hero__title strong {
  margin-top: 8px;
  color: var(--accent);
  font-size: clamp(3.8rem, 7.2vw, 6rem);
  font-weight: 700;
}

.hero__tagline {
  margin: 26px 0 30px;
  color: var(--text-gold);
  font-family: "Gotham Pro", sans-serif;
  font-size: clamp(1rem, 2vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.cta-button {
  display: inline-block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta-button img {
  display: block;
  width: min(100%, 296px);
  height: auto;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cta-button--wide {
  width: 100%;
}

.section-divider {
  position: relative;
  height: 38px;
  margin: 10px 0 12px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 32px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  box-shadow: 0 0 12px rgba(88, 197, 255, 0.18);
  transform: translateY(-50%);
}

.section-divider::before {
  left: 0;
}

.section-divider::after {
  right: 0;
}

.section-divider__anchor {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: #a9d8ff;
  font-size: 1.7rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(88, 197, 255, 0.35);
}

.section-divider--compact {
  margin: 18px 0;
}

.panel--framed,
.panel--cta,
.panel--contacts {
  border-radius: 18px;
}

.panel--framed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 28px;
  align-items: center;
  padding: 42px 42px 38px;
  border: none;
  border-radius: 0;
  background: url("Графика/Плашка 1.png") center / 100% 100% no-repeat;
  box-shadow: none;
}

.about {
  margin-top: 30px;
}

.section-title {
  margin: 0 0 18px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-title--center {
  text-align: center;
}

.about p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.about__lead {
  display: block;
  white-space: nowrap;
}

.about__copy {
  padding-left: 12px;
}

.about p:last-child {
  margin-bottom: 0;
}

.about__badge {
  justify-self: center;
  align-self: center;
  margin-left: -12px;
}

.about__badge img {
  width: 186px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.42));
}

.about-divider {
  display: flex;
  justify-content: center;
  margin: 10px 0 6px;
}

.about-divider img {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.panel--cta {
  padding: 18px;
}

.portfolio {
  padding-top: 4px;
}

.portfolio .section-title {
  margin-top: 8px;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.service-card__image {
  display: block;
  width: 100%;
  height: auto;
}

.panel--contacts {
  padding: 10px 10px 9px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contacts {
  margin-top: 12px;
}

.contacts .section-title {
  margin: 0 0 10px;
  line-height: 0.95;
}

.contacts__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  gap: 10px;
  align-items: start;
}

.contacts__content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.contacts__icon {
  width: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}

.contacts__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(88, 197, 255, 0.22));
}

.contacts__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contacts__line {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: baseline;
}

.contacts__item--phone .contacts__line {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.contacts__item--phone .contacts__link {
  margin-left: 0;
}

.contacts__label {
  color: #a7c4db;
  font-size: 0.78rem;
  line-height: 1.2;
}

.contacts__link {
  color: #e3f1fd;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
}

.contacts__link:hover,
.contacts__link:focus-visible {
  color: var(--glow);
}

.contacts__link--block {
  display: block;
}

.contacts__location {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.6rem;
  line-height: 1.15;
  white-space: nowrap;
}

.contacts__form {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contacts__input,
.contacts__submit {
  width: 100%;
  border-radius: 2px;
  font: inherit;
}

.contacts__input {
  min-height: 23px;
  padding: 2px 6px;
  border: 1px solid rgba(93, 147, 193, 0.72);
  background: linear-gradient(180deg, rgba(8, 30, 50, 0.82), rgba(4, 18, 31, 0.92));
  color: #e3edf7;
  outline: none;
  font-size: 0.76rem;
}

.contacts__input::placeholder {
  color: #8fa3b5;
}

.contacts__input:focus {
  border-color: rgba(111, 198, 251, 0.82);
  box-shadow: 0 0 0 1px rgba(111, 198, 251, 0.18);
}

.contacts__input--message {
  min-height: 24px;
  resize: none;
}

.contacts__submit {
  min-height: 28px;
  margin-top: 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
  padding: 0;
  line-height: 0;
}

.contacts__submit img {
  display: block;
  width: 100%;
  height: auto;
}

.contacts__submit:hover,
.contacts__submit:focus-visible {
  filter: brightness(1.06);
}

.contacts__map {
  justify-self: start;
}

.contacts__map img {
  display: block;
  width: 172px;
  height: auto;
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .layout__side {
    gap: 0;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
    margin: 18px auto 28px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 20px 22px;
    border-radius: 16px 16px 0 0;
  }

  .topbar__nav {
    gap: 10px 14px;
    justify-content: flex-start;
  }

  .topbar__nav a {
    padding: 0;
  }

  .topbar__nav a + a::before {
    display: none;
  }

  .panel--hero {
    min-height: 430px;
    padding: 28px 22px;
    background-position: 72% center;
  }

  .panel--hero::after,
  .panel--hero::before {
    left: -8px;
    width: calc(100% + 16px);
    height: 36px;
  }

  .hero__content {
    max-width: 340px;
    padding-top: 2px;
  }

  .hero__anchor {
    bottom: -17px;
    width: 44px;
    height: 44px;
  }

  .panel--hero .hero__content::before {
    inset: -28px -22px;
  }

  .panel--hero::before {
    top: -10px;
  }

  .panel--hero::after {
    bottom: -10px;
  }

  .panel--hero::after {
    background: url("Графика/Панель 1.png") center / 100% 100% no-repeat;
  }

  .panel--framed,
  .contacts__panel {
    grid-template-columns: 1fr;
  }

  .panel--framed {
    gap: 20px;
    padding: 32px 28px 28px;
    background-size: 100% 100%;
  }

  .contacts__map {
    max-width: 174px;
  }
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll;
  }

  .site-shell {
    width: min(100% - 8px, 1180px);
    margin: 8px auto 18px;
  }

  .topbar {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    gap: 12px;
    padding: 12px 10px 14px;
    border-radius: 16px 16px 0 0;
  }

  .topbar__brand {
    align-items: center;
    gap: 10px;
  }

  .topbar__logo {
    width: 64px;
  }

  .topbar__title {
    font-size: 1.35rem;
  }

  .topbar__subtitle {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .topbar__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px 10px;
  }

  .topbar__nav a {
    padding: 9px 8px;
    text-align: center;
    border: 1px solid rgba(157, 208, 246, 0.16);
    border-radius: 999px;
    background: rgba(8, 26, 44, 0.4);
    font-size: 0.76rem;
  }

  .topbar__nav a:last-child {
    grid-column: 1 / -1;
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .panel--hero {
    min-height: 260px;
    padding: 14px 12px 18px;
    background-position: center;
  }

  .panel--hero::after,
  .panel--hero::before {
    left: -6px;
    width: calc(100% + 12px);
    height: 31px;
  }

  .hero__content {
    max-width: 176px;
    padding-top: 154px;
  }

  .hero__anchor {
    bottom: -13px;
    width: 38px;
    height: 38px;
  }

  .panel--hero .hero__content::before {
    inset: -22px -16px;
  }

  .cta-button {
    width: auto;
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .cta-button img {
    width: 176px;
  }

  .panel--hero::before {
    top: -8px;
  }

  .panel--hero::after {
    bottom: -8px;
  }

  .panel--hero::after {
    background: url("Графика/Панель 1.png") center / 100% 100% no-repeat;
  }

  .service-card {
    border-radius: 8px;
  }

  .hero__title span {
    font-size: 2.6rem;
  }

  .hero__title strong {
    font-size: 2.5rem;
  }

  .hero__tagline {
    margin: 18px 0 22px;
    font-size: 0.86rem;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .about p {
    margin-bottom: 12px;
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .about__lead {
    white-space: normal;
  }

  .about__copy {
    padding: 0 6px;
  }

  .about__badge,
  .about-divider {
    display: none;
  }

  .panel--framed {
    gap: 8px;
    padding: 18px 13px 16px;
    min-height: 198px;
  }

  .contacts__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    grid-template-areas:
      "info map"
      "form form";
    gap: 10px;
    align-items: start;
  }

  .contacts__content {
    display: contents;
  }

  .contacts__info {
    grid-area: info;
  }

  .contacts__form {
    grid-area: form;
    width: min(100%, 300px);
  }

  .contacts__item {
    gap: 8px;
  }

  .contacts__label {
    font-size: 0.85rem;
  }

  .contacts__link {
    font-size: 0.88rem;
  }

  .contacts__item--phone .contacts__line {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .contacts__item--phone .contacts__link {
    white-space: nowrap;
  }

  .contacts__input {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.82rem;
  }

  .contacts__input--message {
    min-height: 54px;
  }

  .contacts__submit {
    margin-top: 4px;
  }

  .contacts__map {
    grid-area: map;
    justify-self: end;
    max-width: 120px;
  }

  .contacts__map img {
    width: 120px;
  }
}

@media (max-width: 420px) {
  .topbar__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero__content {
    max-width: 210px;
    padding-top: 168px;
  }

  .panel--hero {
    min-height: 240px;
  }

  .hero__title span {
    font-size: 2.2rem;
  }

  .hero__title strong {
    font-size: 2.1rem;
  }

  .hero__tagline {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
  }

  .panel--framed,
  .panel--contacts,
  .panel--cta {
    padding-left: 14px;
    padding-right: 14px;
  }

  .panel--framed {
    padding-top: 17px;
    padding-bottom: 15px;
    min-height: 210px;
  }

  .about p {
    font-size: 0.62rem;
    line-height: 1.18;
  }

  .about__copy {
    padding: 0 5px;
  }

  .service-card {
    border-radius: 8px;
  }
}
