.home-section {
  padding: 88px 0;
  color: #151a26;
}

.home-section--muted {
  background: #f5f6f8;
}

.home-section__heading {
  margin-bottom: 38px;
}

.home-section__heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.home-section__heading > div {
  max-width: 760px;
}

.home-eyebrow {
  display: block;
  margin-bottom: 13px;
  color: #d92f3f;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-section h2 {
  margin: 0;
  color: #151a26;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.home-section__heading p {
  max-width: 720px;
  margin: 14px 0 0;
  color: #687186;
  font-size: 1.08rem;
  line-height: 1.65;
}

.home-text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  color: #d92f3f;
  font-weight: 750;
  text-decoration: none;
}

.home-text-link:hover {
  color: #b72533;
}

.home-canton-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-canton-card {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid #dde1e8;
  border-radius: 16px;
  background: #fff;
  color: #151a26;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-canton-card:hover {
  border-color: rgba(217, 47, 63, .35);
  box-shadow: 0 14px 30px rgba(27, 32, 45, .08);
  color: #151a26;
  transform: translateY(-2px);
}

.home-canton-card__crest {
  display: grid;
  width: 38px;
  height: 42px;
  flex: 0 0 38px;
  place-items: center;
}

.home-canton-card__crest img {
  display: block;
  max-width: 34px;
  max-height: 38px;
}

.home-canton-card__name {
  overflow: hidden;
  flex: 1 1 auto;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-canton-card__arrow {
  color: #7c8597;
  font-size: .9rem;
  transition: color .2s ease, transform .2s ease;
}

.home-canton-card:hover .home-canton-card__arrow {
  color: #d92f3f;
  transform: translateX(3px);
}

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

.home-support-card {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  padding: 23px;
  border: 1px solid #dde1e8;
  border-radius: 20px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-support-card:hover {
  border-color: rgba(217, 47, 63, .28);
  box-shadow: 0 16px 40px rgba(27, 32, 45, .07);
  transform: translateY(-3px);
}

.home-support-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: #fff0f2;
  color: #e02d46;
  font-size: 1.5rem;
}

.home-support-card h3,
.home-step-card h3,
.home-guide-card h3 {
  margin: 0;
  color: #151a26;
  font-size: 1.27rem;
  line-height: 1.3;
}

.home-support-card p,
.home-step-card p {
  margin: 10px 0 17px;
  color: #687186;
  line-height: 1.55;
}

.home-support-card h3 {
  font-size: 1.15rem;
}

.home-support-card p {
  font-size: .92rem;
}

.home-support-card > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #d92f3f;
  font-weight: 750;
  text-decoration: none;
}

.home-section--steps {
  background: linear-gradient(135deg, #bc2939 0%, #d93647 100%);
}

.home-section--steps .home-eyebrow {
  color: #ffe1e5;
}

.home-section--steps .home-section__heading h2 {
  color: #fff;
}

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

.home-step-card {
  min-height: 300px;
  padding: 38px 34px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(83, 12, 22, .14);
}

.home-step-card__number {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 16px;
  background: #171b26;
  color: #fff;
  font-weight: 800;
}

.home-section__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
  text-align: center;
}

.home-primary-button,
.home-secondary-button,
.home-dark-button,
.home-step-offer-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.home-primary-button {
  background: #d92f3f;
  box-shadow: 0 12px 28px rgba(217, 47, 63, .22);
  color: #fff;
}

.home-primary-button:hover {
  background: #bd2635;
  box-shadow: 0 15px 32px rgba(217, 47, 63, .3);
  color: #fff;
  transform: translateY(-2px);
}

.home-section--steps .home-primary-button {
  background: #171b26;
  box-shadow: 0 12px 28px rgba(59, 7, 15, .22);
}

.home-section--steps .home-primary-button:hover {
  background: #292f3d;
}

.home-step-offer-button {
  border: 1px solid rgba(255, 255, 255, .8);
  background: #fff;
  color: #b92535;
}

.home-step-offer-button:hover {
  background: #fff5f6;
  box-shadow: 0 12px 28px rgba(59, 7, 15, .14);
  color: #a31e2d;
  transform: translateY(-2px);
}

.home-offer-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 26px;
}

.home-offer-pitch,
.home-offer-benefits {
  min-height: 455px;
  padding: clamp(34px, 5vw, 54px);
  border-radius: 28px;
}

.home-offer-pitch {
  position: relative;
  overflow: hidden;
  background: #181c26;
  color: #fff;
}

.home-offer-pitch::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(201, 45, 67, .32);
  content: '';
}

.home-eyebrow--light {
  color: #ff7181;
}

.home-offer-pitch h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.home-offer-pitch p {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin: 22px 0 30px;
  color: #d7dbe4;
  font-size: 1.05rem;
  line-height: 1.68;
}

.home-offer-pitch .home-primary-button {
  position: relative;
  z-index: 1;
}

.home-offer-benefits {
  border: 1px solid #dde1e8;
  background: #fff;
}

.home-offer-benefits h3 {
  margin: 0 0 27px;
  color: #151a26;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.home-offer-benefits ul {
  display: grid;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-offer-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.home-check {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 11px;
  background: #e9f8f2;
  color: #0b9671;
  font-size: 1.2rem;
}

.home-offer-benefits strong {
  display: block;
  color: #151a26;
  font-size: 1.06rem;
}

.home-offer-benefits p {
  margin: 5px 0 0;
  color: #687186;
  line-height: 1.55;
}

.home-section--provider {
  padding-bottom: 60px;
}

.home-provider-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 42px 48px;
  border: 1px solid #f1bdc4;
  border-radius: 24px;
  background: #fff1f3;
}

.home-provider-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.home-provider-banner p {
  margin: 10px 0 0;
  color: #687186;
  font-size: 1.05rem;
}

.home-provider-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.home-secondary-button {
  border: 1px solid #d5dae3;
  background: #fff;
  color: #151a26;
}

.home-secondary-button:hover {
  border-color: #aeb5c2;
  color: #151a26;
  transform: translateY(-2px);
}

.home-dark-button {
  background: #171b26;
  color: #fff;
}

.home-dark-button:hover {
  background: #2a303e;
  color: #fff;
  transform: translateY(-2px);
}

.home-section--guides {
  padding-top: 60px;
  background: #f5f6f8;
}

.home-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-guide-card {
  overflow: hidden;
  border: 1px solid #dde1e8;
  border-radius: 20px;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}

.home-guide-card:hover {
  box-shadow: 0 18px 40px rgba(27, 32, 45, .09);
  transform: translateY(-3px);
}

.home-guide-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8ebf0;
}

.home-guide-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-guide-card:hover .home-guide-card__image img {
  transform: scale(1.035);
}

.home-guide-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.home-guide-card__badge--new {
  background: #d92f3f;
}

.home-guide-card__badge--popular {
  background: #171b26;
}

.home-guide-card__body {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 23px;
}

.home-guide-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #7a8292;
  font-size: .78rem;
}

.home-guide-card__meta span {
  overflow: hidden;
  color: #d92f3f;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-guide-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-guide-card h3 a:hover {
  color: #d92f3f;
}

.home-guide-card__body > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 13px 0 20px;
  color: #687186;
  font-size: .92rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-guide-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #151a26;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.home-guide-card__link:hover {
  color: #d92f3f;
}

.home-guides-empty {
  padding: 32px;
  border: 1px solid #dde1e8;
  border-radius: 18px;
  background: #fff;
  color: #687186;
  text-align: center;
}

.home-faq-section {
  padding: 64px 0;
  border-top: 1px solid #eef0f4;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.home-faq-section > .container {
  position: relative;
}

@media (max-width: 1199.98px) {
  .home-canton-grid,
  .home-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-support-card {
    padding: 22px;
  }
}

@media (max-width: 991.98px) {
  .home-section {
    padding: 68px 0;
  }

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

  .home-steps-grid {
    gap: 15px;
  }

  .home-step-card {
    min-height: 280px;
    padding: 29px 24px;
  }

  .home-offer-grid {
    grid-template-columns: 1fr;
  }

  .home-offer-pitch,
  .home-offer-benefits {
    min-height: auto;
  }

  .home-provider-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .home-section {
    padding: 54px 0;
  }

  .home-faq-section {
    padding: 48px 0;
  }

  .home-section__heading {
    margin-bottom: 28px;
  }

  .home-section__heading--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .home-section h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .home-section__heading p {
    font-size: 1rem;
  }

  .home-canton-grid,
  .home-support-grid,
  .home-steps-grid,
  .home-guides-grid {
    grid-template-columns: 1fr;
  }

  .home-canton-card {
    min-height: 70px;
    padding: 12px 16px;
  }

  .home-support-card,
  .home-step-card {
    min-height: auto;
  }

  .home-support-card {
    padding: 22px;
  }

  .home-support-card__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
  }

  .home-step-card {
    padding: 25px;
  }

  .home-step-card__number {
    width: 50px;
    height: 50px;
    margin-bottom: 22px;
  }

  .home-offer-pitch,
  .home-offer-benefits {
    padding: 28px 24px;
    border-radius: 21px;
  }

  .home-provider-banner {
    padding: 28px 24px;
  }

  .home-provider-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .home-provider-banner__actions a {
    width: 100%;
  }

  .home-section__action {
    align-items: stretch;
    flex-direction: column;
  }

  .home-section__action a {
    width: 100%;
  }

  .home-guide-card__body {
    min-height: auto;
  }
}

@media (max-width: 419.98px) {
  .home-primary-button {
    width: 100%;
  }

  .home-offer-benefits li {
    gap: 12px;
  }
}
