#cert-page {
  --bg: #f4efe8;
  --bg-soft: #fbf8f4;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #1f1917;
  --muted: #5f5652;
  --accent: #a0261f;
  --accent-dark: #7f1d18;
  --accent-soft: rgba(160, 38, 31, 0.1);
  --line: rgba(63, 32, 22, 0.12);
  --shadow: 0 18px 50px rgba(57, 35, 27, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1160px, calc(100vw - 40px));
}

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

#cert-page {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
}

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

#cert-page a {
  color: inherit;
  text-decoration: none;
}

#cert-page button,
#cert-page input {
  font: inherit;
}

#cert-page .page-shell {
  overflow: clip;
}

#cert-page .container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

#cert-page .hero {
  position: relative;
  padding: 32px 0 56px;
}

#cert-page .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
  gap: 40px;
  align-items: center;
}

#cert-page .hero__content {
  padding: 48px 0;
}

#cert-page .hero__backdrop {
  position: absolute;
  pointer-events: none;
  opacity: 0.95;
}

#cert-page .hero__backdrop img {
  width: 90px;
}

#cert-page .hero__backdrop--left {
  top: 68px;
  left: max(12px, calc((100vw - var(--container)) / 2));
}

#cert-page .hero__backdrop--right {
  right: max(12px, calc((100vw - var(--container)) / 2));
  top: 220px;
}

#cert-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(160, 38, 31, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

#cert-page .eyebrow--light {
  color: #ffe9e0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

#cert-page .hero__title,
#cert-page .section-heading h2,
#cert-page .cta-panel__content h2 {
  margin: 22px 0 0;
  font-family: "Prata", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

#cert-page .hero__title {
  max-width: 11ch;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.96;
}

#cert-page .hero__title span {
  display: block;
  margin: 10px 0;
  color: var(--accent);
}

#cert-page .hero__lead,
#cert-page .section-heading > p:not(.eyebrow),
#cert-page .cta-panel__content > p:not(.eyebrow),
#cert-page .benefit-card p,
#cert-page .timeline-card p,
#cert-page .company__details li,
#cert-page .note-card p,
#cert-page .lead-form__hint,
#cert-page .certificate-card__label,
#cert-page .certificate-card__top p,
#cert-page .metric span,
#cert-page .stat-card span,
#cert-page .promo__content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

#cert-page .hero__lead {
  max-width: 620px;
  margin: 26px 0 0;
}

#cert-page .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

#cert-page .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

#cert-page .button:hover,
#cert-page .button:focus-visible {
  transform: translateY(-2px);
}

#cert-page .button--primary {
  background: linear-gradient(135deg, #b62c24 0%, var(--accent-dark) 100%);
  color: #fff7f3;
  box-shadow: 0 16px 32px rgba(160, 38, 31, 0.2);
}

#cert-page .button--ghost {
  border-color: rgba(63, 32, 22, 0.15);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
}

#cert-page .button--full {
  width: 100%;
}

#cert-page .button[disabled] {
  opacity: 0.7;
  pointer-events: none;
}

#cert-page .hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

#cert-page .hero__facts li,
#cert-page .stat-card,
#cert-page .benefit-card,
#cert-page .timeline-card,
#cert-page .highlight-card,
#cert-page .note-card,
#cert-page .company__details,
#cert-page .metric {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

#cert-page .hero__facts li {
  min-height: 120px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

#cert-page .certificate-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(160, 38, 31, 0.16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(249, 244, 239, 0.92)),
    radial-gradient(circle at top right, rgba(160, 38, 31, 0.14), transparent 34%);
  box-shadow: 0 28px 70px rgba(71, 40, 27, 0.18);
}

#cert-page .certificate-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(160, 38, 31, 0.1);
  pointer-events: none;
}

#cert-page .certificate-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

#cert-page .certificate-card__brand {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

#cert-page .certificate-card__label {
  margin: 8px 0 0;
  font-size: 15px;
}

#cert-page .certificate-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

#cert-page .certificate-card__amount {
  margin: 30px 0 0;
  font-family: "Prata", "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.95;
  color: var(--accent);
}

#cert-page .certificate-card__title {
  margin: 16px 0 0;
  font-size: 26px;
  line-height: 1.2;
}

#cert-page .check-list,
#cert-page .arrow-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

#cert-page .check-list li,
#cert-page .arrow-list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

#cert-page .check-list li + li,
#cert-page .arrow-list li + li {
  margin-top: 12px;
}

#cert-page .check-list li::before,
#cert-page .arrow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 6px rgba(160, 38, 31, 0.95);
}

#cert-page .check-list--compact li {
  font-size: 15px;
}

#cert-page .section {
  padding: 42px 0 90px;
}

#cert-page .section--soft {
  position: relative;
}

#cert-page .section--soft::before {
  content: "";
  position: absolute;
  inset: 40px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.74));
  pointer-events: none;
}

#cert-page .section--soft > * {
  position: relative;
  z-index: 1;
}

#cert-page .stats-section {
  padding: 0 0 20px;
}

#cert-page .stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#cert-page .stat-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

#cert-page .stat-card strong,
#cert-page .metric strong {
  font-family: "Prata", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  color: var(--accent);
}

#cert-page .section-heading {
  max-width: 720px;
}

#cert-page .section-heading--center {
  margin: 0 auto;
  text-align: center;
}

#cert-page .section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
}

#cert-page .section-heading > p:not(.eyebrow),
#cert-page .cta-panel__content > p:not(.eyebrow) {
  margin: 18px 0 0;
}

#cert-page .promo {
  padding: 32px;
  border-radius: calc(var(--radius-xl) + 6px);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(63, 32, 22, 0.08);
  box-shadow: 0 24px 70px rgba(77, 48, 35, 0.08);
}

#cert-page .promo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  margin-top: 34px;
  align-items: center;
}

#cert-page .promo__visual {
  padding: 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f6f1eb);
  border: 1px solid rgba(63, 32, 22, 0.08);
  box-shadow: var(--shadow);
}

#cert-page .promo__visual img {
  width: 100%;
  border-radius: 22px;
}

#cert-page .promo__content {
  display: grid;
  gap: 18px;
}

#cert-page .highlight-card,
#cert-page .note-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

#cert-page .highlight-card h3,
#cert-page .company__details h3,
#cert-page .cta-panel__content h2,
#cert-page .timeline-card h3,
#cert-page .benefit-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

#cert-page .note-card__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

#cert-page .note-card p:last-child {
  margin: 0;
}

#cert-page .benefits-grid,
#cert-page .timeline__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

#cert-page .benefit-card,
#cert-page .timeline-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 30px;
  border-radius: var(--radius-lg);
}

#cert-page .benefit-card__icon,
#cert-page .timeline-card span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--accent-soft);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

#cert-page .benefit-card p,
#cert-page .timeline-card p {
  margin: 0;
  font-size: 16px;
}

#cert-page .section--accent {
  color: #fff9f6;
}

#cert-page .section--accent .timeline {
  padding: 38px;
  border-radius: calc(var(--radius-xl) + 8px);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #6f1814 0%, #9c251f 46%, #42110e 100%);
  box-shadow: 0 28px 70px rgba(89, 28, 25, 0.24);
}

#cert-page .section--accent .section-heading > p:not(.eyebrow),
#cert-page .section--accent .timeline-card p {
  color: rgba(255, 244, 240, 0.88);
}

#cert-page .timeline-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

#cert-page .timeline-card span {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

#cert-page .company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
}

#cert-page .company__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

#cert-page .metric {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

#cert-page .company__details {
  padding: 28px;
  border-radius: calc(var(--radius-lg) + 4px);
}

#cert-page .arrow-list li::before {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--accent-soft);
  box-shadow: none;
}

#cert-page .arrow-list li::after {
  content: "→";
  position: absolute;
  left: 4px;
  top: -1px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

#cert-page .section--final {
  padding-bottom: 110px;
}

#cert-page .cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border-radius: calc(var(--radius-xl) + 8px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(253, 249, 245, 0.95)),
    radial-gradient(circle at top right, rgba(160, 38, 31, 0.12), transparent 38%);
  border: 1px solid rgba(160, 38, 31, 0.12);
  box-shadow: 0 28px 70px rgba(77, 48, 35, 0.12);
}

#cert-page .lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(63, 32, 22, 0.08);
  box-shadow: var(--shadow);
}

#cert-page .lead-form__field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

#cert-page .lead-form__field input {
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(63, 32, 22, 0.14);
  border-radius: 16px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

#cert-page .lead-form__field input:focus {
  outline: none;
  border-color: rgba(160, 38, 31, 0.4);
  box-shadow: 0 0 0 4px rgba(160, 38, 31, 0.1);
}

#cert-page .lead-form__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

#cert-page .lead-form__result {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

#cert-page .lead-form__result.is-visible {
  display: block;
}

#cert-page .lead-form__result--success {
  background: #ecfdf3;
  color: #067647;
  border: 1px solid #abefc6;
}

#cert-page .lead-form__result--error {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

@media (max-width: 1080px) {
  #cert-page .hero__grid,
  #cert-page .promo__grid,
  #cert-page .company,
  #cert-page .cta-panel,
  #cert-page .benefits-grid,
  #cert-page .timeline__grid,
  #cert-page .stats {
    grid-template-columns: 1fr;
  }

  #cert-page .hero {
    padding-top: 18px;
  }

  #cert-page .hero__content {
    padding-bottom: 0;
  }

  #cert-page .hero__facts {
    grid-template-columns: 1fr;
  }

  #cert-page .company__metrics {
    grid-template-columns: 1fr 1fr;
  }

  #cert-page .hero__backdrop--right {
    top: auto;
    bottom: 40px;
  }
}

@media (max-width: 720px) {
  #cert-page {
    --container: min(100vw - 24px, 1160px);
  }

  #cert-page .hero {
    padding-bottom: 34px;
  }

  #cert-page .hero__title {
    max-width: none;
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  #cert-page .hero__title span {
    margin: 8px 0;
  }

  #cert-page .certificate-card,
  #cert-page .promo,
  #cert-page .section--accent .timeline,
  #cert-page .cta-panel {
    padding: 22px;
  }

  #cert-page .benefit-card,
  #cert-page .timeline-card,
  #cert-page .highlight-card,
  #cert-page .note-card,
  #cert-page .company__details,
  #cert-page .lead-form {
    padding: 22px;
  }

  #cert-page .stat-card {
    padding: 24px;
  }

  #cert-page .company__metrics {
    grid-template-columns: 1fr;
  }

  #cert-page .hero__actions {
    flex-direction: column;
  }

  #cert-page .button {
    width: 100%;
  }

  #cert-page .hero__backdrop {
    display: none;
  }

  #cert-page .section {
    padding: 30px 0 72px;
  }

  #cert-page .section--final {
    padding-bottom: 82px;
  }

  #cert-page .hero__lead,
  #cert-page .section-heading > p:not(.eyebrow),
  #cert-page .cta-panel__content > p:not(.eyebrow),
  #cert-page .promo__content p,
  #cert-page .benefit-card p,
  #cert-page .timeline-card p,
  #cert-page .company__details li {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  #cert-page .hero__title {
    font-size: 2rem;
  }
}

#cert-page,
#cert-page .page-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

#cert-page .hero,
#cert-page .section,
#cert-page .promo,
#cert-page .cta-panel,
#cert-page .certificate-card,
#cert-page .stats,
#cert-page .benefits-grid,
#cert-page .timeline__grid,
#cert-page .company,
#cert-page .hero__grid,
#cert-page .promo__grid {
  max-width: 100%;
}

#cert-page .hero__grid > *,
#cert-page .promo__grid > *,
#cert-page .company > *,
#cert-page .cta-panel > *,
#cert-page .benefits-grid > *,
#cert-page .timeline__grid > *,
#cert-page .stats > * {
  min-width: 0;
}

#cert-page h1,
#cert-page h2,
#cert-page h3,
#cert-page p,
#cert-page li,
#cert-page a,
#cert-page span {
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  #cert-page .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}