html {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

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

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;

  color: #1f2937;
  background-color: #ffffff;

  overflow-x: hidden;
}

.contact-text a{
   color: #1f2937;
   text-decoration: none;
}


/* =========================
   Inter Font Family
   ========================= */

/* Regular */
@font-face {
  font-family: 'Inter';
  src: url('/wp-content/themes/webmastercpit/fonts/Inter-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: 'Inter';
  src: url('/wp-content/themes/webmastercpit/fonts/Inter-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: 'Inter';
  src: url('/wp-content/themes/webmastercpit/fonts/Inter-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'Inter';
  src: url('/wp-content/themes/webmastercpit/fonts/Inter-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
}

h1 {
  font-weight: 700; /* Bold */
}

h2, h3 {
  font-weight: 600; /* SemiBold */
}

.menu a,
.button {
  font-weight: 500; /* Medium */
}

p, li, span {
  font-weight: 400; /* Regular */
}

section#heroinfo {
    padding: 80px 0px 5px 0px;
    margin: 0px 0px 0px 0px;
}

#heroinfo1 {
    background-position: left 20px;
   padding: 20px 0px 0px 0px;
}

#heroinfo1 .rgp-article-content h2, #heroinfo1 .rgp-article-content h3, #heroinfo1 .rgp-article-content h4{
    margin: 30px 0px 10px 0px;
}

a.error {
    color: #1f6fdc;
}

#heroinfo3 {
    min-height: 100%;
    padding: 80px 0px;
}



/* =========================
   HEADER BASE
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   LOGO
========================= */

.header-logo a {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.logo-icon {
  width: 65px;
  height: 65px;
}

.logo-icon img{
    width: 100%;
    height: 100%;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #3b99d7;
}

/* =========================
   MENU
========================= */

.header-nav .menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  position: relative;
}

.header-nav a:hover {
  color: #1f6fdc;
}

/* =========================
   SUBMENU
========================= */

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  z-index: 10;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 400;
  color: #1f2937;
}

.submenu li a:hover {
  background: #f3f6fb;
  color: #1f6fdc;
}

/* =========================
   ACTIONS
========================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-phones a {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  white-space: nowrap;
}

.header-phones a:hover {
  color: #1f6fdc;
}

.btn-primary {
  padding: 10px 18px;
  background: #1f6fdc;
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: #195fc0;
}

/* =========================
   BURGER
========================= */

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  background: #1f2937;
}


/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }



  .burger {
    display: flex;
  }
}

@media (max-width: 450px) {
.btn-primary {
   display: none!important;
}
}

@media (max-width: 590px) {
  .header-phones {
    display: none;
	}
  }

@media (max-width: 1160px) {
  .header-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav .menu {
    flex-direction: column;
    gap: 16px;
  }
}
/* =========================
   Sticky footer layout
========================= */

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Обёртка всего контента между header и footer */
.site-wrap {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Основной контент растягиваем, чтобы footer был внизу */
.site-main {
  flex: 1 0 auto;
}

/* =========================
   Footer styles (как в макете)
========================= */

.site-footer {
  flex-shrink: 0;
  background: #f5f7fb;
  border-top: 1px solid #e5e9f2;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 24px 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Копирайт слева на десктопе */
.footer-copy {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

/* Ссылки справа на десктопе */
.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  text-decoration: none;
}

.footer-links a:hover {
  color: #1f6fdc;
  text-decoration: underline;
}

/* =========================
   Mobile order: links -> copy
========================= */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* На мобиле: сначала ссылки */
  .footer-links {
    order: 1;
    flex-direction: column;
    gap: 8px;
  }

  /* Потом копирайт */
  .footer-copy {
    order: 2;
  }
}




/* =========================
   HERO (фон только в hero-inner)
========================= */

.hero {
  position: relative;
  background-color: #f5f7fb;
}

/* HERO-часть, которая заканчивается четкой линией */
.hero-inner {
  position: relative;
  overflow: hidden;
  padding: 120px 0 110px; /* НИЖЕ фона больше не будет */
  
}

/* фон живет только внутри hero-inner */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-sky {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-image: url('/wp-content/uploads/61c89156-a818-4316-88fd-ed6da15782d4-2-scaled.png');
}

/* сюда потом вставишь buildings.png */
.hero-bg-buildings {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.9;
}

/* контейнер */
.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 100;
}

.hero-card a{
   text-decoration: none;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 20px;
}

.hero-text {
  font-size: 18px;
    line-height: 1.3;
    margin: 0 0 32px;
}

.hero-btn {
  display: inline-block!important;
}

#heroinfo4 .hero-card-image {
    width: 50px;
    height: 100%;
}

#heroinfo4 .hero-card {
    min-height: 100px;
    height: 100px;
}

/* =========================
   CARDS (выходят за пределы hero вверх/вниз как надо)
========================= */

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;

  /* ВОТ ЭТО и дает “вылезание” карточек ВВЕРХ над белым экраном */
  margin-top: -70px;

  /* А это оставляет место под карточками, чтобы дальше ничего не налезало */
  padding-bottom: 20px;
}

.hero-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.10);
  min-height: 170px;
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.hero-card-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #1f2937;
  margin-bottom: 10px;
}

.hero-card-link {
  font-size: 14px;
  font-weight: 400;
  color: #1f6fdc;
  text-decoration: none;
}

.hero-card-link:hover {
  text-decoration: underline;
}

/* =========================
   АДАПТИВ (ничего не ломается)
========================= */

@media (max-width: 1060px) {
  .hero-inner {
    padding: 110px 0 90px;
  }

  .hero-bg-buildings {
    width: 70%;
    opacity: 0.55;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    margin-top: -60px;
    padding-bottom: 30px;
  }

  .hero-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  

  .hero-bg-buildings {
    display: none;
  }

  .hero-cards {
    margin-top: -50px;
    gap: 16px;
    padding-bottom: 24px;
  }
}



.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -70px;
  z-index: 100;
}

.hero-card {
  display: flex;
  align-items: center;

  height: 150px;
  padding: 16px;

  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

/* ИЗОБРАЖЕНИЕ СЛЕВА */
.hero-card-image {
  width: 120px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* КОНТЕНТ СПРАВА */
.hero-card-content {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card-content h3 {
  hyphens: auto;
  overflow-wrap: break-word; /* на всякий */
  word-break: normal;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2937;
  margin-bottom: 6px;
}

.hero-card-content p {
  font-size: 14px;
  color: #4b5563;
  margin: 0px 0px 12px 0px;
}

/* КНОПКА СО СТРЕЛКОЙ */
.hero-card-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #1f6fdc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  font-size: 18px;
}

/* АДАПТИВ */
@media (max-width: 1060px) {
  .hero-cards {
    grid-template-columns: 1fr;
    margin-top: -50px;
  }

  .hero-card {
    height: auto;
  }

  .hero-card-image {
    height: 100px;
  }
}






/* =========================
   ABOUT
========================= */

.about {
    position: relative;
    overflow: hidden;
    margin: -70px auto 0px auto;
    background-color: #f5f7fb;
}

/* ФОН */
.about-bg {
  position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    background-image: url(/wp-content/uploads/chatgpt-image-9-fevr.-2026-g.-21_18_15.png);
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: cover;
    pointer-events: none;
    opacity: 0.65;
}

/* КОНТЕЙНЕР С ТЕКСТОМ */
.about-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 24px 20px;
    position: relative;
    z-index: 2;
}

.about-content {
  max-width: 60%;
}

/* ЗАГОЛОВОК */
.about-title {
  font-size: 32px;
  font-weight: 600;
  padding: 50px 0px 0px 0px;
  margin-bottom: 20px;
  color: #1f2937;
}

/* ТЕКСТ — НЕ МЕНЬШЕ 16px */
.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 14px;
}

/* =========================
   STATS BAR — 100% ЭКРАНА
========================= */

.about-stats-bar {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f5f7fb;
  padding: 0px 0px 48px 0;
}

.about-stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ПЛАШКА */
.about-stat {
  background: #ffffff;
  border-radius: 16px;
  z-index: 10;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ЦИФРЫ */
.about-stat-number {
  font-size: 40px;
  font-weight: 600;
  color: #1f6fdc;
  margin-bottom: 8px;
}

/* ПОДЗАГОЛОВОК — НЕ МЕНЬШЕ 16px */
.about-stat-title {
  font-size: 18px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 10px;
}

/* ТЕКСТ */
.about-stat-text {
  font-size: 16px;
  line-height: 1.5;
  color: #6b7280;
}

/* =========================
   АДАПТИВ
========================= */

@media (max-width: 1392px) {
 
.about-container {
    padding: 20px 24px 20px;
}

}

@media (max-width: 1024px) {
  .about-content {
    max-width: 100%;
  }


  .about-stats-inner {
    grid-template-columns: 1fr;
  }
}
/* ====== BASE CONTAINER (если уже есть — не дублируй) ====== */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* ====== ADVANTAGES (MAKET STYLE) ====== */
.advantages2{
  position:relative;
  padding:72px 0 0;
  overflow:hidden;
}

/* общий фон секции */
.advantages2-bg{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, #c0ddff 0%, #f7f9fc 55%, #ffffff 100%);
  z-index:1;
}

/* фон-картинка справа (здание) — НЕ перекрывает текст */
.advantages2-bg-building{
  position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    background-image: url(/wp-content/uploads/chatgpt-image-9-fevr.-2026-g.-20_50_51.png);
    background-repeat: no-repeat;
    background-position: left 50px;
    background-size: cover;
    opacity: .35;
    pointer-events: none;
    z-index: 1;
}

/* контент поверх */
.adv2-container{
  position:relative;
  z-index:2;
}

/* заголовок + текст (60–70%) */
.adv2-head{
  max-width:70%;
}

.adv2-title{
  font-size:36px;
  font-weight:600;
  margin:0 0 16px;
  color:#1f2937;
}

.adv2-text{
  font-size:18px;
  line-height:1.6;
  margin:0;
  color:#4b5563;
}

/* карточки СТОЛБИКОМ, как на макете */
.adv2-cards{
  display:flex;
  flex-direction:column;
  gap:18px;

  /* ВЫЛЕЗАЕМ вниз в следующий белый блок */
  transform: translateY(46px);
}

/* карточка */
.adv2-card{
  background:#fff;
  border-radius:16px;
  padding:22px 26px;
  display:flex;
  align-items:flex-start;
  gap:18px;

  box-shadow: 0 22px 55px rgba(0,0,0,0.10);
}

/* иконка (позже заменишь на SVG — место/размер верные) */
.adv2-icon{
  width:44px;
  height:44px;
  flex:0 0 auto;
  margin-top:2px;
}

.adv2-card-title{
  font-size:20px;
  font-weight:600;
  margin:0 0 6px;
  color:#1f2937;
}

.adv2-card-desc{
  font-size:16px;
  line-height:1.55;
  margin:0;
  color:#4b5563;
}

/* белая зона снизу — это и есть “переход” */
.advantages2-bottom{
  height:140px;              /* место под “вылезание” карточек */
  background:#ffffff;
  position:relative;
  z-index:0;
}

/* ====== ADAPTIVE ====== */
@media (max-width:1024px){
  .adv2-head{ max-width:100%; }
  .advantages2-bg-building{ opacity:.18; width:100vw; }
}

@media (max-width:768px){
  .advantages2{ padding-top:56px; }
  .adv2-title{ font-size:30px; }
  .adv2-text{ font-size:16px; }
  .adv2-card{ padding:18px 18px; }
}

@media (max-width:420px){
  .adv2-title{ font-size:26px; }
  .adv2-card{ gap:14px; }
  .adv2-icon{ width:40px; height:40px; }
}

/* БАЗА (минимум 16px, как ты и требовал) */
html, body { width: 100%; }
body { min-width: 320px; font-size: 16px; }

/* Контейнер (если уже есть — не дублируй, просто используй свои значения) */
.container{
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Заголовок/текст секций (если уже есть — можно убрать и оставить только trusted-стили) */
.section-title{
  margin: 0 0 14px;
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1.15;
  font-weight: 600;
  color: #1f2a37;
}
.section-text{
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #5b6b7f;
}

/* ====== TRUSTED ====== */
.trusted{
  position: relative;
  padding: 64px 0 74px;
  overflow: hidden;
  background: #f3f7fd; /* базовый фон, поверх него будет картинка */
}

/* Фон на весь экран + возможность задать картинку */
.trusted__bg{
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/chatgpt-image-10-fevr.-2026-g.-14_37_52.png'); /* сюда потом поставим картинку */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

/* лёгкая “дымка”, чтобы текст читался и стиль как на мокапе */
.trusted::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(1200px 420px at 35% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.25) 100%);
  z-index: 0;
}

.trusted__container{
  position: relative;
  z-index: 1;
}

.trusted__text{
  max-width: 720px; /* 60–70% в рамках контейнера */
  margin: 0 0 26px;
}

/* общая “обёртка” двух рядов */
.trusted__marquee{
  --speed: 38s; /* дефолт; перезапишется из data-speed через JS */
  display: grid;
  gap: 18px;
}

/* ряд с мягкими краями, как на мокапе */
.trusted__row{
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 14px 0;
}

/* дорожка */
.trusted__track{
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content; /* ВОТ ЭТО ГЛАВНОЕ */
  will-change: transform;
}

/* карточка-ячейка под логотип */
.trusted__item{
    flex: 0 0 auto;
    width: clamp(220px, 22vw, 320px);
    height: 188px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 5px rgb(0 0 0 / 31%);
    opacity: 1;
}

.trusted__item img{
  max-width: 78%;
  max-height: auto;
  object-fit: contain;
  display: block;
  filter: saturate(0.95);
  opacity: 0.95;
}

/* Анимации в разные стороны */
.trusted__row--top .trusted__track{
  animation: trusted-marquee-left var(--speed) linear infinite;
}
.trusted__row--bottom .trusted__track{
  animation: trusted-marquee-right var(--speed) linear infinite;
}

/* ключевое: движение ровно на половину трека (потому что трек будет продублирован JS-ом) */
@keyframes trusted-marquee-left{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes trusted-marquee-right{
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Адаптив */
@media (max-width: 980px){
  .trusted{ padding: 54px 0 64px; }
  .trusted__text{ max-width: 680px; }
  .trusted__item{ width: clamp(200px, 38vw, 320px); }
}
@media (max-width: 640px){
  .container{ padding: 0 16px; }
  .trusted__row{ border-radius: 16px; }
  
}

.world-map-section {
  position: relative;
  padding: 20px 0px 40px 0px;
  overflow: hidden;
}

/* фон блока (потом заменишь на нужную картинку) */
.world-map-bg {
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2350.jpg');
  background-size: cover;
  opacity: 0.3;
  z-index: 0;
}

.world-map-section .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.world-map-content {
  max-width: 70%;
  margin-bottom: 60px;
}

.world-map-title {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
  color: #1e2a3a;
  margin-bottom: 20px;
}

.world-map-text {
  font-size: 18px;
  line-height: 1.6;
  color: #5b6b80;
}

/* контейнер карты */
.world-map-image {
  width: 100%;
}

/* сама карта */
.world-map-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* ===== адаптив ===== */

@media (max-width: 1024px) {
  .world-map-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
 

  .world-map-title {
    font-size: 26px;
  }

  .world-map-text {
    font-size: 16px;
  }
}

.request-section {
  padding: 30px 20px 60px 20px;
       background: linear-gradient(180deg, #f3f3f3 0%, #ffffff 100%
100%
);
    
}

.request-container {
  max-width: 1200px;
  margin: 0 auto;
}

.request-head {
  max-width: 680px;
  margin-bottom: 30px;
}

.request-title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1f2937;
}

.request-text {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

.request-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #dce3ee;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-field-full {
  grid-column: 1 / -1;
}

.request-actions {
  margin-top: 30px;
}

.btn-primary1 {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.1s;
}

.btn-primary1:hover {
  background: #1d4ed8;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary1:active {
  transform: translateY(1px);
}

/* Адаптив */

@media (max-width: 1024px) {
  .request-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .request-grid {
    grid-template-columns: 1fr;
  }

  .request-form {
    padding: 30px 20px;
  }

  .request-title {
    font-size: 28px;
  }
}

.contacts-section {
  padding: 30px 0 120px 0px;
  background-size: cover !important;
  background: url('/wp-content/uploads/resized-chatgpt-image-10-fevr.-2026-g.-13_09_18-1.jpg');
}

.contacts-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.contacts-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 32px;
}

/* Адрес — широкий */
.contacts-address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 70%;
  margin-bottom: 48px;
}

.contacts-address-icon img {
  width: 24px;
  height: 24px;
}

.contacts-address-text {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

/* Нижний блок — две колонки */
.contacts-content {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 40px;
}

/* Левая колонка */
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon img {
  width: 22px;
  height: 22px;
}

.contact-text {
  font-size: 16px;
  font-weight: 600;
}

/* Правая колонка — карта */
.contacts-map {
  width: 100%;
}

.contacts-map img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Адаптив */
@media (max-width: 900px) {
  .contacts-address {
    max-width: 100%;
  }

  .contacts-content {
    grid-template-columns: 1fr;
  }
}


/* ===== СЕКЦИЯ ===== */
.rg-contacts-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
}

.rg-contacts-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wp-content/uploads/92c8300b-9afb-45ea-8cc7-39842e09ba04.png") center / cover no-repeat;
  opacity: 0.35;
  z-index: 0;
}

/* ===== КОНТЕЙНЕР ===== */
.rg-contacts-container {
  position: relative;
  max-width: 1240px;
  padding: 0 24px;
  margin: 0 auto;
  z-index: 1;
}


div#herovnut h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #1f2937;
    margin-bottom: 16px;
}

@media (max-width: 460px) {
div#herovnut h3 {
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}
}

/* ===== ЗАГОЛОВОК ===== */
.rg-contacts-title {
  font-size: 34px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 32px;
}

@media (max-width: 460px) {
.rg-contacts-title {
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}
}

/* ===== ШИРОКИЙ АДРЕС ===== */
.rg-contacts-address-wide {
  max-width: 75%;
  margin-bottom: 48px;
}

/* ===== СТРОКА КОНТАКТА ===== */
.rg-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.rg-contact-icon img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.rg-contact-text {
  font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
}

/* ===== СЕТКА НИЖЕ ===== */
.rg-contacts-grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 40px;
}

/* ===== ЛЕВАЯ ЧАСТЬ ===== */
.rg-contacts-left {
  display: flex;
  flex-direction: column;
}

span.rg-contact-icon {
    align-items: center;
    margin-top: 3.5px;
}

/* ===== ПРАВАЯ ЧАСТЬ (КАРТА) ===== */
.rg-contacts-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
}

.rg-contacts-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .rg-contacts-address-wide {
    max-width: 100%;
  }

  .rg-contacts-grid {
    grid-template-columns: 1fr;
  }

  .rg-contacts-map {
    height: 260px;
  }
}

.breadcrumb {
    font-size: 14px;
    margin: 30px 0px 0px 0px;
}

.breadcrumb a{
    color: #1f6fdc;
}

/* =========================
   ABOUT HERO SECTION
========================= */

.rg-about-hero {
  position: relative;
  width: 100%;

  /* сюда подставляешь нужный background */
  background-image: url('/wp-content/uploads/61c89156-a818-4316-88fd-ed6da15782d4-2-scaled.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* лёгкий фирменный оверлей как на макапе */
.rg-about-hero__overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(245, 248, 252, 0.85), rgba(245, 248, 252, 0.35));
  
}

.rg-about-hero__container {
  max-width: 1240px;
    margin: 0 auto;
    padding: 80px 24px 90px;
}

/* =========================
   TEXT STYLES
========================= */

.rg-about-hero__title {
  font-size: 36px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 24px;
}

.rg-about-hero__text {
  max-width: 760px;
    font-size: 20px;
    line-height: 1.6;
    color: #1f2937;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 992px) {
  .rg-about-hero__container {
    padding: 90px 20px 70px;
  }

  .rg-about-hero__title {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .rg-about-hero__container {
    padding: 70px 16px 60px;
  }

  .rg-about-hero__title {
    font-size: 26px;
  }

  .rg-about-hero__text {
    font-size: 15px;
  }
}

/* ===============================
   GOVERNMENT PARTNERS SECTION
=============================== */

.rg-gov-section {
  width: 100%;
  padding: 80px 20px;
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url(/wp-content/uploads/2350.jpg);
}

.rg-gov-container {
  max-width: 1200px;
  margin: 0 auto;
}

.rg-gov-text-top,
.rg-gov-text-bottom {
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    margin: 0px auto;
    color: #334155;
    max-width: 80%;
}

.rg-gov-text-top {
  margin-bottom: 40px;
}

.rg-gov-text-bottom {
  margin-top: 40px;
}

/* GRID */

.rg-gov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* CARD */

.rg-gov-card {
  display: flex;
  align-items: center;
  gap: 14px;

  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  padding: 18px 20px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
}

.rg-gov-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.rg-gov-card span {
  font-size: 14px;
  line-height: 1.4;
  color: #1f2937;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 1100px) {
  .rg-gov-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .rg-gov-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .rg-gov-grid {
    grid-template-columns: 1fr;
  }

  .rg-gov-text-top,
  .rg-gov-text-bottom {
   width: 100%;
        max-width: 100%
  }
}

/* ===============================
   ADVANTAGES SECTION
=============================== */

.rg-advantage-section {
  width: 100%;
  padding: 60px 20px;
  background: linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)), url("/wp-content/uploads/chatgpt-image-10-fevr.-2026-g.-14_37_52.png") center / cover no-repeat;
  background-size: cover;
  background-position: center;
}

.rg-advantage-container {
  max-width: 1200px;
  margin: 0 auto;
}

.rg-advantage-title {
  text-align: center;
  font-size: 36px;
  color: #1f2937;
  margin: 0px 0px 20px 0px;
}

.rg-advantage-description {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}

/* GRID */

.rg-advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* CARD */

.rg-advantage-card {
  display: flex;
  gap: 20px;

  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 28px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}

.rg-advantage-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.rg-advantage-content h3 {
  font-size: 18px;
  margin: 0px 0px 8px 0px;
  color: #1e293b;
}

.rg-advantage-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .rg-advantage-grid {
    grid-template-columns: 1fr;
  }

  .rg-advantage-title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .rg-advantage-card {
    flex-direction: column;
  }
}









/* =========================
   ОБЩЕЕ: контейнер как на сайте
========================= */
.rgw-wrap{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   ОБЩЕЕ: фоновая картинка на 100% ширины + "забеление"
   (opacity только фону, контент НЕ трогаем)
========================= */
.rgw-mapsec,
.rgw-clientssec{
  position: relative;
  padding: 70px 0px;
  
  
  overflow: hidden;
}

section.rgw-clientssec{
   background: linear-gradient(rgb(201 222 243), rgb(248 251 255));
   padding: 0px 0px 70px 0px!important;
}

.rgw-mapsec::before,
.rgw-clientssec::before{
  content:"";
  position:absolute;
  inset:0;
  background: var(--rgw-bg) center/cover no-repeat;
  opacity: .20;              /* вот тут "прозрачность" фона */
  pointer-events:none;
}

.rgw-mapsec::after,
.rgw-clientssec::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.92));
  pointer-events:none;
}

.rgw-mapsec > .rgw-wrap,
.rgw-clientssec > .rgw-wrap{
  position: relative;
  z-index: 1;
}

/* =========================
   ЭКРАН 1: карта
========================= */
.rgw-maphead{
  text-align: left;
  max-width: 720px;
}

.rgw-maptitle{
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 36px;
  font-weight: 600;
  color:#1e2b3a;
  letter-spacing: -0.02em;
}

.rgw-maptext{
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(30,43,58,.78);
}

.rgw-mapimgbox{
  margin-top: 20px;
}

.rgw-mapimg{
  display:block;
  width: 100%;
  height: auto;
}

section.rgw-mapsec{
  background: url('/wp-content/uploads/2350.jpg');
  background-size: cover;
}

/* =========================
   ЭКРАН 2: вкладки клиентов
========================= */
.rgw-clhead{
  text-align: left;
  max-width: 720px;
  margin-bottom: 22px;
}

.rgw-cltitle{
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.14;
  font-weight: 600;
  color:#1e2b3a;
  letter-spacing: -0.02em;
}

.rgw-cltext{
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(30,43,58,.78);
}

/* вкладки */
.rgw-tabs{
  margin-top: 18px;
}

.rgw-tabin{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rgw-tabbar{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.rgw-tab{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(220, 230, 245, .8);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  color: rgba(30,43,58,.78);
  font-size: 14px;
  line-height: 1;
  background: transparent;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.rgw-flag{
  width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.rgw-tabname{
  white-space: nowrap;
}

/* активная вкладка (как на мокапе – синяя плашка) */
#rgw-tab-ru:checked ~ .rgw-tabbar label[for="rgw-tab-ru"],
#rgw-tab-eu:checked ~ .rgw-tabbar label[for="rgw-tab-eu"],
#rgw-tab-us:checked ~ .rgw-tabbar label[for="rgw-tab-us"],
#rgw-tab-kr:checked ~ .rgw-tabbar label[for="rgw-tab-kr"],
#rgw-tab-oth:checked ~ .rgw-tabbar label[for="rgw-tab-oth"]{
  background: #2f6fd6;
  color: #fff;
  
}

/* панели */
.rgw-panels{
  margin-top: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* скрываем все панели по умолчанию */
.rgw-panel{ display: none; }

/* показываем выбранную */
#rgw-tab-ru:checked ~ .rgw-panels .rgw-panel-ru{ display:block; }
#rgw-tab-eu:checked ~ .rgw-panels .rgw-panel-eu{ display:block; }
#rgw-tab-us:checked ~ .rgw-panels .rgw-panel-us{ display:block; }
#rgw-tab-kr:checked ~ .rgw-panels .rgw-panel-kr{ display:block; }
#rgw-tab-oth:checked ~ .rgw-panels .rgw-panel-oth{ display:block; }

/* сетка клиентов (под стиль плиток) */
.rgw-clientgrid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rgw-clientcard{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(220,230,245,.8);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  min-height: 56px;
  display: flex;
  align-items: center;
}

.rgw-clientname{
  font-size: 13px;
  line-height: 1.35;
  color: rgba(30,43,58,.85);
}

/* =========================
   АДАПТИВ
========================= */
@media (max-width: 1100px){
  .rgw-maptitle{ font-size: 36px; }
  .rgw-cltitle{ font-size: 34px; }
  .rgw-clientgrid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px){
  .rgw-mapsec,
  .rgw-clientssec{ padding: 56px 0; }

  .rgw-maptitle{ font-size: 32px; }
  .rgw-cltitle{ font-size: 30px; }

  .rgw-clientgrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px){
  .rgw-maptitle{ font-size: 28px; }
  .rgw-cltitle{ font-size: 26px; }
  .rgw-tabbar{ gap: 8px; }
  .rgw-tab{ padding: 10px 12px; }
  .rgw-clientgrid{ grid-template-columns: 1fr; }
}

/* ===============================
   BASE
================================ */
.rgp-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ===============================
   HERO
================================ */
/* ===============================
   ARTICLE HERO (STATIC BACKGROUND)
================================ */

.rgp-article-hero {
  position: relative;
  padding: 70px 0;
  overflow: hidden;

  /* ← ТУТ СТАВИШЬ ЛЮБУЮ КАРТИНКУ */
  background-image: url('/wp-content/uploads/61c89156-a818-4316-88fd-ed6da15782d4-2-scaled.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* фирменное "забеление", как на сайте */
.rgp-article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
 
}

.rgp-article-hero > .rgp-wrap {
  position: relative;
  z-index: 1;
}

.rgp-article-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.rgp-article-title {
    font-size: 34px;
    line-height: 1.15;
    margin: 80px 0px 12px 0;
    color: #1e2b3a;
}

.rgp-breadcrumbs {
  font-size: 13px;
  color: #7a8ca3;
}

.rgp-article-meta {
  font-size: 14px;
  color: #7a8ca3;
}

.rgp-article-thumb img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
/* ===============================
   MAIN GRID
================================ */
.rgp-article-main {
  padding: 0px 0 50px 0px;
  background-image: url(/wp-content/uploads/chatgpt-image-22-fevr.-2026-g.-19_58_59.png);
    background-repeat: no-repeat;
    background-position: left 200px;
    background-size: 100% 190px;
}

.rgp-article-grid {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 40px;
}

.rgp-article-content {
  font-size: 16px;
  line-height: 1.65;
  color: #2b3a4a;
}

.rgp-article-content a{
  color: #2f6fd6;
}

/* ===============================
   SIDEBAR
================================ */
.rgp-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rgp-sidebar-box {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.rgp-sidebar-title {
  margin-bottom: 14px;
  font-size: 18px;
}

.rgp-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rgp-related-list li {
  margin-bottom: 10px;
}

.rgp-related-list a {
  color: #2f6fd6;
  text-decoration: none;
}

.rgp-contacts {
  margin-bottom: 16px;
}

.rgp-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.rgp-btn {
  display: inline-block;
  padding: 12px 18px;
  background: #2f6fd6;
  color: #fff!important;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
      margin: 5px 0px 0px 0px;
}

/* ===============================
   FOOTER BLOCK
================================ */
.rgp-article-footer {
  height: 220px;
  position: relative;
}

.rgp-article-footer::before {
  content: "";
  position: absolute;
  inset: 0;
 background-image: url(/wp-content/uploads/chatgpt-image-9-fevr.-2026-g.-21_18_15.png);
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: cover;
  opacity: .25;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .rgp-article-head {
    grid-template-columns: 1fr;
  }
  .rgp-article-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   SINGLE BOTTOM BG — MAKET STYLE
================================ */

.rgp-single-bottom-bg {
  position: relative;
  height: 260px;
  overflow: hidden;
  background-color: #ffffff;
  background-image: url(/wp-content/uploads/chatgpt-image-22-fevr.-2026-g.-18_30_30.png);
  background-position: left bottom;
    background-size: 100% 100%;
}

/* контейнер — просто чтобы держать высоту и сетку */
.rgp-single-bottom-bg .rgp-wrap {
  position: relative;
  z-index: 1;
  height: 100%;
}

/* КАРТИНКА СПРАВА */
.rgp-single-bottom-bg__image {
  position: absolute;
    bottom: 0;
    right: 0px;
    width: 640px;
    height: 100%;
    background-image: url(/wp-content/uploads/chatgpt-image-22-fevr.-2026-g.-18_21_16.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    pointer-events: none;
}

/* ===== ADAPTIVE ===== */

@media (max-width: 1240px) {
  .rgp-single-bottom-bg__image {
    right: -220px;
  }
}

@media (max-width: 900px) {
  .rgp-single-bottom-bg {
    height: 220px;
  }
@media (max-width: 640px) {
  .rgp-single-bottom-bg__image {
    width: 90%;
    right: -10px;
  }
}
}

a:focus,
a:active,
button:focus,
button:active {
  outline: none;
  box-shadow: none;
}

.rgp-article-content p{
    margin: 0px 0px 15px 0px;
}

.rgp-article-grid h2, .rgp-article-grid h3 {
    margin: 0px 0px 15px 0px;
    line-height: 29px;
}

/* ===============================
   HERO — 1 В 1 КАК НА МАКЕТЕ
================================ */

.rgp-article-hero{
  position: relative;
  padding: 120px 0 200px;
  overflow: visible;
}

/* НЕБО */
.rgp-article-hero::before{
  content:"";
  position:absolute;
  inset:0;
 background: rgba(255, 255, 255, 0.5); /* плотность пелены */
  z-index: 0;
}



/* КОНТЕНТ */
.rgp-wrap{
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.rgp-article-title{
      font-size: 36px;
    max-width: 560px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1e2b3a;
    max-width: 560px;
}

.rgp-breadcrumbs{
  font-size: 14px;
  color: #1f2937;
  margin-bottom: 24px;
}

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

.rgp-hero-date{
  font-size: 14px;
  color: rgba(30,43,58,.55);
}

/* ===== МИНИАТЮРА (ГЛАВНОЕ) ===== */

.rgp-hero-thumb{
 position: relative;
    width: 400px;
    display: block;
    background: #fff;
    margin: -200px 0px 15px 0px;
    border-radius: 16px;
    border: 3px solid rgb(142 185 213 / 50%);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
    z-index: 3;
}

.rgp-hero-thumb img{
  display:block;
  width:100%;
  height:auto;
  border-radius:12px;
}

/* АДАПТИВ */
@media (max-width: 500px) {
.rgp-hero-thumb {
    max-width: 100%;
}
}

/* ===============================
   ARTICLES PAGE (как на макете)
   только .rgp-articles-*, без глобальных стилей
================================ */

/* контейнер */
.rgp-articles-wrap{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.rgp-articles-hero{
  position: relative;
  background-image: url(/wp-content/uploads/61c89156-a818-4316-88fd-ed6da15782d4-2-scaled.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.rgp-articles-hero__overlay{
  background: rgba(255,255,255,0.5); /* белая пелена как на макете */
  padding: 80px 0 55px;
}

.rgp-articles-bc{
  font-size: 13px;
  color: rgba(30,43,58,.60);
  margin-bottom: 14px;
}
.rgp-articles-bc a{
  color: #2f6fd6;
  text-decoration: none;
}
.rgp-articles-bc a:hover{ text-decoration: underline; }

.rgp-articles-hero__title{
  margin: 0 0 12px 0;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  color: #1e2b3a;
}

.rgp-articles-hero__subtitle{
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(30,43,58,.72);
}

/* LIST */
.rgp-articles-list{
  background: linear-gradient(180deg, #f3f3f3 0%, #ffffff 100%);
    padding: 36px 0;
}

.rgp-articles-items{
  display: flex;
  flex-direction: column;
  gap: 18px;
}




/* PAGINATION */
.rgp-articles-pager{
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.rgp-articles-pager__item{
  display: inline-flex;
}

.rgp-articles-pager a,
.rgp-articles-pager span{
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  border: 1px solid rgba(220,230,245,0.95);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);

  font-size: 14px;
  color: rgba(30,43,58,.78);
  text-decoration: none;
}

.rgp-articles-pager span.current{
  background: #2f6fd6;
  border-color: #2f6fd6;
  color: #ffffff;
}

.rgp-articles-empty{
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(220,230,245,0.95);
  color: rgba(30,43,58,.70);
}

/* ADAPTIVE */
@media (max-width: 980px){
  .rgp-articles-hero__title{ font-size: 36px; }
 
}

@media (max-width: 760px){
  .rgp-articles-wrap{ padding: 0 16px; }

  }
 
  .rgp-articles-card__excerpt{
    white-space: normal; /* на мобиле лучше читабельно */
    overflow: visible;
    text-overflow: clip;
  }
}

/* ===== ARTICLES LIST ===== */

.rgp-articles-list {
  padding: 40px 0 80px;
}

.rgp-articles-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.rgp-articles-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== CARD ===== */

.rgp-articles-card {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 40, 80, 0.08);
  overflow: hidden;
}

/* ===== THUMB ===== */

.rgp-articles-card__thumb {
  flex: 0 0 360px;
    height: 220px;
  display: block;
  background: #f1f4f9;
}

.rgp-articles-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rgp-articles-card__thumb-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e9eef5, #f6f8fc);
}

/* ===== BODY ===== */

.rgp-articles-card__body {
  flex: 1 1 auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* ===== TITLE ===== */

.rgp-articles-card__title {
  font-size: 26px;
  line-height: 29px;
  font-weight: 600;
  color: #1c2a3a;
  text-decoration: none;
  margin-bottom: 20px;
  display: block;
}

.rgp-articles-card__title:hover {
  color: #2b6de9;
}

/* ===== EXCERPT ===== */

.rgp-articles-card__excerpt {
  line-height: 1.6;
  color: #6b7a90;
  margin-bottom: 14px;
  max-width: 680px;
}

/* ===== MORE ===== */

.rgp-articles-card__more {
  margin-top: auto;
  font-weight: 500;
  color: #2b6de9;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rgp-articles-card__more:hover {
  text-decoration: underline;
}

.rgp-articles-card__arr {
  font-size: 16px;
  line-height: 1;
}

/* ===== EMPTY ===== */

.rgp-articles-empty {
  padding: 40px;
  text-align: center;
  color: #7a889e;
  background: #f6f8fc;
  border-radius: 12px;
}

/* ===== ADAPTIVE ===== */

@media (max-width: 900px) {
  .rgp-articles-card {
    flex-direction: column;
  }

  .rgp-articles-card__thumb {
    width: 100%;
    height: 220px;
    flex: none;
  }

  .rgp-articles-card__body {
    padding: 20px;
  }
}

.rgp-reviews {
  padding: 80px 0;
  background: #f6f8fc;
  background-image: url(/wp-content/uploads/chatgpt-image-22-fevr.-2026-g.-19_58_59.png);
    background-position: left 20px;
    background-size: 100% 190px;
    background-repeat: no-repeat;
}

.rgp-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.rgp-reviews__title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 32px;
  color: #1c2a3a;
}

.rgp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rgp-review-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: 0 10px 30px rgba(20, 40, 80, 0.08);
}

.rgp-review-name {
  font-weight: 600;
  font-size: 16px;
  color: #1c2a3a;
}

.rgp-review-role {
  font-size: 13px;
  color: #6b7a90;
  margin-top: 2px;
}

.rgp-review-date {
  font-size: 12px;
  color: #9aa7bb;
  margin: 12px 0;
}

.rgp-review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #3a4a5f;
}

@media (max-width: 900px) {
  .rgp-reviews-grid {
    grid-template-columns: 1fr;
  }
}


.rgp-letters {
  padding: 50px 0px;
  background: #f6f8fc;
  background-image: url(/wp-content/uploads/11chatgpt-image-22-fevr.-2026-g.-19_58_59.png);
    background-position: left 20px;
    background-size: 100% 190px;
    background-repeat: no-repeat;
}

.rg-contacts-grid a {
    text-decoration: none;
    color: #1f2937;
}

.rgp-sidebar-box a {
    text-decoration: none;
    color: #2f6fd6;
}

.rgp-letters__title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 32px;
  color: #1c2a3a;
}


.rgp-letters-slider {
  position: relative;
  overflow: hidden;
}

.rgp-letters-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  
}




.rgp-letter {
  width: 280px;
  flex-shrink: 0;
  cursor: pointer;
}

.rgp-letters-nav {
  position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    color: #fff;
    border-radius: 50%;
    background: #3b99d7;
    z-index: 100;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.rgp-letters-nav.prev { left: 10px; }
.rgp-letters-nav.next { right: 10px; }

/* Lightbox */
.rgp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.rgp-lightbox img {
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  border-radius: 6px;
}


/* ===== ADVANTAGES BLOCK ===== */

.rgp-adv {
  padding: 40px 0 70px 0px;
  background: linear-gradient(rgb(201 222 243), rgb(251 252 255));
  background-size: cover;
}

.rgp-adv__wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* Заголовок */
.rgp-adv__title {
  font-size: 32px;
  font-weight: 600;
  color: #1c2a3a;
  margin-bottom: 12px;
}

/* Описание под заголовком */
.rgp-adv__desc {
  line-height: 20px;
    font-size: 18px;
    max-width: 720px;
    margin: 15px auto 40px;
}

/* Сетка */
.rgp-adv__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Плашка */
.rgp-adv__item {
  background: #ffffff; /* фон плашки — можно менять */
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Иконка */
.rgp-adv__icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 14px;
}

/* Текст */
.rgp-adv__text {
  line-height: 20px;
  color: #3a4a5f;
  max-width: 220px;
}

/* ===== ADAPTIVE ===== */

@media (max-width: 1024px) {
  .rgp-adv__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .rgp-adv__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== EXTRA SERVICES BLOCK ===== */

.rgp-extra {
  padding: 80px 0;
  background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.85)), url(/wp-content/uploads/chatgpt-image-10-fevr.-2026-g.-14_37_52.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


.rgp-extra__wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* Заголовок */
.rgp-extra__title {
  font-size: 28px;
  font-weight: 600;
  color: #1c2a3a;
  margin-bottom: 12px;
}

/* Абзац под заголовком */
.rgp-extra__desc {
  color: #6b7a90;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Сетка */
.rgp-extra__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Плашка */
.rgp-extra__item {
  background: #ffffff; /* фон плашек — можно менять */
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

/* Иконка */
.rgp-extra__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Текст */
.rgp-extra__text {
  font-size: 14px;
  line-height: 1.6;
  color: #3a4a5f;
}

/* ===== ADAPTIVE ===== */

@media (max-width: 900px) {
  .rgp-extra__grid {
    grid-template-columns: 1fr;
  }
}


/* ===== PROCESS BLOCK ===== */

.rgp-process {
  padding: 0px 0px 80px 0;
  background: url(/wp-content/uploads/92c8300b-9afb-45ea-8cc7-39842e09ba04.png) center / cover no-repeat;
}

.rgp-process__wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Верхняя часть */
.rgp-process__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.rgp-process__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.rgp-process__title {
  font-size: 32px;
    font-weight: 600;
    margin: 60px 0px 0px 0px;
    padding: 0px;
    color: #1c2a3a;
}

/* Белая плашка */
.rgp-process__card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 12px 32px rgba(20, 40, 80, 0.08);
}

/* Подзаголовок */
.rgp-process__subtitle {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1c2a3a;
}

/* Список */
.rgp-process__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.rgp-process__list li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #3a4a5f;
}

/* Номер */
.rgp-process__list li::before {
  content: counter(step);
  min-width: 32px;
  height: 32px;
  background: #2b6de9;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== ADAPTIVE ===== */

@media (max-width: 900px) {
  .rgp-process__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .rgp-process__card {
    padding: 24px;
  }
}

/* ===== СЕКЦИЯ ===== */
.rgp-terms-section {
  padding: 0px 20px 40px 20px;
    background: url(/wp-content/uploads/chatgpt-image-22-fevr.-2026-g.-18_30_30.png);
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 100%;
}

.rgp-terms-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

/* ===== ЗАГОЛОВОК ===== */
.rgp-terms-title {
  text-align: center;
    font-size: 34px;
    font-weight: 500;
    color: #2b2f36;
    margin-bottom: 0px;
}

/* ===== КАРТОЧКА ===== */
.rgp-terms-card {
    padding: 30px 10% 30px 10%;
}

/* ===== ТАБЛИЦА ===== */
.rgp-terms-table {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.rgp-terms-row {
  display: grid;
  grid-template-columns: 90px 1fr 140px;
  background-color: #fff;
  align-items: center;
}

.rgp-terms-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== ШАПКА ===== */
.rgp-terms-head {
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  font-weight: 500;
  color: #6b7a90;
}

.rgp-terms-head .rgp-terms-col {
  padding: 16px 20px;
}

/* ===== ЯЧЕЙКИ ===== */
.rgp-terms-col {
  padding: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #2b2f36;
}

.rgp-terms-col--stage {
  text-align: center;
  font-weight: 600;
  color: #2f6fd6;
}

.rgp-terms-col--time {
  white-space: nowrap;
  color: #5f6f86;
}

/* ===== ПРИМЕЧАНИЕ ===== */
.rgp-terms-note {
  margin-top: 24px;
  color: #5f6f86;
  text-align: center;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .rgp-terms-row {
    grid-template-columns: 60px 1fr;
    row-gap: 8px;
  }

  .rgp-terms-col--time {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
  }

  .rgp-terms-head {
    display: none;
  }

.rgp-terms-card {
    padding: 30px 0% 30px 0%;
}
}

/* ===== СЕКЦИЯ ===== */
.rgp-directions-section {
  padding: 50px 20px;
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 70%);
}

.rgp-directions-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

/* ===== ШАПКА ===== */
.rgp-directions-head {
  text-align: center;
  max-width: 760px;
      margin: 0px auto 20px auto;
}

.rgp-directions-title {
  font-size: 34px;
  font-weight: 500;
  color: #2b2f36;
  margin-bottom: 10px;
}

.rgp-directions-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #5f6f86;
    margin: 20px auto 0px auto;
    text-align: center;
}

/* ===== СЕТКА ===== */
.rgp-directions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ===== КАРТОЧКА ===== */
.rgp-directions-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(45, 75, 130, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ===== ИЗОБРАЖЕНИЕ ===== */
.rgp-directions-image {
  height: 190px;
  overflow: hidden;
}

.rgp-directions-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== ТЕКСТ ===== */
.rgp-directions-body {
  padding: 22px 26px 26px;
  text-align: center;
}

.rgp-directions-card-title {
  font-size: 20px;
  font-weight: 500;
  color: #2f6fd6;
  margin-bottom: 10px;
}

.rgp-directions-card-text {
  font-size: 15px;
  line-height: 1.55;
  color: #5f6f86;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .rgp-directions-grid {
    grid-template-columns: 1fr;
  }

  .rgp-directions-title {
    font-size: 30px;
  }
}

/* ===== СЕКЦИЯ ===== */
.rgp-tests-section {
  padding: 90px 20px;
  background: url(/wp-content/uploads/92c8300b-9afb-45ea-8cc7-39842e09ba04.png) center / cover no-repeat;
}

.rgp-tests-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

/* ===== СТЕКЛЯННАЯ ПЛАШКА ===== */
.rgp-tests-card {
  background: rgba(255,255,255,0.85);
  border-radius: 20px;
  padding: 40px 50px;
  box-shadow: 0 20px 45px rgba(45,75,130,0.12);
  backdrop-filter: blur(6px);
}

/* ===== ЗАГОЛОВОК ===== */
.rgp-tests-title {
  font-size: 32px;
  font-weight: 500;
  color: #2b2f36;
  margin-bottom: 12px;
}

/* ===== ПОДЗАГОЛОВОК ===== */
.rgp-tests-subtitle {
  font-size: 16px;
  color: #5f6f86;
  margin-bottom: 22px;
}

/* ===== СПИСОК ===== */
.rgp-tests-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.rgp-tests-list li {
  display: flex;
  align-items: flex-start; /* ключевая строка */
  gap: 14px;

  font-size: 15px;
  line-height: 1.6;
  color: #2b2f36;
  margin-bottom: 16px;
}

/* голубой маркер как на макете */
.rgp-tests-list li::before {
  content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: #4f86ff;
    background-image: url(/wp-content/uploads/icons8-done-20.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px 14px;

}

/* ===== НИЖНИЙ ТЕКСТ ===== */
.rgp-tests-note {
  margin-top: 10px;
  padding: 18px 22px;
  background: rgba(240,245,255,0.7);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a5b73;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .rgp-tests-card {
    padding: 30px 24px;
  }

  .rgp-tests-title {
    font-size: 28px;
  }
}

/* ===== СЕКЦИЯ ===== */
.rgp-timeline-section{
  padding: 90px 20px;
  background: linear-gradient(180deg, #eaf2ff 0%, #ffffff 70%);
}
.rgp-timeline-wrap{max-width:1240px;margin:0 auto}

/* ===== ЗАГОЛОВКИ ===== */
.rgp-timeline-title{
  font-size:36px;font-weight:500;color:#2b2f36;margin:0 0 12px
}
.rgp-timeline-subtitle{
  font-size:16px;color:#5f6f86;margin:0 0 36px
}

/* ===== ПЛАШКА ===== */
.rgp-timeline-card{
  position:relative;
  background:rgba(255,255,255,.85);
  border-radius:20px;
  padding: 28px 34px;
  box-shadow:0 20px 45px rgba(45,75,130,.12);
  backdrop-filter: blur(6px);
}

/* ===== ЭЛЕМЕНТЫ ===== */
.rgp-timeline-item{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap: 18px;
  padding: 18px 0;
}

/* разделители как на макете */
.rgp-timeline-item + .rgp-timeline-item{
  border-top: 1px solid rgba(195,210,235,.65);
}

/* ===== КРУГ С НОМЕРОМ ===== */
.rgp-timeline-num{
  width:44px;height:44px;border-radius:50%;
  background: linear-gradient(180deg, #4f86ff 0%, #2f6fd6 100%);
  color:#fff;
 
  font-size:14px;font-weight:600;
  display:flex;align-items:center;justify-content:center;
  flex:0 0 44px;
  margin-top: 2px;
}

/* ===== КОЛОНКА С ЛИНИЕЙ (СПРАВА ОТ КРУГА) ===== */
.rgp-timeline-rail{
  position:relative;
  width: 22px;
  flex:0 0 22px;
  display:flex;
  justify-content:center;
}

/* вертикальная линия за точками */
.rgp-timeline-card .rgp-timeline-rail:before{
  content:"";
  position:absolute;
  top: -28px;
  bottom: -28px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #cfe0ff 0%, #eaf2ff 100%);
}

/* точка на линии напротив каждого пункта */
.rgp-timeline-dot{
  width:8px;height:8px;border-radius:50%;
  background:#2f6fd6;
   z-index: 10;
  box-shadow:0 6px 14px rgba(47,111,214,.28);
  margin-top: 16px; /* центр по первой строке текста */
}

/* на первом/последнем — обрезаем линию (как на макете внутри плашки) */
.rgp-timeline-item:first-child .rgp-timeline-rail:before{ top: 16px; }
.rgp-timeline-item:last-child  .rgp-timeline-rail:before{ bottom: 16px; }

/* ===== ТЕКСТ ===== */
.rgp-timeline-text{
  font-size:15px;
  line-height:1.65;
  color:#2b2f36;
  padding-top: 8px;
  max-width: 980px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px){
  .rgp-timeline-card{padding:22px 18px}
  .rgp-timeline-num{width:38px;height:38px;flex-basis:38px;font-size:13px}
  .rgp-timeline-rail{width:18px;flex-basis:18px}
  .rgp-timeline-dot{margin-top: 14px}
  .rgp-timeline-text{font-size:14px}
}

/* ===== СЕКЦИЯ ===== */
.rgp-benefits-section {
  position: relative;
  padding: 70px 20px;
  background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.85)), url(/wp-content/uploads/chatgpt-image-10-fevr.-2026-g.-14_37_52.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.rgp-benefits-wrap {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

/* ===== ЗАГОЛОВОК ===== */
.rgp-benefits-title {
  text-align: center;
  font-size: 34px;
  font-weight: 500;
  color: #2b2f36;
  margin: 0px auto 50px auto;
}

/* ===== СЕТКА ===== */
.rgp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ===== КАРТОЧКА ===== */
.rgp-benefits-card {
  background: rgba(255,255,255,0.85);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(45,75,130,0.12);
  transition: 0.3s ease;
}

.rgp-benefits-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(45,75,130,0.18);
}

/* ===== ИКОНКА ===== */
.rgp-benefits-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 25px;
}

/* ===== ТЕКСТ ===== */
.rgp-benefits-text {
  font-size: 16px;
  line-height: 1.6;
  color: #2b2f36;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
  .rgp-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rgp-benefits-grid {
    grid-template-columns: 1fr;
  }

  .rgp-benefits-title {
    font-size: 28px;
  }
}

#let1{
    padding: 50px 0px;
    background: #fff;
    background-image: url(/wp-content/uploads/11chatgpt-image-22-fevr.-2026-g.-19_58_59.png);
    background-position: left 0px;
    background-size: 100% 190px;
    background-repeat: no-repeat;
}

#let1 .rgp-benefits-title {
    margin: 0px auto 20px auto;
}

#let1 .rgp-directions-desc {
    margin: 0px auto 20px auto;

}

/* ===== СЕКЦИЯ ===== */
.rgp-faq-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #eaf1fb 0%, #ffffff 100%);
}

.rgp-faq-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

/* ===== ЗАГОЛОВОК ===== */
.rgp-faq-title {
  font-size: 34px;
  font-weight: 500;
  text-align: center;
  color: #2b2f36;
  margin: 0px 0px 30px 0px;
}

/* ===== СПИСОК ===== */
.rgp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== ЭЛЕМЕНТ ===== */
.rgp-faq-item {
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(45,75,130,0.12);
  overflow: hidden;
}

/* ===== ВОПРОС ===== */
.rgp-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

/* иконка */
.rgp-faq-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* текст */
.rgp-faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 500;
  color: #2b2f36;
}

/* плюс / минус */
.rgp-faq-toggle {
  width: 22px;
  height: 22px;
  position: relative;
}

.rgp-faq-toggle::before,
.rgp-faq-toggle::after {
  content: "";
  position: absolute;
  background: #1f6fdc;
  border-radius: 2px;
  transition: 0.25s ease;
}

.rgp-faq-toggle::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.rgp-faq-toggle::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ===== ОТВЕТ ===== */
.rgp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.rgp-faq-answer p {
  padding: 0 24px 24px 70px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a5568;
}

/* ===== ОТКРЫТО ===== */
.rgp-faq-item.is-open .rgp-faq-answer {
  max-height: 300px;
}

.rgp-faq-item.is-open .rgp-faq-toggle::after {
  opacity: 0;
}

/* ===== СЕКЦИЯ ===== */
.rgp-cost-section {
  position: relative;
  padding: 0px 20px 20px 20px;
  background: url("your-background.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* Белая пелена поверх фона */
.rgp-cost-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(2px);
}

/* Контейнер */
.rgp-cost-container {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* Левая часть */
.rgp-cost-left {
  flex: 1;
  max-width: 560px;
}

.rgp-cost-title {
  font-size: 42px;
  font-weight: 500;
  color: #2b2f36;
  margin: 0px 0px 25px 0px;
}

.rgp-cost-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 25px;
}

.rgp-cost-text {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5568;
}

/* Правая часть */
.rgp-cost-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.rgp-cost-right img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
  .rgp-cost-container {
    flex-direction: column;
    text-align: center;
  }

  .rgp-cost-left {
    max-width: 100%;
  }

  .rgp-cost-title {
    font-size: 34px;
  }

  .rgp-cost-subtitle,
  .rgp-cost-text {
    font-size: 16px;
  }
}

h3.land {
    margin: 40px 0px 20px 0px;
    font-size: 26px;
}


/* ===== АВТОНОМНАЯ ДВУХКОЛОНОЧНАЯ ТАБЛИЦА ===== */

.rgp-doc-table-section {
  width: 100%;
  padding: 80px 20px;
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 75%);
  box-sizing: border-box;
}

.rgp-doc-table-section *,
.rgp-doc-table-section *::before,
.rgp-doc-table-section *::after {
  box-sizing: border-box;
}

.rgp-doc-table-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 30px auto 0px auto;
}

.rgp-doc-table-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(45, 75, 130, 0.10);
  backdrop-filter: blur(4px);
}

/* Шапка и строки */
.rgp-doc-table-head,
.rgp-doc-table-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.5fr);
  width: 100%;
}

.rgp-doc-table-head {
  background: linear-gradient(180deg, rgba(228, 236, 249, 0.95) 0%, rgba(244, 247, 253, 0.95) 100%);
}

.rgp-doc-table-row {
  background: rgba(255, 255, 255, 0.78);
}

.rgp-doc-table-row + .rgp-doc-table-row {
  border-top: 1px solid rgba(204, 216, 236, 0.75);
}

.rgp-doc-table-cell {
  padding: 22px 24px;
  font-size: 16px;
  line-height: 1.55;
  color: #4c5d75;
}

.rgp-doc-table-head .rgp-doc-table-cell {
  line-height: 1.35;
  font-weight: 500;
}

.rgp-doc-table-cell--left {
  border-right: 1px solid rgba(204, 216, 236, 0.75);
}

.rgp-doc-table-row .rgp-doc-table-cell--left {
  font-weight: 500;
  color: #2f6fd6;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 900px) {
  .rgp-doc-table-section {
    padding: 60px 16px;
  }

  .rgp-doc-table-head,
  .rgp-doc-table-row {
    grid-template-columns: 1fr;
  }

  .rgp-doc-table-cell--left {
    border-right: none;
  }

  .rgp-doc-table-head .rgp-doc-table-cell--left {
    border-bottom: 1px solid rgba(204, 216, 236, 0.75);
  }

  .rgp-doc-table-row .rgp-doc-table-cell--left {
    padding-bottom: 10px;
  }
}

/* ===== REQUEST MODAL ===== */

.rgp-request-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rgp-request-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rgp-request-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.rgp-request-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: block;
  padding: 20px;
  overflow-y: auto;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rgp-request-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rgp-request-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
  background: #ffffff;
  overflow: visible;
}

/* Кнопка закрытия */
.rgp-request-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #1f2937;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.rgp-request-modal__close:hover {
  background: #ffffff;
}

/* Чтобы твоя форма красиво встала в модалку */
.rgp-request-modal .request-container {
  max-width: none;
  margin: 0;
  padding: 50px 30px 30px;
  background: #fff;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.rgp-request-modal .request-head {
  max-width: 680px;
  margin-bottom: 30px;
}

.rgp-request-modal .request-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: none;
  border: 1px solid #dce3ee;
}

.rgp-request-modal .request-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rgp-request-modal .form-field input,
.rgp-request-modal .form-field textarea {
  width: 100%;
  border: 1px solid #dce3ee;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rgp-request-modal .form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.rgp-request-modal .form-field input:focus,
.rgp-request-modal .form-field textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.rgp-request-modal .form-field-full {
  grid-column: 1 / -1;
}

.rgp-request-modal .request-actions {
  margin-top: 30px;
}

.rgp-request-modal .btn-primary1 {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.1s;
}

.rgp-request-modal .btn-primary1:hover {
  background: #1d4ed8;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.rgp-request-modal .btn-primary1:active {
  transform: translateY(1px);
}



/* ===== ADAPTIVE ===== */

@media (max-width: 1024px) {
  .rgp-request-modal .request-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rgp-request-modal {
    padding: 12px;
  }

  .rgp-request-modal__dialog {
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .rgp-request-modal .request-container {
    padding: 44px 18px 18px;
    border-radius: 16px;
  }

  .rgp-request-modal .request-form {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .rgp-request-modal .request-grid {
    grid-template-columns: 1fr;
  }

  .rgp-request-modal__close {
    width: 38px;
    height: 38px;
    top: 10px;
    right: 10px;
    font-size: 24px;
  }
}