:root{
  --top-bg: #d8ebff;
  --cib-blue: #1e67a7;
  --cib-orange: #f28c00;
  --card-border: #111;
  --title-color: #8c5a1a;
  --text-color: #8c5a1a;
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
}

.top-header{
  background: var(--top-bg);
  padding: 18px 0 10px;
}

.top-header__inner{
  display: flex;
  justify-content: center;
}

.top-logo{
  width: 150px;
  height: auto;
}

.top-header__separator{
  height: 4px;
  background: linear-gradient(to right, var(--cib-orange), #ffb400);
  margin-top: 10px;
}

.page{
  flex: 1;
  width: 100%;
  padding: 18px 10px 10px;
}

.hero{
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-banner{
  width: min(860px, 96vw);
  border: 3px solid var(--cib-orange);
  border-radius: 26px;
  padding: 18px 22px;
  background: var(--cib-blue);
}

.hero-banner__text{
  text-align: center;
  color: #fff;
}

.hero-banner__line{
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.cards{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0 8px 18px;
}

.card-link{
  width: min(760px, 96vw);
  text-decoration: none;
  color: inherit;
  display: block;
}

.card{
  width: 100%;
  background: #fff;
  border: 2px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.08);
  padding: 18px 18px 20px;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  animation: cardEnter 0.55s ease both;
}

.card-link:nth-child(2) .card{
  animation-delay: 0.1s;
}

.card-link:nth-child(3) .card{
  animation-delay: 0.2s;
}

.card-link:hover .card,
.card-link:focus-visible .card{
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 16px 30px rgba(0,0,0,0.16);
}

.card-link:focus-visible{
  outline: none;
}

.card-link:focus-visible .card{
  outline: 3px solid rgba(30, 103, 167, 0.35);
  outline-offset: 3px;
}

.card__img{
  display: block;
  margin: 10px auto 6px;
  object-fit: contain;
}

.card__img--watch{ width: 150px; }
.card__img--card{ width: 270px; }
.card__img--devices{ width: 290px; }

.card__title{
  margin: 14px 0 10px;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--title-color);
}

.card__desc{
  margin: 0 auto;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.35;
}

.footer{
  background: var(--cib-blue);
  padding: 18px 14px;
  text-align: center;
  position: relative;
}

.footer::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(to right, var(--cib-orange), #ffb400);
  opacity: 0.95;
}

.footer__text{
  position: relative;
  color: #fff;
  font-size: clamp(15px, 2.3vw, 22px);
  line-height: 1.4;
  font-weight: 700;
}

@keyframes cardEnter{
  from{
    opacity: 0;
    transform: translateY(24px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 420px){
  .top-logo{ width: 120px; }
  .card{ padding: 14px 12px 18px; }
  .card__img--card{ width: 240px; }
  .card__img--devices{ width: 260px; }
}

