/* Visual QA fixes: mobile header containment and readable hero rhythm. */
.metric-grid div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
}

.metric-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 42px;
  margin: 0;
  border: 1px solid rgba(173, 255, 122, .22);
  border-radius: 14px;
  background: rgba(173, 255, 122, .09);
  letter-spacing: .02em;
}

.metric-grid span {
  display: block;
  color: #d9f7fb;
  font-weight: 800;
  line-height: 1.2;
}

.contact-panel {
  padding-top: 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(340px, 1fr);
  align-items: stretch;
  gap: 24px;
  max-width: 1120px;
  margin: auto;
}

.contact-copy,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(7, 38, 48, .86), rgba(4, 17, 22, .82));
  box-shadow: var(--shadow);
}

.contact-copy {
  padding: 30px;
}

.contact-copy h2 {
  margin: 10px 0 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.04em;
}

.contact-copy p {
  color: #b8d6dc;
  line-height: 1.7;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  color: #d9f7fb;
  font-weight: 800;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
}

.lead-form .hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #bde5eb;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(134, 239, 255, .24);
  border-radius: 16px;
  background: rgba(0, 8, 12, .5);
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
  line-height: 1.4;
  outline: none;
  appearance: none;
}

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

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(66, 232, 255, .1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
}

.form-status.ok {
  border: 1px solid rgba(173, 255, 122, .28);
  background: rgba(173, 255, 122, .13);
  color: #dfffd0;
}

.form-status.fail {
  border: 1px solid rgba(255, 122, 102, .28);
  background: rgba(255, 122, 102, .13);
  color: #ffd8d2;
}

.faq {
  padding-top: 0;
}

.faq details {
  padding: 0;
  background: linear-gradient(180deg, rgba(7, 37, 47, .78), rgba(2, 20, 27, .68));
  transition: border-color .2s, transform .2s;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--aqua);
  filter: drop-shadow(0 0 8px rgba(66, 232, 255, .5));
  transition: .2s;
}

.faq details[open] summary::before {
  transform: rotate(90deg);
}

.faq details p {
  margin: 0;
  padding: 0 28px 24px 53px;
}

.seo-detail {
  padding-top: 0;
}

.seo-shell {
  max-width: 1120px;
  margin: auto;
}

.seo-shell h2 {
  max-width: 850px;
  margin: 10px 0 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.04em;
}

.seo-lead {
  max-width: 860px;
  color: #b8d6dc;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.7;
}

.seo-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.seo-columns article {
  border-top: 1px solid rgba(134, 239, 255, .28);
  padding-top: 18px;
}

.seo-columns h3 {
  margin: 0 0 10px;
  color: #eaffff;
  font-size: 20px;
  line-height: 1.15;
}

.seo-columns p {
  margin: 0;
  color: #b8d6dc;
  line-height: 1.72;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(134, 239, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: #d9f7fb;
  padding: 10px 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .contact-shell,
  .form-row,
  .seo-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-copy,
  .lead-form {
    padding: 22px;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 15px;
    line-height: 1.05;
    white-space: nowrap;
  }

  .lang-switch {
    order: 3;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    border-radius: 16px;
    overflow: hidden;
  }

  .lang-switch a {
    flex: 1;
    min-width: 0;
    padding: 7px 6px;
    text-align: center;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    gap: 34px;
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.2vw, 50px);
    line-height: .99;
    letter-spacing: -.035em;
  }

  .lead {
    font-size: 18px;
    line-height: 1.56;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    text-align: center;
  }

  .radar-card {
    min-height: 374px;
    padding: 24px;
    border-radius: 26px;
  }

  .shark-mark {
    top: 20px;
    right: 20px;
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }

  .shark-mark img {
    width: 52px;
  }

  .radar-ring {
    height: 178px;
    margin: 72px 0 18px;
  }
}

@media (max-width: 420px) {
  .brand strong {
    max-width: 214px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1 {
    font-size: clamp(36px, 10.8vw, 44px);
    letter-spacing: -.03em;
  }

  .hero-actions .btn {
    width: 100%;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .35);
  }
}
