:root {
  --bg: #f6f1e7;
  --surface: rgba(255, 251, 244, 0.78);
  --surface-strong: #fffaf1;
  --surface-dark: #1c1711;
  --text: #18130d;
  --muted: #6a6258;
  --line: rgba(24, 19, 13, 0.09);
  --accent: #d8ae5f;
  --accent-strong: #bf8e38;
  --success: #1f7a4f;
  --error: #b63d3d;
  --shadow: 0 22px 60px rgba(41, 28, 11, 0.08);
  --shadow-soft: 0 12px 24px rgba(41, 28, 11, 0.05);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(216, 174, 95, 0.14), transparent 24%),
    radial-gradient(circle at 100% 20%, rgba(216, 174, 95, 0.1), transparent 18%),
    linear-gradient(180deg, #fbf7f0 0%, #f6efe2 42%, #f2eadc 100%);
}

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

a {
  color: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0.12) 1px, transparent 1px, transparent 92px),
    linear-gradient(rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 92px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 90%);
  opacity: 0.35;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.hero,
.section,
.footer {
  animation: fade-up 0.7s ease both;
}

.hero {
  padding: 18px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid rgba(24, 19, 13, 0.08);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 8px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.brand__title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__eyebrow,
.eyebrow,
.footer__label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--muted);
}

.topbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.topbar__actions a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.topbar__actions a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.topbar__actions a:hover::after {
  transform: scaleX(1);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 38px;
  align-items: center;
  margin-top: 26px;
  padding: 32px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(216, 174, 95, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(26, 20, 15, 0.98), rgba(47, 35, 21, 0.94));
  box-shadow: 0 28px 80px rgba(32, 20, 8, 0.18);
}

.hero-copy h1,
.section h2 {
  margin: 12px 0 20px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 4.8vw, 4.8rem);
  color: #fff6e9;
}

.hero-copy__lead,
.story-section__copy p,
.soft-card p,
.benefit-row p,
.feature-band p,
.program-list li,
.offer-panel__text,
.offer-panel__note,
.dual-panel__intro p,
.lead-form span,
.footer p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.03rem;
}

.hero-copy__lead {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 244, 226, 0.8);
}

.hero-copy .eyebrow {
  color: rgba(255, 227, 171, 0.72);
}

.hero-copy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #18130d;
  box-shadow: 0 12px 28px rgba(191, 142, 56, 0.22);
}

.button--ghost {
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 239, 205, 0.2);
  color: #fff3db;
}

.button--wide {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li {
  padding: 18px;
  border: 1px solid rgba(255, 232, 193, 0.12);
  border-radius: 22px;
  background: rgba(255, 248, 237, 0.07);
  box-shadow: none;
}

.hero-metrics strong,
.contact-tile a {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff7ea;
}

.hero-metrics span,
.contact-tile span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 239, 210, 0.68);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-visual__card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(24, 19, 13, 0.08);
  box-shadow: var(--shadow);
}

.hero-visual__card--main {
  inset: 0 0 70px 42px;
  background: #fff;
  padding: 16px;
}

.hero-visual__card--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.hero-visual__card--note {
  right: 24px;
  bottom: 0;
  width: min(280px, 62%);
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(255, 244, 220, 0.92));
  color: var(--text);
}

.hero-visual__card--note .eyebrow {
  color: var(--muted);
}

.hero-visual__card--note p {
  margin: 12px 0 0;
  line-height: 1.7;
  color: var(--muted);
}

.section {
  padding: 68px 0 40px;
}

.section__head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soft-card,
.portrait-frame,
.benefit-row,
.offer-panel,
.dual-panel__intro,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.soft-card {
  padding: 32px 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(255, 248, 238, 0.82));
}

.soft-card--accent {
  background:
    linear-gradient(180deg, rgba(255, 251, 242, 0.98), rgba(255, 244, 221, 0.84));
}

.soft-card h3,
.benefit-row h3,
.offer-panel h2,
.dual-panel h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.portrait-frame {
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(255, 244, 226, 0.72));
}

.portrait-frame img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
  border-radius: 24px;
}

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

.benefit-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: rgba(255, 251, 244, 0.86);
}

.benefit-row img {
  width: 136px;
  height: 136px;
  object-fit: cover;
  border-radius: 20px;
}

.feature-band {
  padding: 36px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(216, 174, 95, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(29, 21, 14, 0.98), rgba(49, 35, 20, 0.95));
  border: 1px solid rgba(255, 224, 171, 0.08);
  box-shadow: 0 28px 80px rgba(32, 20, 8, 0.14);
}

.feature-band__intro {
  max-width: 720px;
  margin-bottom: 22px;
}

.feature-band .eyebrow,
.feature-band h2 {
  color: #fff4de;
}

.feature-band .soft-card p,
.feature-band .soft-card h3 {
  color: var(--text);
}

.program-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: program;
}

.program-list li {
  padding: 20px 24px;
  border-left: 4px solid var(--accent-strong);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 251, 244, 0.92);
  box-shadow: var(--shadow-soft);
}

.offer-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(255, 245, 227, 0.82));
}

.offer-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(216, 174, 95, 0.4), transparent 52%),
    linear-gradient(180deg, rgba(255, 248, 231, 0.98), rgba(255, 252, 245, 0.9));
}

.offer-art img {
  max-width: 320px;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  padding: 16px 22px;
  margin: 8px 0 18px;
  border-radius: 999px;
  background: rgba(24, 19, 13, 0.96);
  color: #fff6e7;
  box-shadow: var(--shadow-soft);
}

.price-chip span {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.offer-panel__note {
  max-width: 34rem;
}

.dual-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1fr);
  gap: 24px;
}

.dual-panel__intro,
.lead-form {
  padding: 30px;
}

.dual-panel__intro {
  background:
    radial-gradient(circle at top left, rgba(216, 174, 95, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(255, 252, 246, 0.84));
}

.contact-tile {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff2ca, #fff8e7);
  border: 1px solid rgba(191, 142, 56, 0.14);
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form--premium {
  background: rgba(255, 252, 247, 0.96);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(24, 19, 13, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(191, 142, 56, 0.24);
  border-color: rgba(191, 142, 56, 0.4);
}

.checkbox {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
}

.checkbox input {
  margin-top: 3px;
}

.status-box {
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
}

.status-box--success {
  background: rgba(31, 122, 79, 0.1);
  color: var(--success);
}

.status-box--error {
  background: rgba(182, 61, 61, 0.1);
  color: var(--error);
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 42px 0 72px;
  margin-top: 14px;
  border-top: 1px solid rgba(24, 19, 13, 0.08);
}

.footer__block {
  padding-top: 8px;
}

.footer p {
  margin: 0 0 8px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero-panel,
  .story-section,
  .offer-panel,
  .dual-panel,
  .benefit-stack,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual__card {
    position: relative;
  }

  .hero-visual__card--main {
    inset: auto;
    min-height: 520px;
  }

  .hero-visual__card--note {
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

  .benefit-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .cards-grid--four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, var(--container));
  }

  .topbar,
  .topbar__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    border-radius: 28px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.3rem, 12vw, 3.4rem);
    line-height: 1;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-visual__card--main {
    min-height: 380px;
  }

  .portrait-frame img {
    min-height: 380px;
  }

  .benefit-row {
    grid-template-columns: 1fr;
  }

  .benefit-row img {
    width: 100%;
    height: 220px;
  }

  .feature-band,
  .offer-panel,
  .dual-panel__intro,
  .lead-form {
    padding: 22px;
  }
}
