* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --page-bg: #f3f5f9;

  --text-main: #0b2d78;
  --text-soft: #173d8f;

  --accent: #53c653;
  --accent-dark: #22a447;
  --accent-light: #eefbf1;

  --telegram-blue: #0b7cff;
  --telegram-blue-dark: #0047ba;

  --white: #ffffff;

  --container-wide: 1360px;
  --container-main: 1280px;
  --container-text: 1040px;
  --container-telegram: 1120px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 22px;
  --radius-xl: 26px;
  --radius-hero: 42px;

  --shadow-soft: 0 6px 15px rgba(0,0,0,0.05);
  --shadow-card: 0 8px 18px rgba(0,0,0,0.06);
  --shadow-button: 0 8px 18px rgba(34,164,71,0.20);

  --side-padding: 34px;

  --btn-height: 42px;
  --btn-height-mobile: 54px;

  --transition: 0.22s ease;
}

body {
  font-family: Arial, sans-serif;
  background: var(--page-bg);
  color: var(--text-main);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* HEADER */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 100;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.logo-title {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: var(--text-main);
}

.logo-title span {
  color: #f4a400;
}

.logo-subtitle {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
}

/* NAVIGATION */

.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.94);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(0,0,0,0.07);
  transition: var(--transition);
}

.nav-link:hover {
  transform: translateY(-3px);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
}

.top-nav a[href*="vpn"] {
  display: none;
}

/* LANGUAGE */

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(0,0,0,0.10);
}

.lang-btn.passive {
  background: white;
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--accent);
  color: white;
}

/* HERO */

.hero {
  position: relative;
  min-height: 640px;
  padding: 126px 44px 92px;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.91) 30%,
      rgba(255,255,255,0.42) 58%,
      rgba(255,255,255,0.10) 100%
    ),
    url("../images/internet-hero-bg.webp");
  background-size: cover;
  background-position: center;
  border-bottom-left-radius: var(--radius-hero);
  border-bottom-right-radius: var(--radius-hero);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(11,45,120,0.70);
}

.breadcrumbs a {
  color: rgba(11,45,120,0.70);
}

.hero-content {
  max-width: 660px;
}

.hero-category {
  display: inline-flex;
  padding: 8px 15px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(83,198,83,0.15);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.hero-text h1 {
  font-size: 56px;
  line-height: 1.06;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-text p {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-soft);
  margin-bottom: 36px;
}

.hero-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.check-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
}

.hero-list-item span {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text-main);
}

/* FEATURES */

.features-section {
  max-width: var(--container-wide);
  margin: -42px auto 30px;
  padding: 0 var(--side-padding);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 20;
}

.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: var(--shadow-soft);
  min-height: 78px;
}

.feature-card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
}

.feature-card h3 {
  font-size: 15px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.28;
  color: var(--text-soft);
}

/* INFO STRIP */

.info-strip {
  max-width: var(--container-main);
  margin: 0 auto 26px;
  padding: 18px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0fbf3, #ffffff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-soft);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.info-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transform: scale(1.55);
  flex-shrink: 0;
}

/* OFFERS */

.offers-section {
  max-width: var(--container-wide);
  margin: 0 auto 26px;
  padding: 0 var(--side-padding);
}

.section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 36px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-heading p {
  font-size: 16px;
  line-height: 1.35;
  color: var(--text-soft);
}

.offer-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 170px 1fr 180px;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.offer-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 100%;
  background: var(--accent);
}

.offer-provider {
  min-height: 82px;
  padding-left: 16px;
  border-right: 1px solid rgba(11,45,120,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.provider-telekom {
  color: #e20074;
}

.provider-vodafone {
  color: #e60000;
}

.provider-o2 {
  color: #0046ad;
}

.offer-title {
  font-size: 20px;
  line-height: 1.18;
  font-weight: 900;
  color: var(--accent-dark);
  margin-bottom: 16px;
}

.offer-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 10px;
}

.offer-tags span {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-main);
}

.offer-tags span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.offer-action {
  border-left: 1px solid rgba(11,45,120,0.10);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.offer-price {
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

.offer-btn {
  width: 150px;
  height: var(--btn-height);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow-button);
  transition: var(--transition);
}

.offer-btn:hover {
  transform: translateY(-3px);
}

/* COMPARISON INTRO */

.comparison-intro {
  max-width: var(--container-text);
  margin: 0 auto 20px;
  padding: 0 var(--side-padding);
  text-align: center;
}

.comparison-intro h2 {
  font-size: 32px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

.comparison-intro p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* COMPARISON */

.comparison-grid {
  max-width: var(--container-main);
  margin: 0 auto 28px;
  padding: 0 var(--side-padding);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.comparison-card {
  min-height: 150px;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: white;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
}

.verivox-card {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.72)),
    linear-gradient(135deg, #fff7ed, #ffffff);
}

.check24-card {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.72)),
    linear-gradient(135deg, #eef6ff, #ffffff);
}

.comparison-logo {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 12px;
}

.verivox-logo {
  color: #f28c00;
}

.check24-logo {
  color: var(--text-main);
  font-style: italic;
}

.comparison-card p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.comparison-link {
  display: inline-flex;
  min-width: 190px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow-button);
  transition: var(--transition);
}

.comparison-link:hover {
  transform: translateY(-3px);
}

/* MINI GUIDE */

.mini-guide {
  max-width: var(--container-main);
  margin: 0 auto 30px;
  padding: 0 var(--side-padding);
}

.mini-guide-header {
  text-align: center;
  margin-bottom: 18px;
}

.mini-guide-header h2 {
  font-size: 32px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
}

.mini-guide-header p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-soft);
}

.mini-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  background: white;
  border-radius: 20px;
  padding: 21px 22px;
  box-shadow: 0 7px 16px rgba(0,0,0,0.05);
}

.guide-card h3 {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 14px;
  line-height: 1.43;
  color: var(--text-soft);
}

/* TELEGRAM */

.telegram-block {
  max-width: var(--container-telegram);
  min-height: 58px;
  margin: 0 auto 34px;
  padding: 10px 28px;
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-soft);
}

.telegram-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.telegram-info img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.telegram-info h2 {
  font-size: 18px;
  line-height: 1.05;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 2px;
}

.telegram-info p {
  font-size: 12px;
  line-height: 1.25;
  color: var(--text-soft);
}

.telegram-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.telegram-btn {
  min-width: 176px;
  height: var(--btn-height);
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 800;
  transition: var(--transition);
}

.telegram-btn img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.telegram-btn-ru {
  background: white;
  color: var(--telegram-blue);
  border: 2px solid var(--telegram-blue);
  box-shadow: 0 4px 12px rgba(11,124,255,0.10);
}

.telegram-btn-de {
  background: linear-gradient(135deg, #16a8ff, #0067e8);
  color: white;
  border: none;
  box-shadow: 0 6px 15px rgba(0,103,232,0.18);
}

.telegram-btn:hover {
  transform: translateY(-2px);
}

/* FOOTER */

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: 18px 20px 42px;
  flex-wrap: wrap;
}

.footer a {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  transition: 0.2s ease;
}

.footer a:hover {
  opacity: 0.78;
}

.footer img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(11,124,255,0.18));
}

.footer::after {
  content: "© TarifKompass 2026";
  flex-basis: 100%;
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(11,45,120,0.55);
}

/* RESPONSIVE */

@media (max-width: 1320px) {
  .header {
    flex-direction: column;
    gap: 22px;
  }

  .features-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-card {
    grid-template-columns: 150px 1fr;
  }

  .offer-action {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid rgba(11,45,120,0.10);
    padding-left: 0;
    padding-top: 18px;
    align-items: flex-start;
  }

  .offer-tags {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .mini-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */

@media (max-width: 760px) {
  body {
    background: var(--page-bg);
  }

  .header {
    position: relative;
    padding: 22px 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: var(--page-bg);
    margin-bottom: 34px;
  }

  .logo-link {
    gap: 10px;
  }

  .logo-link img {
    width: 82px;
    height: 82px;
  }

  .logo-title {
    font-size: 30px;
    line-height: 0.95;
  }

  .logo-subtitle {
    margin-top: 7px;
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  .top-nav {
    display: none;
  }

  .lang-switch {
    position: static;
    display: flex;
    gap: 10px;
    margin: 2px 0 0 102px;
  }

  .lang-btn {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding: 28px 20px 46px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-position: center top;
  }

  .breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .hero-category {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .hero-text h1 {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .hero-text p {
    font-size: 16px;
    line-height: 1.46;
    margin-bottom: 24px;
  }

  .hero-list {
    gap: 13px;
  }

  .hero-list-item {
    gap: 12px;
  }

  .check-circle {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .hero-list-item span {
    font-size: 16px;
    line-height: 1.28;
  }

  .features-section {
    grid-template-columns: 1fr;
    margin-top: -24px;
    padding: 0 20px;
    gap: 14px;
  }

  .feature-card {
    border-radius: 20px;
    padding: 16px 18px;
    min-height: 84px;
    gap: 16px;
  }

  .feature-card img {
    width: 52px;
    height: 52px;
  }

  .feature-card h3 {
    font-size: 18px;
    line-height: 1.12;
    margin-bottom: 5px;
  }

  .feature-card p {
    font-size: 15px;
    line-height: 1.32;
  }

  .info-strip {
    max-width: calc(100% - 40px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px;
    border-radius: 24px;
    margin-bottom: 28px;
    gap: 20px;
  }

  .info-item {
    gap: 16px;
    font-size: 15px;
    line-height: 1.32;
  }

  .info-item img {
    width: 46px;
    height: 46px;
    transform: scale(1.35);
  }

  .offers-section {
    padding: 0 20px;
    margin-bottom: 26px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 31px;
    line-height: 1.08;
    margin-bottom: 10px;
  }

  .section-heading p {
    font-size: 16px;
    line-height: 1.35;
  }

  .offer-card {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 26px;
    gap: 20px;
    margin-bottom: 20px;
  }

  .offer-card::before {
    width: 8px;
  }

  .offer-provider {
    min-height: auto;
    padding-left: 0;
    padding-bottom: 16px;
    border-right: none;
    border-bottom: 1px solid rgba(11,45,120,0.10);
    justify-content: flex-start;
    font-size: 30px;
  }

  .offer-title {
    font-size: 21px;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .offer-tags {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .offer-tags span {
    font-size: 16px;
    line-height: 1.28;
  }

  .offer-action {
    border-top: 1px solid rgba(11,45,120,0.10);
    padding-top: 18px;
    padding-bottom: 8px;
    align-items: flex-start;
  }

  .offer-price {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .offer-btn {
    width: 100%;
    height: var(--btn-height-mobile);
    border-radius: 16px;
    font-size: 17px;
  }

  .comparison-intro {
    padding: 0 22px;
    margin-bottom: 22px;
  }

  .comparison-intro h2 {
    font-size: 29px;
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .comparison-intro p {
    font-size: 16px;
    line-height: 1.44;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 20px;
    margin-bottom: 28px;
  }

  .comparison-card {
    min-height: auto;
    padding: 24px 22px;
    border-radius: 24px;
  }

  .comparison-logo {
    font-size: 33px;
  }

  .comparison-card p {
    font-size: 16px;
    line-height: 1.4;
  }

  .comparison-link {
    width: 100%;
    height: var(--btn-height-mobile);
    border-radius: 16px;
    font-size: 17px;
  }

  .mini-guide {
    padding: 0 20px;
    margin-bottom: 28px;
  }

  .mini-guide-header {
    margin-bottom: 20px;
  }

  .mini-guide-header h2 {
    font-size: 29px;
    line-height: 1.08;
  }

  .mini-guide-header p {
    font-size: 16px;
    line-height: 1.42;
  }

  .mini-guide-grid {
    gap: 18px;
  }

  .guide-card {
    padding: 22px;
    border-radius: 22px;
  }

  .guide-card h3 {
    font-size: 22px;
  }

  .guide-card p {
    font-size: 15px;
    line-height: 1.34;
  }

  .telegram-block {
    max-width: calc(100% - 40px);
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
    margin-bottom: 30px;
  }

  .telegram-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .telegram-info img {
    width: 36px;
    height: 36px;
  }

  .telegram-info h2 {
    font-size: 24px;
    line-height: 1.08;
  }

  .telegram-info p {
    font-size: 15px;
    line-height: 1.32;
  }

  .telegram-buttons {
    width: 100%;
    flex-direction: column;
    gap: 14px;
  }

  .telegram-btn {
    width: 100%;
    height: var(--btn-height-mobile);
    font-size: 17px;
    border-radius: 16px;
  }

  .telegram-btn img {
    width: 40px;
    height: 40px;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px 40px;
  }

  .footer a {
    font-size: 18px;
    gap: 12px;
  }

  .footer img {
    width: 30px;
    height: 30px;
  }

  .footer::after {
    margin-top: 10px;
    font-size: 14px;
  }
}
