@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

:root {
  --bg: #f1f4f8;
  --bg-soft: #e8ecf2;
  --surface: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.82);
  --border: rgba(0, 0, 0, 0.1);
  --text: #000000;
  --text-soft: #4a5568;
  --primary: #63bc1b;
  --primary-light: #9ef01a;
  --accent: #9ef01a;
  --cta: #fff500;
  --blue: #63bc1b;
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Google Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: inherit;
  outline: none;
  border: none;
}

h1,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

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

.site-header {
  padding: 20px 0 6px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  width: 120px;
  height: auto;
}

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

.section-head__label,
.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 400;
}

.section-head__label {
  color: var(--primary);
  background: #fff;
  border: 1px solid rgba(99, 188, 27, 0.35);
}

.section-title {
  margin-top: 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.section-title__accent {
  color: var(--primary);
}

.section-title--card {
  margin-top: 0;
  text-align: center;
  font-size: 1.28rem;
}

h1 {
  max-width: 840px;
  margin-top: 16px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero__intro {
  max-width: 1400px;
}

.hero__subtitle {
  margin-top: 8px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.hero__filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 200px;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.filter-card {
  position: relative;
  min-height: 50px;
  padding: 5px 16px 10px 16px;
  border: 1px solid #d5e4ff;
  border-radius: 8px 8px 3px 3px;
  background: #ffffff;
}

.filter-card__label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-soft);
}

.filter-card__input-row {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-right: 34px;
}

.filter-card__input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--blue);
}

.filter-card__input::placeholder {
  color: #97a3b5;
}

.filter-card__hint {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  font-weight: 600;
  color: #334b73;
}

.filter-card__range {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: #d5e4ff;
  outline: none;
}

.filter-card__range::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.filter-card__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  background: #63bc1b;
  box-shadow: 0 0 0 2px rgba(79, 100, 134, 0.15);
  cursor: pointer;
  margin-top: -7px;
}

.filter-card__range::-moz-range-track {
  height: 2px;
  border-radius: 999px;
  background: #d5e4ff;
}

.filter-card__range::-moz-range-progress {
  height: 2px;
  border-radius: 999px;
  background: #63bc1b;
}

.filter-card__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #4f6486;
  box-shadow: 0 0 0 2px rgba(79, 100, 134, 0.15);
  cursor: pointer;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 500;
  text-decoration: none;
  color: var(--blue);
  background: #fff;
  border: 1px solid #ebeff8;
}

.hero__tag--active {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.offers-section {
  padding: 24px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto 24px;
}

.section-head__inner {
  width: 100%;
  text-align: center;
}

.section-head__text {
  margin-top: 10px;
  color: var(--text);
  line-height: 1.5;
  opacity: 0.75;
  font-weight: 400;
  text-align: center;
}

.section-head__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.meta-pill {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.offer-card,
.info-card,
.empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.offer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 188, 27, 0.4);
  box-shadow: 0 10px 24px rgba(99, 188, 27, 0.12);
}

.offer-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.offer-card__accent {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  opacity: 0.9;
  transition: opacity 0.22s ease;
}

.offer-card:hover .offer-card__accent {
  opacity: 1;
}

.offer-card__logo-wrap {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 20px 16px 8px;
  background: linear-gradient(180deg, #f8faf5 0%, #ffffff 100%);
}

.offer-card__logo {
  width: auto;
  max-height: 90px;
  object-fit: contain;
}

.offer-card__body {
  padding: 0 16px;
}

.offer-card__name {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-card__lead {
  margin-top: 10px;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary);
}

.offer-card__stats {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(25, 59, 120, 0.05);
}

.offer-card__stats div {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 15px;
}

.offer-card__stats div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.offer-card__stats dt {
  color: var(--text-soft);
}

.offer-card__stats dd {
  font-weight: 600;
  text-align: right;
}

.offer-card__footer {
  margin-top: auto;
  padding: 12px 16px 16px;
}

.offer-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  background: var(--cta);
  border: 1.5px solid #63bc1b;
  box-shadow: 0 2px 10px rgba(255, 245, 0, 0.35);
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
  text-align: center;
}

.offer-card__cta::before,
.offer-card__cta::after {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.9;
}

.offer-card__cta::before {
  content: '→';
  animation: ctaArrowToCenterLeft 1.8s ease-in-out infinite;
}

.offer-card__cta::after {
  content: '←';
  animation: ctaArrowToCenterRight 1.8s ease-in-out infinite;
}

@media (max-width: 374px) {

  .offer-card__cta::before,
  .offer-card__cta::after {
    content: none;
  }
}

@keyframes ctaArrowToCenterLeft {

  0%,
  100% {
    transform: translateX(0);
    opacity: 0.55;
  }

  50% {
    transform: translateX(5px);
    opacity: 1;
  }
}

@keyframes ctaArrowToCenterRight {

  0%,
  100% {
    transform: translateX(0);
    opacity: 0.55;
  }

  50% {
    transform: translateX(-5px);
    opacity: 1;
  }
}

.offer-card:hover .offer-card__cta {
  color: #000000;
  background: #fffef0;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(158, 240, 26, 0.28);
}

.offer-card:hover .offer-card__cta::before,
.offer-card:hover .offer-card__cta::after {
  color: var(--primary);
  opacity: 1;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.button--anim {
  overflow: hidden;
}

.button--anim:before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  animation: shiny-btn1 3s ease-in-out infinite;
}

@-webkit-keyframes shiny-btn1 {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }

  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }

  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

.button--primary {
  color: #000000;
  background: var(--cta);
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 12px rgba(255, 245, 0, 0.3);
  min-height: 48px;
  font-size: 15px;
  border-radius: 10px;
}

.button--primary:hover,
.button--primary:focus-visible {
  transform: translateY(-1px);
  background: #fffef0;
  border-color: var(--primary-light);
  box-shadow: 0 6px 16px rgba(158, 240, 26, 0.25);
}

.button--blue {
  color: #ffffff;
  background: var(--blue);
  box-shadow: -1px 0px 6px rgba(11, 95, 97, 0.2);
}

.button--header {
  width: auto;
  min-width: auto;
  padding-inline: 26px;
  font-size: 14px;
  font-weight: 400;
  height: 38px;
  min-height: auto;
}

.button--hero {
  height: 100%;
  border-radius: 8px;
  font-size: 16px;
  background: var(--blue);
  box-shadow: 0 6px 12px rgba(50, 84, 232, 0.24);
}

@media (prefers-reduced-motion: reduce) {

  .offer-card,
  .offer-card__cta {
    transition: none;
  }

  .offer-card__cta::before,
  .offer-card__cta::after {
    animation: none;
    opacity: 0.85;
  }
}

.empty-state {
  padding: 24px;
  color: var(--text-soft);
  text-align: center;
}

.faq-section {
  padding: 0 0 72px;
}

.service-section {
  padding: 50px 0;
}

.service-section__head {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 22px;
  margin-top: 26px;
}

.service-card,
.glossary-card {
  padding: 28px;
  border: 1px solid rgba(25, 59, 120, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(23, 58, 124, 0.05);
}

.service-card p,
.glossary-item p {
  color: var(--text-soft);
  line-height: 1.75;
}

.service-card__subtitle,
.glossary-card__title,
.glossary-item__term {
  font-weight: 700;
}

.service-card__subtitle {
  margin-top: 22px;
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.service-list {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--text);
}

.service-list li {
  margin-top: 10px;
  line-height: 1.65;
}

.service-list li::marker {
  color: #63bc1b;
}

.glossary-card__title {
  font-size: 1.4rem;
}

.glossary-item {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(25, 59, 120, 0.1);
}

.glossary-item:first-of-type {
  padding-top: 16px;
}

.glossary-item__term {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-section__head {
  max-width: 720px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(25, 59, 120, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 10px rgba(23, 58, 124, 0.05);
}

.faq-item[open] {
  box-shadow: 0 18px 34px rgba(23, 58, 124, 0.08);
}

.faq-item__summary {
  position: relative;
  display: block;
  padding: 24px 68px 24px 28px;
  list-style: none;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary::before,
.faq-item__summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #63bc1b;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-item__summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] .faq-item__summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-item__content {
  padding: 0 28px 26px;
}

.faq-item__content p {
  max-width: 940px;
  color: var(--text-soft);
  line-height: 1.75;
}

.site-footer {
  padding: 24px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  max-width: 120px;
}

.site-footer__bottom-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  color: var(--text-soft);
  font-size: 12px;
}

.offer-footer {
  padding: 22px 0 30px;
  text-align: center;
}

.offer-footer p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.policy-page {
  padding-bottom: 44px;
}

.policy-hero {
  padding: 8px 0 24px;
}

.policy-hero__card {
  padding: 34px;
  border: 1px solid rgba(99, 188, 27, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(158, 240, 26, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(99, 188, 27, 0.06), rgba(255, 255, 255, 0.94)),
    #ffffff;
  box-shadow: var(--shadow-lg);
}

.policy-hero__subtitle {
  max-width: 920px;
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.policy-content {
  padding: 0 0 24px;
}

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

.policy-card {
  padding: 28px;
  border: 1px solid rgba(25, 59, 120, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 32px rgba(23, 58, 124, 0.06);
}

.policy-card p {
  margin-top: 16px;
  color: var(--text-soft);
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  /*.button--hero {
    min-height: 60px;
  }*/
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    padding-top: 16px;
  }

  .site-header__inner {
    align-items: center;
  }

  .hero {
    padding-top: 20px;
  }

  .info-card {
    padding: 22px;
  }

  .section-head {
    flex-direction: column;
  }

  .section-head__inner {
    text-align: center;
  }

  .section-head__meta {
    justify-content: flex-start;
  }

  .offers-grid {
    gap: 12px;
  }

  .offer-card__logo-wrap {
    padding: 16px 12px;
  }

  .offer-card__body {
    padding: 0 12px 20px;
  }

  .offer-card__stats {
    gap: 6px;
  }

  .offer-card__stats div {
    font-size: 14px;
  }

  .offer-card__footer {
    padding: 10px 12px 14px;
  }

  .offer-card__cta {
    min-height: 42px;
    font-size: 14px;
  }

  .button {
    font-size: 15px;
  }

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

  .hero__filters {
    padding: 18px;
    gap: 14px;
  }

  /*.filter-card {
    min-height: 98px;
    padding: 14px 18px 24px;
  }*/

  /*.hero__tag {
    min-height: 46px;
    padding-inline: 16px;
  }*/
  .hero__tags {
    justify-content: center;
    gap: 4px;
  }

  .button--hero {
    margin-top: 18px;
    height: auto;
  }

  .faq-item__summary {
    padding: 20px 58px 20px 20px;
    font-size: 1.02rem;
  }

  .faq-item__summary::before,
  .faq-item__summary::after {
    right: 22px;
  }

  .faq-item__content {
    padding: 0 20px 22px;
  }

  .policy-hero__card,
  .policy-card,
  .service-card,
  .glossary-card {
    padding: 22px;
  }

  /*.site-footer__top,
  .site-footer__contacts,
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }*/

  .site-footer__nav {
    justify-content: flex-start;
    gap: 14px 18px;
  }
}