/* ---- Tariffs page ---- */
body.tariffs-page { color: #0f172a; background: #ffffff; }

/* Header — dark, same as blog page */
body.tariffs-page .header {
  margin-top: 0;
  padding: 10px 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 50;
}

body.tariffs-page .header__wrapper { align-items: center; }
body.tariffs-page .header .logo__wrapper { gap: 2px; }
body.tariffs-page .header .logo img { transform: translateY(-2px); }
body.tariffs-page .header .text__logo { font-size: 16px; line-height: 1; }

body.tariffs-page .menu {
  padding-bottom: 0;
  border-bottom: none;
}

body.tariffs-page .menu__link { color: #ffffff; }
body.tariffs-page .menu__link:hover { opacity: 0.78; color: #ffffff; }

body.tariffs-page .text__logo { color: #ffffff; }

body.tariffs-page .header .phone__wrapper img,
body.tariffs-page .header .account__wrapper img {
  filter: brightness(0) invert(1);
}
body.tariffs-page .header .logo img { filter: none; }

body.tariffs-page .phone__link { color: #ffffff; font-weight: 600; }
body.tariffs-page .text-opacity { color: rgba(255, 255, 255, 0.72); font-weight: 500; }
body.tariffs-page .account__link { color: #ffffff; text-decoration: none; font-weight: 600; }

body.tariffs-page .phone__wrapper:hover .phone__link,
body.tariffs-page .phone__wrapper:hover .text-opacity { color: #ecfdf5; }
body.tariffs-page .account__wrapper:hover .account__link {
  color: #ecfdf5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer — white text on green, same as blog */
body.tariffs-page .footer,
body.tariffs-page .footer .footer__logo-text,
body.tariffs-page .footer .footer__list-title,
body.tariffs-page .footer .footer__phone-link,
body.tariffs-page .footer .footer__email-link { color: #ffffff; }

/* ---- Hero ---- */
.tariffs-hero {
  text-align: center;
  padding: 60px 0 48px;
}

.tariffs-hero__title {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}

.tariffs-hero__subtitle {
  font-size: 18px;
  color: #475569;
  margin: 0;
}

/* Push main content below sticky header */
body.tariffs-page .tariffs-main { padding-top: 16px; }

/* ---- Grid ---- */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 80px;
}

/* ---- Card ---- */
.tariff-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tariff-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.tariff-card--accent {
  border-color: #16a34a;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.12);
}

.tariff-card--accent:hover {
  box-shadow: 0 8px 32px rgba(22, 163, 74, 0.18);
}

.tariff-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* ---- Card header ---- */
.tariff-card__header {
  text-align: center;
  margin-bottom: 24px;
}

.tariff-card__name {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}

.tariff-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.tariff-card__amount {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.tariff-card__period {
  font-size: 18px;
  color: #64748b;
  font-weight: 500;
}

.tariff-card__desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ---- AI section ---- */
.tariff-card__ai-section {
  text-align: center;
  margin-bottom: 16px;
}

.tariff-card__ai-label {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
  padding: 6px 16px;
  border-radius: 8px;
  margin: 0;
}

/* ---- Features ---- */
.tariff-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.tariff-card__feature {
  font-size: 14px;
  color: #334155;
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
}

.tariff-card__feature:last-child { border-bottom: none; }

.tariff-card__feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: #16a34a;
  font-weight: 700;
  font-size: 14px;
}

/* ---- Card footer ---- */
.tariff-card__footer-text {
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .tariffs-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .tariffs-hero { padding: 40px 0 32px; }
  .tariffs-hero__title { font-size: 32px; }

  .tariff-card { padding: 24px 20px; }
  .tariff-card__amount { font-size: 36px; }
}
