/* ══════════════════════════════════════════
   SUCCESS PAGE SPECIFIC STYLES
   Hero layout base handled by css/hero.css
   ══════════════════════════════════════════ */

/* ── Hero Section ── */

/* Logo — positioned top-left, contains emblem + title */
.success-hero__logo {
  position: absolute;
  top: 120px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 5;
}

.success-hero__logo-img {
  width: 75px;
  height: auto;
}

.success-hero__logo-union {
  display: flex;
  flex-direction: column;
}

.success-hero__logo-line {
  font-family: "u3", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  color: #ffe8bb;
  text-transform: uppercase;
  white-space: nowrap;
}

.success-hero__logo-sep {
  width: 100%;
  height: 2px;
  background: #ffe8bb;
  margin: 6px 0 3px;
}

.success-hero__logo-sub {
  font-family: "u3", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #ffe8bb;
}

/* Hero image — full-height right half */
.success-hero__image {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 4;
}

.success-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero content — headline + CTA, overlaid on left */
.success-hero__content {
  max-width: 600px;
  padding-top: 340px;
  position: relative;
  z-index: 5;
  text-align: left;
}

.success-hero__title .gold {
  color: #ffa600;
}

.success-hero .hero__cta-sub {
  text-align: center;
}

/* ── Success Section ── */
.success-section {
  padding: 60px 20px 80px;
  text-align: center;
}

/* Social icons: horizontal row above Що далі? (beats .hero__social absolute column) */
.hero__social.success-hero__social {
  position: static;
  transform: none;
  top: auto;
  right: auto;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  z-index: 0;
}

.success-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.success-section__head {
  display: flex;
  align-items: center;
  gap: 48px;
  text-align: left;
  margin-bottom: 48px;
}

.success-section__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 3px 6px rgba(51, 26, 5, 0.59)) drop-shadow(0 12px 12px rgba(51, 26, 5, 0.51))
    drop-shadow(0 26px 16px rgba(51, 26, 5, 0.3)) drop-shadow(0 47px 19px rgba(51, 26, 5, 0.09))
    drop-shadow(0 73px 20px rgba(51, 26, 5, 0.01));
}

.success-section__logo img {
  display: block;
  width: 411px;
  height: auto;
}

.success-section__head-text {
  flex: 1;
  min-width: 0;
}

.success-section__head .success-section__title {
  margin-bottom: 16px;
}

.success-section__head .success-section__lead {
  margin-bottom: 0;
}

@media (max-width: 1279px) {
  .success-section__head {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .success-section__head .success-section__logo img {
    width: 300px;
  }
}

.success-section__icon {
  display: none;
}

.success-section__title {
  font-family: "u3", sans-serif;
  font-weight: 700;
  font-size: 38px;
  color: #ffe8bb;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.success-section__lead {
  font-family: "u3", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: rgba(255, 231, 186, 0.85);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.success-section__subtitle {
  font-family: "u3", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #ffa600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.success-section__text {
  font-family: "u3", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: rgba(255, 231, 186, 0.8);
  line-height: 1.6;
  margin-bottom: 32px;
}

.success-section__btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: "u3", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #00131a;
  background: #ffa600;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s;
}

.success-section__btn:hover {
  background: #ffb733;
}

/* ── Steps Section ── */
.success-steps {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: left;
}

.success-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
}

.success-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 166, 0, 0.15);
  border: 2px solid #ffa600;
  font-family: "u3", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffa600;
}

.success-step__content {
  flex: 1;
}

.success-step__title {
  font-family: "u3", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #ffe8bb;
  margin: 0 0 4px;
}

.success-step__desc {
  font-family: "u3", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 231, 186, 0.6);
  margin: 0;
}

.success-steps__arrow {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  color: rgba(255, 166, 0, 0.4);
}

.success-steps__arrow svg {
  width: 24px;
  height: 24px;
}

/* ── Contact Section ── */
.success-contact {
  margin-bottom: 40px;
  padding: 24px;
  background: rgba(255, 166, 0, 0.08);
  border: 1px solid rgba(255, 166, 0, 0.3);
  border-radius: 8px;
  text-align: center;
}

.success-contact__text {
  font-family: "u3", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 231, 186, 0.8);
  margin: 0 0 16px;
}

.success-contact__links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.success-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: "u3", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #00131a;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, transform 0.1s;
}

.success-contact__link--tg {
  background: #0088cc;
}

.success-contact__link--tg:hover {
  background: #006da3;
}

.success-contact__link--wa {
  background: #25d366;
}

.success-contact__link--wa:hover {
  background: #1fb855;
}

.success-contact__link:active {
  transform: scale(0.97);
}

/* ══ RESPONSIVE ══ */

@media (max-width: 1279px) {
  .success-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 40px;
  }

  .success-hero__logo {
    position: relative;
    top: auto;
    left: auto;
    padding: 0;
    order: 0;
  }

  .success-hero__logo picture img {
    width: min(300px, 90vw);
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .success-hero__image {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 2;
  }

  .success-hero__content {
    padding-top: 0;
    max-width: 100%;
    text-align: center;
    order: 3;
  }

  .success-hero__title {
    font-size: 30px;
  }

  .success-steps {
    max-width: 100%;
    padding: 0 20px;
  }

  .success-contact {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (max-width: 767px) {
  .success-hero__logo {
    position: relative;
    top: auto;
    left: auto;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin-top: 40px;
  }

  .success-hero__logo-line {
    font-size: 20px;
    text-align: center;
  }

  .success-hero__logo-sub {
    font-size: 14px;
  }

  .success-hero__title {
    font-size: 24px;
  }

  .success-hero__desc {
    font-size: 14px;
  }

  .success-section {
    padding: 0 20px 80px;
  }

  .success-section__title {
    font-size: 24px;
  }

  .success-section__text {
    font-size: 16px;
  }

  .success-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .success-step__num {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .success-step__title {
    font-size: 16px;
  }

  .success-step__desc {
    font-size: 13px;
  }

  .success-contact__link {
    padding: 10px 20px;
    font-size: 14px;
  }

  .success-contact__link svg {
    width: 18px;
    height: 18px;
  }

  .success-steps__arrow {
    transform: rotate(-90deg);
    padding: 4px 0;
  }
}
