:root {
  --horizon-coral: #FF6B5B;
  --horizon-coral-80: #FF897C;
  --horizon-coral-60: #FFA69D;
  --horizon-coral-40: #FFC4BD;
  --horizon-coral-20: #FFE1DE;
  --horizon-ink: #1A0B5E;
  --horizon-ink-80: #483C7E;
  --horizon-ink-60: #766D9E;
  --horizon-ink-40: #A39DBF;
  --horizon-ink-20: #D1CEDE;
  --horizon-primary: var(--horizon-ink);
  --horizon-white: #ffffff;
  --horizon-blue: var(--horizon-coral);
  --horizon-blue-hover: #e25547;
  --horizon-yellow: var(--horizon-coral-20);
  --horizon-muted: var(--horizon-ink-60);
  --horizon-bg: #f7f5fb;
  --horizon-border: var(--horizon-ink-20);
  --horizon-shadow: 0 18px 40px rgba(26, 11, 94, 0.1);
  --font-lato: 'Lato', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--horizon-ink);
  background: var(--horizon-white);
  font-family: var(--font-lato);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.01em;
  font-weight: 400;
}

h1, h2, h3, h4,
.horizon-logo,
.wrap__form-title {
  font-family: var(--font-lato);
  font-weight: 900;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:where(:not(.wp-element-button)) {
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

.horizon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.horizon-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  background: var(--horizon-white);
  border-bottom: 1px solid var(--horizon-border);
  box-shadow: 0 1px 0 rgba(27, 28, 31, 0.04);
}

.admin-bar .horizon-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .horizon-header {
    top: 46px;
  }
}

.horizon-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.horizon-header__brand {
  flex: 0 0 auto;
}

.horizon-header__nav {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.horizon-header__cta {
  display: none;
  flex: 0 0 auto;
  margin-left: auto;
}

.horizon-logo,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  color: var(--horizon-ink);
  font-weight: 900;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.01em;
  max-height: 68px;
}

.custom-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.horizon-logo__word {
  line-height: 1;
}

.horizon-header__nav .menu,
.wrap__menu-nav .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.horizon-header__nav a,
.wrap__menu-nav a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--horizon-ink);
}

.horizon-header__nav a:hover,
.wrap__menu-nav a:hover {
  color: var(--horizon-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--horizon-coral);
  color: var(--horizon-white);
  box-shadow: 0 10px 24px rgba(255, 107, 91, 0.28);
}

.btn-primary:hover {
  background: var(--horizon-blue-hover);
}

.btn-yellow {
  background: var(--horizon-ink);
  color: var(--horizon-white);
}

.btn-yellow:hover {
  background: var(--horizon-ink-80);
}

.hamburger__menu {
  width: 28px;
  height: 18px;
  margin-left: auto;
  border: 0;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger__menu span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--horizon-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger__menu.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger__menu.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger__menu.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile__menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile__menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrap__menu {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  background: var(--horizon-white);
  transform: translateY(-12px);
  transition: transform 0.4s ease;
}

.mobile__menu.is-open .wrap__menu {
  transform: none;
}

.wrap__menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 0;
  padding-bottom: 32px;
}

.wrap__menu-top {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrap__menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 0 48px;
}

.wrap__menu-nav .menu {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  margin-bottom: 32px;
}

.wrap__menu-nav .menu a {
  font-size: 22px;
  font-weight: 900;
}

.wrap__menu-nav .btn {
  width: auto;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 11, 94, 0.45);
}

.modal__window {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal__window.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrap__form {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  background: var(--horizon-white);
  color: var(--horizon-primary);
  border-radius: 16px;
  padding: 48px 40px 36px;
  box-shadow: var(--horizon-shadow);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s ease;
}

.modal__window.is-open .wrap__form {
  transform: none;
}

.wrap__form-intro {
  text-align: center;
  margin-bottom: 24px;
  padding-right: 12px;
}

.wrap__form-title {
  display: block;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.wrap__form-fields .wpforms-container {
  margin: 0 !important;
}

.wrap__form-fields .wpforms-head-container,
.wrap__form-fields .wpforms-title,
.wrap__form-fields .wpforms-description {
  display: none;
}

.wrap__form-fields .wpforms-field {
  padding: 0 0 14px !important;
}

.wrap__form-fields .wpforms-field-label {
  font-family: var(--font-lato);
  font-size: 14px;
  font-weight: 900;
  color: var(--horizon-ink);
}

.wrap__form-fields .wpforms-field input,
.wrap__form-fields .wpforms-field select,
.wrap__form-fields .wpforms-field textarea {
  width: 100%;
  border: 1px solid var(--horizon-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-lato);
  font-size: 16px;
  color: var(--horizon-ink);
  background: #fafafa;
}

.wrap__form-fields .wpforms-field input:focus,
.wrap__form-fields .wpforms-field textarea:focus {
  outline: 2px solid var(--horizon-coral);
  background: var(--horizon-white);
}

.wrap__form-fields .wpforms-submit-container {
  padding: 0 !important;
  margin: 0 !important;
}

.wrap__form-fields .wpforms-submit {
  background: var(--horizon-coral) !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: var(--horizon-white) !important;
  font-family: var(--font-lato);
  font-weight: 900 !important;
  padding: 12px 22px !important;
  box-shadow: 0 10px 24px rgba(255, 107, 91, 0.28);
}

.wrap__form-fields .wpforms-submit:hover {
  background: var(--horizon-blue-hover) !important;
}

.close__modal {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close__modal svg {
  width: 24px;
  height: 24px;
  fill: var(--horizon-primary);
}

.form-notice {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.form-notice--success {
  background: #edfce8;
}

.form-notice--error {
  background: #fdecec;
}

body.is-locked {
  overflow: hidden;
}

.horizon-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  text-align: center;
  color: var(--horizon-white);
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(255, 107, 91, 0.18), transparent 55%),
    linear-gradient(180deg, #14083f 0%, var(--horizon-ink) 55%, #120736 100%);
}

.horizon-hero__inner {
  display: grid;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 80px;
}

.horizon-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--horizon-white);
}

.horizon-hero p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.01em;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
}

.horizon-hero__tagline {
  margin: 0 0 28px !important;
  font-weight: 900;
  color: var(--horizon-white) !important;
}

.chip--hero {
  background: rgba(255, 107, 91, 0.16);
  color: var(--horizon-coral);
  margin-bottom: 20px;
}

.horizon-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage {
  position: relative;
  width: min(420px, 100%);
  min-height: 340px;
}

.hero-stage__ring {
  position: absolute;
  border: 1px solid rgba(255, 107, 91, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.hero-stage__ring--lg {
  width: 340px;
  height: 340px;
  right: -40px;
  top: -8px;
}

.hero-stage__ring--sm {
  width: 220px;
  height: 220px;
  right: 20px;
  top: 52px;
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-card {
  position: relative;
  border-radius: 20px;
  color: var(--horizon-ink);
}

.hero-card--back {
  position: absolute;
  left: 28px;
  top: 18px;
  width: calc(100% - 56px);
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--horizon-white);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(8, 3, 32, 0.28);
}

.hero-card--back span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-card--back strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 900;
}

.hero-card--main {
  position: relative;
  z-index: 1;
  margin: 96px 0 0;
  padding: 24px;
  background: var(--horizon-white);
  box-shadow: 0 24px 50px rgba(8, 3, 32, 0.28);
}

.hero-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 900;
}

.hero-card__top em {
  font-style: normal;
  background: var(--horizon-coral-20);
  color: var(--horizon-coral);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card__pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.hero-card__pair small {
  display: block;
  color: var(--horizon-ink-60);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card__pair b {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.hero-card__swap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--horizon-ink);
  position: relative;
}

.hero-card__swap::before,
.hero-card__swap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--horizon-white);
  border-bottom: 2px solid var(--horizon-white);
}

.hero-card__swap::before {
  transform: translate(-2px, -8px) rotate(-45deg);
}

.hero-card__swap::after {
  transform: translate(-8px, -2px) rotate(135deg);
}

.hero-card__rate {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--horizon-ink-20);
  font-size: 13px;
  color: var(--horizon-ink-60);
}

.hero-card__rate span:last-child {
  color: var(--horizon-coral);
  font-weight: 900;
}

.horizon-section {
  padding: 72px 0;
}

.horizon-section--muted {
  background: var(--horizon-bg);
}

.horizon-about {
  display: grid;
  gap: 40px;
}

.horizon-about__intro h2,
.horizon-heading h2,
.horizon-benefits h2,
.horizon-cta h2,
.horizon-page h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.horizon-about__intro p,
.horizon-heading p,
.horizon-benefits p {
  color: var(--horizon-muted);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.01em;
}

.horizon-about__intro p + p {
  margin-top: 14px;
}

.horizon-about__intro .btn {
  margin-top: 8px;
}

.horizon-corridors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -16px 0 40px;
}

.horizon-corridors span {
  display: inline-flex;
  background: var(--horizon-ink-20);
  color: var(--horizon-ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.chip--blue {
  background: var(--horizon-ink-20);
  color: var(--horizon-ink);
}

.chip--yellow {
  background: var(--horizon-coral-20);
  color: var(--horizon-coral);
}

.chip--solid {
  background: var(--horizon-coral);
  color: var(--horizon-white);
}

.horizon-about__card {
  background: var(--horizon-white);
  border: 1px solid var(--horizon-coral);
  border-radius: 16px;
  box-shadow: var(--horizon-shadow);
  padding: 28px;
  display: grid;
  gap: 24px;
}

.horizon-about__card h3,
.horizon-card h3,
.horizon-step h3,
.horizon-benefit h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.01em;
}

.horizon-about__card p,
.horizon-card p,
.horizon-benefit p {
  margin: 0;
  color: var(--horizon-muted);
}

.horizon-card__note {
  margin-top: 12px !important;
  font-weight: 900;
  color: var(--horizon-ink) !important;
}

.horizon-step h3 {
  font-size: 18px;
  line-height: 24px;
}

.horizon-step p {
  margin: 0;
  color: var(--horizon-muted);
  font-size: 14px;
  line-height: 1.4;
}

.horizon-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.horizon-cards,
.horizon-steps,
.horizon-benefits {
  display: grid;
  gap: 24px;
}

.horizon-card {
  background: var(--horizon-white);
  border-radius: 16px;
  box-shadow: var(--horizon-shadow);
  padding: 28px;
  transition: transform 0.25s ease;
}

.horizon-card:hover {
  transform: translateY(-8px);
}

.horizon-step {
  text-align: center;
}

.horizon-step__num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.horizon-step__num::before,
.horizon-step__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--horizon-border);
}

.horizon-step__num span {
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
  color: var(--horizon-coral);
}

.horizon-benefits__copy h2 span {
  color: var(--horizon-coral);
}

.horizon-benefit {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.horizon-benefit h3 {
  font-size: 18px;
  line-height: 24px;
}

.horizon-panel {
  background: var(--horizon-white);
  border-radius: 20px;
  box-shadow: var(--horizon-shadow);
  padding: 24px;
  max-width: 360px;
  margin: 0 auto;
}

.horizon-panel__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.horizon-panel__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--horizon-border);
}

.horizon-panel__bar span:first-child {
  background: var(--horizon-coral);
}

.horizon-panel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.horizon-panel__row em {
  font-style: normal;
  color: var(--horizon-coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.horizon-panel__rate {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 12px 0 20px;
  color: var(--horizon-ink);
}

.horizon-panel__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--horizon-muted);
  font-size: 13px;
}

.horizon-cta {
  background: var(--horizon-coral);
  color: var(--horizon-white);
  padding: 40px 0;
}

.horizon-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.horizon-cta h2 {
  color: var(--horizon-white);
  margin-bottom: 8px;
}

.horizon-cta p {
  margin: 0;
  opacity: 0.92;
}

.horizon-cta__note {
  margin-top: 12px !important;
  font-weight: 900;
  opacity: 1;
}

.horizon-footer {
  padding: 48px 0 28px;
  background: var(--horizon-ink);
  color: var(--horizon-ink-40);
  font-size: 14px;
  line-height: 1.6;
}

.horizon-footer__label {
  font-weight: 900;
  color: var(--horizon-white);
  margin-bottom: 12px;
}

.horizon-footer__copy {
  margin-top: 16px;
}

.horizon-page {
  padding: 64px 0 80px;
}

.horizon-page__content {
  max-width: 720px;
}

@media (min-width: 768px) {
  .horizon-about,
  .horizon-benefits,
  .horizon-cta__inner {
    grid-template-columns: 1fr 1fr;
    display: grid;
    align-items: start;
  }

  .horizon-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 48px;
    align-items: center;
  }

  .horizon-cta__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .horizon-cards {
    grid-template-columns: 1fr;
  }

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

  .horizon-hero__copy {
    text-align: left;
  }

  .horizon-hero {
    text-align: left;
  }

  .horizon-hero__visual {
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  .horizon-header__nav,
  .horizon-header__cta {
    display: flex;
  }

  .hamburger__menu {
    display: none;
  }

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

  .horizon-steps {
    grid-template-columns: repeat(5, 1fr);
  }

  .horizon-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 440px);
    gap: 56px;
  }
}
