@import url("/v2/style.css");

.wrap {
  width: min(1180px, calc(100% - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
}

.links a.active {
  color: var(--blue);
}

.page-hero {
  color: #fff;
  background: linear-gradient(90deg, rgba(18, 51, 91, .96), rgba(31, 111, 178, .78));
  overflow: hidden;
}

.page-hero-grid {
  min-height: clamp(320px, 34vw, 430px);
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
}

.page-hero h1 {
  max-width: 720px;
  font-size: clamp(34px, 4vw, 56px);
  overflow-wrap: anywhere;
}

.page-hero p {
  max-width: 650px;
  color: #edf5ff;
  font-size: clamp(16px, 1.35vw, 19px);
}

.page-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 330px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.content {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.content h2 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
}

.content p {
  margin: 0;
  color: var(--muted);
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 51, 91, .08);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

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

.list li {
  padding: 15px 16px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
  color: #344257;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 12px;
}

.quote-grid.one-col {
  grid-template-columns: 1fr;
}

.notice.ok {
  border-left-color: var(--green);
}

.notice.bad {
  border-left-color: #c2410c;
}

.field {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #ccd7e5;
  font: inherit;
}

textarea.field {
  min-height: 140px;
  resize: vertical;
}

.consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.consent-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

label {
  color: var(--navy);
  font-weight: 800;
}

.notice {
  padding: 18px;
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  color: #4a3510;
  font-weight: 800;
}

.pay-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

.pay-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #fff;
  padding: 8px 18px 0;
}

.pay-card .offer-body {
  width: 100%;
  background: #f1f1f1;
  min-height: 150px;
  padding: 34px 24px 28px;
  box-shadow: 0 12px 18px rgba(0, 0, 0, .08);
}

.pay-card h3 {
  color: #161b22;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 900;
  margin: 0;
}

.pay-card .amount {
  display: block;
  margin: 18px auto 0;
  color: #161b22;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.order-btn {
  align-self: flex-start;
  margin-top: 24px;
  min-width: 112px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  color: #3f4650;
  background: #fff;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
}

.order-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.winners-list-section {
  padding-top: 62px;
}

.winners-shell {
  width: min(1110px, calc(100% - 32px));
  margin: 0 auto;
}

.winners-shell h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0;
}

.winners-rule {
  height: 1px;
  background: #eeeeee;
  margin-bottom: 16px;
}

.winner-search {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.winner-search label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.winner-search div {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.winner-search input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #ccd7e5;
  font: inherit;
}

.winners-table-wrap {
  overflow-x: auto;
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 16px;
  color: #000;
}

.winners-table th {
  padding: 34px 36px;
  background: #de0000;
  color: #fff;
  text-align: left;
  font-weight: 900;
}

.winners-table td {
  padding: 30px 38px;
  font-weight: 900;
}

.winners-table tbody tr:nth-child(odd) {
  background: #ff6500;
  color: #fff;
}

.winners-table tbody tr:nth-child(even) {
  background: #fff;
  color: #000;
}

.pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 44px;
}

.pager a {
  display: inline-flex;
  min-width: 26px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ff5b1a;
  color: #ff5b1a;
  background: #fff;
  font-size: 20px;
}

.pager a:first-child,
.pager a:last-child {
  padding: 0 8px;
}

.pager a.active {
  background: #f4510f;
  color: #fff;
}

.pager a.disabled {
  border-color: #eeeeee;
  color: #c7c7c7;
  pointer-events: none;
}

@media (max-width: 980px) {
  .cards-3,
  .split,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero img {
    order: -1;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .page-hero-grid {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 34px;
    gap: 20px;
  }

  .page-hero h1 {
    margin-top: 12px;
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.06;
  }

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

  .page-hero .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-hero .btn {
    width: 100%;
  }

  .pay-card img {
    height: 190px;
  }

  .order-btn {
    align-self: center;
  }

  .winner-search div {
    flex-direction: column;
  }

  .winners-table {
    min-width: 620px;
  }

  .winners-table th,
  .winners-table td {
    padding: 22px 20px;
  }
}
