:root {
  --color-black: #202733;
  --color-grey-text: #5D6A80;
  --color-grey-border: #E5E9EC;
  --color-grey-bg: #EFF3F6;
  --color-white: #FFFFFF;
  --color-yellow: #FFCC00;
}

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

body {
  background-color: var(--color-white);
  font-family: 'Proxima Nova', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── Block 1 ── */
.block-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.logo-text__logo {
  display: block;
  width: 126px;
  height: 52px;
  flex-shrink: 0;
}

.logo-text__logo img {
  display: block;
}

.logo-text__caption {
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: var(--color-grey-text);
  text-align: center;
}

.sim-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.sim-block__wave {
  flex-shrink: 0;
  display: block;
}

.sim-block__card {
  flex-shrink: 0;
  width: 85px;
  height: 140px;
}

.sim-block__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Wave animation ── */
@keyframes signal-pulse {
  0%   { opacity: 0.15; }
  40%  { opacity: 1; }
  60%  { opacity: 1; }
  100% { opacity: 0.15; }
}

.wave-arc {
  animation: signal-pulse 1.8s ease-in-out infinite;
  opacity: 0.15;
}

.wave-arc--3 { animation-delay: 0s; }
.wave-arc--2 { animation-delay: 0.3s; }
.wave-arc--1 { animation-delay: 0.6s; }

.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.heading__title {
  font-weight: 600;
  font-size: 28px;
  line-height: 28px;
  letter-spacing: -1.12px;
  color: var(--color-black);
  width: 100%;
}

.heading__subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-black);
  width: 100%;
}

/* ── Operators ── */
.operators {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.operator {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background-color: var(--color-grey-bg);
  border-radius: 16px;
  text-decoration: none;
  width: 100%;
}

.operator__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.operator__logo img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.operator__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.operator__name {
  font-weight: 600;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: -0.8px;
  color: var(--color-black);
}

.operator__tariff {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-grey-text);
}

.operator__icon {
  flex-shrink: 0;
  display: block;
}

/* ── Shared section title ── */
.section-title {
  font-weight: 600;
  font-size: 28px;
  line-height: 28px;
  letter-spacing: -1.12px;
  color: var(--color-black);
  width: 100%;
}

/* ── Block 2 ── */
.block-2 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background-color: var(--color-grey-bg);
  border-radius: 16px;
}

.step__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: -0.8px;
  color: var(--color-black);
}

.step__desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-grey-text);
}

.step__num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  color: var(--color-black);
}

/* ── Block 3 ── */
.block-3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.about-text p {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-black);
}

/* ── Block 4 ── */
.block-4 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.contacts {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background-color: var(--color-grey-bg);
  border-radius: 16px;
  width: 100%;
}

.contact__label {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-grey-text);
  white-space: nowrap;
}

.contact__value {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-black);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  white-space: nowrap;
}

/* ── Footer ── */
.footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-grey-border);
  flex-shrink: 0;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: var(--color-grey-text);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.footer__link {
  color: var(--color-grey-text);
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.footer__btn-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: var(--color-grey-text);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-align: left;
}

/* ── Popup ── */
.popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.popup--active {
  opacity: 1;
  visibility: visible;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(32, 39, 51, 0.6);
}

.popup__block {
  position: relative;
  width: 100%;
  max-width: 608px;
  z-index: 1;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.popup--active .popup__block {
  transform: translateY(0);
}

.popup__card {
  position: relative;
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.popup__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: -0.96px;
  color: var(--color-black);
}

.popup__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.popup__item {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-black);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-grey-border);
}

.popup__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.popup__close img {
  display: block;
}
