:root {
  --red: #e31e24;
  --red-dark: #b91419;
  --black: #151515;
  --text: #232323;
  --muted: #6b6f78;
  --line: #e8e8e8;
  --bg: #fff8ef;
  --soft: #fff;
  --green: #5f7f46;
  --brick: #b87a55;
  --shadow: 0 18px 45px rgba(18, 18, 18, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 248px;
}

.brand__etagi-logo {
  display: block;
  width: 132px;
  height: auto;
}

.brand__etagi {
  display: block;
  width: 132px;
  height: 39px;
  font-size: 0;
  color: transparent;
  background: url("../img/etagi-logo.svg") center / contain no-repeat;
}

.brand__mark {
  display: none;
}

.brand__divider {
  width: 1px;
  height: 42px;
  background: #bdbdbd;
}

.brand__bm {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--red);
  font: 900 15px/1 Arial, Helvetica, sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(227, 30, 36, 0.25);
}

.button--ghost {
  color: var(--black);
  background: #fff;
  border: 1px solid #d8d8d8;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(90deg, rgba(255, 248, 239, 0.98) 0%, rgba(255, 248, 239, 0.94) 45%, rgba(255, 248, 239, 0.62) 74%, rgba(255, 248, 239, 0.36) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: max(12px, calc((100vw - 1160px) / 2));
  bottom: 0;
  width: min(42vw, 470px);
  height: min(70vw, 610px);
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg, rgba(76, 45, 31, 0.12) 0 2px, transparent 2px 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.58) 0 5px, transparent 5px 68px),
    linear-gradient(135deg, #d39870, #a86543);
  box-shadow: -34px 28px 80px rgba(82, 48, 31, 0.2);
  opacity: 0.98;
}

.hero::after {
  content: "";
  position: absolute;
  right: max(54px, calc((100vw - 1040px) / 2));
  bottom: 68px;
  width: min(31vw, 350px);
  height: min(58vw, 510px);
  background:
    linear-gradient(#2d2d2d, #2d2d2d) 15% 8% / 14% 8% no-repeat,
    linear-gradient(#2d2d2d, #2d2d2d) 48% 8% / 14% 8% no-repeat,
    linear-gradient(#2d2d2d, #2d2d2d) 81% 8% / 14% 8% no-repeat,
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255, 255, 255, 0.72) 42px 88px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(27, 27, 27, 0.72) 58px 106px);
  opacity: 0.28;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1160px) / 2));
  padding: 82px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--black);
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
}

h3 {
  font-size: 22px;
  font-weight: 900;
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 21px;
  color: #2d2d2d;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.fact {
  padding: 18px;
  min-height: 116px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(31, 31, 31, 0.08);
}

.fact strong {
  display: block;
  color: var(--red);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.fact span {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
}

.notice {
  max-width: 680px;
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.82);
  color: #424242;
}

section {
  padding: 78px 0;
}

.section--soft {
  background: var(--bg);
}

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

.section__head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.card--shadow {
  box-shadow: var(--shadow);
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding-left: 24px;
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

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

.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(18, 18, 18, 0.08);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-weight: 900;
}

.step p,
.trust-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.trust-item {
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border-top: 4px solid var(--red);
}

.cta {
  background: var(--black);
  color: #fff;
}

.cta h2,
.cta h3 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.75);
}

.lead-panel {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 28px;
  align-items: start;
}

.form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 6px;
  color: #323232;
  font-size: 14px;
  font-weight: 700;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d9d9d9;
  border-radius: 7px;
  padding: 10px 12px;
  font: 16px/1.35 Arial, Helvetica, sans-serif;
}

.form textarea {
  min-height: 96px;
  resize: vertical;
}

.form__status {
  display: none;
  padding: 12px;
  border-radius: 7px;
  background: #eef7ed;
  color: #1f5e2a;
  font-weight: 700;
}

.form__status.is-visible {
  display: block;
}

.breadcrumbs {
  padding: 26px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
}

.page-hero {
  padding: 58px 0 74px;
  background: linear-gradient(120deg, #fff8ef, #fff);
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 70px);
}

.article {
  max-width: 900px;
}

.article p {
  font-size: 18px;
  color: #404040;
}

.related-links {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related-links h2 {
  font-size: 30px;
}

.related-links .grid {
  margin-top: 18px;
}

.related-links .card {
  text-decoration: none;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
  border-radius: var(--radius);
}

.table th,
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--black);
  background: #fff3f3;
}

.footer {
  padding: 38px 0;
  background: #111;
  color: rgba(255, 255, 255, 0.72);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer strong {
  color: #fff;
}

@media (max-width: 980px) {
  .topbar__inner,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .hero {
    min-height: auto;
    background-position: center bottom;
  }

  .hero__content {
    padding: 56px 0 420px;
  }

  .facts,
  .grid--3,
  .grid--2,
  .lead-panel,
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand__etagi-logo {
    width: 108px;
  }

  .brand__etagi {
    width: 108px;
    height: 32px;
  }

  .brand__bm {
    height: 38px;
  }

  .hero__content {
    width: min(100% - 24px, 760px);
    margin-left: 12px;
    padding-bottom: 360px;
  }

  .lead {
    font-size: 18px;
  }

  section {
    padding: 54px 0;
  }
}
