:root {
  --green-900: #0f8f6e;
  --green-700: #27b48a;
  --green-800: #1a9a75;
  --green-100: #e8f3ef;
  --surface: #ffffff;
  --surface-muted: #f3f5f4;
  --text-900: #111111;
  --text-700: #3f3f3f;
  --text-500: #646b67;
  --border-100: rgba(255, 255, 255, 0.45);
  --border-300: #d7ddda;
  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

body{
  scroll-behavior: smooth;
}

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

.page {
  margin: 0;
  background: var(--green-900);
  color: #fff;
  font-family: var(--font-body);
}

.page__layout {
  width: 100%;
}

.page__header,
.page__section {
  padding-inline: clamp(16px, 3vw, 40px);
}

.page__header {
  border-bottom: 1px solid var(--border-100);
}

.header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header__brand {
  display: flex;
  align-items: flex-end;
}

.brand__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand__name {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0;
}

.header__subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.page__section {
  padding-block: clamp(34px, 5vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  background: var(--green-700);
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 700;
}

.hero__lead {
  margin: 0;
  max-width: 720px;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.hero__cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding-inline: 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.hero__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(84px, 1fr));
  gap: 12px;
}

.hero__feature {
  min-height: 54px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.section-title__heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.12;
  font-weight: 700;
}

.section-title__note {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.section-title--dark .section-title__heading {
  color: var(--text-900);
}

.section-title--dark .section-title__note {
  color: var(--text-500);
}

.catalog {
  background: var(--green-700);
}

.catalog__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.catalog__card {
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.catalog__card--active {
  border-color: var(--green-900);
}

.catalog__button {
  border: 0;
  width: 100%;
  text-align: left;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.catalog__image {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
}

.catalog__content {
  padding: 16px 18px 18px;
  color: var(--text-900);
}

.catalog__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
}

.catalog__meta {
  margin: 8px 0 0;
  color: var(--text-700);
  font-size: 14px;
}

.catalog__price {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-900);
}

.catalog__description {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text-700);
  font-size: 14px;
}

.catalog__desc-item + .catalog__desc-item {
  margin-top: 4px;
}

.comparison,
.flow,
.faq {
  background: var(--surface-muted);
}

.comparison__table-wrap {
  margin-top: 22px;
  overflow-x: auto;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.comparison__table th,
.comparison__table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-300);
  color: var(--text-900);
  text-align: left;
  font-size: 14px;
}

.comparison__table th {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.flow__steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow__step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-900);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
}

.flow__number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
}

.checkout {
  background: var(--green-700);
}

.checkout__form {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.checkout__field--wide {
  grid-column: 1 / -1;
}

.checkout__label,
.checkout__legend {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
}

.checkout__input {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding-inline: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-900);
}

.checkout__input:focus-visible {
  outline: none;
  border-color: var(--green-900);
  box-shadow: 0 0 0 3px rgba(15, 143, 110, 0.22);
}

.checkout__input:user-invalid {
  border-color: #b42f2f;
}

.checkout__hint {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.checkout__fieldset {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 12px;
}

.delivery__options {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.delivery__option {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--text-900);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.delivery__option--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.delivery__radio {
  margin: 0;
}

.delivery__logo {
  width: 84px;
  height: 24px;
  object-fit: contain;
  object-position: left center;
}

.delivery__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
}

.delivery__badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #88908a;
}

.checkout__submit {
  grid-column: 1 / -1;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--green-900);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.checkout__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout__status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 22px;
  font-size: 14px;
}

.faq__list {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--border-300);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.faq__question {
  cursor: pointer;
  color: var(--text-900);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
}

.faq__answer {
  margin: 10px 0 0;
  color: var(--text-700);
  font-size: 14px;
  line-height: 1.4;
}

.page__footer {
  padding: 26px clamp(16px, 3vw, 40px) 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--green-800);
}

.footer__line {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.footer__line + .footer__line {
  margin-top: 4px;
}

@media (max-width: 980px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 14px;
  }

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

  .hero__features,
  .catalog__grid,
  .flow__steps,
  .checkout__form,
  .delivery__options {
    grid-template-columns: 1fr;
  }
}

a{
  cursor: pointer;
}
