:root{
  --radius: 24px;
  --border: rgba(0,0,0,.08);
  --shadow-hover: 0 18px 38px rgba(0,0,0,.16);

  --green: #1aa84a;
  --text: #111;
  --muted: #575757;
  --bg: #fff;
}

.internet-home {
  flex: 1;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  margin-top: 47px;
  margin-bottom: 142px;
}

.page-title {
  text-align: center;
  font-size: 28px;
  font-family: Roboto !important;
  font-weight: 400 !important;
  margin-bottom: 8px;
  letter-spacing: 0;
  line-height: normal;
  padding: 0px;
}

.page-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 40px;
}

/* Сетка выбора */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  font-family: Roboto, Inter, Arial, sans-serif;
}

/* Карточка выбора */
.choice-card {
  text-decoration: none;
  color: inherit;
  border-radius: 28px;
  border: 1px solid rgb(0 0 0 / 16%);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, border-color .3s;
}

.choice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 12px 18px rgba(15, 34, 79, 0.18);
  border-color: rgb(0 169 67 / 60%);
}

.choice-image {
  height: 220px;
  overflow: hidden;
  justify-content: center;
  display: flex;
}

.choice-image img {
  display: flex;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  justify-content: center;
}

.choice-caption {
  padding: 22px 24px 26px;
}

.choice-caption h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 450 !important;
  font-family: Roboto !important;
}

.choice-caption p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Блок преимуществ */
.benefits {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgb(0 0 0 / 16%);
  background: rgb(255 255 255 / 40%);
  backdrop-filter: blur(5px);
}

.benefits h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 450;
}

.benefits ul {
  margin: 0;
  padding-left: 18px;
}

.benefits li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #444;
}

.business-cta {
  max-width: 1000px;
  margin: 64px auto 0;
  font-family: Roboto, Inter, Arial, sans-serif;
}

.business-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
  border: 1px solid rgb(212 212 212);
  background: linear-gradient(90deg, rgb(0 0 0 / 3%), rgb(255 255 255 / 6%));
  backdrop-filter: blur(6px);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(0,0,0,.15);
}

.business-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 450 !important;
  font-family: Roboto !important;
  color: #1aa84a;
}

.business-card p {
  margin: 0;
  font-size: 14px;
  color: #555;
  /* color: #ffffff; */
}

.business-link {
  font-size: 14px;
  color: #1aa84a;
  font-weight: 500;
  white-space: nowrap;
}


/* Адаптив */
@media (max-width: 900px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-image {
    height: 180px;
  }
}

@media (max-width: 600px) {
  .internet-home {
    margin-top: 30px;
    margin-bottom: 50px;
  }
  
  .page-title {
    font-size: 22px;
  }

  .page-subtitle {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .choice-caption {
    text-align: center;
    padding: 18px 16px 20px;
  }

  .choice-caption h2 {
    font-size: 16px;
  }

  .choice-caption p {
    font-size: 13px;
  }

  .choice-image {
    height: 160px;
  }

  .business-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 22px 20px;
  }

  .business-link {
    margin-top: 8px;
  }

  .business-card h3 {
    font-size: 17px;
  }

  .business-card p {
    font-size: 13px;
  }

}



/* Тарифы */
.tarif-page {
  flex: 1;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  margin-top: 47px;
  margin-bottom: 142px;
}

.breadcrumbs {
  font-size: 14px;
  color: #7a7a7a;
  margin-bottom: 50px;
  padding-left: 5px;
}

.breadcrumbs a {
  color: #1a1a1a;
  text-decoration: none;
}

.tariffs-title {
  text-align: center;
  font-size: 28px;
  font-family: Roboto !important;
  font-weight: 400 !important;
  margin-bottom: 8px;
  letter-spacing: 0;
  line-height: normal;
  padding: 0px;
}

.title-sm {
  padding-bottom: 30px;
  margin-top: 70px;
}

.documents-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 40px;
}

.tariffs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 60px 32px;
  justify-items: center;
}

.tariffs-sm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px 32px;
  justify-items: stretch;
}

.plan-card {
  width: min(300px, 100%);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1px solid #c2c2c2;
  transition: box-shadow .3s ease-in-out, transform 0.5s;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 9px 7px 3px rgba(15, 34, 79, .14);
}

.sm-card {
  width: 100%;
  max-width: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1px solid #c2c2c2;
  transition: box-shadow .3s ease-in-out, transform 0.5s;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;;
}

.sm-card:hover{
  transform: translateY(-5px);
  box-shadow: 0px 9px 7px 3px rgba(15, 34, 79, .14);
}

.head-card {
  padding: 29px 16px 38px;
  background-position: 50%;
  text-align: center;
  background-size: cover;
  background-image: url(/images/tarifs/background.png);
}

.head-card-sm {
  padding: 31px 16px 40px;
  background-position: 50%;
  text-align: center;
  background-size: cover;
  background-image: url(/images/tarifs/background_kombo.png);
}

.head-card-bs {
  padding: 31px 16px 40px;
  background-position: 50%;
  text-align: center;
  background-size: cover;
  background-image: url(/images/tarifs/background_business.png);
}

.head-title {
  font-size: 24px;
  color: #ffffff;
  text-shadow: 0px 1px 3px #000000e8;
  font-weight: 900;
  font-family: 'Montserrat';
}

.head-sm {
  font-size: 32px;
}

.body-card {
  background: var(--bg);
  border-radius: var(--radius);
  margin-top: -21px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-card {
  padding: 18px 6px 0px;
}

.section-up {
  padding: 10px 6px 0px;
}

.section-card + .section-card{
  border-top: 1px solid rgba(0,0,0,.06);
}

.section_title-card{
  color: var(--green);
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 20px;
}

.section_title-card-lg{
  color: var(--green);
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 20px;
}

.sect-sm {
  color: #000000;
}

.section-sm {
  color: #000000;
}

.plan-card__section-title--tight{
  margin-bottom: 0;
}

.row-card{
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.value-card{
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.05;
}

.value-sm, .unit-sm,
.unit--sm {
  color: #616161;
}

.unit--md--sm {
  color: #616161;
  font-size: 18px;
}

.unit-card{
  font-size: 18px;
  font-weight: 500;
  opacity: .92;
}

.unit-card-md{
  font-size: 22px;
}

.unit-card-md-lg{
  font-size: 18px;
}

.unit-card-lg{
  font-size: 24px;
}

.muted-card{
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}

.alt1 {
  display: flex;
  height: 126px;
  align-items: center;
}

.alt2 {
  display: flex;
  height: 97px;
  align-items: center;
}

.footer-card{
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 18px 6px 5px;
}

.alt {
  padding: 32px 6px 21px;
}

.price-card{
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-now{
  font-size: 34px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.price-period{
  font-size: 13px;
  color: var(--muted);
}

.buttom_sm {
  background-color: #1a1a1a;
  padding: 10px 25px;
  margin-top: 20px;
  border-radius: 12px;
  transition: background-color 0.3s;
  font-size: 11pt !important;
  font-family: Roboto;
  font-weight: 400;
  text-transform: math-auto;
  width: 100%;
}

.buttom_sm:hover {
  background-color: #444444;
}
.consult {
  padding: 24px;
  border-radius: 24px;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, .04);
  margin-top: 50px;
  font-family: Roboto, Inter, Arial, sans-serif;
}

.consult p {
  margin-bottom: 10px;
  font-size: 19px;
  color: #334155;
}

.consult a {
    display: inline-block;
    font-size: 27px;
    font-family: Roboto;
    font-weight: 500;
    color: #00a943;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.consult a:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.consult strong {
  font-size: 21px;
  font-weight: 900;
}


.tariffs.is-swipe,
.tariffs-sm.is-swipe {
  --gutter: 16px;
  --gap: 16px;
  --peek: 70px;

  display: flex !important;
  overflow-x: auto;
  overflow-y: hidden;

  gap: var(--gap);
  padding: 8px var(--gutter) 6px;

  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-padding-left: var(--gutter);
  scroll-padding-right: var(--gutter);

  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tariffs.is-swipe::-webkit-scrollbar,
.tariffs-sm.is-swipe::-webkit-scrollbar {
  display: none;
}

.tariffs.is-swipe .plan-card,
.tariffs-sm.is-swipe .sm-card {
  flex: 0 0 var(--card-w);
  max-width: var(--card-w);
  scroll-snap-align: start;
}

.tariffs.is-swipe .plan-card:last-child,
.tariffs-sm.is-swipe .sm-card:last-child {
  scroll-snap-align: end;
}

.tariffs.is-swipe .plan-card:hover,
.tariffs-sm.is-swipe .sm-card:hover {
  transform: none;
  box-shadow: none;
}

.swipe-dots,
.swipe-nav {
  display: none;
}

.swipe-dots {
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 0 18px;
}

.swipe-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, .22);
  transition: width .2s ease, background-color .2s ease, transform .2s ease;
  cursor: pointer;
}

.swipe-dot.is-active {
  width: 18px;
  background: #00a943;
  transform: scale(1.05);
}

.swipe-dots--yellow .swipe-dot.is-active {
  background: #f6c400;
}

.swipe-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
}

.swipe-nav {
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 0 18px;
}

.swipe-arrow {
  height: 40px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #000000 !important;
}

.swipe-arrow:disabled {
  opacity: .45;
  cursor: default;
}

/* включение UI по классам контейнера */
.is-arrows-ui + .swipe-nav  { display: flex; }
.is-phone-ui  + .swipe-dots { display: flex; }

/* Узкие телефоны: меньше peek */
@media (max-width: 420px) {
  .tariffs.is-swipe,
  .tariffs-sm.is-swipe {
    --peek: 55px;
  }
}


/* телефоны + планшеты */
@media (max-width: 1024px) {

  .tarif-page {
    padding: 20px 0px;
    overflow-x: clip;
    margin-top: 30px;
    margin-bottom: 50px;
  }

  .breadcrumbs,
  .tariffs-title,
  .documents-subtitle,
  .title-sm {
    padding-left: 25px;
    padding-right: 25px;
  }

  .main {
    padding-left: 5px;
  }

  .head-title {
    font-size: 24px;
  }

  .head-sm {
    font-size: 24px;
  }

  .tariffs-title {
    font-size: 22px;
  }

  .documents-subtitle {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .consult {
    margin: 50px 15px 0 15px;
    text-align: center;
  }

  .consult p {
  font-size: 15px;
  }

  .consult a {
  font-size: 22px;
  }

  .consult strong {
  font-size: 16px;
  }

  .plan-card:hover,
  .sm-card:hover {
    transform: none;
    box-shadow: none;
  }
}