:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0a291b;
  background: #f1f5ef;
  --tomato-red: #c91f1a;
  --tomato-red-dark: #a91512;
  --tomato-red-shadow: rgba(201, 31, 26, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f1f5ef;
}

.home {
  padding-bottom: 300px;
}

a {
  color: #0a7d3f;
  font-weight: 900;
}

.hero-page {
  position: relative;
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  place-items: center;
}

.hero-picture,
.hero-image {
  width: 100%;
}

.hero-picture {
  display: block;
}

.hero-image {
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 35, 20, 0.2);
}

.hero-actions {
  position: fixed;
  right: max(24px, calc((100vw - 1180px) / 2 + 28px));
  bottom: 28px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(2, minmax(178px, 1fr));
  gap: 12px;
}

.hero-login {
  position: fixed;
  top: 22px;
  right: max(24px, calc((100vw - 1180px) / 2 + 28px));
  z-index: 35;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #08251a;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(0, 35, 20, 0.22);
}

.hero-login:hover {
  background: #0f3f2b;
}

.hero-cta {
  display: inline-flex;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 35, 20, 0.22);
}

.hero-cta span {
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.hero-cta small {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 850;
  opacity: 0.92;
}

.hero-cta-easy {
  background: #087a3d;
}

.hero-cta-easy:hover {
  background: #075f31;
}

.hero-cta-pro {
  background: var(--tomato-red);
  box-shadow: 0 18px 44px var(--tomato-red-shadow);
}

.hero-cta-pro:hover {
  background: var(--tomato-red-dark);
}

.home-info {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
}

.surface-counter,
.home-copy {
  border: 1px solid rgba(0, 57, 32, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 35, 20, 0.08);
}

.surface-counter {
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 8px;
  color: #08251a;
}

.hero-counter {
  position: fixed;
  left: max(24px, calc((100vw - 1180px) / 2 + 28px));
  bottom: 28px;
  z-index: 20;
  min-width: 250px;
  padding: 16px 20px;
}

.surface-counter span {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.surface-counter strong {
  color: var(--tomato-red);
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 0.95;
}

.home-copy {
  padding: 22px 26px;
  color: #123526;
  columns: 2 280px;
  column-gap: 28px;
  font-size: 16px;
  line-height: 1.45;
}

.home-copy h1 {
  column-span: all;
  margin: 0 0 18px;
  color: #073d25;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.06;
}

.home-copy p {
  break-inside: avoid;
  margin: 0 0 10px;
}

.home-copy ul {
  break-inside: avoid;
  margin: 0 0 14px;
  padding-left: 22px;
  font-weight: 850;
}

.home-copy li {
  margin: 0 0 5px;
}

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

.contact-link {
  min-height: 78px;
  padding: 16px 18px;
  border-radius: 8px;
  display: grid;
  align-content: center;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(0, 35, 20, 0.12);
}

.contact-link span {
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1;
}

.whatsapp-link {
  background: #087a3d;
}

.email-link {
  background: #103826;
}

.topbar {
  height: 66px;
  padding: 0 clamp(16px, 4vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 48, 27, 0.12);
  background: #fff;
}

.brand {
  text-decoration: none;
  font-size: 26px;
  line-height: 1;
}

.brand span {
  color: #064827;
  font-weight: 900;
}

.brand strong {
  color: #cc1517;
}

.topbar-note {
  color: #526257;
  font-size: 14px;
  font-weight: 800;
}

.trial-layout {
  width: min(1360px, 100%);
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(360px, 520px) 1fr;
  gap: 22px;
}

.easy-layout {
  width: min(760px, calc(100% - 28px));
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 54px) 0 80px;
  display: grid;
  align-items: center;
}

.easy-panel {
  border: 1px solid rgba(0, 57, 32, 0.14);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 35, 20, 0.12);
}

.easy-lead {
  margin: 0 0 20px;
  color: #31483d;
  font-size: 17px;
  line-height: 1.45;
}

.easy-switch {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 57, 32, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #4b6458;
  font-size: 14px;
  font-weight: 800;
}

.easy-switch a {
  white-space: nowrap;
}

.form-panel,
.map-panel {
  border: 1px solid rgba(0, 57, 32, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 35, 20, 0.1);
}

.form-panel {
  padding: 22px;
}

.section-title p,
.map-head p {
  margin: 0 0 4px;
  color: #0b7d3b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title h1,
.map-head h2 {
  margin: 0 0 18px;
  color: #08251a;
  font-size: 30px;
  line-height: 1.05;
}

form {
  display: grid;
  gap: 13px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #15382a;
  font-size: 13px;
  font-weight: 850;
}

input,
select {
  width: 100%;
  border: 1px solid #c8d2c2;
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: #08251a;
  font: inherit;
}

input:focus,
select:focus {
  border-color: #0b7d3b;
  outline: 3px solid rgba(11, 125, 59, 0.15);
}

.check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

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

button {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 14px;
  background: var(--tomato-red);
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

button:hover {
  background: var(--tomato-red-dark);
}

button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.status {
  min-height: 19px;
  margin: 0;
  color: #0b6b36;
  font-size: 13px;
  font-weight: 850;
}

.status[data-state="error"] {
  color: #a3271e;
}

.telegram-activation {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 6px;
  background: #229ed9;
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.telegram-activation:hover,
.telegram-activation:focus-visible {
  background: #1687bc;
}

.telegram-activation[hidden] {
  display: none;
}

.map-panel {
  min-height: 720px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.map-head {
  padding: 20px 22px 10px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.area-pill {
  min-width: 92px;
  border-radius: 999px;
  padding: 9px 12px;
  background: #e9f5e5;
  color: #07502a;
  text-align: center;
  font-weight: 950;
}

.map {
  width: 100%;
  min-height: 560px;
}

.map-help {
  padding: 14px 20px;
  border-top: 1px solid rgba(0, 57, 32, 0.12);
  color: #425348;
  font-size: 13px;
  font-weight: 750;
}

.legal {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
  line-height: 1.6;
}

.legal h1 {
  margin: 18px 0 24px;
  color: #0c241b;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1;
}

.legal h2 {
  margin: 26px 0 8px;
  font-size: 22px;
}

.back-link {
  display: inline-block;
  margin-bottom: 12px;
}

.renewal-layout {
  width: min(920px, calc(100% - 32px));
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  padding: 44px 0 80px;
  display: grid;
  align-items: center;
}

.renewal-panel {
  border: 1px solid rgba(0, 57, 32, 0.14);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 46px);
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 35, 20, 0.12);
}

.renewal-kicker {
  margin: 0 0 8px;
  color: #0b7d3b;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.renewal-panel h1 {
  margin: 0 0 18px;
  color: #08251a;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
}

.renewal-lead {
  max-width: 720px;
  margin: 0 0 24px;
  color: #17382a;
  font-size: clamp(18px, 2.7vw, 23px);
  line-height: 1.35;
}

.renewal-summary {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.renewal-summary div,
.renewal-box {
  border: 1px solid rgba(0, 57, 32, 0.12);
  border-radius: 8px;
  background: #f8fbf6;
}

.renewal-summary div {
  min-height: 82px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.renewal-summary span {
  color: #567066;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.renewal-summary strong {
  color: #08251a;
  font-size: 18px;
  line-height: 1.2;
}

.renewal-box {
  padding: 18px 20px;
}

.renewal-box h2 {
  margin: 0 0 8px;
  color: #073d25;
  font-size: 24px;
}

.renewal-box p,
.renewal-note {
  margin: 0;
  color: #31483d;
  font-size: 16px;
  line-height: 1.45;
}

.renewal-code-form {
  margin-top: 18px;
  border: 1px solid rgba(0, 57, 32, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.renewal-code-form label {
  display: block;
  margin-bottom: 9px;
  color: #073d25;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.renewal-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 190px);
  gap: 12px;
}

.renewal-code-row input {
  min-height: 58px;
  width: 100%;
  border: 1px solid rgba(0, 57, 32, 0.22);
  border-radius: 8px;
  padding: 0 16px;
  color: #08251a;
  font: inherit;
  font-weight: 850;
  background: #f8fbf6;
}

.renewal-code-row input:focus {
  outline: 3px solid rgba(210, 21, 27, 0.18);
  border-color: var(--tomato-red);
}

.renewal-code-row button {
  border: 0;
  cursor: pointer;
}

.renewal-code-row button:disabled {
  cursor: wait;
  opacity: 0.74;
}

.renewal-form-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: #31483d;
  font-size: 15px;
  font-weight: 850;
}

.renewal-form-message[data-state="success"] {
  color: #0b7d3b;
}

.renewal-form-message[data-state="error"] {
  color: var(--tomato-red-dark);
}

.renewal-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.renewal-button {
  min-height: 58px;
  border-radius: 8px;
  padding: 13px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.renewal-button.primary {
  background: var(--tomato-red);
  box-shadow: 0 18px 42px var(--tomato-red-shadow);
}

.renewal-button.primary:hover {
  background: var(--tomato-red-dark);
}

.renewal-note {
  margin-top: 16px;
  font-weight: 750;
}

@media (max-width: 980px) {
  .topbar {
    height: auto;
    min-height: 62px;
    align-items: start;
    flex-direction: column;
    padding-block: 12px;
  }

  .trial-layout {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .map-panel {
    min-height: 620px;
  }

  .map {
    min-height: 500px;
  }
}

@media (max-width: 620px) {
  .hero-page {
    padding: 0 0 84px;
    align-items: start;
  }

  .hero-image {
    border-radius: 0;
  }

  .hero-actions {
    right: 16px;
    left: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
  }

  .hero-login {
    top: 12px;
    right: 12px;
    min-height: 40px;
    padding: 0 14px;
  }

  .hero-counter {
    left: 16px;
    right: 16px;
    bottom: 84px;
    min-width: 0;
    padding: 14px 18px;
  }

  .home-info {
    margin-top: 14px;
  }

  .home-copy {
    columns: 1;
    padding: 20px;
  }

  .home-contacts {
    grid-template-columns: 1fr;
  }

  .easy-switch {
    display: grid;
  }

  .renewal-layout {
    width: min(100% - 24px, 920px);
    padding: 24px 0 56px;
  }

  .renewal-summary,
  .renewal-actions,
  .renewal-code-row {
    grid-template-columns: 1fr;
  }

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

  .form-panel {
    padding: 18px;
  }

  .section-title h1,
  .map-head h2 {
    font-size: 25px;
  }
}
