:root {
  --ink: #071c2c;
  --ink-2: #123047;
  --blue: #0b7fa2;
  --aqua: #2fd4dc;
  --ice: #eaf8f8;
  --paper: #f8fbfc;
  --white: #ffffff;
  --muted: #617381;
  --line: #d9e5e9;
  --red: #d8292f;
  --shadow: 0 20px 60px rgba(5, 34, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  color: #c8d8df;
  background: #061826;
  font-size: 0.86rem;
}

.topbar .wrap {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar strong {
  color: #8ef4ef;
}

.topbar a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(7, 28, 44, 0.09);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--white);
}

.brand-name {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.05;
}

.brand-name span {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 0.56rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.91rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font: 800 0.93rem "DM Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.page-hero {
  padding: 62px 0 52px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(47, 212, 220, 0.18), transparent 30%),
    linear-gradient(135deg, #071c2c, #0a3c53);
}

.eyebrow {
  margin: 0 0 14px;
  color: #8ef4ef;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: #d5e6ec;
  font-size: 1.08rem;
}

.contact-section {
  padding: 76px 0 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.contact-intro p {
  margin: 18px 0 28px;
  color: var(--muted);
}

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

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--ice);
  border-radius: 12px;
  font-weight: 800;
}

.contact-item small {
  display: block;
  color: var(--muted);
}

.contact-item a {
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

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

.field.full,
.form-note,
.contact-form .btn {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cbdadd;
  border-radius: 11px;
  font: inherit;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47, 212, 220, 0.25);
  border-color: var(--blue);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.thanks-main {
  min-height: calc(100vh - 114px);
  display: grid;
  place-items: center;
  padding: 72px 20px 112px;
  background:
    radial-gradient(circle at 75% 18%, rgba(47, 212, 220, 0.18), transparent 30%),
    linear-gradient(145deg, #071c2c, #0a4058);
}

.thanks-card {
  width: min(760px, 100%);
  padding: clamp(32px, 6vw, 64px);
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.checkmark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  color: var(--ink);
  background: var(--aqua);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
}

.thanks-card h1 {
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.thanks-card p {
  max-width: 580px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.btn-call {
  background: var(--red);
}

.btn-secondary {
  color: var(--ink);
  background: var(--ice);
}

footer {
  padding: 28px 0;
  color: #c8d8df;
  background: #061826;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-row p {
  margin: 0;
  font-size: 0.86rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 10px;
}

.floating-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(5, 34, 52, 0.25);
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
}

.floating-call {
  background: var(--red);
}

.floating-assessment {
  background: var(--blue);
}

@media (max-width: 860px) {
  .nav-links a:not(.nav-phone) {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: 82px;
  }

  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .topbar .wrap,
  .footer-row {
    justify-content: center;
    text-align: center;
  }

  .topbar span,
  .brand-name,
  .footer-row p:last-child {
    display: none;
  }

  .page-hero {
    padding: 48px 0 42px;
  }

  .contact-section {
    padding: 54px 0 100px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .field,
  .field.full,
  .form-note,
  .contact-form .btn {
    grid-column: 1;
  }

  .floating-actions {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .floating-action {
    flex: 1;
    padding: 11px 10px;
    font-size: 0.8rem;
  }
}
