/* gepmc.com — единый файл стилей. Цвета и размеры — как в прежней теме «Genesis». */

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
p { margin: 7px 0; }
h2 { font-size: 28px; line-height: 1.3; margin: 20px 0 0; }
a { color: #044DB2; }
a:hover { color: #3575ce; text-decoration: none; }
.wrap { width: 90%; max-width: 1000px; margin: 0 auto; }
.mobile-only { display: none !important; }

/* ---------- шапка ---------- */
.topline { background: #f5f5f5; padding: 5px 0; font-size: 90%; text-align: right; }
.topline a { color: #000; text-decoration: none; opacity: .5; margin-left: 30px; }
.topline a:hover { opacity: 1; color: #513271; }
.ic-call, .ic-mail, .ic-instagram, .ic-facebook, .ic-youtube {
  background: no-repeat left center / 14px auto; padding-left: 20px;
}
.ic-call { background-image: url(/assets/img/icon-call.png); }
.ic-mail { background-image: url(/assets/img/icon-mail.png); }
.ic-instagram { background-image: url(/assets/img/instagram-icon.png); }
.ic-facebook { background-image: url(/assets/img/facebook-icon.png); }
.ic-youtube { background-image: url(/assets/img/youtube-icon.png); }

.header-main { display: flex; align-items: flex-start; justify-content: space-between; }
.logo img { display: block; width: 250px; margin: 25px 0 15px; }
.nav-toggle { display: none; }
.main-nav { margin-top: 35px; font-size: 95%; font-weight: 500; text-align: right; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { display: inline-block; position: relative; padding: 0 8px 10px; }
.main-nav a { display: inline-block; padding: 4px 12px; border-radius: 2px; color: #272c30; text-decoration: none; transition: color .3s; }
.main-nav a:hover { color: #513271; }
.main-nav > ul > li.current > a { background: #720B7E; color: #fff; }
.main-nav li ul {
  position: absolute; top: 40px; left: 0; z-index: 100; width: 200px; padding: 12px 0;
  text-align: left; font-size: 14px; font-weight: 400; background: #fff; border-radius: 3px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 20%); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.main-nav li:hover > ul, .main-nav li:focus-within > ul { opacity: 1; visibility: visible; }
.main-nav li ul a { display: block; padding: 7px 20px; color: #000; line-height: 1.6; }
.main-nav li ul a:hover { color: #513271; }

/* полоса под шапкой */
.band { height: 120px; background: #f0f0f0 center / cover no-repeat; }
.band-about { height: 220px; background-image: url(/assets/img/banners/about-splash.png); background-size: auto 220px; }
.band-vacancy { background-image: url(/assets/img/banners/vacancy-3.jpg); }
.band-green { background: #24A88D; color: #fff; padding-top: 50px; font-size: 150%; text-align: center; }
.band-green a { color: #fff; font-weight: 400; }
.band-map { height: 500px; }
.band-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- страницы ---------- */
.content { min-height: 500px; padding: 20px 0; }
.two-col { display: flex; padding: 50px 0; }
.one-col { max-width: 900px; padding: 30px 0 100px; line-height: 1.8; }
.side-nav { width: 25%; flex-shrink: 0; }
.side-nav ul { list-style: none; margin: 0; padding: 50px 0 0 10px; }
.side-nav li { margin: 5px 0 10px; padding: 6px 10px; }
.side-nav a { padding: 3px 0; color: #333; text-decoration: none; }
.side-nav a:hover { color: #000; border-bottom: 2px solid #000; }
.side-nav a[aria-current] { color: #044DB2; border-bottom: 2px solid #044DB2; }
.side-nav li ul { padding: 10px 0 0 10px; }
.side-nav li li { margin: 0; }
.two-col .text { width: 65%; min-width: 0; padding-top: 10px; line-height: 1.8; }
.text h1 { margin: 0 0 .67em; line-height: 1.3; font-size: 2em; }
.one-col .text h1 { margin-top: 20px; }
.text h3 { margin: 25px 0 0; }
.text ul { padding-left: 15px; margin-top: 5px; }
.text .date { margin: 0; }
.text figure { margin: 0 0 20px; }
.text img { max-width: 100%; }
.post img { width: 100%; margin: 20px 0; }
.post figure img, .post .cols img { margin: 0; }
.text hr { border: 0; border-top: 1px solid #ddd; margin: 20px 0; }
.breadcrumbs { padding: 0 0 25px; }

.cols { display: grid; gap: 20px; margin: 20px 0; align-items: start; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cols figure { margin: 0; }
.cols img { display: block; width: 100%; }
.imgbox { text-align: center; }
.imgbox img { width: 75%; margin: 0 auto; }
.imgbox figcaption { line-height: 1.4; font-size: 90%; }
.pic figcaption { line-height: 1.3; font-size: 90%; color: #333; text-align: center; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.btn-wrap { text-align: center; margin: 20px 0; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 3px; background: #61CE70; color: #fff; text-decoration: none; font-size: 15px; line-height: 1; }
.btn:hover { color: #fff; opacity: .9; }
a.button-1 {
  display: inline-block; border: 1px solid #000; border-radius: 24px; color: #000; padding: 10px 35px 10px 15px;
  text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 70%;
  background: url(/assets/img/arrow-right.png) no-repeat right center / contain;
}
a.button-1:hover { border-color: #7632A6; color: #7632A6; background-image: url(/assets/img/arrow-right-violet.png); }
a.pdf-link { display: block; margin-top: 15px; padding-left: 25px; color: #555; font-size: 90%; font-style: italic; background: url(/assets/img/pdf-icon.png) no-repeat left center / 18px auto; }

/* проекты */
.team { margin: 40px 0 0; }
.projectbox { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 20px 0 0; }
.projectbox-item { display: flex; flex-direction: column; width: 29%; margin: 0 0 30px; }
.projectbox-image { display: block; width: 100%; height: 200px; object-fit: cover; object-position: center top; }
.projectbox-description { padding: 4% 4% 4% 0; line-height: 1.3; color: #333; }

/* команда */
.teamlong { margin: 40px 0 0; display: flex; flex-direction: column; }
.teamlong-item { display: flex; background: #f8f8f8; min-height: 240px; margin: 0 0 20px; }
.teamlong-image { width: 34%; object-fit: cover; object-position: center top; }
.teamlong-description { display: flex; flex-wrap: wrap; align-content: center; width: 61%; padding: 15px 0 15px 5%; line-height: 1.3; }
.teamlong-description h1 { font-size: 140%; margin: 0 0 10px; width: 100%; }
.teamlong-description .position { width: 100%; margin-bottom: 15px; }
.teamlong-description .resume { font-size: 90%; margin: 0; padding-left: 15px; }
.teamlong-description .resume li { padding: 0 0 5px; color: #777; }

/* партнёры */
.partners { display: flex; flex-wrap: wrap; justify-content: space-between; }
.partner-item { width: 31%; margin: 20px 0; }
.partner-logo img { height: 70px; width: auto; }
.partner-descr { line-height: 1.4; font-size: 90%; }
.logo-text { display: inline-block; height: 70px; line-height: 70px; font-size: 28px; font-weight: bold; letter-spacing: 2px; color: #c8102e; }
.partner-card { display: flex; gap: 30px; align-items: flex-start; }
.partner-card img { flex-shrink: 0; }

/* новости */
.news-item { display: flex; gap: 25px; padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid #eee; }
.news-thumb { flex: 0 0 220px; }
.news-thumb img { display: block; width: 220px; height: 147px; object-fit: cover; }
.news-body h2 { font-size: 22px; margin: 0 0 8px; }
.news-body h2 a { color: #000; text-decoration: none; }
.news-body h2 a:hover { color: #044DB2; }
.news-body p { margin: 0 0 6px; line-height: 1.6; }
.news-body .date { color: #555; font-size: 90%; }

/* Kaspersky, служебные блоки прежней темы */
.accent { background: #24A88D; padding: 20px 30px 30px; color: #fff; width: 80%; margin-bottom: 50px; }
.accent a { color: #fff; }
ul.list-with-padding li { padding-bottom: 15px; }
.kata-wrap { display: flex; gap: 20px; }
.kata-wrap-left { width: 150px; flex-shrink: 0; }
.kata-wrap-left img { border: 1px solid #eee; }
.subnav { background: #f5f5f5; }
.subnav ul { margin: 0; padding: 20px 25px 0; list-style: none; }
.subnav li { padding: 0 0 20px; }
.subnav a { color: #000; text-decoration: none; }
.q-line { width: 100%; padding: 0 0 20px; }
.q-project-item { display: flex; justify-content: space-between; padding: 20px 30px 10px 20px; margin: 30px 0 0; border: 1px solid #e4e4e4; border-radius: 10px; line-height: 1.4; }
.q-project-item .q-image { width: 40%; }
.q-project-item .q-description { display: flex; flex-wrap: wrap; align-content: center; width: 55%; }
a.q-button { background: #720B7E; color: #fff; border-radius: 3px; padding: 8px 15px; text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 70%; }
a.q-button:hover { opacity: .8; }
.q-image-with-notice-wrap { display: flex; flex-wrap: wrap; }
.q-image-with-notice { width: 200px; margin-top: 20px; font-size: 85%; line-height: 1.4; }
.q-image-with-notice a { color: #333; text-decoration: none; }
.q-image-with-notice img { width: 150px; margin-bottom: 10px; border: 1px solid #f0f0f0; border-radius: 2px; box-shadow: 0 4px 8px rgb(0 0 0 / 10%); }
.q-project-big img { width: 90%; }
.q-members, .q-blocks3 { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 20px 0 0; }
.q-member-item { display: flex; justify-content: space-between; width: 48%; border: 1px solid #ececec; border-radius: 5px; margin: 0 0 20px; }
.q-member-item .avatar { width: 30%; background: url(/assets/img/staff/zulyar.jpg) no-repeat top / cover; }
.q-member-item .text { width: 65%; padding: 30px 0; line-height: 1.5; }
.q-member-item .text span { color: #616161; font-size: 90%; }
.q-banner, .q-banner-with-icon { width: 100%; min-height: 170px; background: #f5f5f5; margin: 25px 0; }
.q-banner-with-icon { display: flex; padding: 0 20px; }
.q-banner-with-icon .image-wrap { width: 30%; display: flex; align-items: center; }
.q-banner-with-icon .image { width: 120px; height: 120px; background: no-repeat center / cover; border: 1px solid #dedede; }
.q-banner-with-icon .text { width: 100%; padding: 25px 0 15px; }
.q-blocks3-item { display: flex; flex-direction: column; width: 30%; border: 1px solid #ececec; border-radius: 5px; margin: 0 0 20px; }
.q-blocks3-item .image { height: 90px; background: url(/assets/img/cisco.jpg) no-repeat bottom / contain; }
.q-blocks3-item .text { font-size: 90%; padding: 15px 0 20px; line-height: 1.3; text-align: center; }

/* отзывы (главная и проект) */
.testimonial, .first-testimonial-wrap {
  position: relative; margin: 0; padding: 30px 30px 30px 15%; border: 1px solid #ddd; border-radius: 10px;
  background: url(/assets/img/quote-icon.png) no-repeat 10px 30px / 10% auto;
}
.testimonial footer, .first-testimonial-item .author { font-style: italic; font-size: 90%; padding: 15px 0 0; line-height: 1.4; }
.testimonial .position, .first-testimonial-item .position { color: #555; }

/* ---------- главная ---------- */
.home h2 { text-align: center; }
.hero { position: relative; display: block; background: #f6f6f4; overflow: hidden; }
.hero img { display: block; width: 100%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.services { background: #F6F6F6; padding: 50px 0 100px; }
.services-title { width: 40%; margin: 0 auto; padding: 20px 0 50px; text-align: center; }
.services-list { display: flex; justify-content: space-between; }
.service-box {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  width: 32%; height: 340px; padding: 230px 25px 0; color: #f5f5f5; font-size: 85%; line-height: 1.5;
  text-decoration: none; transition: transform .3s ease-out;
}
.service-box:hover { transform: scale(1.03); color: #f5f5f5; }
.service-box img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.service-title { color: #fff; font-size: 180%; font-weight: 500; line-height: 1.15; margin-bottom: 10px; }
.home-projects { text-align: center; padding: 60px 0 0; }
.home-projects-title { width: 40%; margin: 0 auto; padding: 0 0 90px; }
.home-projects-title p:last-child { margin-top: 48px; }
h2.icon-top { padding-top: 100px; background: url(/assets/img/globus.png) no-repeat center top / contain; }
.photo-line { display: flex; }
.photo-line a { display: block; margin: 1px; border-right: 2px solid #f0f0f0; }
.photo-line img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-line-1 a { width: 34%; height: 300px; border-bottom: 2px solid #f0f0f0; }
.photo-line-2 a { width: 50%; height: 400px; }
.anim h2 { margin: 0; padding: 70px 0 20px; background: #f0f0f0; }
.anim video { display: block; width: 100%; height: 450px; object-fit: cover; object-position: top; background: #f0f0f0; }
.experts { padding: 50px 0 100px; }
.experts h2 { padding-bottom: 20px; }
.experts-list { display: flex; justify-content: space-between; }
.expert { width: 30%; margin: 0; }
.expert img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center top; }
.expert figcaption { font-size: 120%; padding: 10px 0 0; }
.expert figcaption span { display: block; font-size: 70%; color: #6f6f6f; margin-top: 5px; line-height: 1.35; }
.testimonials { background: #f5f5f5; padding: 0 0 100px; }
.testimonials h2 { padding: 50px 0 20px; margin: 0; }
.testimonials-list { display: flex; justify-content: space-between; }
.testimonial { width: 48%; }

/* ---------- подвал ---------- */
.site-footer { background: #3C3C3C; padding: 30px 0; font-size: 80%; line-height: 1.5; color: #BEBEBE; }
.footer-wrap { display: flex; justify-content: space-between; }
.footer-col { width: 20%; }
.footer-contacts { width: 35%; margin-left: 5%; }
.site-footer h2 { font-size: 110%; text-transform: uppercase; color: #fff; }
.site-footer a { color: #BEBEBE; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer a.biglink { color: #fff; font-size: 150%; }
.social a { color: #fff; margin-right: 10px; }

/* ---------- лендинги GDX ---------- */
.landing { background: #f4f4f4 url(/assets/img/2023/fon-878x1024.jpg) no-repeat top center; font-family: "Roboto Condensed", Arial, sans-serif; }
.gdx { max-width: 1102px; margin: 0 auto; padding: 0 16px 20px; font-size: 17px; font-weight: 500; }
.gdx-top { text-align: center; }
.gdx-logo { display: inline-block; width: 225px; margin: 10px 0 0; }
.gdx-name {
  position: relative; z-index: 1; display: block; width: 400px; max-width: 90%; margin: 25px auto -60px; padding: 8px 30px;
  color: #fff; font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: .5px;
  background: linear-gradient(90deg, #ef6a3b, #b84f86 55%, #7d52a8); clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}
.gdx-name span { display: block; font-weight: 500; }
.gdx-render { display: block; width: 100%; margin: 0 0 30px; }
.gdx-h { display: flex; align-items: center; gap: 20px; margin: 40px 0 20px; text-align: left; font-size: 24px; font-weight: 600; text-shadow: -12px 6px 3px rgba(0, 0, 0, .13); }
.gdx-h img { width: 90px; height: 90px; flex-shrink: 0; }
.gdx-h span { flex: 1; padding-bottom: 8px; border-bottom: 3px solid; }
.c-orange { color: #F49451; } .c-blue { color: #5987BC; } .c-green { color: #A0BC47; } .c-violet { color: #8165AB; }
.gdx p, .gdx ul { padding: 0 12px; }
.gdx ul { padding-left: 34px; }
.gdx-kpi { width: 100%; border-collapse: collapse; }
.gdx-kpi th, .gdx-kpi td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 2px solid #707070; }
.gdx-kpi th { font-weight: 500; width: 50%; }
.gdx-kpi td { font-weight: 700; }
.gdx-kpi tr:last-child th, .gdx-kpi tr:last-child td { border-bottom: 0; }
.gdx-plan { margin: 20px 0; }
.gdx-plan img { display: block; width: 100%; }
.gdx .btn { padding: 15px 50px; border-radius: 50px; background: #55B938; font-weight: 600; }
.gdx .btn:hover { background: #F49451; opacity: 1; }
.gdx .btn-violet { background: #7E60AA; }
.gdx .btn-violet:hover { background: #E9E4E1; color: #7E60AA; }

/* ---------- узкие экраны ---------- */
@media (max-width: 960px) {
  .header-main { align-items: center; }
  .logo img { width: 180px; margin: 15px 0; }
  .nav-toggle {
    display: block; position: relative; z-index: 101; width: 42px; height: 42px; padding: 0; border: 0;
    background: #fff; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    position: absolute; left: 8px; width: 26px; height: 3px; background: #000; content: ""; transition: transform .2s, background .2s;
  }
  .nav-toggle span { top: 20px; }
  .nav-toggle span::before { left: 0; top: -8px; }
  .nav-toggle span::after { left: 0; top: 8px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; z-index: 100; margin: 0; padding: 4rem 0 2rem; overflow-y: auto; text-align: left;
    background: #000; transform: translateY(-100%); transition: transform .2s; visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav .mobile-only { display: list-item !important; }
  .main-nav > ul > li { display: block; padding: 0; }
  .main-nav a, .main-nav > ul > li.current > a { display: block; margin: 1rem 2.5rem; padding: 0; font-size: 1.6rem; color: #fff; background: none; }
  .main-nav a:hover { color: #fff; text-decoration: underline; }
  .main-nav li ul { position: static; width: auto; padding: 0 0 0 1.5rem; opacity: 1; visibility: inherit; background: none; box-shadow: none; }
  .main-nav li ul a { margin: .6rem 2.5rem; font-size: 1.1rem; color: #ccc; }
}

@media (max-width: 760px) {
  .mobile-only { display: block !important; }
  .desktop-only { display: none !important; }
  .site-header { display: flex; flex-direction: column; }
  .header-main { order: -1; }
  .topline { padding: 10px 0; text-align: center; font-size: 100%; }
  .topline a { margin: 0 10px; }
  .band:not(.band-map) { display: none; }
  .band-map { height: 300px; }
  .content { padding-top: 0; }
  .two-col { flex-direction: column; width: 100%; padding: 0; background: #f5f5f5; }
  .side-nav { width: 100%; padding-bottom: 10px; }
  .side-nav ul { padding: 10px 0 0 10px; }
  .two-col .text { width: 100%; padding: 50px 20px 0; background: #fff; }
  .one-col { width: 100%; padding: 0 5% 40px; }
  .text h1 { font-size: 1.7em; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
  .projectbox { flex-direction: column; }
  .projectbox-item { width: 100%; margin-bottom: 0; }
  .teamlong-item { flex-direction: column; }
  .teamlong-image { width: 100%; height: 320px; }
  .teamlong-description { width: 100%; }
  .partners { justify-content: flex-start; gap: 0 8%; }
  .partner-item { width: 46%; text-align: center; font-size: 95%; }
  .partner-card { flex-direction: column; }
  .news-item { flex-direction: column; gap: 10px; }
  .news-thumb { flex: none; }
  .news-thumb img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .accent { width: 100%; }
  .kata-wrap { flex-direction: column; }
  .kata-wrap-left { width: 60%; }
  .q-project-item { flex-direction: column; }
  .q-project-item .q-image, .q-project-item .q-description, .q-member-item { width: 100%; }
  .q-banner-with-icon { flex-direction: column; background: #fff; }
  .q-blocks3-item { width: 47%; }
  .services { padding-bottom: 60px; }
  .services-title, .home-projects-title { width: 90%; }
  .services-list { flex-direction: column; }
  .service-box { width: 100%; height: auto; margin-bottom: 20px; padding: 230px 25px 20px; }
  .home-projects { padding-top: 20px; }
  .photo-line-1 a { height: 150px; }
  .photo-line-2 a { height: 200px; }
  .experts { padding-bottom: 30px; }
  .experts-list, .testimonials-list { flex-direction: column; }
  .expert { width: 100%; text-align: center; margin-bottom: 40px; }
  .testimonials { padding-bottom: 40px; }
  .testimonials h2 { padding-top: 40px; }
  .testimonial { width: 100%; margin-bottom: 20px; }
  .footer-col { display: none; }
  .footer-contacts { width: 100%; margin: 0; padding-left: 3%; font-size: 120%; }
  .footer-contacts p { margin-bottom: 15px; }
  .gdx-logo { width: 55%; margin: 20px 0; }
  .gdx-name { font-size: 20px; margin-bottom: -20px; }
  .gdx-h { gap: 12px; font-size: 20px; }
  .gdx-h img { width: 60px; height: 60px; }
  .gdx-kpi th, .gdx-kpi td { display: block; width: 100%; border: 0; padding: 6px 0; text-align: center; }
  .gdx-kpi td { font-size: 25px; border-bottom: 2px solid #707070; padding-bottom: 14px; }
}
