:root {
  --ink: #17231e;
  --muted: #66716b;
  --paper: #f7f1e7;
  --paper-2: #fffaf1;
  --line: rgba(23, 35, 30, 0.14);
  --brass: #b78745;
  --green: #6e8d78;
  --deep: #0e1c17;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(42, 34, 20, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 35, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 30, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(183, 135, 69, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 22%, rgba(110, 141, 120, 0.2), transparent 24rem),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 14px 40px rgba(23, 35, 30, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: linear-gradient(135deg, #f4d9a7, #b78745);
  font-family: "STIX Two Text", serif;
  font-weight: 700;
}

.nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.header-actions {
  gap: 14px;
}

.phone {
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(14, 28, 23, 0.16);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-small {
  min-height: 40px;
  padding: 0 18px;
  color: var(--white);
  background: var(--deep);
  box-shadow: 0 10px 20px rgba(14, 28, 23, 0.16);
}

.button-primary {
  color: var(--deep);
  background: linear-gradient(135deg, #f7d796, #b78745);
  box-shadow: 0 18px 36px rgba(183, 135, 69, 0.28);
}

.section-grid,
.section,
.registration,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 4.5vw, 62px);
  align-items: stretch;
  min-height: 650px;
  margin-top: 56px;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid var(--line);
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(183, 135, 69, 0.18), transparent 20rem),
    linear-gradient(100deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.9) 48%, rgba(232, 239, 229, 0.82) 100%);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(23, 35, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 30, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

.hero > * {
  position: relative;
  min-width: 0;
}

.section,
.registration {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "STIX Two Text", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
  overflow-wrap: normal;
}

h1 {
  max-width: 680px;
  font-size: clamp(52px, 5.2vw, 68px);
}

h2 {
  max-width: 760px;
  font-size: clamp(36px, 4.3vw, 64px);
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 660px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 10px 14px;
  border: 1px solid rgba(23, 35, 30, 0.12);
  border-radius: 999px;
  color: var(--deep);
  background: rgba(255, 253, 248, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}

.hero-note {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 0;
}

.hero-panel::before {
  display: none;
}

.visual-frame {
  position: relative;
  width: min(100%, 500px);
  min-height: 470px;
  margin-left: auto;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(14, 28, 23, 0.96), rgba(36, 64, 53, 0.94)),
    var(--deep);
  box-shadow: 0 30px 80px rgba(14, 28, 23, 0.26);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 253, 248, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.1) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.45;
}

.visual-photo {
  position: absolute;
  inset: 22px 22px auto;
  height: 285px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.16), rgba(255, 253, 248, 0.04)),
    linear-gradient(135deg, rgba(241, 201, 120, 0.16), transparent 58%);
}

.tower {
  position: absolute;
  bottom: 0;
  width: 22%;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background:
    repeating-linear-gradient(180deg, rgba(255, 253, 248, 0.12) 0 2px, transparent 2px 22px),
    rgba(255, 253, 248, 0.08);
}

.tower-a {
  left: 9%;
  height: 58%;
}

.tower-b {
  left: 38%;
  height: 82%;
}

.tower-c {
  right: 10%;
  height: 66%;
}

.sunline {
  position: absolute;
  left: 12%;
  right: 10%;
  top: 36%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f1c978 24%, #fff2c8 62%, transparent);
  transform: rotate(-9deg);
  box-shadow: 0 0 30px rgba(241, 201, 120, 0.42);
}

.visual-document {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  padding: 24px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.1);
  backdrop-filter: blur(10px);
}

.doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-weight: 900;
}

.doc-top span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: #f1c978;
}

.doc-top strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.doc-lines {
  display: grid;
  gap: 9px;
  margin: 22px 0;
}

.doc-lines i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.2);
}

.doc-lines i:nth-child(1) {
  width: 86%;
}

.doc-lines i:nth-child(2) {
  width: 66%;
}

.doc-lines i:nth-child(3) {
  width: 76%;
}

.visual-document p {
  margin: 0;
  color: rgba(255, 253, 248, 0.84);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-side-note {
  position: relative;
  width: min(100%, 500px);
  margin: 16px 0 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(23, 35, 30, 0.12);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.76);
}

.hero-side-note span {
  display: block;
  margin-bottom: 6px;
  color: #f1c978;
  font-weight: 900;
}

.hero-side-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  border-radius: 34px;
  padding: clamp(34px, 6vw, 68px);
  margin-top: 22px;
}

.compact {
  overflow: hidden;
}

.section-heading {
  display: block;
  max-width: 820px;
}

.section-heading p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
}

.card-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.info-card,
.audience-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.82);
}

.info-card span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--brass);
  font-weight: 900;
}

.info-card p,
.audience-grid p {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.program {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 46px;
  align-items: start;
  background: linear-gradient(135deg, rgba(236, 243, 232, 0.9), rgba(255, 253, 248, 0.88));
}

.program-copy {
  position: sticky;
  top: 110px;
}

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

.program-list li {
  position: relative;
  min-height: 92px;
  padding: 24px 24px 24px 76px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.program-list li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--deep);
  font-size: 14px;
}

.registration {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.55fr);
  gap: 36px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 34px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 28, 23, 0.96), rgba(46, 72, 59, 0.96)),
    var(--deep);
}

.registration h2,
.registration p {
  color: var(--white);
}

.registration p {
  margin: 22px 0 0;
  opacity: 0.82;
}

.registration-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.08);
}

.registration-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.faq {
  background: rgba(255, 253, 248, 0.58);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.82);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  font-size: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 44px;
}

.site-footer p {
  max-width: 700px;
  margin: 0;
  font-size: 14px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .program,
  .registration,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 42px;
  }

  .hero-panel {
    min-height: 520px;
  }

  .program-copy {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    top: 8px;
    width: min(100% - 20px, 1160px);
    border-radius: 24px;
  }

  .brand span:last-child,
  .phone {
    display: none;
  }

  .button-small {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .section-grid,
  .section,
  .registration,
  .site-footer {
    width: min(100% - 20px, 1160px);
  }

  .hero {
    gap: 12px;
    padding: 24px 0 12px;
  }

  .hero-copy,
  .section,
  .registration {
    border-radius: 24px;
    padding: 26px 20px;
  }

  .hero-panel {
    min-height: 470px;
    border-radius: 24px;
    padding: 14px;
  }

  .deal-card {
    padding: 20px;
    border-radius: 20px;
  }

  .deal-head strong {
    font-size: 27px;
  }

  h1 {
    font-size: 39px;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 34px;
  }

  .hero-subtitle,
  p {
    font-size: 16px;
  }

  .button-primary {
    width: 100%;
    min-height: 58px;
    text-align: center;
  }

  .card-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .audience-grid article {
    min-height: 0;
  }

  .program-list li {
    min-height: 0;
    padding-right: 18px;
    font-size: 16px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}
