:root {
  --bg-image: none;
  --header-overlay: rgba(12, 24, 38, 0.62);
  --text-main: #132033;
  --text-light: #eef3ff;
  --surface: #102744;
  --surface-soft: #0b1d33;
  --accent: #0a6f7b;
  --accent-dark: #075862;
  --border: #2d4466;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--text-main);
  background: #eef2f8;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.hero-header {
  position: relative;
  min-height: 78vh;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  display: flex;
  align-items: stretch;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(6, 15, 26, 0.76), var(--header-overlay));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  align-content: space-between;
  gap: 3rem;
  padding-block: 1.4rem 3.5rem;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.nav-btn {
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.85);
}

.hero-copy {
  max-width: 740px;
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 0.9rem;
  max-width: 17ch;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 1.15rem;
}

.section {
  padding: 4rem 0;
  color: var(--text-light);
}

.section-light {
  background: var(--surface-soft);
}

.section-white {
  background: var(--surface);
}

.services-note {
  background: #162b46;
  color: #dbe8ff;
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  box-shadow: 0 14px 26px rgba(16, 29, 48, 0.2);
}

.pulse-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #3bff8f;
  box-shadow: 0 0 0 rgba(59, 255, 143, 0.6);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 255, 143, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(59, 255, 143, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 255, 143, 0);
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.15rem;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-info,
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.15rem;
}

.contact-info p {
  margin: 0.45rem 0;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

label {
  font-weight: 600;
  color: #d9e7ff;
}

input,
textarea {
  width: 100%;
  border: 1px solid #3b557e;
  border-radius: 0.55rem;
  padding: 0.62rem 0.72rem;
  font: inherit;
  background: #0a1a2d;
  color: #eaf1ff;
}

input::placeholder,
textarea::placeholder {
  color: #9fb4d9;
}

input:focus-visible,
textarea:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #67c9d3;
  outline-offset: 1px;
}

.submit-btn {
  border: 1px solid transparent;
  border-radius: 0.55rem;
  padding: 0.72rem 1rem;
  font-weight: 700;
  cursor: pointer;
  background: #13889b;
  color: #ffffff;
}

.submit-btn:hover {
  background: #0f7384;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.2rem;
  margin-top: 0.75rem;
  font-weight: 600;
}

.form-status.ok {
  color: #74e49d;
}

.form-status.error {
  color: #ff9e9e;
}

.section h2,
.section h3,
.section p {
  color: var(--text-light);
}

.site-footer {
  background: #dfe7f2;
  border-top: 1px solid #ccd9eb;
  padding: 1.5rem 0;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-grid {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 680px) {
  .hero-inner {
    gap: 2.2rem;
  }

  .top-bar {
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .top-nav {
    justify-content: center;
  }

  .hero-copy {
    text-align: center;
  }
}
