@import url('./fonts-montserrat.css');

:root {
  --brand-800: #0E5A2F;
  /* хвоя, тёмный */
  --brand-700: #1F6E43;
  --brand-600: #2E7D59;
  /* основной */
  --brand-400: #66A07F;
  /* светлый */
  --brand-300: #C9E1D5;
  /* фон, чуть насыщеннее */
  --brand-200: #E0EEE7;
  /* фон, средний */
  --brand-100: #F0F7F3;
  /* фон */
  --brand-50: #F7FBF9;
  /* почти белый фон */
  --accent-500: #F7B500;
  /* акцент/внимание */
  --accent-400: #F4C75A;
  /* акцент, мягкий */
  --text-900: #15212B;
  /* основной текст */
  --text-700: #34475A;
  /* вторичный */
  --border: #E3EDE7;
  /* границы */
  --card-bg: #FFFFFF;
  /* карточки */
  --shadow: 0 8px 24px rgba(20, 57, 39, 0.08);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --container: 1100px;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text-900);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--brand-100), #fff 40%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-700);
  transition: transform .2s ease, opacity .2s ease;
}

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

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.brand-title {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 550;
  font-size: 23px;
  letter-spacing: .2px;
  color: var(--brand-800);
}

.nav-links a:not(.cta) {
  color: var(--text-700);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}

.nav-links a:not(.cta):hover {
  color: var(--brand-700);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: .2s ease;
  box-sizing: border-box;
}

.cta.primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 6px 16px rgba(46, 125, 89, .22);
}

.cta.primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
}

.cta.ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text-900);
}

.cta.ghost:hover {
  border-color: var(--brand-400);
  color: var(--brand-700);
}

.cta:disabled,
.cta.is-disabled {
  background: var(--brand-400);
  cursor: not-allowed;
  box-shadow: none;
  color: #fff;
  opacity: 0.8;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  /* max-width: 520px; */
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--brand-700);
  font-weight: 600;
  font-size: 12px;
}

.hero h1 {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  margin: 14px 0 14px;
  color: var(--brand-800);
  letter-spacing: .2px;
}

.hero .section-sub {
  font-size: 20px;
  color: var(--text-700);
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-benefits {
  margin-top: 24px;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 26px 26px 22px;
  margin-top: 28px;
  grid-column: 1 / -1;
  color: var(--text-900);
}

.hero-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-top: 18px;
  padding-left: 12px;
}

.hero-list li {
  list-style: none;
  padding-left: 26px;
  position: relative;
  line-height: 1.4;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-500), var(--brand-600));
}

.hero-visual {
  position: relative;
  padding: 12px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  justify-self: end;
  max-width: 520px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.label-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--accent-500);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  vertical-align: middle;
  white-space: nowrap;
}

#why .grid-4 .card:nth-child(2) p:last-of-type {
  position: relative;
}

#why .grid-4 .card:nth-child(2) p:last-of-type .label-soon {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -70%) rotate(-18deg);
  margin-left: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  z-index: 1;
  pointer-events: none;
}

.hero-bubble {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -32px;
  max-width: 320px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  font-size: 16px;
  line-height: 1.35;
  font-style: italic;
  color: var(--text-900);
  transform: none;
}

.hero-screens-carousel {
  margin-top: 32px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
  position: relative;
}

.hero-screens-carousel.card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.hero-screens-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(21, 33, 43, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.hero-screens-btn--side {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-screens-btn--side[data-direction="prev"] {
  left: 12px;
}

.hero-screens-btn--side[data-direction="next"] {
  right: 12px;
}

.hero-screens-btn:hover {
  background: rgba(21, 33, 43, 0.55);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.hero-screens-viewport {
  position: relative;
  overflow: hidden;
  padding: 4px 0 10px;
  max-width: 760px;
  margin: 0 auto;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.hero-screens-carousel .hero-screens-viewport {
  max-width: 100%;
  margin: 0;
}

.hero-screens-track {
  display: flex;
  gap: 0;
  transition: transform .35s ease;
  will-change: transform;
}

.hero-screens-card {
  flex: 0 0 100%;
  max-width: 100%;
  border-radius: 20px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-screens-card--wide {
  width: 100%;
}

.hero-screens-card--medium {
  width: 100%;
}

.hero-screens-card--narrow {
  width: 100%;
}

.hero-screens-card-header {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  color: var(--brand-800);
  min-height: 1.2em;
  text-align: center;
}

.hero-screens-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-screens-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: default;
  -webkit-user-drag: none;
  user-select: none;
}

.hero-screens-annotation {
  position: absolute;
  left: 20px;
  bottom: 24px;
  width: 400px;
  max-width: calc(100% - 40px);
  transform: none;
  padding: 18px 22px 16px;
  border-radius: var(--radius-xl);
  background: rgba(5, 8, 12, 0.98);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.hero-screens-annotation-title {
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 6px;
}

.hero-screens-annotation-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 800px) {
  .hero-screens-carousel {
    margin-bottom: 0px;
  }

  .hero-screens-card-img {
    aspect-ratio: auto;
    overflow: visible;
  }

  .hero-screens-card-img img {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 14px 14px 0 0;
  }

  .hero-screens-annotation {
    position: static;
    width: auto;
    max-width: none;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 0;
    transform: none;
    padding: 8px 12px 10px;
    border-radius: 0 0 14px 14px;
    box-shadow: none;
  }

  .hero-screens-annotation-title {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .hero-screens-annotation-text {
    font-size: 14px;
    line-height: 1.35;
  }
}

.hero-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 32px 16px;
}

.hero-lightbox.is-open {
  display: flex;
}

.hero-lightbox-inner {
  max-width: 65vw;
  max-height: 55vh;
  margin-bottom: 32px;
}

.hero-lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  background: #fff;
}

/* Sections */
section {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

#why,
#value {
  padding-top: 48px;
}

/* #why .section-title { margin-top: 12px; } */
.section-title {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-800);
  margin: 0 0 16px;
}

.section-sub {
  color: var(--text-700);
  margin: 0 0 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

#contacts-more .grid-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#contacts-more .grid-3 .card:nth-child(3) {
  grid-column: 1 / -1;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 4px 0 8px;
  font-size: 18px;
}

.muted {
  color: var(--text-700);
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  padding: 32px 24px 24px;
  padding-top: 34px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.pricing-card--cloud {
  background: var(--accent-400);
  border-color: rgba(247, 181, 0, 0.4);
}

.pricing-card--onprem {
  background: var(--brand-200);
  border-color: rgba(52, 71, 90, 0.25);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(20, 57, 39, 0.16);
}

.pricing-badge {
  position: absolute;
  top: 12px;
  left: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-500);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-badge--outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-800);
  border: 1px solid rgba(21, 33, 43, 0.15);
}

.pricing-card--cloud .pricing-badge {
  background: var(--brand-800);
  color: #fff;
}

.price {
  font-size: 34px;
  font-weight: 700;
  color: var(--brand-800);
  margin: 6px 0 14px;
  min-height: 64px;
}

.price-note {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-700);
  margin-top: 4px;
}

.pricing-card h3 {
  margin: 6px 0 6px;
  font-size: 20px;
}

.features {
  margin: 14px 0 20px;
  padding-left: 18px;
}

.features li {
  margin: 8px 0;
  line-height: 1.5;
}

.pricing-fit {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(21, 33, 43, 0.12);
}

.pricing-fit--onprem {
  background: rgba(224, 238, 231, 0.8);
}

.pricing-fit-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-700);
  margin-bottom: 6px;
}

.pricing-fit-list {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-700);
}

.pricing-fit-list li {
  margin: 3px 0;
}

.pricing .card .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  margin-top: auto;
  margin-left: 0;
  margin-right: 0;
  width: auto;
  align-self: flex-start;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 4px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-weight: 700;
}

.step-note {
  position: absolute;
  top: 0;
  right: 10px;
  padding: 4px 10px 6px;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: var(--brand-600);
  border-radius: 0 0 6px 6px;
  white-space: nowrap;
}

.step-note::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  border-style: solid;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent #fff;
}

/* KPIs */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.kpi .n {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-800);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --form-row-gap: 16px;
}

label {
  display: block;
  font-weight: 600;
  margin: 14px 0 6px;
  font-family: inherit;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 12px;
  box-sizing: border-box;
  font-family: inherit;
  min-height: var(--field-height, 56px);
}

textarea {
  resize: vertical;
}

.form-grid {
  --field-height: 56px;
  --form-row-gap: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  gap: var(--form-row-gap);
  align-items: stretch;
}

.form-field {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
}

.form-field label {
  margin: 0 0 6px;
}

.form-field--name {
  grid-column: 1;
  grid-row: 1;
}

.form-field--pansionat {
  grid-column: 2;
  grid-row: 1;
}

.form-field--email {
  grid-column: 1;
  grid-row: 3;
}

.form-field--residents {
  grid-column: 2;
  grid-row: 2;
}

.form-field--phone {
  grid-column: 1;
  grid-row: 2;
}

.form-field--comment {
  grid-column: 2;
  grid-row: 3 / span 2;
  align-self: stretch;
}

.form-field--city {
  grid-column: 1;
  grid-row: 4;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field--textarea textarea {
  min-height: var(--field-height);
}

.form-field--comment textarea {
  flex: 1;
  height: 100%;
  min-height: calc((var(--field-height) * 2) + var(--form-row-gap));
}

.form-consents {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.smart-captcha {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 12px;
  margin-bottom: 6px;
  margin-left: 0;
  margin-right: 0;
  min-height: 76px;
  overflow-x: hidden;
  overflow-y: visible;
  max-width: calc((100% - var(--form-row-gap, 16px)) / 2);
}

.smart-captcha > * {
  transform-origin: top center;
}

.form-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-700);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  margin: 4px 0;
}

.form-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  min-height: 20px;
  margin: 0;
  accent-color: var(--brand-600);
}

/* iOS Safari renders checkboxes very small; scale up visually without breaking layout */
@supports (-webkit-touch-callout: none) {
  .form-consent input[type="checkbox"] {
    transform: scale(1.15);
    transform-origin: center;
  }
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.form-status {
  margin-left: auto;
}

.contact-success {
  margin-top: 16px;
}

.phone-mask {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--brand-800);
  cursor: pointer;
  user-select: none;
  padding: 6px 12px 6px 0;
}

.phone-mask:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 125, 89, 0.14);
  border-radius: 8px;
}

.phone-number {
  position: relative;
  z-index: 1;
}

.phone-fade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 130px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(224, 238, 231, 0.9) 55%, rgba(255, 255, 255, 1) 100%);
  border-left: 1px dashed #c9d6ce;
  box-shadow: -12px 0 16px rgba(255, 255, 255, 0.9);
  transition: opacity .25s ease;
}

.phone-mask.is-open .phone-fade {
  opacity: 0;
  pointer-events: none;
}

footer {
  background: #fff;
  color: var(--text-700);
}

.footer-aurora {
  padding: 28px 0 60px;
}

.footer-aurora-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-aurora-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-aurora-brand img {
  width: 48px;
  height: 48px;
  display: block;
}

.footer-aurora-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--brand-800);
}

.footer-aurora-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-aurora-links a:not(.cta) {
  color: var(--text-700);
  text-decoration: none;
  font-weight: 500;
}

.footer-aurora-links a:not(.cta):hover {
  color: var(--brand-700);
}

.footer-aurora-links .cta {
  padding: 0;
  background: none;
  color: var(--text-700);
  box-shadow: none;
  border: none;
  font-weight: 500;
}

.footer-simple {
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-simple .footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 12px 0 12px;
  flex-wrap: wrap;
}

.footer-simple .footer-brand {
  display: flex;
  align-items: center;
}

.footer-simple .footer-brand img {
  height: 50px;
  width: auto;
  display: block;
  /* filter: grayscale(1); */
}

.footer-simple a {
  color: var(--text-700);
  text-decoration: none;
  font-size: 16px;
}

.footer-simple a:hover {
  color: var(--brand-700);
}

.footer-simple .footer-meta {
  color: var(--text-700);
  font-size: 14px;
  line-height: 1.5;
  max-width: 900px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-simple .footer-meta a {
  color: var(--text-900);
  text-decoration: underline;
  font-size: inherit;
}

.footer-meta-logo {
  height: 30px;
  width: auto;
  display: block;
  filter: grayscale(1);
}

.footer-simple .footer-meta a.footer-meta-logo-link {
  display: inline-flex;
  text-decoration: none;
}

/* Legal pages */
.license-meta {
  margin: 6px 0 14px;
  font-size: 14px;
}

.license-requisites {
  margin-top: 12px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(21, 33, 43, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(240, 247, 243, 0.7);
}

.license-requisites-title {
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 10px;
}

.license-requisites-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 14px;
  margin: 0;
}

.license-requisites-grid dt,
.license-requisites-grid dd {
  margin: 0;
}

.license-requisites-grid dt {
  color: var(--text-700);
  font-weight: 600;
}

.license-requisites-grid dd {
  color: var(--text-900);
}

/* Responsiveness */
@media (max-width: 800px) {
  .hero-screens-btn--side {
    display: none;
  }

  .footer-aurora-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-aurora-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-simple .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {

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

  .hero-visual {
    justify-self: center;
    margin-top: 24px;
  }

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

  .grid-4,
  .steps,
  .kpis,
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 715px) {
  .nav {
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 8px 20px 12px;
    gap: 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    margin: 4px 0;
  }

  .nav-links .cta {
    align-self: stretch;
    justify-content: center;
    width: 100%;
    margin-left: 0 !important;
  }
}

@media (max-width: 640px) {
  .hero-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: center;
    margin-top: 24px;
  }

  .hero p.sub,
  .section-sub {
    padding: 0 4px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .grid-3,
  .grid-4,
  .steps,
  .kpis,
  .pricing {
    grid-template-columns: 1fr;
  }

  #contacts-more .grid-3 {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .license-requisites-grid {
    grid-template-columns: 1fr;
  }

  .license-requisites-grid dt {
    margin-top: 10px;
  }

  .license-requisites-grid dt:first-child {
    margin-top: 0;
  }

  .smart-captcha {
    max-width: 100%;
  }

  .form-field--name,
  .form-field--pansionat,
  .form-field--email,
  .form-field--residents,
  .form-field--phone,
  .form-field--comment,
  .form-field--city,
  .form-field--full {
    grid-column: 1;
    grid-row: auto;
  }

  /* Порядок полей в одноколоночной форме:
     сначала левая колонка (name, phone, email, city),
     затем правая (pansionat, residents, comment) */
  .form-field--name {
    grid-row: 1;
  }

  .form-field--phone {
    grid-row: 2;
  }

  .form-field--email {
    grid-row: 3;
  }

  .form-field--city {
    grid-row: 4;
  }

  .form-field--pansionat {
    grid-row: 5;
  }

  .form-field--residents {
    grid-row: 6;
  }

  .form-field--comment {
    grid-row: 7;
  }

  .form-field--comment textarea {
    height: auto;
    min-height: 64px;
  }
}

.phone-mask-wrapper,
.email-mask-wrapper {
  display: inline-block;
  position: relative; /* это можно убрать! */
  cursor: pointer;
  white-space: nowrap;
  
  /* Стикер без absolute – делаем через псевдоэлемент */
}

.phone-mask-wrapper::after,
.email-mask-wrapper::after {
  content: "нажмите";
  /* content: "нажмите"; */
  display: inline-block;

  /* Ширина накрытия (подбери под длину хвоста) */
  margin-left: -100px; 
  padding-left: 70px;  /* фактически это ширина маски */
  padding-right: 0;

  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,     /* полностью прозрачное начало */
    rgba(255, 255, 255, 0.95) 50%, /* почти белое */
    rgba(255, 255, 255, 1) 40%,    /* чистый белый */
    rgba(255, 255, 255, 1) 100%    /* белый до конца */
  );

  color: #7a8794;              /* серый текст */
  font-size: 15px;             /* поменьше размер */
  line-height: 1;              /* компактная высота строки */
  text-decoration: underline;  /* подчёркивание */
  text-decoration-style: dashed; /* прерывистое подчёркивание */
  text-underline-offset: 2px;
  vertical-align: middle;      /* выравнивание по высоте */

  transition: opacity .25s ease;
  pointer-events: none; /* не мешает клику по контейнеру */
}


.phone-mask-wrapper.revealed::after,
.email-mask-wrapper.revealed::after {
  opacity: 0;
  pointer-events: none;
}
