:root {
  --bg: #081322;
  --bg-soft: #0d1d33;
  --panel: #12253f;
  --panel-soft: #162f50;
  --ink: #e8f2ff;
  --muted: #aac0d9;
  --line: #254a70;
  --brand: #34d2bf;
  --brand-strong: #1fb5a3;
  --brand-soft: rgba(52, 210, 191, 0.16);
  --accent: #77b3ff;
  --warn: #ff9d79;
  --shadow: 0 16px 34px rgba(2, 9, 19, 0.46);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 12%, #19325a 0%, transparent 36%),
    radial-gradient(circle at 12% 84%, #114247 0%, transparent 38%),
    linear-gradient(160deg, #07111d, #0c1a2d 60%, #081221);
  min-height: 100vh;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 94vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(7px);
  background: rgba(8, 18, 33, 0.78);
  border-bottom: 1px solid rgba(39, 77, 116, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 72px;
}

.logo {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.logo span {
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #c7dbef;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #ecf6ff;
  border-color: #3b658f;
  background: rgba(22, 46, 74, 0.7);
}

.header-mail {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: #90ddd2;
}

.main {
  padding: 26px 0 70px;
}

.hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(18, 40, 66, 0.92), rgba(12, 29, 50, 0.93));
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: rise 0.62s ease both;
}

.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 210, 191, 0.2), rgba(52, 210, 191, 0));
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8ce2d5;
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.65rem);
  margin-bottom: 14px;
  max-width: 18ch;
}

.hero p {
  margin: 0;
  max-width: 74ch;
  color: #bdd2e7;
  line-height: 1.66;
}

.actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 0;
  cursor: pointer;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #05262b;
  background: linear-gradient(135deg, #49decc, #9df3e8);
  box-shadow: 0 11px 24px rgba(64, 225, 206, 0.26);
}

.btn-secondary {
  color: #d5e8fb;
  border: 1px solid #3f6a95;
  background: rgba(20, 43, 69, 0.68);
}

.section {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow);
  animation: rise 0.68s ease both;
}

.section h2 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  margin-bottom: 8px;
}

.section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  max-width: 82ch;
}

.grid-2,
.grid-3,
.grid-4 {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--panel-soft);
  border: 1px solid #2a4f77;
  border-radius: 14px;
  padding: 16px;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: #b8cee2;
  font-size: 0.95rem;
  line-height: 1.55;
}

.tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(73, 220, 204, 0.45);
  background: var(--brand-soft);
  color: #95ebe1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
}

.card ul {
  margin: 8px 0 0;
  padding-left: 16px;
  color: #a7c4dd;
  font-size: 0.91rem;
  line-height: 1.48;
}

.metric strong {
  display: block;
  color: #89e9de;
  font-size: 1.2rem;
  font-family: "Sora", sans-serif;
  margin-bottom: 6px;
}

.phase {
  background: #10233a;
  border: 1px solid #2b4b69;
  border-radius: 12px;
  padding: 12px;
}

.phase b {
  display: block;
  margin-bottom: 5px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.phase p {
  margin: 0;
  font-size: 0.9rem;
  color: #aac3db;
}

.highlight {
  margin-top: 14px;
  border: 1px solid #42698e;
  border-radius: 14px;
  background: linear-gradient(130deg, rgba(23, 50, 79, 0.92), rgba(17, 39, 62, 0.92));
  padding: 16px;
}

.highlight p {
  color: #c4ddf4;
}

.cta {
  margin-top: 16px;
  border: 1px solid #2f7271;
  border-radius: var(--radius-lg);
  background: linear-gradient(126deg, #13334d, #105b55);
  padding: 24px;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.cta p {
  margin: 0 0 12px;
  color: #d5f4ed;
  max-width: 72ch;
}

.cta a {
  color: #ffffff;
  font-weight: 700;
}

.site-footer {
  margin-top: 18px;
  border-top: 1px solid rgba(40, 74, 110, 0.7);
  padding: 16px 0 26px;
  color: #96afc8;
  font-size: 0.9rem;
}

.foot-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.foot-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.foot-links a {
  text-decoration: none;
  color: #b3cbe1;
}

.note {
  margin-top: 8px;
  color: #8ea9c3;
  font-size: 0.86rem;
}

.contact-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.contact-item {
  border: 1px solid #2d5276;
  background: #132843;
  border-radius: 12px;
  padding: 12px;
}

.contact-item b {
  display: block;
  margin-bottom: 4px;
  color: #90ddd2;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-item p {
  margin: 0;
  color: #b5cee4;
  font-size: 0.92rem;
}

.form-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #cfe1f4;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #355d84;
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
  color: #ebf5ff;
  background: #0f2137;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: #67c3ff;
  box-shadow: 0 0 0 3px rgba(103, 195, 255, 0.14);
}

.warn {
  color: #ffc3ab;
}

.form-alert {
  margin-top: 14px;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 0.93rem;
  border: 1px solid #2d5276;
}

.form-alert.success {
  border-color: #2f8f7f;
  background: rgba(20, 80, 74, 0.5);
  color: #ccf9f1;
}

.form-alert.error {
  border-color: #8d4f3f;
  background: rgba(92, 39, 30, 0.45);
  color: #ffd8cb;
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .header-mail {
    display: none;
  }
}
