:root {
  --red: #df2b2f;
  --red-deep: #b71f25;
  --ink: #202020;
  --muted: #6f6f6f;
  --line: #e7e7e7;
  --soft: #f6f6f4;
  --panel: #ffffff;
  --panel-soft: #f1f1ef;
  --shadow: 0 18px 44px rgba(31, 31, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 246, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-chips,
.hero-actions,
.register-note,
.footer-links,
.footer-legal {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 132px;
  height: 36px;
}

.brand-logo {
  width: 132px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  gap: 8px;
  padding: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-links a,
.nav-cta {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: #565656;
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--panel-soft);
  color: var(--ink);
}

.nav-cta {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(223, 43, 47, 0.24);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 12px;
}

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

.hero-card,
.hero-side,
.metric-card,
.topic,
.benefit-card,
.speaker,
.form-card {
  border-radius: 8px;
}

.hero-card {
  min-height: 430px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 46%),
    linear-gradient(180deg, var(--red), #d32328);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 34px;
  width: 210px;
  height: 156px;
  opacity: 0.2;
  background:
    linear-gradient(90deg, transparent 0 28px, #fff 28px 36px, transparent 36px 64px),
    linear-gradient(0deg, transparent 0 28px, #fff 28px 36px, transparent 36px 64px);
  background-size: 64px 64px;
  transform: rotate(-10deg);
}

.hero-tag,
.section-kicker {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
}

.hero-tag {
  color: #fff;
  margin-bottom: 18px;
  opacity: 0.9;
}

.section-kicker {
  margin-bottom: 12px;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.78);
}

.hero-title {
  max-width: 760px;
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
}

.hero-chips {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  position: relative;
  z-index: 1;
}

.chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 8px;
  background: #fff;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-white {
  background: #fff;
  color: var(--red);
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px rgba(223, 43, 47, 0.22);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.hero-side {
  min-height: 430px;
  padding: 24px;
  background:
    linear-gradient(150deg, #fff 0%, #ededeb 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.status-pill {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--line);
}

.product-frame {
  min-height: 190px;
  display: grid;
  place-items: center;
  position: relative;
}

.mini-window {
  width: 76%;
  max-width: 280px;
  min-height: 136px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(215, 215, 215, 0.78);
  box-shadow: var(--shadow);
}

.mini-window span {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 8px;
  background: #d8d8d6;
  margin-right: 5px;
}

.mini-window strong {
  display: block;
  margin-top: 22px;
  font-size: 15px;
}

.mini-window em {
  display: block;
  height: 10px;
  border-radius: 8px;
  margin-top: 12px;
  background: #ececea;
}

.mini-window em:last-child {
  width: 62%;
}

.session-widget {
  position: absolute;
  right: 8px;
  bottom: 18px;
  min-width: 170px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.session-widget span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.session-widget strong {
  font-size: 18px;
}

.side-title {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 10px;
}

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

.metrics {
  padding: 0 0 22px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-card {
  min-height: 104px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.metric-card strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 58px 0;
}

.intro-section {
  padding-top: 24px;
  padding-bottom: 22px;
}

#program.section {
  padding-top: 26px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.intro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.intro-layout h2 {
  max-width: 680px;
}

.intro-layout .description {
  max-width: none;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.intro-actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.intro-actions .btn-red {
  width: min(100%, 187px);
  min-height: 44px;
  height: 44px;
  padding: 0;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
}

.center-head {
  max-width: 620px;
  margin: 0 auto 26px;
  text-align: center;
}

.description {
  color: #4e4e4e;
  font-size: 15px;
  line-height: 1.75;
}

.description p {
  margin: 0 0 14px;
}

.description p:last-child {
  margin-bottom: 0;
}

.description ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.description li {
  margin: 0 0 8px;
  padding-left: 2px;
}

.description li::marker {
  color: var(--red);
}

.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.topic {
  min-height: 168px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  line-height: 1.45;
}

.topic-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff1f1;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.banner-section {
  padding: 20px 0 50px;
}

.red-banner {
  min-height: 230px;
  border-radius: 8px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.16), rgba(255,255,255,0) 46%),
    var(--red);
  color: #fff;
}

.red-banner h2 {
  max-width: 640px;
}

.red-banner p {
  max-width: 590px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

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

.speaker {
  min-height: 132px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}

.speaker-avatar {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--panel-soft);
}

.speaker-name {
  font-weight: 800;
  margin-bottom: 5px;
}

.speaker-role {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.benefit-card {
  min-height: 250px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.benefit-card span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: rgba(223, 43, 47, 0.14);
  font-size: 72px;
  line-height: 1;
  font-weight: 800;
}

.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.registration-section {
  padding: 34px 0 70px;
}

.register-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: start;
  min-height: 540px;
  padding: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 15% 100%, rgba(0,0,0,0.2), transparent 34%),
    linear-gradient(135deg, #1d1d1d 0%, var(--red) 62%, #ff4b32 100%);
  color: #fff;
}

.register-copy {
  padding: 26px 0;
}

.register-copy h2 {
  max-width: 560px;
}

.register-copy p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.register-note {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.register-note span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 800;
}

.form-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.form-head-label {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-head-title {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}

.form-head-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.form-body {
  padding: 22px 24px 24px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #555;
  font-size: 12px;
  font-weight: 800;
}

.req {
  color: var(--red);
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: #fbfbfb;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--red);
  background: #fff;
}

input.error,
.consent-check.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(223, 43, 47, 0.12);
}

.phone-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px;
}

.char-count {
  text-align: right;
  color: #9a9a9a;
  font-size: 11px;
}

.consent-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfb;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
}

.consent-check a {
  color: var(--red);
  font-weight: 800;
}

.consent-box {
  display: none;
}

.submit-btn {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
  cursor: pointer;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-message {
  min-height: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.success-state {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.success-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #effaf2;
  color: #18783c;
  font-weight: 800;
}

.success-title {
  font-size: 22px;
  font-weight: 800;
}

.success-text,
.success-meta,
.calendar-title {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.calendar-add {
  margin-top: 8px;
}

.calendar-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.calendar-link {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-rows: 24px auto;
  place-items: center;
  align-content: center;
  gap: 5px;
  background: #fbfbfb;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.calendar-logo {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.calendar-section {
  padding: 0 0 70px;
}

.calendar-section-title {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
}

.calendar-actions-large {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 0;
}

.calendar-actions-large .calendar-link {
  min-height: 108px;
  grid-template-rows: 52px auto;
  background: #fff;
  font-size: 24px;
  box-shadow: none;
  gap: 10px;
}

.calendar-actions-large .calendar-logo {
  width: 52px;
  height: 52px;
}

.calendar-actions-large .calendar-name {
  font-size: 24px;
  line-height: 1;
}

.footer {
  background: #1f1f1f;
  color: #fff;
  padding: 42px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer p,
.footer a,
.footer-legal {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer p {
  max-width: 380px;
  margin: 0;
  line-height: 1.6;
}

.footer-links,
.footer-legal {
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

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

  .hero-grid,
  .split-layout,
  .register-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .hero-side {
    min-height: auto;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .metrics-grid,
  .topics,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .speakers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 20px);
  }

  .nav-shell {
    height: 62px;
  }

  .brand {
    min-width: 124px;
    height: 34px;
  }

  .brand-logo {
    width: 124px;
    height: 34px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-card,
  .hero-side,
  .red-banner,
  .register-card {
    padding: 20px;
  }

  .hero-title {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.1;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: none;
  }

  .hero-subtitle {
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .chip {
    min-height: 36px;
    white-space: normal;
    line-height: 1.2;
  }

  h2 {
    font-size: 28px;
  }

  .section {
    padding: 42px 0;
  }

  .metrics {
    padding-bottom: 16px;
  }

  .intro-section {
    padding-top: 22px;
    padding-bottom: 18px;
  }

  #program.section {
    padding-top: 24px;
  }

  .metric-card strong {
    font-size: 25px;
  }

  .red-banner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .register-card {
    gap: 18px;
  }

  .form-row,
  .phone-row {
    grid-template-columns: 1fr;
  }

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

  .calendar-section {
    padding-bottom: 44px;
  }

  .calendar-section-title {
    font-size: 24px;
  }

  .calendar-actions-large {
    grid-template-columns: 1fr;
  }

  .intro-layout .description {
    text-align: left;
    hyphens: none;
  }
}

@media (max-width: 360px) {
  .hero-card,
  .hero-side,
  .red-banner,
  .register-card {
    padding: 18px;
  }

  .hero-title {
    font-size: 25px;
  }

  .hero-subtitle {
    font-size: 10px;
  }
}
