.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 10vw, 120px));
  padding-bottom: clamp(20px, 4vw, 48px);
  text-align: center;
  overflow: clip;
}

.page-hero .eyebrow {
  margin-inline: auto;
  margin-bottom: 22px;
}

.page-hero .h1 {
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 22px;
}

.page-hero .lead {
  margin-inline: auto;
}



/* ticker */

.ticker {
  margin-top: clamp(28px, 4vw, 48px);
  padding: 16px 0;
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
  overflow: hidden;
}

.ticker__row {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  width: max-content;
  animation: ticker-run 46s linear infinite;
}

.ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-0);
  white-space: nowrap;
}

.ticker__item i {
  font-family: ui-monospace, Consolas, monospace;
  font-style: normal;
  font-size: 0.78em;
  color: var(--text-2);
}

.ticker:hover .ticker__row {
  animation-play-state: paused;
}

@keyframes ticker-run {
  to {
    transform: translateX(-50%);
  }
}



/* service */

.service {
  scroll-margin-top: calc(var(--header-h) + 16px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-xl);
}

.service__head {
  margin-bottom: 20px;
}

.service__head .h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.service__text {
  margin-bottom: 26px;
}

.service__points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service__point {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--text-0);
}

.service__point-mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}

.service__point-mark svg {
  width: 14px;
  height: 14px;
}

.service__media {
  border-radius: var(--r-lg);
  border: 1px solid var(--surface-line);
  background: #141414;
  overflow: hidden;
}

.service__screen {
  display: block;
  width: 100%;
  height: auto;
  transition: transform var(--dur-3) var(--ease);
}

.service:hover .service__screen {
  transform: scale(1.03);
}



/* contacts */

.contacts__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contacts__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  transition: border-color var(--dur-2) var(--ease);
}

.contact-card:hover {
  border-color: var(--accent);
}

.contact-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card__label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--text-2);
}

.contact-card__value {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-0);
}



/* form */

.form-panel {
  padding: clamp(28px, 4vw, 44px);
}

.form-panel__head {
  margin-bottom: 28px;
}

.form-panel__head .h3 {
  margin-bottom: 10px;
}

.field {
  margin-bottom: 18px;
}

.field__label {
  display: block;
  margin-bottom: 9px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-1);
}

.field__input {
  width: 100%;
  padding: 15px 18px;
  color: var(--text-0);
  background: var(--bg-0);
  border: 1px solid var(--surface-line-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-2) var(--ease);
  resize: vertical;
}

.field__input::placeholder {
  color: var(--text-2);
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
}

.form-msg {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  color: var(--text-0);
  border: 1px solid var(--accent);
}

.form-msg.is-shown {
  display: block;
}

.form-msg--err {
  border-color: #ff6363;
}



/* cta block */

.cta-block {
  position: relative;
  padding: clamp(36px, 5vw, 68px);
  border-radius: var(--r-xl);
  text-align: center;
  overflow: hidden;
}

.cta-block > * {
  position: relative;
}

.cta-block .h2 {
  max-width: 20ch;
  margin-inline: auto;
  margin-bottom: 16px;
}

.cta-block .lead {
  margin-inline: auto;
  margin-bottom: 30px;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 900px) {
  .service,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .service__media {
    order: -1;
  }
}

@media (max-width: 480px) {
  .cta-block__actions .btn,
  .cta-block__actions .btn-ghost {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__row {
    animation: none;
  }
}
