﻿@import url("https://fonts.googleapis.com/css2?family=Forum&family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600&display=swap");

:root {
  --deep: #0a0a1c;
  --gold: #f8ecb3;
  --gold-soft: #fff7d2;
  --content: 1100px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: #fff;
  background: var(--deep);
  font-family: "Montserrat", Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

svg {
  display: block;
}

.page-shell {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--deep);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 32px), var(--content));
  transform: translateX(-50%);
  padding: 16px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 21px;
  height: 20px;
  border-radius: 5px;
  background:
    center / cover no-repeat url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/images/CuR-igL7ckC70tht05EKyA.png"),
    linear-gradient(318deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
}

.brand-text {
  font-family: "Forum", Georgia, serif;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: .5px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
}

.site-nav a {
  color: #e5e7eb;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(248,236,179,.7);
  background: rgba(255,255,255,.06);
}

.social-links svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
}

.section-inner {
  width: min(calc(100% - 100px), var(--content));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contacts-page {
  flex: 1;
  display: flex;
  background: var(--deep);
}

.contacts-hero {
  width: 100%;
  flex: 1;
  min-height: 514px;
  padding: 112px 0 56px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.contacts-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 620px 520px at 92% -18%, rgba(106,13,173,.7) 0%, rgba(106,13,173,.35) 32%, rgba(10,10,28,0) 76%),
    radial-gradient(ellipse 520px 440px at 74% -10%, rgba(15,240,252,.2) 0%, rgba(15,240,252,.09) 34%, rgba(10,10,28,0) 72%),
    linear-gradient(90deg, rgba(10,10,28,.12), rgba(10,10,28,0) 42%, rgba(10,10,28,.34) 100%),
    radial-gradient(circle at -12% 104%, rgba(106,13,173,.28), transparent 31%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 70%);
}

.contacts-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse 48% 42% at 48% 46%, rgba(15,240,252,.62) 0%, rgba(106,13,173,.54) 34%, rgba(106,13,173,.18) 60%, rgba(10,10,28,0) 100%);
  filter: blur(34px);
  opacity: .58;
}

.contacts-glow--top {
  width: 920px;
  height: 840px;
  right: -520px;
  top: -520px;
}

.contacts-glow--bottom {
  width: 472px;
  height: 472px;
  left: -500px;
  top: 372px;
  transform: rotate(-62deg);
  transform-origin: top left;
}

.contacts-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 479px;
  align-items: center;
  gap: 64px;
}

.contacts-copy h1 {
  max-width: 430px;
  margin: 0 0 18px;
  color: var(--gold);
  font-family: "Forum", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contacts-copy p {
  max-width: 530px;
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.contacts-copy a {
  color: var(--gold);
  transition: color var(--transition);
}

.contacts-copy a:hover,
.contacts-copy a:focus-visible {
  color: var(--gold-soft);
}

.contacts-visual {
  width: 100%;
  aspect-ratio: 479 / 282;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/images/KoFwLyQu4kaMw0VLUKu1WQ.png") center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
  position: relative;
  overflow: hidden;
}

.contacts-visual::before {
  content: none;
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(248,236,179,.12);
  border-radius: 16px;
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(255,255,255,.12) 45%, transparent 46% 100%),
    radial-gradient(circle at 50% 50%, rgba(248,236,179,.14), transparent 42%);
}

.site-footer {
  width: 100%;
  padding: 40px max(24px, calc((100vw - 1200px) / 2 + 89px)) 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  background: #000204;
}

.site-footer__brand {
  display: grid;
  gap: 4px;
  color: rgba(255,255,255,.9);
}

.brand--footer {
  margin-bottom: 28px;
}

.site-footer__brand p,
.site-footer__links a {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.site-footer__links {
  display: grid;
  gap: 2px;
  max-width: 525px;
}

.site-footer__links a {
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(248,236,179,.85);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .site-header {
    width: min(calc(100% - 20px), var(--content));
    padding-inline: 20px;
  }

  .site-nav {
    gap: 18px;
  }

  .section-inner {
    width: min(calc(100% - 40px), var(--content));
  }

  .contacts-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 479px);
    gap: 36px;
  }
}

@media (max-width: 780px) {
  .site-header {
    top: 8px;
    width: min(calc(100% - 28px), var(--content));
    padding: 16px 19px;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 28px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
    padding: 0;
    color: inherit;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.02);
  }

  .nav-toggle span {
    width: 18px;
    height: 1.5px;
    border-radius: 99px;
    background: currentColor;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }
  .social-links {
    display: none;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 4px;
  }

  .site-nav.is-open + .social-links,
  .site-header:has(.site-nav.is-open) .social-links {
    display: flex;
  }
  .contacts-hero {
    min-height: 520px;
    padding: 128px 0 64px;
  }

  .contacts-hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contacts-copy h1 {
    max-width: 360px;
    font-size: 38px;
  }

  .contacts-copy p {
    max-width: 440px;
    font-size: 17px;
  }

  .contacts-visual {
    width: min(100%, 479px);
    justify-self: start;
  }

  .site-footer {
    flex-direction: column;
    padding-inline: 20px;
  }

  .site-footer__links {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .section-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .contacts-hero {
    padding-bottom: 54px;
  }

  .contacts-copy h1 {
    font-size: 34px;
  }

  .contacts-copy p {
    font-size: 16px;
  }
}



