:root {
  --yellow: #FFE75F;
  --navy: #1F2A44;
  --cream: #F5F1E8;
  --white: #FFFFFF;
  --black: #111111;
  --muted: rgba(17, 17, 17, 0.68);
  --border: rgba(17, 17, 17, 0.1);
  --shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
  --shadow-soft: 0 10px 24px rgba(17, 17, 17, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--cream);
  color: var(--black);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-label {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.brand-subtitle {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.page-shell {
  min-height: 100vh;
}

.hero {
  padding: 74px 0 34px;
  background: linear-gradient(180deg, rgba(255, 231, 95, 0.08) 0%, rgba(245, 241, 232, 0) 100%);
}
.hero-description-secondary {
  margin-top: 24px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.96;
  color: var(--navy);
}

.hero-description {
  max-width: 700px;
  margin: 0;
  line-height: 1.78;
  color: rgba(17, 17, 17, 0.8);
  font-size: 1.02rem;
}

.hero-points {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.hero-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-point p {
  margin: 0;
  line-height: 1.55;
}

.hero-point-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--yellow);
  margin-top: 8px;
  flex-shrink: 0;
}

.hero-side-card,
.info-panel,
.form-panel,
.summary-panel {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-side-card {
  padding: 24px;
}

.mini-kicker {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 800;
}

.hero-side-item + .hero-side-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-side-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.hero-side-item span {
  line-height: 1.6;
  color: var(--muted);
}

.form-section {
  padding: 24px 0 90px;
}

.form-layout {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 24px;
  align-items: start;
}

.info-panel,
.form-panel,
.summary-panel {
  padding: 28px;
}

.info-panel,
.summary-panel {
  position: sticky;
  top: 105px;
}

.panel-heading {
  margin-bottom: 22px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--navy);
}

.info-steps {
  display: grid;
  gap: 18px;
}

.info-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.info-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
}

.info-step strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}

.info-step p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.info-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.info-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.info-box p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.preinscription-form {
  display: block;
}

.form-block + .form-block {
  margin-top: 34px;
}

.form-block h3 {
  margin: 0 0 18px;
  font-size: 1.08rem;
  color: var(--navy);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.field label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--black);
}

.full-span {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(245, 241, 232, 0.6);
  padding: 14px 16px;
  font: inherit;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.08);
  background: var(--white);
}

.checkbox-row {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-row input {
  width: 18px;
  min-height: auto;
  margin-top: 3px;
}

.checkbox-row span {
  line-height: 1.6;
  font-size: 0.95rem;
}

.form-footer {
  margin-top: 28px;
}

.submit-btn {
  min-height: 54px;
  padding: 0 24px;
  border: none;
  background: var(--yellow);
  color: var(--black);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.submit-btn:hover {
  opacity: 0.96;
}

.form-message {
  margin: 16px 0 0;
  font-weight: 700;
  line-height: 1.5;
}

.summary-content {
  min-height: 220px;
  padding: 18px;
  background: rgba(245, 241, 232, 0.6);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.summary-empty {
  margin: 0;
  color: var(--muted);
}

.summary-list {
  display: grid;
  gap: 14px;
}

.summary-item {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}

.summary-item span {
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.82);
}

.hidden-botcheck {
  display: none !important;
}

@media (max-width: 1050px) {
  .form-layout {
    grid-template-columns: 1fr;
  }

  .info-panel,
  .summary-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }
}