:root {
  --brand-on-color: #fff;
  --brand-primary: #005ff9;
  --surfaces-borders: #d4d4d4;
  --surfaces-medium: #5c5c5c;
  --surfaces-default: #2c2d2e;
  --surfaces-bg-default: #fff;
  --surfaces-surface: #f5f5f5;
  --status-success: #0dc268;
  --status-success-sub: #dbf6e8;
  --status-error: #ed0a34;
  --status-error-sub: #fde6eb;
  --status-warning: #ff9e00;
  --status-warning-sub: #fff5e5;
  --brand-primary-sub: #e5effe;
  --extra-blue-link: #005bd1;
  --transition: all 0.3s ease-in-out;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --font-family: "Onest", sans-serif;
  --font-size-base: 16px;
  --font-size-step: 2px;
  --br24: 24px;
  --mb32: 32px;
  --mt32: 32px;
}

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

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

*[onclick] {
  cursor: pointer;
}

a {
  text-decoration: none;
}

html, body {
  width: 100%;
  height: 100%;
  line-height: 1.4;
  font-size: var(--font-size-base);
  color: var(--surfaces-default);
  background: var(--brand-on-color);
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-family), sans-serif;
  scroll-behavior: smooth;
  letter-spacing: -0.03em;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
dl,
dd {
  margin: 0;
}

h1, .h1,
h2, .h2 {
  font-family: var(--font-family), sans-serif;
  font-weight: 700;
  line-height: 100%;
  text-wrap-style: balance;
}

h2, .h2 {
  font-size: clamp(30px, 7vw, 40px);
}

.mb32 {
  margin-bottom: var(--mb32)
}

.mt32 {
  margin-top: var(--mt32)
}
.txt_left{text-align:left;}
section {
  position: relative;
}

.container {
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
}

.bgi {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.btn {
  display: inline-block;
  padding: clamp(15px,3vw,22px) clamp(30px,3vw,36px);
  border: 1px solid transparent;
  border-radius: 9999px;
  color: var(--brand-on-color);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  opacity: .8;
}

.btn:active {
  opacity: .6;
}

.btn-primary {
  border: 1px solid var(--surfaces-default);
  background: var(--surfaces-default);
}

.btn-glass {
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
}

.btn-blue {
  background: var(--brand-primary);
}

.btn-tab {
  border: 1px solid var(--surfaces-borders);
  padding: 9px 26px;
  font-weight: 500;
  color: var(--surfaces-medium);
  white-space: nowrap;
}

.btn-tab.tab-open {
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
}

.b-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  color: var(--surfaces-default);
  text-wrap-style: balance;
}

.mt-def {
  margin-top: clamp(60px, 9vw, 120px);
}

/* Main styles */
.s-into {
  background-color: #222dd1;
  height: 766px;
}

header {
  padding: 30px 0;
  /* position: sticky;
  top: 0; */
}

.header {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-r {
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-menu a {
  font-weight: 400;
  font-size: 16px;
  color: var(--brand-on-color);
}

.header-cta {
  margin-left: clamp(24px, 3vw, 42px);
}

.intro-content {
  padding-top: 80px;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro h1 {
  max-width: 680px;
  font-family: var(--font-family), sans-serif;
  font-weight: 700;
  font-size: clamp(27px, 7vw, 56px);
  line-height: 100%;
  text-align: center;
  color: var(--brand-on-color);
  text-wrap-style: balance;
}

.intro-description {
  max-width: 1000px;
  margin: 20px 0;

  > p {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 3vw, 20px);
    text-align: center;
    color: var(--brand-on-color);
    text-wrap-style: balance;
  }
}

.intro-cta {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  gap:clamp(10px,3vw,25px);
}

/* Mockup */
.s-mockup {
  position: absolute;
  bottom: -71px;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.mockup-item.mockup-info {
  @media screen and (width <= 680px) {
    top: 80px;
    left: 36px;
    display: block;
  }
}

.mockup-inner {
  position: relative;
  z-index: 1;
}

.mockup-item {
  position: absolute;
}

.mockup-laptop {
  display: flex;
  width: 100%;
  top: 50%;
  left: 52.4%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.mockup-phone img,
.mockup-phone video,
.mockup-laptop img {
  width: 100%;
  max-width: 100%;
}

.mockup-phone {
  right: 25px;
  top: -260px;
  z-index: 3;
  width: 250px;
  height: auto;
}
.mockup-item.mockup-phone>img,
.mockup-item.mockup-phone>video {
  border-radius: clamp(10px,3vw,30px);
}

.mockup-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  top: -94px;
  left: 0;
  border-radius: var(--br24);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 53px 0 rgba(26, 19, 107, 0.17);
  background: rgba(255, 255, 255, 0.85);
  z-index: 4;
  padding: 25px 20px;
}

.mockup-info__top span {
  font-weight: 700;
  font-size: 28px;
  line-height: 100%;
  color: var(--status-success);
}

.mockup-info__top b {
  font-weight: 500;
}

.mockup-info__bottom {
  color: var(--surfaces-medium);
}

/* Target */
.s-target {
  margin-top: 424px;
}

.target {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.target-l {
  display: flex;
  flex-direction: column;
  max-width: 552px;
}

.target-r {
  max-width: 610px;
}

.target .subtitle {
  font-weight: 700;
  font-size: clamp(16px, 3vw, 18px);
  line-height: 100%;
  margin-top: 20px;
}

.target-text {
  margin-top: 26px;
  line-height: 150%;
  font-size: clamp(16px, 3vw, 18px);
  text-wrap-style: balance;
}

.target-cta {
  margin-top: auto;
}

.target-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.target-list__item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
  border-radius: var(--br24);
  padding: 24px;
  background: var(--surfaces-surface);
}

.target-list__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.target-list__title {
  font-weight: 700;
  font-size: clamp(18px, 3vw, 20px);
  line-height: 100%;
}

.target-list__text {
  color: var(--surfaces-medium);
  margin-top: 8px;
}

/* Features */
.s-features {

}

.features {

}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  margin-top: 32px;
}

.features-list__item {
  border-radius: var(--br24);
  padding: 24px;
  background: var(--surfaces-surface);
}

.features-item__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.features-item__title {
  font-weight: 700;
  font-size: clamp(18px, 3vw, 20px);
  line-height: 100%;
  margin-top: 24px;
  text-wrap-style: balance;
}

.features-item__text {
  margin-top: 14px;
}

/* Contact us banner */
.contact-us.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: var(--br24);
  padding: 40px;
  width: 100%;
  background: var(--brand-primary);
}

.contact-us .banner-l {
  max-width: 360px;
}

.contact-us .banner-title {
  font-weight: 700;
  font-size: clamp(24px, 6vw, 32px);
  line-height: 100%;
  color: var(--brand-on-color);
}

.contact-us .banner-text {
  color: var(--brand-on-color);
  margin-top: 12px;
  text-wrap-style: balance;
  font-size: 17px;
}

.contact-us .banner-m {

}

.contact-us .banner-img {
  position: relative;
}

.contact-us .banner-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 218px;
  height: 287px;
}

/* Opportunities */
.opportunities-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 23px;
  margin-top: 32px;
}

.opportunities-item {
  border-radius: var(--br24);
  padding: 31px;
  background: var(--surfaces-surface);
}

.opportunities-item:nth-child(1) {
  grid-area: 1 / 1 / 2 / 4;
}

.opportunities-item:nth-child(2) {
  grid-area: 1 / 4 / 2 / 7;
}

.opportunities-item:nth-child(3) {
  grid-area: 2 / 1 / 3 / 3;
}

.opportunities-item:nth-child(4) {
  grid-area: 2 / 3 / 3 / 5;
}

.opportunities-item:nth-child(5) {
  grid-area: 2 / 5 / 3 / 7;
}

.opportunities-item__icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.opportunities-item__title {
  font-weight: 700;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 100%;
  margin-top: clamp(24px, 3vw, 36px);
  text-wrap-style: balance;
}

.opportunities-item__text {
  color: var(--surfaces-medium);
  margin-top: 8px;
}

/* Product value */
.prod-value__content {
  margin-top: 24px;
}

.prod-value__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
}

.prod-value__item {
  border-radius: var(--br24);
  padding: 24px;
  background: var(--surfaces-surface);
}

.prod-value__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.prod-value__title {
  font-weight: 700;
  font-size: clamp(18px, 3vw, 20px);
  line-height: 100%;
  margin-top: 24px;
}

.prod-value__text {
  color: var(--surfaces-medium);
  margin-top: 10px;
}

.tabs-btn {
  overflow-x: auto;
}

/* Cta banner */
.cta.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--br24);
  padding: 40px 40px 0;
  background: var(--brand-primary);
  @media screen and (width <= 780px) {
    align-items: flex-start;
    padding: 20px 20px 0;
  }
}

.cta .banner-title {
  font-weight: 700;
  font-size: clamp(30px, 7vw, 56px);
  line-height: 100%;
  text-align: center;
  color: var(--brand-on-color);
  @media screen and (width <= 780px) {
    text-align: left;
  }
}

.cta .banner-description {
  max-width: 460px;
  margin-top: 12px;
  color: var(--brand-on-color);
  text-align: center;
  @media screen and (width <= 780px) {
    text-align: left;
  }
}

.cta .banner-buttons {
  margin-top: 32px;
  margin-bottom: 14px;
}

/* Footer */
footer {
  padding: 54px 0;
}

.footer {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-l,
.footer-r {
  align-items: center;
}

.footer-l {
  max-width: 723px;
  gap: 4px 32px;
}

.footer-description {
  color: var(--surfaces-medium);
}

.footer-contacts {
  gap: 20px 36px;
}

.contacts-item__value a {
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.03em;
  color: var(--surfaces-default);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
}

.contacts-item__description {
  color: var(--surfaces-medium);
}

/* Стили для бургер-меню */
.burger-menu {
  display: none;
  position: relative;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 100;
}

.burger-menu span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.burger-menu span:nth-child(1) {
  top: 0;
}

.burger-menu span:nth-child(2) {
  top: 10px;
}

.burger-menu span:nth-child(3) {
  top: 20px;
}

/* Модальные окна */
#dialog-contacts {
  width: 100%;
  max-width: 460px;
  border-radius: var(--br24);
}

.modal-title {
  font-weight: 700;
  font-size: 26px;
}

.modal-contacts,
.modal-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-contacts {
  gap: 10px;
}

.fancybox__backdrop {
  background-color: rgba(0, 0, 0, 0.5) !important;
}


@media (hover: hover) {
  .modal-contacts a:hover {
    color: var(--brand-primary);
    transition: color 0.3s ease;
  }
}


/* Мобильное меню */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 1000;
  padding: 50px 10px 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.mobile-menu__close span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #333;
  top: 50%;
  pointer-events: none;
}

.mobile-menu__close span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.mobile-menu__nav a {
  font-size: 18px;
  color: #333;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  transition: color 0.3s ease;
}

.mobile-menu__nav a:hover {
  color: #007bff;
}

.mobile-menu__cta {
  text-align: center;
}

/* Затемнение фона при открытом меню */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.overlay.active {
  display: block;
}

/* Медиа-запросы */
@media (max-width: 991px) {
  .burger-menu {
    display: block;
  }

  .header-r .header-menu {
    display: none;
  }

  .header-r .header-cta {
    display: none;
  }

  .header-r {
    justify-content: flex-end;
  }
}

@media (max-width: 1300px) {
  .s-mockup {
    width: 840px;
    bottom: 7px;
  }

  .mockup-phone {
    right: 20px;
    top: -202px;
    width: 210px;
  }

  .mockup-info__top span {
    font-size: 20px;
  }

  .mockup-info {
    gap: 10px;
    padding: 15px 20px;
    left: -40px;
  }

  .s-target {
    margin-top: 244px;
  }

  .target {
    flex-direction: column;
    align-items: center;
    gap: clamp(30px, 7vw, 50px);
  }

  .target-l,
  .target-r {
    max-width: 740px;
  }

  .target-cta {
    margin-top: 26px;
  }
}

@media (max-width: 1200px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {
  .contact-us.banner {
    background: #005ff9f5;
  }

  .contact-us .banner-img img {
    z-index: -1;
  }
}

@media (max-width: 920px) {
  .s-into {
    height: 745px;
  }

  .intro-content {
    padding-top: 20px;
  }

  .s-mockup {
    width: 560px;
    bottom: -39px;
  }

  .mockup-phone {
    top: -136px;
    width: 140px;
  }

  .mockup-info__top span {
    font-size: 20px;
  }

  .mockup-info {
    gap: 10px;
    padding: 10px 14px;
    left: -40px;
    border-radius: 17px;
  }

  .mockup-info__bottom,
  .mockup-info__top b {
    font-size: 16px;
  }

  .opportunities-list {
    display: flex;
    flex-direction: column;
  }

  .opportunities-item {
    width: 100%;
  }

  /* Сбрасываем все позиционирование через grid-area */
  .opportunities-item:nth-child(1),
  .opportunities-item:nth-child(2),
  .opportunities-item:nth-child(3),
  .opportunities-item:nth-child(4),
  .opportunities-item:nth-child(5) {
    grid-area: auto;
  }

  .opportunities-item__title {
    margin-top: 10px;
  }
}

@media (max-width: 790px) {
  .contact-us.banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .contact-us .banner-m {
    display: none;
  }

  .footer-l {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .mockup-info {
    display: none;
  }

  .s-mockup {
    width: 480px;
    bottom: 20px;
  }

  .mockup-phone {
    top: -109px;
    width: 114px;
  }

}

@media (max-width: 575px) {
  .target-list__icon {
    display: none;
  }

  .tabs-btn {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .s-into {
    height:745px;
  }

  .mockup-info {
    display: none;
  }

  .s-mockup {
    width: 360px;
  }

  .mockup-phone {
    top: -91px;
    width: 94px;
  }

  .opportunities-item__icon {
    width: 80px;
    height: 80px;
  }

  .opportunities-item__icon img {
    max-width: 100%;
  }

  .btn-tab {
    padding: 6px 16px;
  }

  .tabs-content {
    margin-top: 14px;
  }

  .footer-contacts {
    flex-direction: column;
    align-items: flex-start;
  }
}


/*КУЙСЫ*/
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(298px, 1fr));
  gap: 1rem;
  margin-top: 32px;
}

.case-card {
  background-color: var(--card-bg);
  border-radius: var(--br24);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.case-card:hover {
  transform: scale(1.02);
}

.case-header {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  height: 270px;
}

.case-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-wrap-style: balance;
  height: 40px;
}

.case-description {
  font-size: 1rem;
  color: #6b7280;
  text-wrap-style: balance;
}

.case-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background-color: #f3f4f6;
  padding: 0.5rem;
}

.case-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Тарифы */
.tariff_header {
  text-align: center;

  .title {
    margin-bottom: .5rem;
    text-wrap-style: balance;
  }

  .sub_title {
    font-size: 1rem;
    font-weight: 400;
    color: #5c5c5c;
    text-wrap-style: balance;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--br24);
  box-shadow: var(--shadow);
  padding: 1.9rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--extra-blue-link);
}

.price {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 1rem;
  text-wrap-style: balance;
  margin-bottom: .5rem;
}

.tariff-period {
  font-weight: 400;
  color: var(--surfaces-medium);
  font-size:1rem;
}

.features {
  list-style: none;
  margin-top: 1rem;
  color: var(--text-muted);
  > li{
    display: flex;
    margin-bottom: 10px;
    &:before {
      content: "✔";
      margin-right: 0.5rem;
      color: var(--status-success);
    }
  }
}

.features .not {
  font-weight: 400;
  color: var(--surfaces-medium);
  &:before {
    content: "✖";
    margin-right: 0.5rem;
    color: var(--status-error);
  }
}

.tariff-segment {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--surfaces-borders);
}

.tariff-segment#tariff-lite {
  margin-top: clamp(24px, 4vw, 32px);
  padding-top: 0;
  border-top: none;
}

.tariff-segment#tariff-pro {
  padding-top: clamp(24px, 4vw, 32px);
}

.tariff-segment:has(.tariff-table-wrap) {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(24px, 4vw, 40px);
  border-top: none;
  border-radius: var(--br24);
  background: var(--surfaces-surface);
  box-shadow: var(--shadow);
}

.tariff-segment:has(.tariff-table-wrap) .tariff_header {
  margin-top: 0;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.tariff-segment:has(.tariff-table-wrap) .tariff_header .title {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--surfaces-default);
  text-wrap-style: balance;
}

.tariff-segment:last-child {
  border-top: 1px solid var(--surfaces-borders);
  padding-top: clamp(32px, 5vw, 48px);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.pricing-grid--lite {
  max-width: 480px;
  margin:0 auto;
}

.card--lite {
  border: 1px solid var(--surfaces-borders);
}

.card--featured {
  border: 2px solid var(--brand-primary);
  background: var(--brand-primary-sub);
}

.card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--brand-primary);
  color: var(--brand-on-color);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.card__badge--lite {
  background: var(--surfaces-default);
}

.card__audience {
  margin: 0 0 0.5rem;
  color: var(--surfaces-medium);
  font-size: 0.95rem;
  line-height: 1.4;
  text-wrap-style: balance;
}

.card__price-note {
  margin: 0 0 0.5rem;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 500;
}

.card__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 1.5rem;
}

.card__cta .btn {
  width: 100%;
  text-align: center;
}

.features__note {
  display: block;
  margin-top: 4px;
  color: var(--brand-primary);
  font-size: 0.85rem;
  font-weight: 500;
}

.tariff-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--br24);
  background: var(--surfaces-bg-default);
  border: 1px solid var(--surfaces-borders);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tariff-compare,
.tariff-tco {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surfaces-bg-default);
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.45;
}

.tariff-compare th,
.tariff-compare td,
.tariff-tco th,
.tariff-tco td {
  padding: clamp(12px, 2vw, 16px) clamp(14px, 2.5vw, 20px);
  border-bottom: 1px solid var(--surfaces-borders);
  text-align: left;
  vertical-align: middle;
}

.tariff-compare thead th,
.tariff-tco thead th {
  padding-top: 18px;
  padding-bottom: 18px;
  background: var(--surfaces-default);
  color: var(--brand-on-color);
  font-weight: 700;
  font-size: clamp(13px, 2.5vw, 15px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.tariff-compare thead th:first-child,
.tariff-tco thead th:first-child {
  border-radius: var(--br24) 0 0 0;
}

.tariff-compare thead th:last-child,
.tariff-tco thead th:last-child {
  border-radius: 0 var(--br24) 0 0;
}

.tariff-compare thead th:nth-child(4) {
  background: var(--brand-primary);
  position: relative;
}

.tariff-compare tbody th[scope="row"],
.tariff-tco tbody th[scope="row"] {
  min-width: 160px;
  font-weight: 600;
  color: var(--surfaces-default);
  background: var(--surfaces-surface);
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 4px 0 8px -4px rgba(0, 0, 0, 0.08);
}

.tariff-compare tbody tr {
  transition: var(--transition);
}

.tariff-compare tbody tr:hover td,
.tariff-compare tbody tr:hover th[scope="row"] {
  background: var(--brand-primary-sub);
}

.tariff-compare tbody tr:hover th[scope="row"] {
  background: #d6e6fd;
}

.tariff-compare tbody tr:last-child th,
.tariff-compare tbody tr:last-child td,
.tariff-tco tbody tr:last-child th,
.tariff-tco tbody tr:last-child td {
  border-bottom: none;
}

.tariff-compare tbody tr:last-child th[scope="row"]:first-child {
  border-radius: 0 0 0 var(--br24);
}

.tariff-compare tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--br24) 0;
}

.tariff-compare tbody td {
  color: var(--surfaces-medium);
}

.tariff-compare tbody td:nth-child(4) {
  background: rgba(229, 239, 254, 0.55);
  color: var(--surfaces-default);
  font-weight: 500;
}

.tariff-compare tbody tr:hover td:nth-child(4) {
  background: var(--brand-primary-sub);
}

.tariff-tco tbody td:nth-child(2) {
  font-weight: 700;
  font-size: clamp(15px, 2.5vw, 17px);
  color: var(--surfaces-default);
  white-space: nowrap;
}

.tariff-tco tbody td:nth-child(3) {
  color: var(--surfaces-medium);
  max-width: 320px;
}

.tariff-compare tbody tr:nth-child(even) td:not(:nth-child(4)),
.tariff-tco tbody tr:nth-child(even) td {
  background: rgba(245, 245, 245, 0.65);
}

.tariff-compare tbody tr:nth-child(even) td:nth-child(4) {
  background: rgba(229, 239, 254, 0.75);
}

.tariff-tco tbody tr {
  transition: var(--transition);
}

.tariff-tco tbody tr:hover td,
.tariff-tco tbody tr:hover th[scope="row"] {
  background: var(--brand-primary-sub);
}

.tariff-tco tbody tr:hover th[scope="row"] {
  background: #d6e6fd;
}

.tariff-tco__highlight th,
.tariff-tco__highlight td {
  background: var(--brand-primary-sub) !important;
  font-weight: 600;
  color: var(--surfaces-default);
}

.tariff-tco__highlight td:nth-child(2) {
  color: var(--brand-primary);
}

.tariff-tco__note {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--br24);
  border-left: 4px solid var(--brand-primary);
  background: var(--brand-primary-sub);
  color: var(--surfaces-default);
  font-size: clamp(15px, 2.5vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  text-wrap-style: balance;
}

@media screen and (width <= 768px) {
  .tariff-segment:has(.tariff-table-wrap) {
    padding: 16px;
    margin-left: -5px;
    margin-right: -5px;
    border-radius: 16px;
  }

  .tariff-table-wrap {
    border-radius: 16px;
  }

  .tariff-compare,
  .tariff-tco {
    min-width: 600px;
    font-size: 14px;
  }

  .tariff-compare thead th:first-child,
  .tariff-tco thead th:first-child,
  .tariff-compare tbody tr:last-child th[scope="row"]:first-child,
  .tariff-compare tbody tr:last-child td:last-child {
    border-radius: 0;
  }
}


.mockup-video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* About */
.s-about {
  padding-bottom: 8px;
}

.about {
  border-radius: var(--br24);
  background: var(--surfaces-surface);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
}

.about .b-title {
  text-align:center;
  font-size: clamp(28px, 5vw, 40px);
}

.about__text {
  margin-top: 20px;
  max-width: 100%;
  margin-bottom:35px;
  color: var(--surfaces-medium);
  font-size: clamp(16px, 3vw, 18px);
  line-height: 150%;
  text-wrap-style: balance;
}

.about__text a {
  color: var(--extra-blue-link);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.about__text a:hover {
  color: var(--brand-primary);
}

.about__links {
  margin-top: clamp(24px, 4vw, 32px);
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.about__links a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 16px 20px;
  border-radius: var(--br24);
  border: 1px solid var(--surfaces-borders);
  background: var(--surfaces-bg-default);
  color: var(--surfaces-default);
  font-size: clamp(15px, 2.5vw, 16px);
  font-weight: 500;
  line-height: 130%;
  text-decoration: none;
  transition: var(--transition);
}

.about__links a::after {
  content: "→";
  margin-left: auto;
  padding-left: 12px;
  color: var(--brand-primary);
  transition: var(--transition);
}

.about__links a:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary-sub);
  color: var(--brand-primary);
}

.about__links a:hover::after {
  transform: translateX(4px);
}

@media screen and (width <= 600px) {
  .about__links {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--br24);
  background: var(--surfaces-surface);
  padding: 16px 20px;
}

.faq-item__question {
  font-weight: 700;
  font-size: clamp(16px, 2.5vw, 18px);
  cursor: pointer;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__answer {
  margin-top: 12px;
  color: var(--surfaces-medium);
  line-height: 1.5;
}

.faq-item__answer a {
  color: var(--extra-blue-link);
}

/* Footer links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 12px;
}

.footer-links a {
  color: var(--extra-blue-link);
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}