:root {
  --wine: #520404;
  --wine-soft: #7b2323;
  --cream: #fff9f5;
  --cream-deep: #fcf5ef;
  --orange: #ff5a1f;
  --peach: #ffd4ff;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(82, 4, 4, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--wine);
  background: var(--cream);
  font-family: "Poppins", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  min-height: 92px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 36px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 132px; height: auto; display: block; }

.header-note {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.hero {
  max-width: 1240px;
  min-height: calc(100vh - 148px);
  margin: 0 auto;
  padding: 34px 36px 54px;
  display: grid;
  grid-template-columns: minmax(400px, .92fr) minmax(480px, 1.08fr);
  gap: clamp(54px, 7vw, 104px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.decor {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.decor-one {
  width: 330px;
  height: 330px;
  left: -190px;
  top: 13%;
  background: rgba(255, 212, 255, .34);
}

.decor-two {
  width: 220px;
  height: 220px;
  right: -120px;
  bottom: 2%;
  border: 54px solid rgba(255, 90, 31, .08);
}

.visual-column,
.content-column { position: relative; z-index: 2; }

.book-stage {
  position: relative;
  width: min(100%, 430px);
  height: 530px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.book-stage::before {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: var(--peach);
  opacity: .62;
  transform: translate(-28px, -6px);
}

.book-shadow {
  position: absolute;
  width: 310px;
  height: 70px;
  bottom: 20px;
  border-radius: 50%;
  background: rgba(82, 4, 4, .2);
  filter: blur(25px);
  transform: rotate(-5deg);
}

.book-cover {
  position: relative;
  width: 304px;
  aspect-ratio: 596 / 842;
  overflow: visible;
  border-radius: 5px 14px 14px 5px;
  background: var(--wine);
  box-shadow: -14px 14px 0 #720b08, 0 36px 60px rgba(82, 4, 4, .28);
  transform: rotateY(-10deg) rotateZ(-3deg);
  transform-style: preserve-3d;
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 13px;
  z-index: 2;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(90deg, rgba(35, 0, 0, .42), rgba(255, 255, 255, .12), transparent);
  pointer-events: none;
}

.book-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(100deg, rgba(255,255,255,.1), transparent 16%, transparent 80%, rgba(82,4,4,.18));
  pointer-events: none;
}

.book-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.guide-details {
  display: flex;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.guide-details span {
  padding: 8px 13px;
  border: 1px solid rgba(82, 4, 4, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.content-column { max-width: 620px; }

.eyebrow {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .17em;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

h1 em { color: var(--orange); font-style: normal; }

.intro {
  max-width: 600px;
  margin: 22px 0 19px;
  font-size: 15px;
  line-height: 1.72;
}

.benefits {
  list-style: none;
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0 0 25px;
  font-size: 13px;
  font-weight: 600;
}

.benefits li { display: flex; align-items: center; gap: 10px; }
.benefits li span { color: var(--orange); font-weight: 800; }

.form-card {
  padding: 22px 24px 19px;
  border: 1px solid rgba(82, 4, 4, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.step, .progress-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.progress-label { color: rgba(82, 4, 4, .58); }
.progress { height: 4px; margin: 9px 0 18px; overflow: hidden; border-radius: 99px; background: rgba(82, 4, 4, .09); }
.progress span { display: block; width: 100%; height: 100%; background: var(--orange); }

form { display: grid; gap: 13px; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; }
label > span { font-size: 11px; font-weight: 700; }

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(82, 4, 4, .18);
  border-radius: 9px;
  color: var(--wine);
  background: var(--cream);
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input::placeholder { color: rgba(82, 4, 4, .42); }
input:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(255, 90, 31, .12); }
input[aria-invalid="true"] { border-color: #b62020; }

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 9px;
  cursor: pointer;
}

.consent input { width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--orange); }
.consent span { font-size: 10px; line-height: 1.5; font-weight: 500; }

button {
  min-height: 53px;
  border: 0;
  border-radius: 9px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 26px rgba(255, 90, 31, .24);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

button:hover { transform: translateY(-2px); background: #ed4e16; box-shadow: 0 16px 30px rgba(255, 90, 31, .3); }
button:focus-visible { outline: 3px solid rgba(255, 90, 31, .25); outline-offset: 3px; }
.arrow { font-size: 21px; line-height: 1; }

.privacy, .form-status { margin: 0; text-align: center; font-size: 9px; color: rgba(82, 4, 4, .64); }
.form-status { min-height: 14px; color: #9d1b1b; font-weight: 600; }

footer {
  min-height: 56px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
}

footer a { text-decoration: none; }
footer a:hover { color: var(--orange); }

@media (max-width: 920px) {
  .site-header { padding-inline: 24px; }
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 18px 24px 48px; }
  .visual-column { order: 2; }
  .content-column { order: 1; max-width: 700px; margin: 0 auto; }
  .book-stage { height: 455px; }
  .book-stage::before { width: 345px; height: 345px; }
  .book-cover { transform: rotateY(-8deg) rotateZ(-2deg) scale(.86); }
}

@media (max-width: 560px) {
  .site-header { min-height: 77px; justify-content: center; }
  .brand img { width: 112px; }
  .hero { padding: 14px 18px 38px; overflow: clip; }
  h1 { font-size: 39px; }
  .intro { font-size: 14px; line-height: 1.65; }
  .benefits { font-size: 12px; }
  .form-card { padding: 19px 16px 16px; border-radius: 15px; }
  .name-row { grid-template-columns: 1fr; }
  .book-stage { height: 420px; }
  .book-stage::before { width: 300px; height: 300px; }
  .book-cover { transform: rotateY(-7deg) rotateZ(-2deg) scale(.78); }
  .guide-details { margin-top: -18px; }
  footer { flex-wrap: wrap; padding-inline: 20px; gap: 9px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
