﻿:root {
  color-scheme: light;
  --yellow: #f5c400;
  --ink: #20201d;
  --muted: #727168;
  --line: #e8e6de;
  --paper: #fffefa;
  --danger: #ad3027;
  --green: #26613e;
  font-family: Inter, "Noto Sans Georgian", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { min-width: 0; background: var(--yellow); overscroll-behavior: none; }
body { min-width: 0; min-height: 100svh; margin: 0; color: var(--ink); background: var(--yellow); overflow-x: hidden; overscroll-behavior: none; }
button, input { font: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid #181817; outline-offset: 3px; }

.page-shell {
  width: min(100% - 36px, 1040px);
  height: 100svh;
  min-height: 100svh;
  margin-inline: auto;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: .12em; font-weight: 850; }
.brand__ytong { display: block; width: auto; height: 31px; flex: 0 0 auto; color: var(--ink); }
.brand__ostati { display: block; color: var(--ink); font-family: "Arial Black", Arial, sans-serif; font-size: 24px; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.brand__cross { font-size: 23px; font-weight: 500; }
.intro { width: min(100%, 620px); margin: 8px auto 26px; text-align: center; }
.eyebrow { margin: 0 0 13px; font-size: 11px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 580px; margin: 0 auto; font-size: clamp(26px, 6.5vw, 42px); line-height: 1.18; letter-spacing: -.045em; font-weight: 850; }
.intro__copy { max-width: 445px; margin: 0 auto 0; font-size: 15px; line-height: 1.75; color: #3f3d35; }
.form-card {
  width: min(100%, 490px);
  position: relative;
  overflow: hidden;
  padding: 25px 22px 22px;
  border: 1px solid rgb(32 32 29 / 7%);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 18px 54px rgb(60 44 0 / 13%), 0 3px 9px rgb(60 44 0 / 5%);
}
.form-card__heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.step-mark { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 12px; font-weight: 850; }
h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.form-card__heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.field { margin-bottom: 17px; }
label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 720; }
input { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid #dcdad1; border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; transition: border-color .16s, box-shadow .16s; }
input::placeholder { color: #a19f95; }
input:focus { border-color: #8c7000; outline: none; box-shadow: 0 0 0 3px rgb(245 196 0 / 25%); }
input[aria-invalid="true"] { border-color: var(--danger); }
.area-input { position: relative; }
.area-input input { padding-right: 50px; }
.area-input > span { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: var(--muted); font-size: 13px; pointer-events: none; }
.field__error { display: block; min-height: 0; margin-top: 0; color: var(--danger); font-size: 12px; line-height: 1.4; }
.field__error:not(:empty) { min-height: 17px; margin-top: 6px; }
.submit-button { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 10px; margin-top: 5px; border: 0; border-radius: 10px; background: var(--ink); color: white; font-size: 15px; font-weight: 750; cursor: pointer; transition: background .18s, transform .18s; }
.submit-button:hover:not(:disabled) { background: #393831; transform: translateY(-1px); }
.submit-button:disabled { opacity: .72; cursor: wait; }
.button__arrow { font-size: 18px; line-height: 1; }
.privacy-note { display: flex; gap: 8px; margin: 14px 1px 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.privacy-note span { flex: 0 0 auto; margin-top: 1px; color: #847329; font-size: 8px; }
.form-status { display: none; margin: 13px 0 0; padding: 11px 12px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.form-status.is-visible { display: block; }
.form-status.is-error { color: #85231d; background: #fff0ed; }
.form-status.is-success { color: #1f5635; background: #edf7ef; }
.card-stamp { display: none; }
.success-dialog { width: min(calc(100% - 32px), 390px); margin: auto; padding: 30px 26px 25px; border: 1px solid rgb(32 32 29 / 8%); border-radius: 22px; background: var(--paper); color: var(--ink); text-align: center; box-shadow: 0 24px 80px rgb(0 0 0 / 24%); }
.success-dialog[open] { animation: dialog-in .22s cubic-bezier(.2,.75,.3,1) both; }
.success-dialog::backdrop { background: rgb(20 19 15 / 52%); backdrop-filter: blur(4px); }
.success-dialog__icon { display: grid; width: 54px; height: 54px; margin: 0 auto 16px; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 25px; font-weight: 800; }
.success-dialog h2 { margin: 0; font-size: 22px; }
.success-dialog p { margin: 10px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.success-dialog__close { width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 750; cursor: pointer; }
.success-dialog__close:hover { background: #393831; }
.success-dialog__close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.page-footer { display: flex; width: min(100%, 490px); justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 30px; color: #49442e; font-size: 10px; letter-spacing: .04em; }

.loader { position: fixed; z-index: 10; inset: 0; display: grid; align-content: center; justify-items: center; gap: 16px; background: var(--yellow); animation: loader-out .35s ease 0.8s forwards; }
.loader__word { display: flex; gap: .1em; font-size: clamp(30px, 9vw, 48px); font-weight: 850; letter-spacing: .08em; }
.loader__word span { display: inline-block; opacity: 0; animation: letter-in .48s cubic-bezier(.2,.75,.3,1) forwards; }
.loader__word span:nth-child(2) { animation-delay: .06s; } .loader__word span:nth-child(3) { animation-delay: .12s; } .loader__word span:nth-child(4) { animation-delay: .18s; } .loader__word span:nth-child(5) { animation-delay: .24s; } .loader__word span:nth-child(6) { animation-delay: .30s; }
.loader__line { width: 68px; height: 2px; overflow: hidden; background: rgb(32 32 29 / 20%); }
.loader__line::after { display: block; width: 100%; height: 100%; background: var(--ink); content: ""; transform: translateX(-100%); animation: line-in .6s ease .12s forwards; }
@keyframes letter-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes line-in { to { transform: translateX(0); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (min-width: 700px) {
  .page-shell {
  width: min(100% - 36px, 1040px);
  height: 100svh;
  min-height: 100svh;
  margin-inline: auto;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .loader { display: none; }
}







