/* MYFORCE Landing — styles from Figma */

:root {
  --color-white: #ffffff;
  --color-red: #f20d18;
  --color-dark: #111214;
  --color-gray: #2b2e34;
  --color-muted: #6d7179;
  --color-border: #edeef1;
  --color-light-border: #e4e6ea;
  --color-pink-light: #ffdde0;
  --color-pink-bg: #fff2f3;
  --color-quote-border: #ffdde0;
  --color-guarantee-bg: #fffdfd;
  --gradient-btn: linear-gradient(135deg, #ff1621 0%, #e0000b 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-width: 1325px;
  --page-padding: 25px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-gray);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1325px;
  margin: 0 auto;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 13px 25px;
  background: var(--gradient-btn);
  color: var(--color-white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 13px 25px;
  font-size: 13px;
  min-width: 143px;
  height: 42px;
}

.btn__arrow {
  flex-shrink: 0;
}

/* Header */
.header {
  padding-top: 22px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 10px;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 100px;
  flex-wrap: wrap;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 29px;
}

.header__logo {
  width: 168px;
  height: 55px;
  object-fit: contain;
}

.header__divider {
  width: 1px;
  height: 40px;
  background: var(--color-light-border);
  flex-shrink: 0;
}

.header__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.header__tagline {
  font-size: 15px;
  color: var(--color-gray);
}

.header__line {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* Hero */
.hero {
  padding-top: 35px;
  padding-bottom: 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 463px;
  gap: 10px;
  align-items: start;
}

.hero__content {
  max-width: 700px;
}

.hero__text-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.hero__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-red);
}

.hero__title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-gray);
  margin-bottom: 30px;
}

.hero__features {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.hero__feature img {
  flex-shrink: 0;
}

.hero__feature span {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gray);
  line-height: 1.3;
}

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

.hero__chart {
  width: 463px;
  height: auto;
}

/* Section titles */
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 48px;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 60px 0;
}

/* Steps */
.steps {
  padding-bottom: 60px;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.step {
  text-align: center;
}

.step__num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 30px;
}

.step__icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  border: 1.5px solid var(--color-light-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
}

.step__text {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gray);
  line-height: 1.35;
}

/* Quote */
.quote {
  display: flex;
  gap: 20px;
  padding: 17px 31px;
  background: var(--color-white);
  border: 1px solid var(--color-quote-border);
  border-radius: 0;
  margin-top: 20px;
}

.quote__mark {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
  flex-shrink: 0;
}

.quote__content {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding-top: 13px;
}

.quote__text {
  font-size: 15px;
  color: var(--color-gray);
}

.quote__highlight {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-red);
}

/* Benefits */
.benefits {
  padding-bottom: 20px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

.benefits__cards {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.benefit-card {
  width: 369px;
  min-height: 393px;
  padding: 35px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-light-border);
}

.benefit-card__title {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 22px;
}

.benefit-card__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.benefit-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.benefit-card__list img {
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-card__list span {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.35;
}

.benefit-card__list strong {
  font-weight: 700;
}

/* Funnel */
.funnel__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 23px;
}

.funnel__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 15px;
}

.funnel__item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 10px 0;
}

.funnel__value {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-red);
  min-width: 87px;
}

.funnel__label {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.35;
}

.funnel__arrow {
  padding-left: 13px;
}

.funnel__arrow img {
  width: 24px;
  height: 24px;
}

.funnel__note {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Implementation */
.implementation {
  padding: 60px 0 40px;
}

.impl-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.impl-card {
  width: 100%;
  max-width: 299px;
  min-height: 275px;
  padding: 22px;
  background: var(--color-white);
  border: 1px solid var(--color-light-border);
  border-radius: 12px;
}

.impl-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.impl-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  flex-shrink: 0;
}

.impl-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
}

.impl-card__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.impl-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  font-size: 12.5px;
  color: var(--color-gray);
  line-height: 1.35;
}

.impl-card__list .check {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gray);
  flex-shrink: 0;
}

/* CTA Banner */
.cta-banner{
  margin-bottom: 100px;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--color-white);
  border: 1px solid var(--color-pink-light);
  border-radius: 0;
  min-height: 90px;
  max-width: 1270px;
}

.cta-banner__content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.cta-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-pink-bg);
  border-radius: 0;
  flex-shrink: 0;
}

.cta-banner__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 9px;
}

.cta-banner__subtitle {
  font-size: 15px;
  color: var(--color-gray);
}

/* Results */
.results {
  padding-top: 40px;
}

.results__grid {
  display: grid;
  grid-template-columns: 1fr 453px;
  gap: 27px;
  align-items: start;
}

.results__stats {
  display: flex;
  gap: 70px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.results__stat {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.results__stat-icon {
  filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(7452%) hue-rotate(353deg) brightness(95%) contrast(108%);
}

.results__stat p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.35;
}

.results__stat strong {
  font-weight: 700;
}

.results__cases-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 30px;
}

.cases {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.case-card {
  width: 229px;
  min-height: 220px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-light-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.case-card__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.case-card__brand img {
  object-fit: contain;
}

.case-card__brand span {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  line-height: 1.3;
}

.case-card__result {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
}

.case-card__number {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
}

.case-card__unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-red);
}

.case-card__period {
  font-size: 12px;
  color: var(--color-gray);
  text-align: center;
}

/* Guarantee card */
.guarantee-card {
  padding: 30px;
  background: var(--color-guarantee-bg);
  border: 1.8px solid var(--color-red);
  border-radius: 12px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
}

.guarantee-card__heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 42px;
}

.guarantee-card__heading h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-dark);
}

.guarantee-card__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guarantee-card__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.guarantee-card__item p {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.35;
}

.guarantee-card__bottom h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.guarantee-card__note {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.35;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  padding-bottom: 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 235px 175px 388px 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 25px;
}

.footer__logo {
  width: 100%;
  height: 50px;
  object-fit: contain;
  object-position: left;
  margin-bottom: 15px;
}

.footer__company,
.footer__copyright {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
}

.footer__contact-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-gray);
  margin-bottom: 12px;
}

.footer__phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray);
}

.footer__ids {
  display: flex;
  gap: 45px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray);
}

.footer__policy {
  font-size: 14px;
  color: var(--color-gray);
  align-self: center;
  justify-self: end;
  text-align: right;
}

.footer__policy:hover {
  color: var(--color-red);
}

/* Responsive */
@media (max-width: 1280px) {
  :root {
    --page-padding: 40px;
  }

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

  .hero__visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .funnel {
    max-width: 400px;
  }

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

  .impl-card {
    max-width: none;
  }

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

  .guarantee-card {
    max-width: 500px;
  }

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

  .footer__policy {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

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

  .header__left {
    gap: 20px;
  }

  .header__tagline {
    display: none;
  }

  .benefits__cards {
    flex-direction: column;
  }

  .benefit-card {
    width: 100%;
    min-height: auto;
  }

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

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cases {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  :root {
    --page-padding: 16px;
  }

  /* Header */
  .header {
    padding-top: 12px;
  }

  .header__inner {
    padding-bottom: 8px;
  }

  .header__left {
    gap: 0;
    flex: 1;
    min-width: 0;
  }

  .header__brand {
    gap: 0;
  }

  .header__divider,
  .header__name,
  .header__tagline {
    display: none;
  }

  .header__logo {
    width: 141px;
    height: auto;
  }

  .btn--sm {
    min-width: 143px;
    height: 42px;
    padding: 13px 25px;
    font-size: 13px;
    flex-shrink: 0;
  }

  /* Hero */
  .hero {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero__content {
    display: contents;
  }

  .hero__text-block {
    order: 1;
    margin-bottom: 0;
    gap: 20px;
  }

  .hero__label {
    font-size: 14px;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero__subtitle {
    order: 2;
    font-size: 16px;
    margin-bottom: 0;
  }

  .hero__content > .btn {
    order: 3;
    align-self: flex-start;
    height: 44px;
    margin-top: 20px;
    margin-bottom: 35px;
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }

  .hero__visual {
    order: 4;
    max-width: 358px;
    width: 100%;
    margin: 0 auto 35px;
  }

  .hero__chart {
    width: 100%;
    max-width: 358px;
  }

  .hero__features {
    order: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 30px;
    justify-content: space-between;
    margin-top: 0;
  }

  .hero__feature {
    width: auto;
    max-width: 156px;
    align-items: flex-start;
  }

  .hero__feature span {
    font-size: 13px;
  }

  /* Sections */
  .section-title {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .section-divider {
    display: none;
  }

  /* Steps */
  .steps {
    padding-bottom: 40px;
  }

  .steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
    margin-bottom: 35px;
  }

  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step__num {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .step__icon-wrap {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
  }

  .step__text {
    font-size: 13px;
    max-width: 170px;
  }

  /* Quote */
  .quote {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 19px;
    border-radius: 12px;
    margin-top: 0;
    gap: 0;
  }

  .quote__mark {
    font-size: 48px;
  }

  .quote__content {
    padding-top: 0;
    gap: 15px;
  }

  .quote__text,
  .quote__highlight {
    font-size: 15px;
  }

  /* Benefits */
  .benefits__grid {
    gap: 35px;
  }

  .benefits__cards {
    gap: 23px;
  }

  .benefit-card {
    width: 100%;
    min-height: auto;
    padding: 35px 30px;
  }

  .benefit-card__title {
    font-size: 21px;
    margin-bottom: 22px;
  }

  .benefit-card__list {
    gap: 30px;
  }

  .benefit-card__list span {
    font-size: 12px;
  }

  .funnel {
    max-width: none;
    width: 100%;
  }

  .funnel__title {
    font-size: 26px;
    margin-bottom: 23px;
  }

  .funnel__value {
    font-size: 34px;
    min-width: 87px;
  }

  .funnel__label {
    font-size: 13px;
  }

  .funnel__note {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .funnel .btn {
    width: 100%;
    height: 44px;
    font-size: 15px;
    white-space: normal;
  }

  /* Implementation */
  .implementation {
    padding: 40px 0 24px;
  }

  .impl-cards {
    gap: 20px;
  }

  .impl-card {
    width: 100%;
    max-width: 299px;
    margin: 0 auto;
    min-height: auto;
  }

  /* CTA banner */
  .cta-banner {
    margin-bottom: 48px;
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 25px 19px;
    border-radius: 12px;
    min-height: auto;
  }

  .cta-banner__content {
    align-items: flex-start;
  }

  .cta-banner__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .cta-banner__title {
    font-size: 18px;
  }

  .cta-banner__subtitle {
    font-size: 15px;
  }

  .cta-banner .btn {
    width: 100%;
    height: 44px;
    font-size: 15px;
    white-space: normal;
  }

  /* Results */
  .results {
    padding-top: 24px;
  }

  .results .section-title {
    text-align: center;
    font-size: 28px;
  }

  .results__stats {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .results__stat {
    align-items: flex-start;
  }

  .results__stat p {
    font-size: 14px;
  }

  .results__cases-title {
    text-align: center;
    font-size: 17px;
    margin-bottom: 20px;
  }

  .cases {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .case-card {
    width: 100%;
    max-width: 229px;
    min-height: 220px;
    padding: 30px 24px;
  }

  .guarantee-card {
    max-width: none;
    width: 100%;
    min-height: auto;
    padding: 25px 19px;
    gap: 30px;
  }

  .guarantee-card__heading {
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
  }

  .guarantee-card__heading h3 {
    font-size: 21px;
  }

  .guarantee-card__items {
    gap: 20px;
  }

  .guarantee-card__item p {
    font-size: 12px;
  }

  .guarantee-card__bottom {
    text-align: center;
  }

  .guarantee-card__bottom h4 {
    font-size: 22px;
  }

  .guarantee-card__note {
    font-size: 14px;
  }

  .guarantee-card__bottom .btn {
    width: 100%;
    height: 44px;
    font-size: 15px;
    white-space: normal;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 25px;
  }

  .footer__policy {
    justify-self: start;
    text-align: left;
  }

  /* Modal */
  .modal__dialog {
    padding: 28px 20px 24px;
  }

  .modal__title {
    font-size: 20px;
  }
}

/* Consultation modal */
body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 18, 20, 0.55);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--color-white);
  border: 1.8px solid var(--color-red);
  border-radius: 12px;
  padding: 36px 32px 32px;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.modal__close:hover {
  color: var(--color-dark);
  background: var(--color-pink-bg);
}

.modal__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
  padding-right: 32px;
}

.modal__subtitle {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 28px;
  line-height: 1.45;
}

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

.modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray);
}

.modal__input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-light-border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal__input::placeholder {
  color: var(--color-muted);
}

.modal__input:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(242, 13, 24, 0.12);
}

.modal__input.is-invalid {
  border-color: var(--color-red);
}

.modal__error {
  min-height: 18px;
  font-size: 12px;
  color: var(--color-red);
}

.modal__submit {
  width: 100%;
  margin-top: 4px;
}

.modal__success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.modal__success[hidden] {
  display: none;
}

.modal__success-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
}

.modal__success-text {
  font-size: 14px;
  color: var(--color-gray);
  margin-bottom: 8px;
}

.modal__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.4;
  cursor: pointer;
}

.modal__consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.modal__consent a {
  color: var(--color-red);
  text-decoration: underline;
}

.modal__consent a:hover {
  text-decoration: none;
}

/* Thank you page */
.thanks-hero {
  padding: 48px 0 72px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfbfc 100%);
}

.thanks-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 607px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.thanks-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 8px 15px;
  margin-bottom: 35px;
  background: var(--color-pink-bg);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-red);
}

.thanks-hero__title {
  max-width: 575px;
  margin-bottom: 35px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark);
}

.thanks-hero__subtitle {
  max-width: 523px;
  margin-bottom: 35px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-gray);
}

.thanks-hero__subtitle a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.thanks-hero__subtitle a:hover {
  text-decoration: none;
}

.thanks-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.thanks-cards__row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.thanks-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 180px;
  min-height: 82px;
  padding: 13px 12px;
  background: var(--color-white);
  border: 1px solid var(--color-light-border);
  border-radius: 6px;
}

.thanks-card--wide {
  width: auto;
  flex: 1 1 180px;
  max-width: calc(33.333% - 14px);
}

.thanks-card__icon {
  flex-shrink: 0;
}

.thanks-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-align: center;
}

.thanks-card__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
}

.thanks-card__hint {
  font-size: 11px;
  line-height: 1.3;
  color: var(--color-muted);
}

.thanks-hero__visual {
  display: flex;
  justify-content: center;
  padding-top: 65px;
}

.thanks-hero__visual-link {
  display: block;
  max-width: 587px;
  transition: transform 0.2s ease;
}

.thanks-hero__visual-link:hover {
  transform: translateY(-2px);
}

.thanks-hero__flow {
  width: 100%;
  height: auto;
}

@media (max-width: 1200px) {
  .thanks-hero__grid {
    grid-template-columns: 1fr;
  }

  .thanks-hero__visual {
    padding-top: 0;
    order: -1;
  }

  .thanks-card--wide {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .thanks-hero {
    padding: 24px 0 40px;
  }

  .thanks-hero__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .thanks-hero__content {
    display: contents;
  }

  .thanks-badge {
    order: 1;
    margin-bottom: 0;
  }

  .thanks-hero__title {
    order: 2;
    font-size: 28px;
    margin-bottom: 0;
  }

  .thanks-hero__subtitle {
    order: 3;
    font-size: 16px;
    margin-bottom: 0;
  }

  .thanks-hero__visual {
    order: 4;
    padding-top: 0;
  }

  .thanks-cards {
    order: 5;
    gap: 16px;
  }

  .thanks-cards__row {
    flex-direction: column;
    gap: 16px;
  }

  .thanks-card,
  .thanks-card--wide {
    width: 100%;
    max-width: none;
  }
}
