.home-page .home-main {
  padding-block: 24px 64px;
  background: #fff;
}

.home-page .home-showcase {
  padding-top: 0;
}

.home-page .home-showcase-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: 390px;
  padding: clamp(38px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid #eee8df;
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 15%, rgba(184, 137, 74, .13), transparent 24rem),
    radial-gradient(circle at 92% 88%, rgba(6, 63, 82, .09), transparent 25rem),
    linear-gradient(135deg, #fffaf4 0%, #fff 52%, #f6fafc 100%);
  box-shadow: 0 24px 65px rgba(6, 63, 82, .08);
}

.home-page .home-showcase-panel::before,
.home-page .home-showcase-panel::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.home-page .home-showcase-panel::before {
  inset: -115px auto auto -90px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(184, 137, 74, .16);
  border-radius: 82px;
  box-shadow:
    34px 34px 0 -1px rgba(184, 137, 74, .045),
    68px 68px 0 -1px rgba(184, 137, 74, .025);
  transform: rotate(34deg);
}

.home-page .home-showcase-panel::after {
  inset: auto -110px -190px auto;
  width: 470px;
  height: 300px;
  border: 1px solid rgba(6, 63, 82, .10);
  border-radius: 50%;
  box-shadow:
    0 -28px 0 -27px rgba(184, 137, 74, .22),
    0 -56px 0 -55px rgba(6, 63, 82, .12);
  transform: rotate(-12deg);
}

.home-page .home-showcase-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 700px;
}

.home-page .home-showcase-copy::before {
  display: block;
  width: 62px;
  height: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--color-accent);
  content: "";
}

.home-page .home-showcase-copy h1 {
  margin: 0 0 18px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.home-page .home-showcase-copy .lead {
  max-width: 660px;
  margin: 0;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 2;
}

.home-page .home-showcase-copy .lead + .lead {
  margin-top: 2px;
}

.home-page .home-showcase-brand {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 260px;
  place-items: center;
}

.home-page .home-showcase-brand::before,
.home-page .home-showcase-brand::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-page .home-showcase-brand::before {
  width: clamp(250px, 27vw, 370px);
  height: clamp(250px, 27vw, 370px);
  border: 1px solid rgba(184, 137, 74, .20);
  background:
    radial-gradient(circle, rgba(255, 255, 255, .98) 0 46%, transparent 47%),
    conic-gradient(
      from 40deg,
      rgba(184, 137, 74, .18),
      rgba(6, 63, 82, .08),
      rgba(184, 137, 74, .18)
    );
  box-shadow: 0 30px 70px rgba(6, 63, 82, .10);
}

.home-page .home-showcase-brand::after {
  width: clamp(205px, 22vw, 300px);
  height: clamp(205px, 22vw, 300px);
  border: 1px dashed rgba(184, 137, 74, .32);
}

.home-page .home-device-brand {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(175px, 19vw, 255px);
  aspect-ratio: 1;
  place-items: center;
  margin: 0;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(184, 137, 74, .25);
  border-radius: 34%;
  background: rgba(255, 255, 255, .94);
  box-shadow:
    0 24px 55px rgba(6, 63, 82, .14),
    inset 0 1px 0 rgba(255, 255, 255, .90);
  transform: rotate(-5deg);
}

.home-page .home-device-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(6, 63, 82, .14));
  transform: rotate(5deg);
}

.home-page .home-section {
  padding-top: clamp(48px, 6vw, 72px);
}

.home-page .home-section-heading {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-bottom: 28px;
  text-align: center;
}

.home-page .home-section-heading h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.home-page .home-section-heading span {
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-accent);
}

.home-page .home-services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-page .home-service-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  padding: 25px 19px 20px;
  border: 1px solid #e7e9e9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 63, 82, .05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  text-align: center;
}

.home-page .home-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 137, 74, .38);
  box-shadow: 0 18px 38px rgba(6, 63, 82, .08);
}

.home-page .home-service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 17px;
}

.home-page .home-service-icon svg {
  width: 30px;
  height: 30px;
}

.home-page .home-service-icon--gold,
.home-page .home-service-icon--sand {
  background: #f5e9d9;
  color: #a46b20;
}

.home-page .home-service-icon--blue {
  background: #e7f0fa;
  color: #3176b8;
}

.home-page .home-service-icon--green {
  background: #e7f0df;
  color: #4d7a48;
}

.home-page .home-service-icon--violet {
  background: #eeeafb;
  color: #7357ad;
}

.home-page .home-service-card h3 {
  margin: 0;
  min-height: 58px;
  color: var(--color-primary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.home-page .home-service-card p {
  margin: 11px 0 19px;
  color: var(--color-muted);
  font-size: .9rem;
  line-height: 1.9;
}

.home-page .home-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  margin-top: auto;
  padding: 7px 15px;
  border: 1px solid #dfe4e5;
  border-radius: 10px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: .86rem;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.home-page .home-card-link:hover,
.home-page .home-card-link:focus-visible {
  border-color: var(--color-primary);
  background: #fff;
  color: #fff;
}

.home-page .home-programs-section {
  padding-top: 50px;
}

.home-page .home-programs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
}

.home-page .home-programs-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e6e8e8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 63, 82, .045);
}

.home-page .home-program-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border-inline-start: 1px solid #e8ebeb;
}

.home-page .home-program-card:first-child {
  border-inline-start: 0;
}

.home-page .home-program-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 63, 82, .12);
}

.home-page .home-program-mark svg {
  width: 34px;
  height: 34px;
}

.home-page .home-program-mark--meter {
  background: linear-gradient(145deg, #0d3154, #071f3a);
}

.home-page .home-program-mark--exam {
  background: linear-gradient(145deg, #25a783, #08795e);
}

.home-page .home-program-mark--android {
  background: linear-gradient(145deg, #c98a35, #97601d);
}

.home-page .home-program-copy {
  min-width: 0;
}

.home-page .home-program-copy h3 {
  margin: 0 0 6px;
  color: var(--color-primary);
  font-size: 1rem;
}

.home-page .home-program-copy p {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: .83rem;
  line-height: 1.8;
}

.home-page .home-program-copy .home-card-link {
  min-height: 34px;
  padding: 5px 11px;
  font-size: .78rem;
}

.home-page .home-download-card {
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 25px 22px;
  border: 1px solid #e9dfd1;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf9, #fbf5ec);
  box-shadow: 0 12px 30px rgba(184, 137, 74, .07);
  text-align: center;
}

.home-page .home-download-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 16px;
  background: #fff;
  color: #a46b20;
  box-shadow: 0 9px 22px rgba(184, 137, 74, .12);
}

.home-page .home-download-icon svg {
  width: 31px;
  height: 31px;
}

.home-page .home-download-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.home-page .home-download-card p {
  margin: 8px 0 15px;
  font-size: .88rem;
  line-height: 1.8;
}

.home-page .home-download-card .btn {
  min-height: 39px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: none;
  font-size: .82rem;
}

.home-page .home-all-programs {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin: 15px auto 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 800;
}

.home-page .home-all-programs:hover,
.home-page .home-all-programs:focus-visible {
  color: var(--color-accent-dark);
}

.home-page .home-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid #e6e8e8;
  border-radius: 20px;
  background: #fbfcfc;
}

.home-page .home-trust-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 20px;
  border-inline-start: 1px solid #e5e8e8;
}

.home-page .home-trust-item:first-child {
  border-inline-start: 0;
}

.home-page .home-trust-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #eef3f6;
  color: var(--color-primary);
}

.home-page .home-trust-icon svg {
  width: 25px;
  height: 25px;
}

.home-page .home-trust-icon span {
  font-family: var(--font-heading);
  font-weight: 800;
}

.home-page .home-trust-item strong,
.home-page .home-trust-item span {
  display: block;
}

.home-page .home-trust-item strong {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: .87rem;
}

.home-page .home-trust-item > div > span {
  margin-top: 3px;
  color: var(--color-muted);
  font-size: .76rem;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .home-page .home-showcase-panel {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
    padding-inline: 38px;
  }

  .home-page .home-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page .home-programs-layout {
    grid-template-columns: 1fr;
  }

  .home-page .home-download-card {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    justify-items: start;
    column-gap: 15px;
    text-align: right;
  }

  .home-page .home-download-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .home-page .home-download-card h3,
  .home-page .home-download-card p {
    grid-column: 2;
  }

  .home-page .home-download-card .btn {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 900px) {
  .home-page .home-showcase-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    text-align: center;
  }

  .home-page .home-showcase-copy {
    max-width: none;
  }

  .home-page .home-showcase-copy::before,
  .home-page .home-showcase-copy .lead {
    margin-inline: auto;
  }

  .home-page .home-showcase-brand {
    order: -1;
    min-height: 220px;
  }

  .home-page .home-showcase-brand::before {
    width: 240px;
    height: 240px;
  }

  .home-page .home-showcase-brand::after {
    width: 190px;
    height: 190px;
  }

  .home-page .home-device-brand {
    width: 160px;
    padding: 25px;
    border-radius: 31%;
  }

  .home-page .home-programs-list {
    grid-template-columns: 1fr;
  }

  .home-page .home-program-card,
  .home-page .home-program-card:first-child {
    border-inline-start: 0;
    border-top: 1px solid #e8ebeb;
  }

  .home-page .home-program-card:first-child {
    border-top: 0;
  }

  .home-page .home-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-trust-item:nth-child(3) {
    border-inline-start: 0;
  }

  .home-page .home-trust-item:nth-child(n + 3) {
    border-top: 1px solid #e5e8e8;
  }
}

@media (max-width: 720px) {
  .home-page .home-main {
    padding-block: 14px 42px;
  }

  .home-page .home-showcase-panel {
    gap: 24px;
    padding: 32px 20px 38px;
    border-radius: 22px;
  }

  .home-page .home-showcase-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  .home-page .home-showcase-copy .lead {
    font-size: .96rem;
    line-height: 1.9;
  }

  .home-page .home-showcase-brand {
    min-height: 180px;
  }

  .home-page .home-showcase-brand::before {
    width: 190px;
    height: 190px;
  }

  .home-page .home-showcase-brand::after {
    width: 152px;
    height: 152px;
  }

  .home-page .home-device-brand {
    width: 132px;
    padding: 21px;
  }

  .home-page .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-service-card {
    align-items: flex-start;
    text-align: right;
  }

  .home-page .home-service-card h3 {
    min-height: 0;
  }

  .home-page .home-download-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .home-page .home-download-icon {
    width: 48px;
    height: 48px;
  }

  .home-page .home-download-card .btn {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
  }

  .home-page .home-trust {
    grid-template-columns: 1fr;
  }

  .home-page .home-trust-item,
  .home-page .home-trust-item:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid #e5e8e8;
  }

  .home-page .home-trust-item:first-child {
    border-top: 0;
  }
}

@media (max-width: 430px) {
  .home-page .home-showcase-panel {
    padding-inline: 16px;
  }

  .home-page .home-showcase-brand {
    min-height: 158px;
  }

  .home-page .home-showcase-brand::before {
    width: 168px;
    height: 168px;
  }

  .home-page .home-showcase-brand::after {
    width: 134px;
    height: 134px;
  }

  .home-page .home-device-brand {
    width: 116px;
    padding: 18px;
  }

  .home-page .home-program-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .home-page .home-program-mark {
    width: 52px;
    height: 52px;
  }

  .home-page .home-program-mark svg {
    width: 29px;
    height: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-service-card,
  .home-page .home-card-link {
    transition: none;
  }
}

.home-page .home-service-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}


.home-card-link span {
  transition: transform 0.2s ease;
}
.home-card-link:hover span {
  transform: translateX(-4px);
}



