/* ══════════════════════════════════════════════════
   Design-system tokens — SmotriSunduk
   ══════════════════════════════════════════════════ */

:root {
  /* Colours */
  --color-bg-page:        #FFFFFF;
  --color-primary:        #2D68C4;
  --color-primary-hover:  #389C14;
  --color-text-main:      #000000;
  --color-text-sub:       #272424;
  --color-text-label:     #4C4F6D;
  --color-text-muted:     #64688D;
  --color-accent:         #EAF2FF;
  --color-divider:        #B6BBDD;
  --color-border:         #B6BBDD;
  --color-input-valid:    #389C14;
  --color-input-error:    #E74C6F;
  --color-white:          #FFFFFF;

  /* Radii */
  --radius-sm:    4px;
  --radius-card:  5px;
  --radius-btn:   25px;
  --radius-badge: 25px;

  /* Typography */
  --font-base: 'Open Sans', sans-serif;
}

/* ── Reset ── */

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

html {
  overflow-y: scroll;          /* always show scrollbar gutter — prevents
                                  content shift between pages            */
}

body.page-new {
  margin: 0;
  overflow-x: hidden;          /* clip 100vw breakouts that include scrollbar
                                  width — keeps body at viewport width so
                                  margin:auto centering stays consistent   */
  font-family: var(--font-base);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ══════════════════════════════════════════════════
   Button
   ══════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  color: #F9FAFB;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  text-decoration: none;
}

.btn--lg {
  padding: 14px 40px;
  font-size: 24px;
}

/* ══════════════════════════════════════════════════
   Card (design-system component)
   ══════════════════════════════════════════════════ */

.ds-card {
  background-color: var(--color-accent);
  border-radius: var(--radius-card);
  border: none;
  padding: 15px;
  text-align: left;
}

.ds-card__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.ds-card__subtitle {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
}

.ds-card__text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-main);
}

/* ══════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════ */

.sn-header {
  background-color: var(--color-white);
}

/* ── Top row ── */

.sn-header__top {
  width: 100%;
}

.sn-header__top-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sn-header__logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.sn-header__logo-block:hover {
  text-decoration: none;
}

.sn-header__logo {
  height: 48px;
  width: auto;
}

.sn-header__title-main {
  font-weight: 700;
  font-size: 16px;
  color: #000000;
}

.sn-header__title-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-sub);
}

.sn-header__nav {
  display: flex;
  gap: 24px;
  font-size: 16px;
  font-weight: 400;
}

.sn-header__nav-link {
  color: var(--color-text-main);
  text-decoration: none;
  white-space: nowrap;
}

.sn-header__nav-link:hover {
  color: var(--color-primary);
}

.sn-header__cta {
  flex-shrink: 0;
}

/* ── Divider between top & bottom ── */

.sn-header__divider {
  width: 100%;
  height: 2px;
  background-color: var(--color-divider);
}

/* ── Bottom row (badge) ── */

.sn-header__bottom {
  width: 100%;
  background-color: var(--color-white);
}

.sn-header__bottom-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px 12px;
  display: flex;
  align-items: center;
}

.sn-header__badge {
  /* left-edge aligned with .sn-header__title-main via logo width+gap */
  margin-left: 60px;                /* logo 48 + gap 12 */
  background-color: rgba(178, 196, 224, 0.30);
  border-radius: var(--radius-badge);
  padding: 6px 24px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-primary);
  text-align: center;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */

.sn-footer {
  background-color: var(--color-white);
  margin-top: 40px;
}

.sn-footer__separator {
  width: 100%;
  height: 2px;
  background-color: var(--color-divider);
}

/* ── Main footer content ── */

.sn-footer__content {
  width: 100%;
}

.sn-footer__content-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  gap: 40px;
}

/* Brand block — left ~1/4–1/3 */

.sn-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.sn-footer__brand:hover {
  text-decoration: none;
}

.sn-footer__logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.sn-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sn-footer__brand-name {
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  white-space: nowrap;
}

.sn-footer__brand-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-sub);
}

.sn-footer__brand-contacts {
  margin-top: 8px;
  font-weight: 700;
  font-size: 20px;
  color: #000000;
  white-space: nowrap;
}

.sn-footer__brand-legal {
  margin-top: 8px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #000000;
  text-align: left;
}

/* Right column — links + lower */

.sn-footer__right {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Links grid */

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

.sn-footer__links-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sn-footer__link {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-main);
  text-decoration: none;
}

.sn-footer__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Divider between links & lower */

.sn-footer__divider {
  width: 100%;
  height: 2px;
  margin: 20px 0 0;
  background-color: var(--color-divider);
}

/* Lower part (payment icons) */

.sn-footer__lower {
  width: 100%;
  padding: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sn-footer__pay-systems {
  height: 28px;
  width: auto;
}

/* ══════════════════════════════════════════════════
   MAIN content wrapper
   ══════════════════════════════════════════════════ */

.sn-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* ══════════════════════════════════════════════════
   Section 1 — Hero (50/50 split)
   ══════════════════════════════════════════════════ */

.sn-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.sn-hero__title {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-main);
}

.sn-hero__lead {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-main);
}

.sn-hero__list {
  padding-left: 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-main);
  line-height: 1.6;
}

.sn-hero__list li + li {
  margin-top: 6px;
}

/* ── Right column: carousel ── */

.sn-hero__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 0;
}

.sn-hero__examples-label {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-main);
  margin: 0;
}

.sn-carousel {
  position: relative;
  width: 100%;
  height: 415px;
  background-color: #E5E5E5;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.sn-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.sn-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sn-carousel__slide img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sn-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: rgba(45, 104, 196, 0.7);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.sn-carousel__btn:hover {
  background-color: rgba(45, 104, 196, 1);
}

.sn-carousel__btn--prev { left: 8px; }
.sn-carousel__btn--next { right: 8px; }

.sn-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.sn-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-divider);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.sn-carousel__dot--active {
  background-color: var(--color-primary);
}

/* ══════════════════════════════════════════════════
   Order form
   ══════════════════════════════════════════════════ */

.sn-order {
  margin-bottom: 48px;
}

.sn-order__title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  white-space: nowrap;
  text-align: left;
}

.sn-order-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sn-order-form__group {
  border: none;
  margin: 0;
  padding: 0;
}

.sn-order-form__legend {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-text-label);
}

.sn-order-form__cadastral {
  display: grid;
  grid-template-columns: 80px 80px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.sn-order-form__cadastral-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.sn-order-form__cadastral-wrap .sn-order-form__cadastral {
  margin-bottom: 0;
}

.sn-order-form__input {
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  background-color: var(--color-white);
  padding: 10px 12px;
  font-size: 16px;
  font-family: var(--font-base);
  color: var(--color-text-main);
  transition: border-color 0.2s ease;
}

.sn-order-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
}

.sn-order-form__input--valid {
  border-color: var(--color-input-valid);
}

.sn-order-form__input--error {
  border-color: var(--color-input-error);
}

.sn-order-form__input--short {
  max-width: 80px;
}

.sn-order-form__input--full {
  width: 100%;
}

/* ── Add extra cadastral number button ── */

.sn-order-form__add-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  margin-top: 4px;
}

.sn-order-form__add-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.sn-order-form__add-text {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-label);
  font-family: var(--font-base);
}

/* ── Radio buttons ── */

.sn-radio-row {
  display: flex;
  gap: 24px;
}

.sn-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-muted);
  cursor: pointer;
}

.sn-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sn-radio__circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.sn-radio__circle::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.sn-radio input:checked + .sn-radio__circle {
  border-color: var(--color-primary);
}

.sn-radio input:checked + .sn-radio__circle::after {
  background-color: var(--color-primary);
}

/* ── Email section ── */

.sn-order-form__hint {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ── Checkboxes ── */

.sn-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.sn-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sn-checkbox__box {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 2px solid var(--color-border);
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sn-checkbox__box::after {
  content: '';
  display: none;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg);
  margin-top: -2px;
}

.sn-checkbox input:checked + .sn-checkbox__box {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.sn-checkbox input:checked + .sn-checkbox__box::after {
  display: block;
}

/* Unchecked error state */
.sn-checkbox--error .sn-checkbox__box {
  border-color: var(--color-input-error);
}

.sn-checkbox__label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ── Submit footer ── */

.sn-order-form__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.sn-order-form__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--color-primary);
}

.sn-order-form__price-value {
  font-size: 64px;
  font-weight: 700;
}

.sn-order-form__price-currency {
  font-size: 64px;
  font-weight: 700;
}

/* ── Validation states ── */

.sn-order-form__input.error {
  border-color: #e74c3c;
  background-color: #fdf0ef;
}

.sn-order-form__input.success {
  border-color: #389C14;
}

.sn-checkbox.error {
  color: #e74c3c;
}

.sn-checkbox.error .sn-checkbox__box {
  border-color: #e74c3c;
}

.sn-radio-row.error {
  outline: 2px solid #e74c3c;
  border-radius: var(--radius-sm, 6px);
  padding: 4px;
}

/* ── Remove cadastral row button ── */

.sn-order-form__remove-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  margin-top: 4px;
}

.sn-order-form__remove-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background-color: #c0392b;
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.sn-order-form__remove-text {
  font-size: 18px;
  font-weight: 400;
  color: #c0392b;
  font-family: var(--font-base);
}

/* ── Error bar (fixed at top of viewport) ── */

.sn-order-form__error {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 20px;
  background: #fdf0ef;
  border-bottom: 2px solid #e74c3c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sn-order-form__error.active {
  display: block;
}

.sn-order-form__error-holder {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.sn-order-form__error-icon {
  flex-shrink: 0;
  font-size: 22px;
  color: #e74c3c;
}

.sn-order-form__error-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.sn-order-form__error-close {
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.sn-order-form__error-close:hover {
  color: #333;
}

/* ── Loader overlay (full-page) ── */

.sn-order-form__loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.sn-order-form__loader.active {
  display: flex;
}

.sn-order-form__loader img {
  width: 80px;
  height: 80px;
}

.sn-order-form__loader-text {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-align: center;
  max-width: 320px;
  line-height: 1.4;
}

/* ── Payment icons under form ── */

.sn-order__pay-icons {
  margin-top: 20px;
  text-align: center;
}

.sn-order__pay-icons img {
  height: auto;
  width: auto;
}

/* ── Order two-column layout ── */

.sn-order__columns {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.sn-order__left {
  min-width: 0;
  background-color: var(--color-accent);
  border-radius: var(--radius-card);
  padding: 24px 20px;
}

.sn-order__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background-color: var(--color-accent);
  border-radius: var(--radius-card);
  padding: 24px 20px;
}

/* ── Sidebar info block (ФАЙЛ) ── */

.sn-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sn-sidebar-info__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-label);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sn-sidebar-info__icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sn-sidebar-info__icon {
  flex-shrink: 0;
}

.sn-sidebar-info__icon-img {
  width: 38px;
  height: 47px;
  display: inline-block;
  vertical-align: middle;
}

.sn-sidebar-info__icon-text {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text-main);
}

/* ── Sidebar download button ── */

.btn--sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* Prevent download button from stretching inside flex-column sidebar */
.sn-order__right .btn--sm {
  align-self: flex-start;
}

/* ── Sidebar SVG icons ── */

.sn-svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.sn-svg--pdf    { width: 38px; height: 47px; color: var(--color-primary); }
.sn-svg--sun    { width: 40px; height: 40px; color: var(--color-primary); }
.sn-svg--size   { width: 36px; height: 36px; color: var(--color-primary); }
.sn-svg--dividers { width: 36px; height: 40px; color: var(--color-primary); }
.sn-svg--pen    { width: 38px; height: 38px; color: var(--color-primary); }
.sn-svg--print  { width: 40px; height: 40px; color: var(--color-primary); }

/* ── Sidebar feature list ── */

.sn-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
  justify-content: space-evenly;
}

.sn-sidebar-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sn-sidebar-list__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
}

.sn-sidebar-list__text {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text-main);
  line-height: 1.4;
}

.sn-sidebar-list__text .text-block {
  display: block;
}


/* ══════════════════════════════════════════════════
   Support / info bar (full-width)
   ══════════════════════════════════════════════════ */

.sn-support {
  background-color: var(--color-accent);
  border-radius: var(--radius-card);
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 48px;
}

.sn-support__inner {
  max-width: 100%;
  padding: 18px 24px;
  text-align: center;
}

.sn-support__text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-main);
  line-height: 1.6;
}

.sn-support__text strong {
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   Help / Info-card sections
   ══════════════════════════════════════════════════ */

.sn-section {
  margin-bottom: 48px;
}

.sn-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0 0 20px;
}

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

/* ══════════════════════════════════════════════════
   Page title (about & similar pages)
   ══════════════════════════════════════════════════ */

.sn-page-title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: left;
}

/* ══════════════════════════════════════════════════
   Info block (full-width accent bar)
   ══════════════════════════════════════════════════ */

.sn-info-block {
  background-color: var(--color-accent);
  border-radius: var(--radius-card);
  min-height: 106px;
  max-width: 1440px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.sn-info-block__inner {
  padding: 18px 24px;
  width: 100%;
}

.sn-info-block__text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-main);
  line-height: 1.6;
  text-align: left;
}

.sn-info-block__text strong {
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   Plans gallery (about page)
   ══════════════════════════════════════════════════ */

.sn-plans-gallery {
  margin-bottom: 48px;
}

.sn-plans-gallery__strip {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  height: 241px;
  overflow: hidden;
  margin-bottom: 12px;
}

.sn-plans-gallery__strip img {
  flex: 1 1 0;
  min-width: 0;
  height: 241px;
  object-fit: cover;
  display: block;
}

.sn-plans-gallery__caption {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-main);
}

/* ══════════════════════════════════════════════════
   Trust card variant (section 4 on about page)
   ══════════════════════════════════════════════════ */

.ds-card--trust {
  background-color: var(--color-primary);
}

.ds-card--trust .ds-card__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
}

.ds-card--trust .ds-card__text {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
}

/* ══════════════════════════════════════════════════
   Centered CTA button
   ══════════════════════════════════════════════════ */

.sn-cta-center {
  text-align: center;
  margin-bottom: 48px;
}

/* ══════════════════════════════════════════════════
   Print section
   ══════════════════════════════════════════════════ */

.sn-print {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}

.sn-print__image {
  flex-shrink: 0;
}

.sn-print__image img {
  display: block;
  max-width: 450px;
  height: auto;
}

.sn-print__content {
  text-align: left;
}

.sn-print__label {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.sn-print__text {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-label);
}

/* ══════════════════════════════════════════════════
   Legal document
   ══════════════════════════════════════════════════ */

.legal {
  max-width: 860px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid #e5e7eb;
  padding: 40px 48px 48px;
}

.legal__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-primary);
}

.legal__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-text-main);
  text-transform: uppercase;
  text-align: center;
}

.legal__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.legal__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal__heading {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-main);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
}

.legal__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-main);
  text-align: justify;
}

.legal__text strong {
  color: var(--color-text-main);
  font-weight: 600;
}

.legal__list {
  margin: 0;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-main);
}

.legal__list li + li {
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════
   Contacts page
   ══════════════════════════════════════════════════ */

.sn-content-divider {
  height: 2px;
  background-color: var(--color-accent);
  max-width: 1440px;
  margin: 24px 0;
}

.sn-contacts-section {
  margin-bottom: 40px;
}

.sn-contacts-h2 {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-main);
  margin: 0 0 8px;
}

.sn-contacts-text {
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text-main);
  text-align: left;
  margin: 0 0 12px;
  line-height: 1.6;
}

.sn-contacts-text-bold {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-main);
}

.sn-contacts-contact-info {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-main);
  margin: 0 0 16px;
}

.sn-contacts-list-disk {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px;
}

.sn-contacts-list-disk li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text-main);
  line-height: 1.6;
}

.sn-contacts-list-disk li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-text-main);
  font-size: 16px;
}

.sn-contacts-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sn-contacts-history-body {
  position: relative;
  overflow: hidden;
}

.sn-contacts-history-right {
  float: right;
  margin: 0 0 16px 24px;
  text-align: center;
}

.sn-contacts-history-icon {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.sn-contacts-terminal-wrap {
  margin-top: 16px;
}

.sn-contacts-terminal-img {
  max-width: 350px;
  width: 100%;
  height: auto;
}

/* ══════════════════════════════════════════════════
   Content pages (payment, refunds)
   ══════════════════════════════════════════════════ */

.sn-content-section {
  margin-bottom: 40px;
}

.sn-content-h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #000000;
  margin: 0 0 8px;
}

.sn-content-h2 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #000000;
  margin: 0 0 8px;
}

.sn-content-h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  margin: 0 0 8px;
}

.sn-content-text {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  text-align: left;
  margin: 0 0 12px;
  line-height: 1.6;
}

.sn-content-text-bold {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  display: block;
  margin: 0 0 8px;
}

/* Disk bullet list */
.sn-content-list-disk {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px;
}

.sn-content-list-disk li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
}

.sn-content-list-disk li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #000000;
  font-size: 16px;
}

/* Ndash list */
.sn-content-list-ndash {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px;
}

.sn-content-list-ndash li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
}

.sn-content-list-ndash li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: #000000;
  font-size: 16px;
}

/* Notice / alert block with accent background */
.sn-content-notice {
  background-color: #EAF2FF;
  padding: 20px 24px;
  max-width: 1440px;
  margin-bottom: 24px;
  border-radius: var(--radius-card);
}

.sn-content-notice .sn-content-text {
  margin-bottom: 0;
}

/* Image float right for content pages */
.sn-content-img-right {
  float: right;
  margin: 0 0 16px 24px;
  max-width: 280px;
}

.sn-content-img-right img {
  display: block;
  width: 100%;
  height: auto;
}

/* SBP icon next to heading */
.sn-content-heading-with-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.sn-content-heading-with-icon .sn-content-h2 {
  margin-bottom: 0;
}

.sn-content-heading-icon {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}

/* Two equal-height sections filling content area */
.sn-content-equal-sections {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 300px);
}

.sn-content-equal-sections .sn-content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Table styling for content pages */
.sn-content-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.sn-content-table td,
.sn-content-table th {
  border: 2px solid #000000;
  padding: 8px 12px;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
}

.sn-content-table th {
  font-weight: 700;
}

/* Numbered list */
.sn-content-list-numbered {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px;
  counter-reset: ol-counter;
}

.sn-content-list-numbered li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
  counter-increment: ol-counter;
}

.sn-content-list-numbered li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #000000;
  font-size: 16px;
  font-weight: 400;
}

/* ══════════════════════════════════════════════════
   404 page
   ══════════════════════════════════════════════════ */

.sn-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 300px);
}

.sn-404__container {
  text-align: center;
}

.sn-404__title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 200px;
  line-height: 1;
  color: var(--color-primary);
  margin: 0 0 24px;
}

.sn-404__text {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #000000;
  margin: 0 0 32px;
}

/* ══════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════ */

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

  .sn-carousel {
    width: 100%;
  }

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

  .sn-plans-gallery__strip {
    flex-wrap: wrap;
    height: auto;
  }

  .sn-plans-gallery__strip img {
    flex: 0 0 50%;
    height: 180px;
  }

  .sn-print {
    flex-direction: column;
  }

  .sn-footer__content-inner {
    flex-direction: column;
  }

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

  .sn-order__columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sn-header__top-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sn-header__nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .sn-header__badge {
    margin-left: 0;
  }

  .sn-main {
    padding-inline: 16px;
  }

  .sn-order-form__cadastral {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sn-order__title {
    white-space: normal;
  }

  .sn-order-form__footer {
    flex-wrap: wrap;
  }

  .sn-order-form__price-value,
  .sn-order-form__price-currency {
    font-size: 40px;
  }

  .sn-section__grid {
    grid-template-columns: 1fr;
  }

  .sn-plans-gallery__strip {
    flex-wrap: wrap;
    height: auto;
  }

  .sn-plans-gallery__strip img {
    flex: 0 0 50%;
    height: 140px;
  }

  .sn-footer__content-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sn-footer__links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .sn-footer__lower {
    flex-direction: column;
    gap: 12px;
  }

  .sn-contacts-history-header {
    gap: 12px;
  }

  .sn-contacts-history-icon {
    width: 80px;
  }

  .sn-contacts-history-right {
    float: none;
    margin: 0 auto 20px;
  }

  .sn-contacts-terminal-wrap {
    display: none;
  }

  .sn-content-img-right {
    float: none;
    margin: 0 0 16px 0;
    max-width: 100%;
  }

  .sn-content-heading-with-icon {
    flex-direction: column;
    align-items: flex-start;
  }

  .sn-404__title {
    font-size: 120px;
  }
}

/* ══════════════════════════════════════════════════
   Order Complete Page
   ═════════════════════════════════��════════��═══════ */

.order-complete {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 48px 0 64px;
}

.order-complete__card {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  background-color: var(--color-accent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.order-complete__loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.order-complete__spinner {
  width: 64px;
  height: 64px;
}

.order-complete__status {
  font-size: 18px;
  color: var(--color-text-sub);
  font-weight: 600;
}

.order-complete__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  background-color: #2e7d32;
}

.order-complete__icon--error {
  background-color: #c62828;
}

.order-complete__result {
  padding: 8px 0;
}

.order-complete__title {
  font-size: 26px;
  font-weight: 700;
  color: #2e7d32;
  margin: 0 0 12px;
}

.order-complete__title--error {
  color: #c62828;
}

.order-complete__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-sub);
  margin: 0 0 28px;
}

.order-complete__btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-btn);
  transition: background-color 0.25s ease;
}

@media (max-width: 640px) {
  .order-complete__card {
    padding: 32px 20px;
    margin: 0 16px;
  }

  .order-complete__title {
    font-size: 22px;
  }

  .order-complete__icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
}
