/* Palette seed: ФОРСІТ → hue 195 */
:root {
  --accent: hsl(195, 82%, 56%);
  --accent-two: hsl(265, 68%, 53%);
  --bg: hsl(55, 31%, 9%);
  --text: hsl(55, 20%, 96%);
  --panel: color-mix(in srgb, var(--bg) 72%, hsl(55, 22%, 18%));
  --muted: color-mix(in srgb, var(--text) 62%, transparent);
  --line: color-mix(in srgb, var(--text) 14%, transparent);
  --radius: 16px;
  --header-h: 72px;
  --max-w: 1180px;
  --font: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.grid {
  font-family: var(--font);
  background:
    radial-gradient(circle at 17% 11%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 42%),
    radial-gradient(circle at 83% 3%, color-mix(in srgb, var(--accent-two) 18%, transparent), transparent 38%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.header {
  position: sticky;
  top: 12px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: calc(var(--max-w) + 48px);
  margin: 12px auto 0;
  padding: 10px 18px;
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: var(--bg);
  font-weight: 900;
  font-size: 1.1rem;
}

.logo-text {
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lang-toggle {
  padding: 8px 12px;
  border-radius: 999px;
}

.lang-toggle:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

section {
  padding: 64px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 12px;
  max-width: 640px;
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.section-note {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero {
  padding-top: 24px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-inner .tag {
  margin-bottom: 20px;
}

.hero-inner h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 680px;
  padding: 18px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-strip-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-strip-letter {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: var(--bg);
  font-weight: 900;
  font-size: 1.15rem;
}

.hero-strip-name {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-strip-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.hero-strip-words {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: var(--bg);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 40%, transparent);
}

.btn.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn.secondary:hover {
  border-color: color-mix(in srgb, var(--accent-two) 45%, var(--line));
}

.profile-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.profile-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  background: color-mix(in srgb, var(--panel) 70%, var(--accent-two) 30%);
  border-right: 1px solid var(--line);
}

.profile-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.profile-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-stat:first-child {
  padding-top: 0;
}

.profile-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.profile-stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-content {
  padding: 36px 40px;
}

.profile-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.profile-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.area-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.area-card:nth-child(4n + 2),
.area-card:nth-child(4n + 3) {
  background: color-mix(in srgb, var(--panel) 78%, var(--accent) 22%);
}

.area-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  transform: translateX(4px);
}

.area-num {
  grid-row: 1 / 3;
  align-self: start;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.area-card h3 {
  grid-column: 2;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.area-card p {
  grid-column: 2;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.process-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.process-intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-two));
  border-radius: 2px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  position: relative;
}

.timeline-step .step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--accent-two);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-two);
  position: relative;
  z-index: 1;
}

.timeline-body {
  padding: 8px 20px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.timeline-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.contact-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card a,
.contact-card span {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form-wide {
  width: 100%;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label:last-of-type {
  grid-column: 1 / -1;
}

.contact-form label span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 8px) 16px auto;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: color-mix(in srgb, var(--panel) 95%, transparent);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 10px 4px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-strip {
    border-radius: var(--radius);
    flex-direction: column;
    padding: 20px;
  }

  .hero-strip-divider {
    width: 60%;
    height: 1px;
  }

  .profile-panel {
    grid-template-columns: 1fr;
  }

  .profile-stats {
    flex-direction: row;
    justify-content: space-around;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 24px 20px;
  }

  .profile-stat {
    align-items: center;
    text-align: center;
    padding: 0;
    border-bottom: none;
  }

  .profile-content {
    padding: 28px 24px;
  }

  .areas-list {
    grid-template-columns: 1fr;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header {
    top: 8px;
    margin-top: 8px;
    padding: 8px 14px;
  }

  main {
    padding: 32px 16px 60px;
  }

  section {
    padding: 40px 0;
  }

  .areas-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .profile-stats {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .profile-stat:last-child {
    border-bottom: none;
  }

  .area-card {
    grid-template-columns: 44px 1fr;
  }

  .area-num {
    width: 44px;
    height: 44px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
