/*
Theme Name: Web Portfolio Blocks
Theme URI: https://example.local/
Author: Local
Description: Кастомная блок-тема для верстки через Gutenberg (без Elementor Theme Builder).
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: web-portfolio-blocks
*/

/* ===== Базовая палитра/фон ===== */
:root{
  --wpb-accent: #00D60F;
  --wpb-border: rgba(255,255,255,0.12);
  --wpb-container-max: 1400px;
  --wpb-container-pad: 18px;
  --wpb-heading-color: #E6E6E6;
  --wpb-text-color: #A0A0A0;
  --wpb-card-bg: #101613;
  --wpb-card-border: rgba(61,255,154,0.15);
}

:root:not([data-theme="light"]){
  --wpb-hero-bg: #0C120F !important;
  --wpb-hero-fg: #E6E6E6;
  --wpb-hero-muted: #A0A0A0;
  --wpb-hero-card-bg: #101613 !important;
  --wpb-hero-border: rgba(61,255,154,0.15) !important;
}

html,
body{
  width: 100%;
  overflow-x: hidden;
}

body{
  background-color: #0f0f0f;
  /* Ambient фон: лёгкие подсветки + зерно. */
  background-image:
    radial-gradient(900px circle at 12% 14%, rgba(0,214,15,0.12) 0%, rgba(0,214,15,0.00) 60%),
    radial-gradient(700px circle at 86% 28%, rgba(42,97,255,0.12) 0%, rgba(42,97,255,0.00) 62%),
    radial-gradient(900px circle at 50% 90%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.00) 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: auto, auto, auto, 260px 260px;
  color: #ffffff;
  font-family: "Grato Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
}

:root:not([data-theme="light"]) body{
  color: var(--wpb-text-color);
}

:root:not([data-theme="light"]) :where(h1, h2, h3, h4, h5, h6){
  color: var(--wpb-heading-color);
}

/* ===== Page transition loader (cube) ===== */
.wpb-page-loader{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.wpb-page-loader.is-active{
  opacity: 1;
  pointer-events: auto;
}

.wpb-page-loader__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
}

.wpb-page-loader__cube-scene{
  position: relative;
  width: 96px;
  height: 96px;
  perspective: 1200px;
}

.wpb-page-loader__cube{
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: wpbCubeSpin 8s linear infinite;
}

.wpb-page-loader__core{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--wpb-accent);
  filter: blur(10px);
  box-shadow: 0 0 40px rgba(0,214,15,0.8);
  animation: wpbCubePulse 2s ease-in-out infinite;
}

.wpb-page-loader__shadow{
  position: absolute;
  left: 50%;
  bottom: -80px;
  width: 96px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0,0,0,0.40);
  filter: blur(14px);
  animation: wpbCubeShadow 3s ease-in-out infinite;
}

.wpb-page-loader__side{
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.wpb-page-loader__face{
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0,214,15,0.55);
  background: rgba(0,214,15,0.08);
  box-shadow: 0 0 18px rgba(0,214,15,0.35);
  backdrop-filter: blur(2px);
  animation: wpbCubeBreathe 3s ease-in-out infinite;
}

.wpb-page-loader__front{ transform: rotateY(0deg); }
.wpb-page-loader__back{ transform: rotateY(180deg); }
.wpb-page-loader__right{ transform: rotateY(90deg); }
.wpb-page-loader__left{ transform: rotateY(-90deg); }
.wpb-page-loader__top{ transform: rotateX(90deg); }
.wpb-page-loader__bottom{ transform: rotateX(-90deg); }

.wpb-page-loader__text{
  text-align: center;
}

.wpb-page-loader__title{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wpb-accent);
}

.wpb-page-loader__subtitle{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

@keyframes wpbCubeSpin{
  0%{ transform: rotateX(0deg) rotateY(0deg); }
  100%{ transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes wpbCubeBreathe{
  0%, 100%{
    transform: translateZ(48px);
    opacity: 0.85;
  }
  50%{
    transform: translateZ(80px);
    opacity: 0.35;
    border-color: rgba(255,255,255,0.80);
  }
}

@keyframes wpbCubePulse{
  0%, 100%{ transform: scale(0.85); opacity: 0.55; }
  50%{ transform: scale(1.2); opacity: 1; }
}

@keyframes wpbCubeShadow{
  0%, 100%{ transform: translateX(-50%) scale(1); opacity: 0.4; }
  50%{ transform: translateX(-50%) scale(1.5); opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce){
  .wpb-page-loader__cube,
  .wpb-page-loader__face,
  .wpb-page-loader__core,
  .wpb-page-loader__shadow{
    animation: none !important;
  }
}

/* ===== Sticky footer (подвал у низа при малом количестве контента) =====
 * Block themes рендерят разметку внутри .wp-site-blocks (header/main/footer).
 * Делаем flex-контейнер и растягиваем main, чтобы footer уходил вниз.
 */
.wp-site-blocks{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wp-site-blocks > main{
  flex: 1 0 auto;
}

.wp-site-blocks > footer{
  margin-top: auto;
}

/**
 * WordPress block layout:
 * Убираем ограничение max-width для constrained-layout глобально (без правки wp-includes и без !important).
 */
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width: none;
}

/* Мобилка: убираем глобальные боковые "гаттеры" block-theme, чтобы сайт был во всю ширину экрана. */
@media (max-width: 980px){
  :root{
    --wp--style--root--padding-left: 0px;
    --wp--style--root--padding-right: 0px;
  }

  .wp-site-blocks{
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
  }
  .is-layout-constrained{
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== Header/Footer (под ваш стиль) ===== */
#site-header.site-header{
  background: rgba(16,16,16,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  color: #ffffff;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 22px;
  width: min(1100px, calc(100% - 24px));
  max-width: none;
  margin: 0 auto;
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 1000;
  overflow: visible;
  backdrop-filter: blur(12px);
}

#site-header .site-title a{
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

#site-header .site-navigation a{
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}

#site-header .site-navigation a:hover{
  color: var(--wpb-accent);
}

#site-header .current-menu-item > a,
#site-header .current_page_item > a,
#site-header .current-menu-ancestor > a,
#site-header .current_page_ancestor > a,
#site-header .wp-block-navigation-item.current-menu-item > a,
#site-header .wp-block-navigation-item.current_page_item > a,
#site-header .wp-block-navigation-item.current-menu-ancestor > a,
#site-header .wp-block-navigation-item.current_page_ancestor > a{
  box-shadow: inset 0 -2px 0 var(--wpb-accent);
  padding-bottom: 2px;
}

/* ===== Header navigation (desktop + mobile) ===== */
#site-header .site-header__left{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}

#site-header .site-header__nav{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

#site-header .site-header__right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 12px;
}

@media (max-width: 1100px){
  #site-header.site-header{
    flex-wrap: wrap;
    border-radius: 18px;
    margin: 12px 12px 0;
  }
}

@media (min-width: 901px){
  #site-header.site-header{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  #site-header .site-header__left{
    justify-self: start;
  }

  #site-header .site-header__nav{
    justify-self: center;
  }

  #site-header .site-header__right{
    justify-self: end;
  }
}

#site-header .wp-block-navigation{
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
}

#site-header .wpb-primary-menu{
  display: flex;
  align-items: center;
  justify-content: center;
}

#site-header .wpb-primary-menu__list{
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#site-header .wpb-primary-menu__list a{
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

#site-header .wpb-primary-menu__list a:hover{
  color: var(--wpb-accent);
  text-shadow: 0 0 10px rgba(0,214,15,0.25);
}

#site-header .wp-block-navigation__container{
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

#site-header .wp-block-navigation-item__content{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

#site-header .wp-block-navigation-item__content:hover{
  color: #ffffff;
}

/* десктоп: показываем меню как обычный список, без оверлея */
@media (min-width: 901px){
  #site-header .wp-block-navigation__responsive-container{
    display: flex;
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: auto;
  }

  #site-header .wp-block-navigation__responsive-close,
  #site-header .wp-block-navigation__responsive-dialog{
    position: static;
    width: auto;
    height: auto;
  }

  #site-header .wp-block-navigation__responsive-container-content{
    transform: none;
    width: auto;
    max-width: none;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  #site-header .wp-block-navigation__responsive-container-open,
  #site-header .wp-block-navigation__responsive-container-close{
    display: none;
  }
}

/* ===== Mobile menu (burger) ===== */
.wp-block-navigation__responsive-container{
  display: none;
  justify-content: flex-start;
  align-items: stretch;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
}

.wp-block-navigation__responsive-container.is-menu-open{
  display: flex;
  padding: 0;
}

.wp-block-navigation__responsive-container-content{
  position: relative;
  margin: 0;
  padding: 70px 22px 24px 22px;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.96);
  border-right: 1px solid var(--wpb-border);
  box-shadow: 18px 0 36px rgba(0,0,0,0.55);
  color: #ffffff;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
  transform: translateX(0);
}

.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--wpb-border);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-close:hover{
  transform: scale(1.03);
  border-color: rgba(0,214,15,0.70);
  box-shadow: 0 0 18px rgba(0,214,15,0.20);
}

.wp-block-navigation__responsive-container .wp-block-navigation__container{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.wp-block-navigation__responsive-container .wp-block-navigation-item__label{
  color: inherit;
}

.wp-block-navigation__responsive-container .wp-block-navigation-item__content{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.wp-block-navigation__responsive-container .wp-block-navigation-item__content:hover{
  border-color: rgba(0,214,15,0.55);
  background: rgba(0,0,0,0.35);
  color: var(--wpb-accent);
  box-shadow: 0 0 16px rgba(0,214,15,0.18);
}

.wp-block-navigation__responsive-container .wp-block-navigation-item__content:focus-visible{
  outline: 2px solid rgba(0,214,15,0.55);
  outline-offset: 2px;
}

#site-header .site-branding{
  flex: 0 0 auto;
  min-width: 0;
}

#site-header .wpb-theme-toggle{
  position: relative;
  z-index: 2;
}

/* ===== Custom mobile burger ===== */
.wpb-burger{
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--wpb-border);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.wpb-burger:hover{
  transform: scale(1.03);
  border-color: rgba(0,214,15,0.70);
  box-shadow: 0 0 18px rgba(0,214,15,0.20);
}

.wpb-burger:active{
  transform: scale(0.99);
}

.wpb-burger:focus-visible{
  outline: 2px solid rgba(0,214,15,0.55);
  outline-offset: 2px;
}

.wpb-burger[aria-expanded="true"]{
  border-color: rgba(0,214,15,0.70);
  box-shadow:
    0 0 0 1px rgba(0,214,15,0.35) inset,
    0 0 22px rgba(0,214,15,0.18);
}

.wpb-burger__icon{
  position: relative;
  width: 20px;
  height: 12px;
  display: block;
}

.wpb-burger__icon::before,
.wpb-burger__icon::after,
.wpb-burger__icon span{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease, bottom 0.22s ease;
}

.wpb-burger__icon::before{
  top: 0;
}

.wpb-burger__icon::after{
  bottom: 0;
}

.wpb-burger__icon span{
  top: 50%;
  transform: translateY(-50%);
}

/* Burger -> X when open (ARIA driven). */
.wpb-burger[aria-expanded="true"] .wpb-burger__icon::before{
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.wpb-burger[aria-expanded="true"] .wpb-burger__icon::after{
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
.wpb-burger[aria-expanded="true"] .wpb-burger__icon span{
  opacity: 0;
  transform: translateY(-50%) scaleX(0.2);
}

.wpb-burger-panel{
  display: none;
  position: fixed;
  inset: 0;
  /* Must be above the fixed front-page header (z-index: 999999). */
  z-index: 1000001;
  overflow: hidden;
}

.wpb-burger-panel.is-open{
  display: block;
}

.wpb-burger-panel__backdrop{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px circle at 18% 20%, rgba(0,214,15,0.18) 0%, rgba(0,214,15,0.00) 55%),
    radial-gradient(900px circle at 85% 30%, rgba(42,97,255,0.14) 0%, rgba(42,97,255,0.00) 60%),
    rgba(0,0,0,0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.wpb-burger-panel__content{
  position: relative;
  width: min(340px, 86vw);
  max-width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(16,22,19,0.92) 0%, rgba(0,0,0,0.92) 100%);
  color: #ffffff;
  padding: 22px 18px 24px 18px;
  border-right: 1px solid rgba(255,255,255,0.10);
  box-shadow: 18px 0 36px rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
}

.wpb-burger-panel.is-open .wpb-burger-panel__content{
  transform: translateX(0);
}

.wpb-burger-panel__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 18px;
}

.wpb-burger-panel__brand{
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.wpb-burger-panel__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wpb-burger-panel__close:hover{
  border-color: rgba(0,214,15,0.55);
  box-shadow: 0 0 18px rgba(0,214,15,0.18);
  transform: scale(1.03);
}

.wpb-burger-panel__nav{
  display: grid;
  gap: 14px;
}

.wpb-burger-panel__nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.wpb-burger-panel__nav .wpb-primary-menu__list{
  display: grid;
  gap: 14px;
}

.wpb-burger-panel__nav li{
  margin: 0;
}

.wpb-burger-panel__nav ul ul{
  padding-left: 14px;
  gap: 10px;
  opacity: 0.95;
}

.wpb-burger-panel__nav a{
  display: block;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.wpb-burger-panel__nav a:hover{
  border-color: rgba(0,214,15,0.45);
  background: rgba(0,0,0,0.28);
  color: var(--wpb-accent);
  box-shadow: 0 0 16px rgba(0,214,15,0.14);
  transform: translateY(-1px);
}

.wpb-burger-panel__nav a:focus-visible{
  outline: 2px solid rgba(0,214,15,0.55);
  outline-offset: 2px;
}

.wpb-burger-panel__nav .current-menu-item > a,
.wpb-burger-panel__nav .current_page_item > a,
.wpb-burger-panel__nav a[aria-current="page"]{
  border-color: rgba(0,214,15,0.55);
  color: #ffffff;
  background: rgba(0,214,15,0.10);
  box-shadow: 0 0 18px rgba(0,214,15,0.10);
}

/* Prevent page scroll when any overlay navigation is open. */
html.wpb-nav-open,
html.wpb-nav-open body{
  overflow: hidden;
}

/* Light theme adjustments for burger panel. */
:root[data-theme="light"] .wpb-burger{
  color: #0b0b0b;
  background: rgba(255,255,255,0.72);
  border-color: rgba(0,0,0,0.10);
}
:root[data-theme="light"] .wpb-burger:hover{
  border-color: rgba(0,214,15,0.70);
  box-shadow: 0 0 18px rgba(0,214,15,0.18);
}
:root[data-theme="light"] .wpb-burger-panel__content{
  color: #0b0b0b;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(245,247,246,0.92) 100%);
  border-right-color: rgba(0,0,0,0.10);
}
:root[data-theme="light"] .wpb-burger-panel__brand{
  color: #0b0b0b;
}
:root[data-theme="light"] .wpb-burger-panel__close{
  color: #0b0b0b;
  border-color: rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.04);
}
:root[data-theme="light"] .wpb-burger-panel__nav a{
  color: rgba(0,0,0,0.80);
  background: rgba(0,0,0,0.03);
}
:root[data-theme="light"] .wpb-burger-panel__nav a:hover{
  background: rgba(0,0,0,0.04);
  color: #0b0b0b;
}

.wpb-theme-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.wpb-theme-toggle:hover{
  transform: translateY(-1px);
  border-color: rgba(0,214,15,0.55);
  box-shadow: 0 0 14px rgba(0,214,15,0.16);
}

.wpb-theme-toggle__label{
  opacity: 0.75;
}

.wpb-theme-toggle__value{
  color: var(--wpb-accent);
}

/* показываем только иконку + тумблер (без текста) */
.wpb-theme-toggle__label,
.wpb-theme-toggle__value{
  display: none;
}

.wpb-theme-toggle__icon{
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--wpb-accent);
}

.wpb-theme-toggle__icon svg{
  display: block;
}

:root[data-theme="dark"] .wpb-theme-toggle__icon--moon,
:root[data-theme="light"] .wpb-theme-toggle__icon--sun{
  display: inline-flex;
}

.wpb-theme-toggle__switch{
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid var(--wpb-border);
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.wpb-theme-toggle__switch::after{
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0,0,0,0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

@media (max-width: 700px){
  .wpb-theme-toggle{
    padding: 8px 10px;
  }
}

#site-footer.site-footer{
  position: relative;
  --wpb-footer-bg: #0C120F;
  --wpb-footer-fg: #E6E6E6;
  --wpb-footer-muted: rgba(230,230,230,0.70);
  --wpb-footer-border: rgba(255,255,255,0.06);

  background: var(--wpb-footer-bg);
  color: var(--wpb-footer-muted);
  padding: 64px 48px;
  border-top: 1px solid var(--wpb-footer-border);
  overflow: hidden;
}

#site-footer.site-footer::before{
  content: none;
}

#site-footer.site-footer > *{
  position: relative;
  z-index: 1;
}

#site-footer .wp-block-columns{
  gap: 32px;
  align-items: flex-start;
}

#site-footer .wp-block-column{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#site-footer .site-footer__grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

#site-footer .site-footer__col--brand{
  align-items: flex-start;
}

#site-footer .site-footer__col--menu{
  align-items: flex-start;
}

#site-footer .site-footer__col--contacts{
  align-items: flex-end;
  text-align: right;
}

#site-footer .wp-block-site-logo img{
  filter: grayscale(1) brightness(0.9);
}

#site-footer .wp-block-site-title{
  font-weight: 500;
  color: var(--wpb-footer-fg);
}

#site-footer .wp-block-heading{
  margin: 0 0 6px 0;
  color: var(--wpb-footer-fg);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

#site-footer .wp-block-navigation{
  gap: 10px;
}

#site-footer .wp-block-navigation-item__content{
  color: var(--wpb-footer-muted);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease, text-shadow 0.18s ease;
}

#site-footer .wp-block-navigation-item__content:hover{
  color: var(--wpb-accent);
  text-shadow: 0 0 10px rgba(0,214,15,0.25);
}

#site-footer .wpb-footer-menu{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#site-footer .wpb-footer-menu__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

#site-footer .wpb-footer-menu__list a{
  color: var(--wpb-footer-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s ease, transform 0.18s ease, text-shadow 0.18s ease;
}

#site-footer .wpb-footer-menu__list a:hover{
  color: var(--wpb-accent);
  text-shadow: 0 0 10px rgba(0,214,15,0.25);
}

#site-footer .site-footer__contact-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

#site-footer .site-footer__contact-list li{
  margin: 0;
  padding: 0;
  color: var(--wpb-footer-muted);
}

#site-footer .site-footer__contact-list strong{
  color: var(--wpb-footer-fg);
  font-weight: 600;
}

#site-footer .site-footer__contact-list a{
  color: var(--wpb-footer-muted);
  text-decoration: none;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

#site-footer .site-footer__contact-list a:hover{
  color: var(--wpb-accent);
  text-shadow: 0 0 10px rgba(0,214,15,0.25);
}

#site-footer p{
  margin: 0;
  color: var(--wpb-footer-muted);
  line-height: 1.55;
}

#site-footer .site-footer__bottom{
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--wpb-footer-border);
  gap: 16px;
}

#site-footer .wpb-footer-copyright{
  font-size: 13px;
  color: var(--wpb-footer-muted);
}

#site-footer .site-footer__social{
  justify-content: flex-end;
}

#site-footer .site-footer__social a{
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

#site-footer .site-footer__social a:hover{
  transform: translateY(-1px);
  border-color: rgba(0,214,15,0.50);
  box-shadow: 0 0 18px rgba(0,214,15,0.14);
  background: rgba(0,214,15,0.10);
}

@media (max-width: 900px){
  #site-header.site-header{ padding: 16px 18px; }
  #site-header .site-navigation a{ font-size: 16px; }
  #site-footer.site-footer{ padding: 42px 18px; }
  #site-footer .site-footer__grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  #site-footer .wp-block-column{
    align-items: center;
    text-align: center;
  }
  #site-footer .site-footer__col--contacts{
    align-items: center;
    text-align: center;
  }
  #site-footer .wp-block-site-logo{
    margin-left: auto;
    margin-right: auto;
  }
  #site-footer .wp-block-navigation{
    justify-content: center;
  }
  #site-footer .wp-block-navigation__container{
    justify-content: center;
    align-items: center;
  }
  #site-footer .site-footer__bottom{
    justify-content: center;
    text-align: center;
  }
  #site-footer .site-footer__social{
    justify-content: center;
  }
  #site-footer p{
    text-align: center;
  }

  /* мобильный бургер */
  #site-header .site-header__nav{
    display: none;
  }

  #site-header .wp-block-navigation__container{
    display: none;
  }

  #site-header .site-header__right{
    gap: 12px;
  }

  #site-header .wp-block-navigation__responsive-container,
  #site-header .wp-block-navigation__responsive-container-open,
  #site-header .wp-block-navigation__responsive-dialog{
    display: none;
  }

  .wpb-burger{
    display: inline-flex;
  }
}

/* ===== Блок: Hero ===== */
.wpb-hero{
  padding: 54px 0 20px 0;
}

/* React mount: чтобы блок не "схлопывался" до загрузки JS */
.wpb-react-hero{
  min-height: 520px;
}

/* React Hero должен выглядеть как часть сайта, а не "вставленная карточка" */
.wpb-hero--react{
  padding: 0;
}
.wpb-hero--react.alignfull{
  padding: 0;
}
.wpb-hero--react .wpb-react-hero{
  min-height: 100svh;
  overflow: hidden;
}

/* Hero: робот и карточка должны быть одной ширины (единая "сеточная" ось) */
.wpb-hero--react .wpb-hero-overlay-inner{
  max-width: min(1100px, calc(100% - 24px)) !important;
}

.wpb-hero--react .wpb-hero-card{
  width: 100%;
  max-width: none;
}

.wpb-hero--react .wpb-hero-robot-wrap{
  width: min(1100px, calc(100% - 24px));
}

/* На главной шапка должна быть поверх титульного экрана (но с тем же размером/внешним видом) */
body.pp-frontpage #site-header.site-header{
  /* overlay поверх первого экрана (шапка внутри hero, а не "над" ним) */
  position: fixed;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 10px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  margin: 0;
  width: min(1100px, calc(100% - 24px));
  max-width: none;
  z-index: 999999;
}
@media (max-width: 1100px){
  body.pp-frontpage #site-header.site-header{
    width: calc(100% - 24px);
  }
}

/* Front page: убираем любой верхний зазор контейнера, чтобы hero начинался с самого верха */
body.pp-frontpage .wp-site-blocks{
  padding-top: 0;
}

/* Front page: убираем стандартный верхний отступ у первого блока (иначе hero "вставлен" с зазором сверху) */
body.pp-frontpage .wp-block-post-content > :first-child{
  margin-top: 0 !important;
}

/* Front page: фон первого экрана должен быть и под шапкой (header в DOM выше hero) */
body.pp-frontpage .wp-site-blocks{
  background-color: #0C120F;
  background-image: none;
}

/* React hero overrides: CSS bundle грузится позже, поэтому фиксируем приоритет. */
.wpb-hero-bg{
  background-color: #0f0f0f !important;
}

/* React hero: общие правки читабельности/переносов (особенно на очень узких экранах) */
.wpb-hero--react .wpb-hero-card h1,
.wpb-hero--react .wpb-hero-card p{
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* Badge в hero: на мобильных не должен выходить за карточку */
.wpb-hero-badge{
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  background: rgba(0,0,0,0.30);
  border: 1px solid var(--wpb-border);
  color: rgba(255,255,255,0.75);
}

/* React hero: первая строка заголовка должна влезать в одну строку на узких экранах */
.wpb-hero-title-gradient--line1{
  display: inline-block;
  white-space: nowrap;
}
@media (max-width: 820px){
  .wpb-hero-title-gradient--line1{
    font-size: 0.99em !important;
  }
}

/* Mobile: в React-hero запрещаем горизонтальный оверфлоу заголовка (react css может грузиться позже — нужен !important) */
@media (max-width: 768px){
  .wpb-hero--react .wpb-hero-title-gradient--line1{
    white-space: normal !important;
    display: inline !important;
  }

  .wpb-hero--react .wpb-hero-card h1{
    font-size: clamp(26px, 7.4vw, 34px) !important;
    line-height: 1.12;
  }

  /* React hero: поднимаем карточку выше, чтобы на мобилке она полностью помещалась */
  .wpb-hero--react .wpb-hero-overlay{
    padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
  }

  /* React hero: на мобильной версии скрываем блоки достижений */
  .wpb-hero--react .wpb-hero-stat{
    display: none !important;
  }

  /* React hero: на мобильной версии скрываем робота (Spline) */
  .wpb-hero--react .wpb-hero-robot-wrap,
  .wpb-hero--react spline-viewer{
    display: none !important;
  }

  /* React hero: опускаем VD Studio ниже на 50px на мобильной версии */
  .wpb-hero--react .wpb-hero-brand-text{
    transform: translateY(100px);
  }

  /* React hero: Spline в React чаще рендерится как canvas — тоже скрываем на мобилке */
  .wpb-hero--react #wpb-react-hero canvas{
    display: none !important;
  }

  /* VD Studio: увеличиваем расстояние, чтобы буквы/слова не налезали */
  .wpb-hero--react .wpb-hero-brand-text{
    letter-spacing: 0.02em;
  }
  .wpb-hero--react .wpb-hero-badge{
    gap: 10px;
  }

  /* VD Studio: увеличиваем расстояние между строками (V|D / STUDIO) */
  .wpb-hero--react .wpb-hero-brand-text{
    line-height: 1.05;
  }
  .wpb-hero--react .wpb-hero-brand-line + .wpb-hero-brand-line{
    margin-top: 10px;
  }
}

:root[data-theme="light"] body.pp-frontpage .wp-site-blocks{
  background-color: #f6f8f5;
  background-image: none;
}

.wpb-hero__inner{
  max-width: var(--wpb-container-max);
  margin: 0 auto;
  padding: 0 var(--wpb-container-pad);
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  grid-template-areas: "content media";
  gap: 40px;
  align-items: center;
  min-height: 520px;
}

.wpb-hero__content{
  grid-area: content;
}

.wpb-hero__title{
  margin: 0 0 16px 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 500;
}

.wpb-hero__subtitle{
  margin: 0 0 22px 0;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
}

.wpb-hero-brand-text{
  font-family: "DrukWide-Bold", "Druk Wide", "DrukWide", "Grato Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #00FF66;
  opacity: 0.24;
  line-height: 0.9;
  font-size: clamp(64px, 12vw, 260px);
  text-align: center;
  white-space: normal;
}

.wpb-hero-brand-line{
  display: block;
}

.wpb-hero-brand-up{
  position: relative;
  /* Поднимаем надпись вверх, чтобы робот не перекрывал её */
  top: clamp(-380px, -18vh, -140px);
}

@media (max-width: 980px){
  body.pp-frontpage #site-header.site-header{
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 8px);
  }

  .wpb-hero-brand-up{
    top: -220px;
  }
}

@media (min-width: 1600px) and (max-height: 1080px){
  .wpb-hero--react .wpb-hero-overlay-inner{
    transform: translateY(170px);
  }

  .wpb-hero--react .wpb-hero-card{
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

.wpb-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.wpb-hero__actions .wpb-btn{
  flex: 1 1 180px;
}

@media (min-width: 981px){
  .wpb-hero.alignfull .wpb-hero__actions{
    width: fit-content;
    max-width: 100%;
  }
  #site-footer .wp-block-column{
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

.wpb-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
  transform: translateZ(0);
  appearance: none;
  font-family: inherit;
}

.wpb-btn--primary{
  background: var(--wpb-accent);
  border: 1px solid var(--wpb-accent);
  color: #000000;
  box-shadow: 0 0 18px rgba(0,214,15,0.18);
}

.wpb-btn--ghost{
  background: rgba(0,0,0,0.30);
  border: 1px solid var(--wpb-border);
  color: #ffffff;
  font-size: 16px;
}

.wpb-btn:hover{
  transform: translateY(-1px);
}

.wpb-btn.is-disabled{
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.wpb-btn.is-disabled:hover{
  transform: none;
  box-shadow: none;
}

.wpb-btn--primary:hover{
  box-shadow: 0 0 22px rgba(0,214,15,0.28);
}

.wpb-btn--ghost:hover{
  border-color: rgba(0,214,15,0.70);
  box-shadow: 0 0 18px rgba(0,214,15,0.20);
}

.wpb-hero__achievements{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpb-hero__achievement{
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  border: 1px solid var(--wpb-border);
  background: var(--wpb-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 12px;
  min-width: 170px;
}

.wpb-hero-card{
  /* Делает карточку полупрозрачнее, чтобы был виден робот за контентом */
  background: linear-gradient(
    180deg,
    rgba(16,22,19,0.38) 0%,
    rgba(16,22,19,0.24) 100%
  ) !important;
  border: 1px solid var(--wpb-card-border) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35) !important;
}

.wpb-hero-stat{
  border: 1px solid var(--wpb-card-border);
  background: var(--wpb-card-bg);
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

:root:not([data-theme="light"]) .wpb-skills-card,
:root:not([data-theme="light"]) .wpb-cta__card,
:root:not([data-theme="light"]) .wpb-featured-projects-card,
:root:not([data-theme="light"]) .wpb-about-card,
:root:not([data-theme="light"]) .wpb-about__expertise,
:root:not([data-theme="light"]) .wpb-pricing-card,
:root:not([data-theme="light"]) .wpb-testimonials-card,
:root:not([data-theme="light"]) .pp-projects .pp-project-card{
  background: var(--wpb-card-bg) !important;
  border-color: var(--wpb-card-border) !important;
}

.wpb-hero__achievement-icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wpb-accent);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--wpb-border);
  flex: 0 0 auto;
}

.wpb-hero__achievement-text{
  display: grid;
  gap: 2px;
}

.wpb-hero__achievement-value{
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
}

.wpb-hero__achievement-label{
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.1;
}

.wpb-hero__media{
  display: flex;
  justify-content: flex-end;
  grid-area: media;
  align-self: stretch;
}

.wpb-hero__photo-wrap{
  position: relative;
  width: 100%;
  height: 100%;
}

.wpb-hero__media-frame{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 0 26px rgba(0,0,0,0.55);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
}

.wpb-hero__photo-wrap::before{
  content: "";
  position: absolute;
  inset: -18% -18% -18% -18%;
  background: radial-gradient(closest-side, rgba(0,214,15,0.48), rgba(0,214,15,0.00) 82%);
  filter: blur(44px);
  transform: translateZ(0);
  pointer-events: none;
}

.wpb-hero__photo{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wpb-hero__spline{
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 980px){
  .wpb-hero__inner{
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "content";
    gap: 26px;
    min-height: 0;
  }
  .wpb-hero__media{
    justify-content: center;
  }

  .wpb-hero__photo-wrap{
    height: auto;
    min-height: 360px;
  }
}

@media (max-width: 700px){
  .wpb-hero.alignfull .wpb-hero__achievements{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .wpb-hero.alignfull .wpb-hero__achievement{
    min-width: 0;
  }
}

/* ===== Блок: Skills ===== */
.wpb-skills{
  padding: 0px 0;
}

.wpb-skills__inner{
  max-width: var(--wpb-container-max);
  margin: 0 auto;
  padding: 0 var(--wpb-container-pad);
}

.wpb-skills__head{
  text-align: center;
  margin-bottom: 26px;
}

.wpb-skills__title{
  margin: 0 0 8px 0;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 500;
  color: var(--wpb-accent);
}

.wpb-skills__subtitle{
  margin: 0;
  color: rgba(255,255,255,0.65);
  font-size: 16px;
}

.wpb-skills__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.wpb-skills__slider{
  position: relative;
}

.wpb-skills__nav{
  display: none;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wpb-skills__nav-btn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.90);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.wpb-skills__nav-btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

@media (hover: hover) and (pointer: fine){
  .wpb-skills__nav-btn:hover{
    transform: translateY(-1px);
    border-color: rgba(0,214,15,0.45);
    box-shadow: 0 0 16px rgba(0,214,15,0.14);
  }
}

.wpb-skills__dots{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wpb-skills__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  padding: 0;
}

.wpb-skills__dot[aria-current="true"]{
  width: 22px;
  background: rgba(0,214,15,0.65);
  border-color: rgba(0,214,15,0.65);
  box-shadow: 0 0 14px rgba(0,214,15,0.18);
}

.wpb-skills-card{
  border-radius: 18px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.30);
  box-shadow: 0 0 30px rgba(0,0,0,0.55);
  padding: 18px 18px 16px 18px;
}

.wpb-skills-card__head{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.wpb-skills-card__icon{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wpb-accent);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--wpb-border);
}

.wpb-skills-card__title{
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
}

.wpb-skills-card__items{
  display: grid;
  gap: 12px;
}

.wpb-skill__row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.wpb-skill__label{
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.wpb-skill__percent{
  font-size: 16px;
  font-weight: 500;
  color: rgba(0,214,15,0.95);
}

.wpb-skill__track{
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.wpb-skill__bar{
  display: block;
  height: 100%;
  width: var(--wpb-skill-value, 0%);
  background: var(--wpb-skill-color, var(--wpb-accent));
  border-radius: 999px;
  box-shadow: 0 0 12px color-mix(in srgb, var(--wpb-skill-color, var(--wpb-accent)) 60%, transparent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wpb-skill.is-animated .wpb-skill__bar{
  transform: scaleX(1);
}

/* Чуть более “живые” навыки: hover/focus подсветка строки */
.wpb-skill{
  border-radius: 12px;
  padding: 6px 10px 10px 10px;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  border: 1px solid transparent;
}

@media (hover: hover) and (pointer: fine){
  .wpb-skill:hover{
    background: rgba(255,255,255,0.04);
    border-color: rgba(0,214,15,0.28);
    box-shadow: 0 0 18px rgba(0,214,15,0.12);
    transform: translateY(-1px);
  }
}

.wpb-skill:focus-within{
  background: rgba(255,255,255,0.04);
  border-color: rgba(0,214,15,0.35);
  box-shadow: 0 0 0 3px rgba(0,214,15,0.18);
}

@media (prefers-reduced-motion: reduce){
  .wpb-skill__bar{
    transition: none !important;
    transform: none !important;
  }
  .wpb-skill{
    transition: none !important;
  }
}

@media (max-width: 980px){
  .wpb-skills{
    padding: 0px 0 0 0;
  }
  .wpb-skills__inner{
    padding: 0;
  }
  /* Mobile slider: horizontal swipe + snap */
  .wpb-skills__grid{
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 10px 2px;
  }

  /* Side gutters so first/last card can be centered */
  .wpb-skills__grid::before,
  .wpb-skills__grid::after{
    content: "";
    flex: 0 0 9%;
  }

  .wpb-skills__grid::-webkit-scrollbar{
    height: 0;
    width: 0;
  }

  .wpb-skills-card{
    flex: 0 0 82%;
    scroll-snap-align: center;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
  }

  .wpb-skills__nav{
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    padding: 0 12px;
  }

  .wpb-skills__dots{
    justify-content: center;
  }

  .wpb-skills__nav-btn{
    width: 44px;
    height: 44px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 18px rgba(0,0,0,0.55);
  }

  /* Carousel visuals apply ONLY after JS init (otherwise cards must stay readable). */
  [data-wpb-skills-carousel="1"] .wpb-skills-card{
    transform: perspective(900px) rotateY(0deg) scale(0.92);
    opacity: 0.55;
    filter: blur(0.9px) saturate(0.95);
  }

  /* Active + neighbors */
  [data-wpb-skills-carousel="1"] .wpb-skills-card.is-active{
    transform: perspective(900px) rotateY(0deg) scale(1);
    opacity: 1;
    filter: none;
    border-color: rgba(0,214,15,0.55);
    box-shadow:
      0 0 30px rgba(0,0,0,0.55),
      0 0 26px rgba(0,214,15,0.18);
  }

  [data-wpb-skills-carousel="1"] .wpb-skills-card.is-prev{
    transform: perspective(900px) rotateY(-10deg) scale(0.94);
    opacity: 0.70;
    filter: blur(0.6px) saturate(0.95);
  }

  [data-wpb-skills-carousel="1"] .wpb-skills-card.is-next{
    transform: perspective(900px) rotateY(10deg) scale(0.94);
    opacity: 0.70;
    filter: blur(0.6px) saturate(0.95);
  }

  @media (prefers-reduced-motion: reduce){
    .wpb-skills-card{
      transition: none !important;
      transform: none !important;
      opacity: 1 !important;
      filter: none !important;
    }
  }
}

/* ===== Проекты (шорткод из плагина) — восстановление hover/accordion без зависимости от body.pp-frontpage ===== */
@media (min-width: 769px){
  .pp-projects .pp-project-card{
    position: relative;
  }

  .pp-projects .pp-project-card__content{
    position: absolute;
    left: 22px;
    right: 22px;
    top: 22px;
    bottom: 22px;
    border-radius: 18px;
    padding: 18px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.32s;
  }

  .pp-projects .pp-project-card:hover .pp-project-card__content{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
  }
}

@media (max-width: 768px){
  .pp-projects .pp-project-card__toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,214,15,0.55);
    background-color: rgba(0,0,0,0.35);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    user-select: none;
  }

  .pp-projects .pp-project-card__toggle:hover{
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(0, 214, 15, 0.22);
  }

  .pp-projects details.pp-project-card__accordion:not([open]) .pp-project-card__details{
    display: none;
  }

  .pp-projects details.pp-project-card__accordion[open] .pp-project-card__details{
    display: block;
  }

  .pp-projects details.pp-project-card__accordion[open] .pp-project-card__toggle-text--closed{
    display: none;
  }

  .pp-projects details.pp-project-card__accordion[open] .pp-project-card__toggle-text--open{
    display: inline;
  }
}

/* ===== Блок: Избранные проекты (Gutenberg, без JS плагина) ===== */
.wpb-featured-projects{
  padding: 20px 0;
}

.wpb-featured-projects__inner{
  max-width: var(--wpb-container-max);
  margin: 0 auto;
  padding: 0 var(--wpb-container-pad);
}

.wpb-featured-projects__head{
  text-align: center;
  margin-bottom: 22px;
}

.wpb-featured-projects__title{
  margin: 0 0 8px 0;
  color: var(--wpb-accent);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.1;
}

.wpb-featured-projects__subtitle{
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
}

.wpb-featured-projects__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.wpb-featured-projects__slider{
  position: relative;
}

.wpb-featured-projects__nav{
  display: none;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wpb-featured-projects__nav-btn{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.90);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 18px rgba(0,0,0,0.55);
}

.wpb-featured-projects__nav-btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

@media (hover: hover) and (pointer: fine){
  .wpb-featured-projects__nav-btn:hover{
    transform: translateY(-1px);
    border-color: rgba(0,214,15,0.45);
    box-shadow: 0 0 16px rgba(0,214,15,0.14);
  }
}

.wpb-featured-projects__dots{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wpb-featured-projects__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  padding: 0;
}

.wpb-featured-projects__dot[aria-current="true"]{
  width: 22px;
  background: rgba(0,214,15,0.65);
  border-color: rgba(0,214,15,0.65);
  box-shadow: 0 0 14px rgba(0,214,15,0.18);
}

.wpb-featured-projects-card{
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--wpb-border);
  box-shadow: 0 0 18px rgba(0, 214, 15, 0.18);
  overflow: hidden;
  background: rgba(0,0,0,0.08);
}

.wpb-featured-projects-card__media{
  position: relative;
  overflow: hidden;
}

.wpb-featured-projects__img{
  display: block;
  width: 100%;
  height: auto;
}

/* Оверлей (десктоп) */
.wpb-featured-projects-card__overlay{
  position: absolute;
  inset: 0;
  padding: 18px;
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.32s;
  overflow: auto;
}

.wpb-featured-projects-card__details--mobile{
  display: none;
}

.wpb-featured-projects-card:hover .wpb-featured-projects-card__overlay{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

.wpb-featured-projects-card__title{
  margin: 0 0 12px 0;
  color: var(--wpb-accent);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.15;
}

.wpb-featured-projects-card__desc{
  margin: 0 0 12px 0;
  color: rgba(255,255,255,0.85);
}

.wpb-featured-projects-card__block{
  margin-top: 12px;
}

.wpb-featured-projects-card__block-title{
  color: var(--wpb-accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.wpb-featured-projects-card__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wpb-featured-projects-card__tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--wpb-border);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 500;
  line-height: 1;
}

.wpb-featured-projects-card__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.90);
}

.wpb-featured-projects-card__stats{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.wpb-featured-projects-card__stat{
  border: 1px solid var(--wpb-border);
  border-radius: 14px;
  padding: 10px 14px;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 214, 15, 0.18);
  min-width: 140px;
  text-align: center;
}

.wpb-featured-projects-card__cta{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.wpb-featured-projects-card__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  transform: translateZ(0);
}

.wpb-featured-projects-card__btn--primary{
  border: 1px solid var(--wpb-accent);
  background: var(--wpb-accent);
  color: #000000;
}

.wpb-featured-projects-card__btn--ghost{
  border: 1px solid rgba(0,214,15,0.55);
  background: rgba(0,0,0,0.35);
  color: #ffffff;
}

.wpb-featured-projects-card__btn:hover{
  transform: scale(1.03);
}

/* Mobile: без hover, показываем обычный поток + details */
@media (max-width: 768px){
  .wpb-featured-projects__inner{
    padding: 0;
  }

  /* Mobile slider */
  .wpb-featured-projects__grid{
    display: flex;
    gap: 14px;
    overflow-x: auto;
    align-items: flex-start;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    -webkit-overflow-scrolling: touch;
    padding: 6px 2px 50px 2px; /* leave space for overlay nav */
  }

  .wpb-featured-projects__grid::before,
  .wpb-featured-projects__grid::after{
    content: "";
    flex: 0 0 9%;
  }

  .wpb-featured-projects__grid::-webkit-scrollbar{
    height: 0;
    width: 0;
  }

  .wpb-featured-projects-card{
    flex: 0 0 86%;
    scroll-snap-align: center;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
  }

  /* Carousel visuals only after JS init */
  [data-wpb-fp-carousel="1"] .wpb-featured-projects-card{
    transform: perspective(900px) rotateY(0deg) scale(0.94);
    opacity: 0.60;
    filter: blur(0.8px) saturate(0.95);
  }

  [data-wpb-fp-carousel="1"] .wpb-featured-projects-card.is-active{
    transform: perspective(900px) rotateY(0deg) scale(1);
    opacity: 1;
    filter: none;
    border-color: rgba(0,214,15,0.55);
    box-shadow:
      0 0 30px rgba(0,0,0,0.55),
      0 0 26px rgba(0,214,15,0.18);
  }

  [data-wpb-fp-carousel="1"] .wpb-featured-projects-card.is-prev{
    transform: perspective(900px) rotateY(-10deg) scale(0.96);
    opacity: 0.78;
    filter: blur(0.45px) saturate(0.98);
  }

  [data-wpb-fp-carousel="1"] .wpb-featured-projects-card.is-next{
    transform: perspective(900px) rotateY(10deg) scale(0.96);
    opacity: 0.78;
    filter: blur(0.45px) saturate(0.98);
  }

  .wpb-featured-projects__nav{
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    padding: 0 12px;
    pointer-events: none;
  }

  .wpb-featured-projects__nav > *{
    pointer-events: auto;
  }

  @media (prefers-reduced-motion: reduce){
    .wpb-featured-projects-card{
      transition: none !important;
      transform: none !important;
      opacity: 1 !important;
      filter: none !important;
    }
  }

  .wpb-featured-projects-card{
    display: flex;
    flex-direction: column;
    gap: 0;
    background: transparent;
  }

  .wpb-featured-projects-card__overlay{
    position: static;
    inset: auto;
    padding: 10px;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    overflow: visible;
  }

  .wpb-featured-projects-card__details--desktop{
    display: none;
  }

  .wpb-featured-projects-card__details--mobile{
    display: block;
    margin-top: 10px;
  }

  .wpb-featured-projects-card__toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--wpb-border);
    background-color: rgba(0,0,0,0.35);
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    list-style: none;
  }

  .wpb-featured-projects-card__toggle::-webkit-details-marker{ display:none; }
  .wpb-featured-projects-card__toggle::marker{ content:""; }

  .wpb-featured-projects-card__toggle-text--open{ display:none; }
  details[open] .wpb-featured-projects-card__toggle-text--closed{ display:none; }
  details[open] .wpb-featured-projects-card__toggle-text--open{ display:inline; }

  .wpb-featured-projects-card__details-inner{
    margin-top: 12px;
  }

  /* Фото без внутренних отступов, текст — с padding 10px (см. overlay выше) */
  .wpb-featured-projects-card__media{
    padding: 0;
  }
}

.wpb-featured-projects__more{
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.wpb-featured-projects__more-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.35);
  color: #ffffff;
}

/* Глобально ограничиваем жирность: максимум 500 (без !important). */
body{
  font-weight: 500;
}

html{
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }
}

h1, h2, h3, h4, h5, h6,
strong, b,
th, label,
button, input, textarea, select{
  font-weight: 400;
}

h2{
  font-family: "Sora", "Grato Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.15;
}

:where(
  .wpb-hero__title,
  .wpb-skills__title,
  .wpb-skills-card__title,
  .wpb-featured-projects__title,
  .wpb-featured-projects-card__title,
  .wpb-featured-projects-card__block-title,
  .wpb-cta__title,
  .wpb-about__title,
  .wpb-about-card__title,
  .wpb-about__expertise-title,
  .wpb-modal__title,
  .wpb-pricing__title,
  .wpb-pricing-card__title,
  .wpb-pricing-card__section-title,
  .wpb-testimonials__title,
  .pp-section__title,
  .pp-case__title,
  .pp-project-card__title,
  .pp-project-card__block-title,
  .pp-site-footer__title
){
  font-family: "Sora", "Grato Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Ограничение жирности для блоков проектов из плагина (оставляем плагин нетронутым). */
.pp-section__title,
.pp-case__title,
.pp-project-card__title,
.pp-project-card__block-title,
.pp-btn,
.pp-site-footer__title{
  font-weight: 500;
}

.wpb-featured-projects__more-btn:hover{
  box-shadow: 0 0 18px rgba(0,214,15,0.22);
}

/* ===== Блок: CTA (обсудить проект) ===== */
.wpb-cta{
  padding: 0px 0;
}

.wpb-cta__inner{
  max-width: var(--wpb-container-max);
  margin: 0 auto;
  padding: 0 var(--wpb-container-pad);
}

.wpb-cta__card{
  border-radius: 14px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 0 26px rgba(0,0,0,0.55);
  padding: 18px 18px 16px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wpb-cta__card::before{
  content: "";
  position: absolute;
  inset: -30% -30% -30% -30%;
  background: radial-gradient(closest-side, rgba(0,214,15,0.22), rgba(0,214,15,0.00) 70%);
  filter: blur(40px);
  pointer-events: none;
}

.wpb-cta__title{
  position: relative;
  margin: 0 0 6px 0;
  color: var(--wpb-accent);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.wpb-cta__subtitle{
  position: relative;
  margin: 0 0 12px 0;
  color: rgba(255,255,255,0.70);
  font-size: 16px;
  line-height: 1.45;
}

.wpb-cta__actions{
  position: relative;
  display: flex;
  justify-content: center;
}

.wpb-cta__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--wpb-accent);
  background: var(--wpb-accent);
  color: #ffffff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  transform: translateZ(0);
}

.wpb-cta__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0,214,15,0.28);
}

.wpb-cta__btn.is-disabled{
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 980px){
  .wpb-cta{
    padding: 34px 0;
  }
}

/* ===== Блок: About (Обо мне) ===== */
.wpb-about{
  padding: 20px 0;
  font-weight: 500;
}

.wpb-about__inner{
  max-width: var(--wpb-container-max);
  margin: 0 auto;
  padding: 0 var(--wpb-container-pad);
}

.wpb-about__head{
  text-align: center;
  margin-bottom: 26px;
}

.wpb-about__title{
  margin: 0 0 8px 0;
  color: var(--wpb-accent);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 500;
}

.wpb-about__subtitle{
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 16px;
}

.wpb-about__badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  margin: 0 auto 10px auto;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wpb-about__desc{
  margin: 12px auto 0 auto;
  max-width: 76ch;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.55;
}

.wpb-about__grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.wpb-about-card{
  border-radius: 16px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.30);
  box-shadow: 0 0 26px rgba(0,0,0,0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  transform: translateZ(0);
}

.wpb-about-card--big{
  padding: 14px;
  display: grid;
  gap: 12px;
}

.wpb-about-card__media{
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  background: rgba(255,255,255,0.04);
}

.wpb-about-card__media--embed iframe,
.wpb-about-card__media--embed video,
.wpb-about-card__video{
  display: block;
  width: 100%;
  height: 100%;
}

.wpb-about-card__media--embed iframe{
  border: 0;
}

.wpb-about-card__image{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wpb-about__right-list{
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.wpb-about-card--small{
  padding: 14px 14px 12px 14px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

@media (hover: hover) and (pointer: fine){
  .wpb-about-card--small:hover{
    transform: scale(1.02);
    border-color: rgba(0,214,15,0.70);
    box-shadow:
      0 0 26px rgba(0,0,0,0.55),
      0 0 18px rgba(0,214,15,0.20);
  }
}

.wpb-about-card--small:focus-within{
  border-color: rgba(0,214,15,0.65);
  box-shadow:
    0 0 26px rgba(0,0,0,0.55),
    0 0 0 3px rgba(0,214,15,0.18);
}

.wpb-about-card__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wpb-accent);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--wpb-border);
}

.wpb-about-card__title{
  margin: 0 0 8px 0;
  color: var(--wpb-accent);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
}

.wpb-about-card--small .wpb-about-card__title{
  margin: 0 0 4px 0;
}

.wpb-about-card__text{
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.55;
}

.wpb-about-card__text p{
  margin: 0 0 12px 0;
}

.wpb-about-card__text p:last-child{
  margin-bottom: 0;
}

.wpb-about__expertise{
  margin-top: 18px;
  padding: 16px 16px 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.30);
  text-align: center;
}

.wpb-about__expertise-title{
  color: var(--wpb-accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.wpb-about__expertise-text{
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 980px){
  .wpb-about{
    padding: 0px 0;
  }
  .wpb-about.alignfull .wpb-about__left{
    display: none;
  }
  .wpb-about__grid{
    grid-template-columns: 1fr;
  }
  .wpb-about__expertise{
    display: none;
  }
}

/* ===== Модалка: обратная связь ===== */
.wpb-modal-open{
  overflow: hidden;
}

.wpb-modal{
  position: fixed;
  inset: 0;
  z-index: 1000005;
  display: none;
}

.wpb-modal.is-open{
  display: block;
}

.wpb-modal__backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.wpb-modal__dialog{
  position: relative;
  max-width: 560px;
  margin: 8vh auto;
  padding: 18px 18px 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 28px rgba(0,0,0,0.65),
    0 0 22px rgba(0,214,15,0.18);
  box-sizing: border-box;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine){
  .wpb-modal__dialog:hover{
    border-color: rgba(0,214,15,0.70);
    box-shadow:
      0 0 28px rgba(0,0,0,0.65),
      0 0 18px rgba(0,214,15,0.20);
  }
}

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

.wpb-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--wpb-border);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wpb-modal__close:hover{
  transform: scale(1.03);
  border-color: rgba(0,214,15,0.70);
  box-shadow: 0 0 18px rgba(0,214,15,0.20);
}

.wpb-modal__head{
  text-align: center;
  margin-bottom: 14px;
}

.wpb-modal__title{
  color: var(--wpb-accent);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 6px;
}

.wpb-modal__subtitle{
  color: rgba(255,255,255,0.72);
  font-size: 16px;
}

.wpb-modal__form{
  display: grid;
  gap: 12px;
}

.wpb-modal__honeypot{
  display: none;
}

.wpb-modal__field{
  display: grid;
  gap: 6px;
  width: 100%;
}

fieldset.wpb-modal__field{
  border: 0;
  padding: 0;
  margin: 0;
}

fieldset.wpb-modal__field .wpb-modal__label{
  margin-bottom: 4px;
}

.wpb-modal__label{
  color: rgba(255,255,255,0.70);
  font-size: 14px;
}

.wpb-modal__checkbox{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.35);
  color: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-size: 13px;
  line-height: 1.3;
}

.wpb-modal__toggle{
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.35);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wpb-modal__toggle-icon{
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--wpb-accent);
  border-bottom: 2px solid var(--wpb-accent);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.wpb-modal__toggle[aria-expanded="true"] .wpb-modal__toggle-icon{
  transform: rotate(-135deg);
}

.wpb-modal__more{
  display: contents;
}

.wpb-modal__checkbox input{
  width: 16px;
  height: 16px;
  accent-color: var(--wpb-accent);
  margin: 0;
}

.wpb-modal__checkbox:hover,
.wpb-modal__checkbox:focus-within{
  border-color: rgba(0,214,15,0.60);
  box-shadow: 0 0 16px rgba(0,214,15,0.18);
  background: rgba(0,0,0,0.45);
}

fieldset.wpb-modal__field{
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

fieldset.wpb-modal__field .wpb-modal__checkbox{
  width: 100%;
}

fieldset.wpb-modal__field .wpb-modal__label{
  grid-column: 1 / -1;
}

@media (max-width: 380px){
  fieldset.wpb-modal__field{
    grid-template-columns: 1fr;
  }
  .wpb-modal__checkbox{
    padding: 8px;
    font-size: 12.5px;
  }
}

@media (max-width: 640px){
  fieldset.wpb-modal__field{
    grid-template-columns: 1fr;
  }
  .wpb-modal__toggle{
    display: flex;
  }
  .wpb-modal__more{
    display: none;
    grid-column: 1 / -1;
    gap: 8px;
  }
  .wpb-modal__more.is-open{
    display: grid;
  }
}

.wpb-modal__input,
.wpb-modal__textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.35);
  color: #ffffff;
  padding: 12px 12px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.wpb-modal__textarea{
  resize: vertical;
}

.wpb-modal__input:focus,
.wpb-modal__textarea:focus{
  border-color: rgba(0,214,15,0.70);
  box-shadow: 0 0 18px rgba(0,214,15,0.20);
}

.wpb-modal__status{
  min-height: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.wpb-modal__status.is-error{
  color: rgba(255,120,120,0.95);
}

.wpb-modal__status.is-success{
  color: rgba(0,214,15,0.95);
}

.wpb-modal__submit{
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--wpb-accent);
  background: var(--wpb-accent);
  color: #000000;
  font-weight: 500;
  padding: 12px 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.wpb-modal__submit:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0,214,15,0.28);
}

.wpb-modal__submit:disabled{
  opacity: 0.65;
  cursor: not-allowed;
}

/* Mobile / small-height screens: compact layout so it fits without internal scrolling */
@media (max-width: 640px), (max-height: 700px){
  .wpb-modal.is-open{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    padding-top: calc(10px + env(safe-area-inset-top));
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .wpb-modal__dialog{
    margin: 0;
    width: 100%;
    max-width: 520px;
    padding: 12px 12px 10px 12px;
    border-radius: 14px;
  }

  .wpb-modal__close{
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 18px;
  }

  .wpb-modal__head{
    margin-bottom: 10px;
  }

  .wpb-modal__title{
    font-size: 18px;
    margin-bottom: 4px;
  }

  .wpb-modal__subtitle{
    font-size: 13px;
    line-height: 1.35;
  }

  .wpb-modal__form{
    gap: 8px;
  }

  .wpb-modal__field{
    gap: 5px;
  }

  .wpb-modal__label{
    font-size: 12.5px;
  }

  .wpb-modal__checkbox{
    padding: 7px 9px;
    border-radius: 12px;
    font-size: 12.5px;
  }

  .wpb-modal__toggle{
    padding: 7px 9px;
    border-radius: 12px;
    font-size: 12.5px;
  }

  .wpb-modal__input,
  .wpb-modal__textarea{
    padding: 10px 10px;
    border-radius: 12px;
  }

  .wpb-modal__textarea{
    height: 72px;
    min-height: 72px;
    resize: none;
  }

  .wpb-modal__submit{
    padding: 11px 12px;
  }
}

@media (max-width: 640px) and (max-height: 640px){
  /* Save vertical space on very small screens */
  .wpb-modal__subtitle{
    display: none;
  }
}

/* ===== Блок: Pricing (карточки с расценками) ===== */
.wpb-pricing{
  padding: 0px 0 3rem 0;
}

.wpb-pricing.alignfull{
  position: relative;
  background: transparent;
  overflow: hidden;
}


.wpb-pricing__inner{
  max-width: var(--wpb-container-max);
  margin: 0 auto;
  padding: 0 var(--wpb-container-pad);
}

.wpb-pricing__head{
  text-align: center;
  margin-bottom: 26px;
}

.wpb-pricing__title{
  margin: 0 0 40px 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 500;
}

.wpb-pricing__subtitle{
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.5;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.wpb-pricing__grid{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.wpb-pricing__slider{
  position: relative;
}

.wpb-pricing__nav{
  display: none;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wpb-pricing__nav-btn{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.90);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 18px rgba(0,0,0,0.55);
}

.wpb-pricing__nav-btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

@media (hover: hover) and (pointer: fine){
  .wpb-pricing__nav-btn:hover{
    transform: translateY(-1px);
    border-color: rgba(0,214,15,0.45);
    box-shadow: 0 0 16px rgba(0,214,15,0.14);
  }
}

.wpb-pricing__dots{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wpb-pricing__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  padding: 0;
}

.wpb-pricing__dot[aria-current="true"]{
  width: 22px;
  background: rgba(0,214,15,0.65);
  border-color: rgba(0,214,15,0.65);
  box-shadow: 0 0 14px rgba(0,214,15,0.18);
}

.wpb-pricing.alignfull .wpb-pricing__grid{
  gap: 30px;
}

.wpb-pricing-card{
  --wpb-pricing-accent: var(--wpb-accent);
  border-radius: 18px;
  border: 1px solid var(--wpb-border);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 0 26px rgba(0,0,0,0.55);
  padding: 18px 18px 16px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  transform: translateZ(0);
  display: flex;
  flex-direction: column;
}

.wpb-pricing.alignfull .wpb-pricing-card{
  border-radius: 20px;
  border-color: var(--wpb-border);
  background: rgba(0,0,0,0.30);
  box-shadow: 0 0 24px rgba(0,0,0,0.55);
  padding: 18px 18px 20px 18px;
}

.wpb-pricing.alignfull .wpb-pricing-card::before{
  opacity: 0;
}

.wpb-pricing-card::before{
  content: "";
  position: absolute;
  inset: -30% -30% -30% -30%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--wpb-pricing-accent) 32%, transparent), transparent 70%);
  filter: blur(44px);
  opacity: 0.9;
  pointer-events: none;
}

.wpb-pricing-card.is-featured{
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 0 28px rgba(0,0,0,0.65),
    0 0 22px color-mix(in srgb, var(--wpb-pricing-accent) 45%, transparent);
  z-index: 2;
}

.wpb-pricing.alignfull .wpb-pricing-card.is-featured{
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    0 20px 46px rgba(0,0,0,0.6);
}

.wpb-pricing-card.is-featured::after{
  content: "Recommended";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.wpb-pricing-card__title,
.wpb-pricing-card__price,
.wpb-pricing-card__note,
.wpb-pricing-card__section,
.wpb-pricing-card__cta{
  position: relative;
}

.wpb-pricing-card__title{
  margin: 0 0 10px 0;
  color: color-mix(in srgb, var(--wpb-pricing-accent) 90%, #ffffff);
  font-weight: 500;
  font-size: 18px;
}

.wpb-pricing-card__price{
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.wpb-pricing-card__price-value{
  font-size: 44px;
  line-height: 1;
  font-weight: 500;
  color: #ffffff;
}

.wpb-pricing.alignfull .wpb-pricing-card__price-value{
  font-size: 29px;
}

.wpb-pricing-card__price-period{
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.wpb-pricing-card__note{
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-bottom: 10px;
}

.wpb-pricing-card__section{
  margin-top: 12px;
}

.wpb-pricing-card__section-title{
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-bottom: 8px;
}

.wpb-pricing-card__list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(255,255,255,0.80);
}

.wpb-pricing-card__list li{
  list-style: none;
  position: relative;
  padding-left: 18px;
}

.wpb-pricing-card__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--wpb-pricing-accent);
  border-bottom: 2px solid var(--wpb-pricing-accent);
  transform: rotate(-45deg);
  opacity: 0.9;
}

.wpb-pricing-card__cta{
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: center;
}

.wpb-pricing-card__btn{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--wpb-pricing-accent) 60%, var(--wpb-border));
  background: rgba(0,0,0,0.22);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  transform: translateZ(0);
}

.wpb-pricing.alignfull .wpb-pricing-card__btn{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}

.wpb-pricing-card__btn:hover{
  transform: scale(1.02);
  border-color: color-mix(in srgb, var(--wpb-pricing-accent) 70%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--wpb-pricing-accent) 28%, transparent);
}

.wpb-pricing-card__btn.is-disabled{
  opacity: 0.9;
}

@media (hover: hover) and (pointer: fine){
  .wpb-pricing-card:hover{
    transform: scale(1.01);
    border-color: rgba(0,214,15,0.70);
    box-shadow:
      0 0 26px rgba(0,0,0,0.55),
      0 0 18px rgba(0,214,15,0.20);
  }
  .wpb-pricing-card.is-featured:hover{
    transform: translateY(-10px) scale(1.04);
  }
}

@media (max-width: 980px){
  .wpb-pricing{
    padding: 0px 0;
  }
  .wpb-pricing__inner{
    padding: 0;
  }
  .wpb-pricing-card.is-featured{
    transform: none;
  }
  .wpb-pricing__title {
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 500;
}

  /* Mobile slider: horizontal swipe + snap */
  .wpb-pricing__grid{
    display: flex;
    gap: 14px;
    overflow-x: auto;
    align-items: flex-start;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 74px 2px; /* leave space for overlay nav */
  }

  .wpb-pricing__grid::before,
  .wpb-pricing__grid::after{
    content: "";
    flex: 0 0 9%;
  }

  /* Гаттеры постоянные — как в образцовом слайдере `wpb-skills__grid`. */

  .wpb-pricing__grid::-webkit-scrollbar{
    height: 0;
    width: 0;
  }

  .wpb-pricing-card{
    flex: 0 0 82%;
    scroll-snap-align: center;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
  }

  /* Carousel visuals only after JS init */
  [data-wpb-pricing-carousel="1"] .wpb-pricing-card{
    transform: perspective(900px) rotateY(0deg) scale(0.94);
    opacity: 0.60;
    filter: blur(0.8px) saturate(0.95);
  }

  [data-wpb-pricing-carousel="1"] .wpb-pricing-card.is-active{
    transform: perspective(900px) rotateY(0deg) scale(1);
    opacity: 1;
    filter: none;
    border-color: rgba(0,214,15,0.55);
    box-shadow:
      0 0 30px rgba(0,0,0,0.55),
      0 0 26px rgba(0,214,15,0.18);
  }

  [data-wpb-pricing-carousel="1"] .wpb-pricing-card.is-prev{
    transform: perspective(900px) rotateY(-10deg) scale(0.96);
    opacity: 0.78;
    filter: blur(0.45px) saturate(0.98);
  }

  [data-wpb-pricing-carousel="1"] .wpb-pricing-card.is-next{
    transform: perspective(900px) rotateY(10deg) scale(0.96);
    opacity: 0.78;
    filter: blur(0.45px) saturate(0.98);
  }

  /*
    ВАЖНО: не меняем flex-basis у соседних карточек.
    Иначе меняется scrollWidth трека и крайний слайд (особенно последний)
    может не дотягиваться до центра на мобилке.
    Визуальный “отступ/иерархия” остаётся через transform scale выше.
  */

  .wpb-pricing__nav{
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    padding: 0 12px;
    pointer-events: none;
  }

  .wpb-pricing__nav > *{
    pointer-events: auto;
  }

  @media (prefers-reduced-motion: reduce){
    .wpb-pricing-card{
      transition: none !important;
      transform: none !important;
      opacity: 1 !important;
      filter: none !important;
    }
  }

.wpb-testimonials {
  padding: 0px 0;
}
.wpb-featured-projects {
  padding: 00px 0;
}
}

/* ===== Блок: Testimonials (marquee) ===== */
.wpb-testimonials{
  padding: 20px 0;
}

.wpb-testimonials__inner{
  max-width: var(--wpb-container-max);
  margin: 0 auto;
  padding: 0 var(--wpb-container-pad);
}

.wpb-testimonials__head{
  text-align: center;
  margin-bottom: 22px;
}

.wpb-testimonials__title{
  margin: 0 0 8px 0;
  color: var(--wpb-accent);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.1;
}

.wpb-testimonials__subtitle{
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
}

.wpb-testimonials__marquee{
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 6px 0 2px;
  --wpb-marquee-duration: 20s;
}

.wpb-testimonials__row{
  overflow: hidden;
  padding: 0 6px;
  box-sizing: border-box;
}

.wpb-testimonials__track{
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 0;
  animation: wpb-testimonials-marquee var(--wpb-marquee-duration) linear infinite;
  will-change: transform;
}

.wpb-testimonials__row.is-reverse .wpb-testimonials__track{
  animation-direction: reverse;
}

.wpb-testimonials.is-paused .wpb-testimonials__track,
.wpb-testimonials.is-static .wpb-testimonials__track{
  animation-play-state: paused;
}

.wpb-testimonials.is-static .wpb-testimonials__track{
  transform: none;
}

.wpb-testimonials__fade{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  pointer-events: none;
  z-index: 2;
}

.wpb-testimonials__fade--left{
  left: 0;
  background: linear-gradient(90deg, rgba(12,18,15,0.95), rgba(12,18,15,0));
}

.wpb-testimonials__fade--right{
  right: 0;
  background: linear-gradient(270deg, rgba(12,18,15,0.95), rgba(12,18,15,0));
}

/* alignfull: затемнение в цвет сайта */
.wpb-testimonials.alignfull .wpb-testimonials__fade--left{
  background: linear-gradient(90deg, rgba(12,18,15,0.98), rgba(12,18,15,0));
}

.wpb-testimonials.alignfull .wpb-testimonials__fade--right{
  background: linear-gradient(270deg, rgba(12,18,15,0.98), rgba(12,18,15,0));
}

.wpb-testimonials-card{
  flex: 0 0 auto;
  width: 420px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  padding: 14px 14px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 196px;
  max-height: 240px;
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: background-color, border-color;
  cursor: pointer;
}

.wpb-testimonials-card:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,214,15,0.5);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.35),
    0 0 18px rgba(0,214,15,0.18);
}

.wpb-testimonials-card:focus-visible{
  outline: 2px solid rgba(0,214,15,0.6);
  outline-offset: 2px;
}

.wpb-testimonials-card__quote{
  font-size: 32px;
  line-height: 1;
  color: var(--wpb-accent);
  opacity: 0.85;
}

.wpb-testimonials-card__text{
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.5;
  line-clamp: 4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wpb-testimonials-card__rating{
  display: flex;
  align-items: center;
  gap: 4px;
}

.wpb-testimonials-card__star{
  font-size: 14px;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s ease;
}

.wpb-testimonials-card__star.is-active{
  color: var(--wpb-accent);
}

.wpb-testimonials-card__meta{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}


:root[data-theme="light"] .wpb-testimonial-modal__text{
  color: #0b0b0b;
}

.wpb-testimonials-card__avatar{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(0,214,15,0.45);
}

.wpb-testimonials-card__name{
  font-weight: 500;
  color: #ffffff;
  font-size: 15px;
  line-clamp: 1;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wpb-testimonials-card__role{
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-clamp: 1;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wpb-testimonials__hint{
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.wpb-testimonials__empty{
  text-align: center;
  color: rgba(255,255,255,0.7);
}

/* ===== Модалка отзыва ===== */
.wpb-testimonial-modal__body{
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.wpb-testimonial-modal__avatar{
  width: 88px;
  height: 88px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(0,214,15,0.45);
}

.wpb-testimonial-modal__rating{
  display: flex;
  gap: 6px;
  font-size: 18px;
}

.wpb-testimonial-modal__text{
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 980px){
  .wpb-testimonials-card{
    width: 240px;
  }
}

@media (max-width: 700px){
  .wpb-testimonials-card{
    width: 220px;
  }
  .wpb-featured-projects__title{
    font-size: 30px;
  }
  .wpb-testimonials__title{
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce){
  .wpb-testimonials__track{
    animation: none !important;
    transform: none !important;
  }
}

@keyframes wpb-testimonials-marquee{
  from{
    transform: translate3d(0,0,0);
  }
  to{
    transform: translate3d(-50%,0,0);
  }
}

/* ===== Dark theme overrides ===== */
:root:not([data-theme="light"]) .wpb-hero__subtitle,
:root:not([data-theme="light"]) .wpb-skills__subtitle,
:root:not([data-theme="light"]) .wpb-featured-projects__subtitle,
:root:not([data-theme="light"]) .wpb-cta__subtitle,
:root:not([data-theme="light"]) .wpb-about__subtitle,
:root:not([data-theme="light"]) .wpb-about-card__text,
:root:not([data-theme="light"]) .wpb-testimonials__subtitle,
:root:not([data-theme="light"]) .wpb-testimonials__hint,
:root:not([data-theme="light"]) .wpb-testimonials-card__text,
:root:not([data-theme="light"]) .wpb-testimonials-card__role,
:root:not([data-theme="light"]) .wpb-testimonials-card__star,
:root:not([data-theme="light"]) .wpb-about__expertise-text,
:root:not([data-theme="light"]) .wpb-hero__achievement-label,
:root:not([data-theme="light"]) .wpb-modal__subtitle,
:root:not([data-theme="light"]) .wpb-modal__label,
:root:not([data-theme="light"]) .wpb-modal__status,
:root:not([data-theme="light"]) .wpb-pricing__subtitle,
:root:not([data-theme="light"]) .wpb-pricing-card__price-period,
:root:not([data-theme="light"]) .wpb-pricing-card__note,
:root:not([data-theme="light"]) .wpb-pricing-card__section-title,
:root:not([data-theme="light"]) .wpb-pricing-card__list,
:root:not([data-theme="light"]) .wpb-featured-projects-card__desc,
:root:not([data-theme="light"]) .wpb-featured-projects-card__list,
:root:not([data-theme="light"]) .pp-case__excerpt,
:root:not([data-theme="light"]) .pp-section__subtitle,
:root:not([data-theme="light"]) .pp-project-single__desc,
:root:not([data-theme="light"]) .pp-project-card__desc{
  color: var(--wpb-text-color);
}

:root:not([data-theme="light"]) .wpb-hero__achievement-value,
:root:not([data-theme="light"]) .wpb-skill__label,
:root:not([data-theme="light"]) .wpb-skills-card__title,
:root:not([data-theme="light"]) .wpb-testimonials-card__name,
:root:not([data-theme="light"]) .wpb-featured-projects-card__tag,
:root:not([data-theme="light"]) .wpb-featured-projects-card__stat,
:root:not([data-theme="light"]) .wpb-featured-projects-card__btn--ghost,
:root:not([data-theme="light"]) .wpb-featured-projects-card__toggle,
:root:not([data-theme="light"]) .wpb-featured-projects__more-btn,
:root:not([data-theme="light"]) .wpb-pricing-card__title,
:root:not([data-theme="light"]) .pp-section__title,
:root:not([data-theme="light"]) .pp-case__title,
:root:not([data-theme="light"]) .pp-project-card__title,
:root:not([data-theme="light"]) .pp-site-footer__title,
:root:not([data-theme="light"]) .wpb-about-card__title{
  color: var(--wpb-heading-color);
}

/* ===== Light theme ===== */
:root[data-theme="light"]{
  --wpb-border: rgba(10,10,10,0.14);
  --wpb-heading-color-light: #2b2b2b;
  --wpb-hero-bg: #f6f8f5 !important;
  --wpb-hero-fg: #0b0b0b !important;
  --wpb-hero-muted: rgba(10,10,10,0.7) !important;
  --wpb-hero-card-bg: rgba(255,255,255,0.82) !important;
  --wpb-hero-border: rgba(0,0,0,0.1) !important;
}

:root[data-theme="light"] body{
  background-color: #f6f8f5;
  background-image:
    radial-gradient(900px circle at 12% 14%, rgba(0,214,15,0.12) 0%, rgba(0,214,15,0.00) 60%),
    radial-gradient(700px circle at 86% 28%, rgba(42,97,255,0.08) 0%, rgba(42,97,255,0.00) 62%),
    radial-gradient(900px circle at 50% 90%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.00) 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: auto, auto, auto, 260px 260px;
  color: #0b0b0b;
}

:root[data-theme="light"] .wpb-hero-bg{
  background-color: #f6f8f5 !important;
}

:root[data-theme="light"] .wpb-hero-brand-text{
  color: #00FF66;
  opacity: 0.2;
}

:root[data-theme="light"] #site-header.site-header{
  background: #f6f8f5;
  color: #0b0b0b;
}

:root[data-theme="light"] #site-footer.site-footer{
  --wpb-footer-bg:
    radial-gradient(700px circle at 12% 0%, rgba(0,214,15,0.10), rgba(0,214,15,0) 62%),
    radial-gradient(800px circle at 88% 10%, rgba(0,214,15,0.08), rgba(0,214,15,0) 65%),
    #eef1ed;
  --wpb-footer-fg: #0b0b0b;
  --wpb-footer-muted: rgba(10,10,10,0.78);
  --wpb-footer-border: rgba(0,0,0,0.10);

  box-shadow: 0 -18px 40px rgba(0,0,0,0.08);
}

:root[data-theme="light"] #site-footer .wp-block-site-title,
:root[data-theme="light"] #site-footer .wp-block-heading{
  color: var(--wpb-footer-fg);
}

:root[data-theme="light"] #site-header .site-navigation a{
  color: #0b0b0b;
}

:root[data-theme="light"] #site-header .wp-block-navigation-item__content{
  color: #0b0b0b;
}

:root[data-theme="light"] #site-header .wpb-primary-menu__list a{
  color: #0b0b0b;
}

:root[data-theme="light"] #site-header .wpb-primary-menu__list a:hover{
  color: #000000;
}

:root[data-theme="light"] #site-header .wp-block-navigation-item__content:hover{
  color: #000000;
}


/* (cleanup) Light footer used to have broad !important overrides; variables above control colors now. */

:root[data-theme="light"] #site-footer .site-footer__social a{
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.10);
}

:root[data-theme="light"] #site-footer .site-footer__social a:hover{
  background: rgba(0,214,15,0.10);
  border-color: rgba(0,214,15,0.45);
  box-shadow: 0 0 18px rgba(0,214,15,0.14);
}

:root[data-theme="light"] .wpb-theme-toggle{
  background: rgba(255,255,255,0.72);
  color: #0b0b0b;
}

:root[data-theme="light"] .wpb-theme-toggle__switch{
  background: rgba(0,0,0,0.08);
}

:root[data-theme="light"] .wpb-theme-toggle__switch::after{
  transform: translateX(16px);
  background: #0b0b0b;
}

:root[data-theme="light"] .wp-block-navigation__responsive-container.is-menu-open{
  background: rgba(255,255,255,0.9);
}

:root[data-theme="light"] .wp-block-navigation__responsive-container-content{
  background: rgba(255,255,255,0.96);
  box-shadow: 18px 0 36px rgba(0,0,0,0.18);
  color: #0b0b0b;
}

:root[data-theme="light"] .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-close{
  background: rgba(0,0,0,0.06);
  color: #0b0b0b;
}

:root[data-theme="light"] .wp-block-navigation__responsive-container .wp-block-navigation-item__content{
  color: #0b0b0b;
}

:root[data-theme="light"] .wp-block-navigation__responsive-container .wp-block-navigation-item__content:hover{
  background: rgba(0,0,0,0.04);
}


:root[data-theme="light"] .wpb-hero__subtitle,
:root[data-theme="light"] .wpb-skills__subtitle,
:root[data-theme="light"] .wpb-featured-projects__subtitle,
:root[data-theme="light"] .wpb-cta__subtitle,
:root[data-theme="light"] .wpb-about__subtitle,
:root[data-theme="light"] .wpb-about-card__text,
:root[data-theme="light"] .wpb-testimonials__subtitle,
:root[data-theme="light"] .wpb-testimonials__hint,
:root[data-theme="light"] .wpb-testimonials-card__text,
:root[data-theme="light"] .wpb-testimonials-card__role,
:root[data-theme="light"] .wpb-testimonials-card__star,
:root[data-theme="light"] .wpb-about__expertise-text,
:root[data-theme="light"] .wpb-hero__achievement-label,
:root[data-theme="light"] .wpb-modal__subtitle,
:root[data-theme="light"] .wpb-modal__label,
:root[data-theme="light"] .wpb-modal__status,
:root[data-theme="light"] .wpb-pricing__subtitle,
:root[data-theme="light"] .wpb-pricing-card__price-period,
:root[data-theme="light"] .wpb-pricing-card__note,
:root[data-theme="light"] .wpb-pricing-card__section-title,
:root[data-theme="light"] .wpb-pricing-card__list,
:root[data-theme="light"] .wpb-featured-projects-card__desc,
:root[data-theme="light"] .wpb-featured-projects-card__list{
  color: rgba(10,10,10,0.7);
}

:root[data-theme="light"] .wpb-hero-title-gradient{
  /* darker for better contrast on light theme */
  background-image: linear-gradient(to bottom, #0b0b0b, #1a1a1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Prevent descenders from being clipped */
  display: inline-block;
  line-height: 1.12;
  padding-bottom: 0.06em;
}

:root[data-theme="light"] .wpb-hero-card{
  background: rgba(255,255,255,0.82) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}

/* ===== Floating buttons (Social FAB + Scroll-to-top) ===== */
.wpb-floating-buttons{
  position: fixed;
  inset: 0;
  z-index: 1000000;
  pointer-events: none;
}

.wpb-floating-buttons [data-wpb-fab-toggle],
.wpb-floating-buttons [data-wpb-scroll-top]{
  position: fixed;
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  user-select: none;
  background: transparent;
  border: 1px solid rgba(0,214,15,0.70);
  color: #00D60F;
  box-shadow: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

/* Positioning (don’t rely on Tailwind utilities outside React pages) */
.wpb-floating-buttons [data-wpb-fab-toggle]{
  left: 16px;
  bottom: 16px;
  z-index: 1000000;
}
.wpb-floating-buttons [data-wpb-scroll-top]{
  right: 16px;
  bottom: 16px;
  z-index: 1000000;
}
@media (min-width: 640px){
  .wpb-floating-buttons [data-wpb-fab-toggle],
  .wpb-floating-buttons [data-wpb-scroll-top]{
    width: 56px;
    height: 56px;
  }
  .wpb-floating-buttons [data-wpb-fab-toggle]{
    left: 24px;
    bottom: 24px;
  }
  .wpb-floating-buttons [data-wpb-scroll-top]{
    right: 24px;
    bottom: 24px;
  }
}

.wpb-floating-buttons [data-wpb-fab-toggle]:hover,
.wpb-floating-buttons [data-wpb-scroll-top]:hover{
  border-color: #00D60F;
  box-shadow: 0 0 22px rgba(0,214,15,0.25);
}

/* Stack: scroll button sits above the FAB toggle */
.wpb-scroll-top-btn{
  bottom: calc(16px + 44px + 12px) !important;
}
@media (min-width: 640px){
  .wpb-scroll-top-btn{
    bottom: calc(24px + 56px + 12px) !important;
  }
}

.wpb-social-fab-menu{
  position: fixed;
  left: 16px;
  bottom: calc(16px + 44px + 12px);
  display: grid;
  gap: 10px;
  z-index: 1000000;
  pointer-events: auto;
}
@media (min-width: 640px){
  .wpb-social-fab-menu{
    left: 24px;
    bottom: calc(24px + 56px + 12px);
  }
}

.wpb-social-fab-menu[aria-hidden="true"]{
  display: none;
}

.wpb-social-fab-menu a{
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  user-select: none;
  background: transparent;
  border: 1px solid rgba(0,214,15,0.70);
  color: #00D60F;
  box-shadow: none;
  text-decoration: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
@media (min-width: 640px){
  .wpb-social-fab-menu a{
    width: 56px;
    height: 56px;
  }
}
.wpb-social-fab-menu a:hover{
  border-color: #00D60F;
  box-shadow: 0 0 22px rgba(0,214,15,0.25);
}

:root[data-theme="light"] .wpb-hero-badge,
:root[data-theme="light"] .wpb-hero-stat{
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.08) !important;
}

:root[data-theme="light"] .wpb-hero-fg{
  color: #0b0b0b;
}

:root[data-theme="light"] .wpb-hero-muted{
  color: rgba(10,10,10,0.7);
}

:root[data-theme="light"] .wpb-hero__title,
:root[data-theme="light"] .wpb-skills__title,
:root[data-theme="light"] .wpb-featured-projects__title,
:root[data-theme="light"] .wpb-cta__title,
:root[data-theme="light"] .wpb-about__title,
:root[data-theme="light"] .wpb-pricing__title,
:root[data-theme="light"] .wpb-pricing-card__title,
:root[data-theme="light"] .wpb-testimonials__title,
:root[data-theme="light"] .wpb-skills-card__title,
:root[data-theme="light"] .wpb-about-card__title,
:root[data-theme="light"] .pp-section__title,
:root[data-theme="light"] .pp-case__title,
:root[data-theme="light"] .pp-project-card__title,
:root[data-theme="light"] .pp-site-footer__title{
  color: var(--wpb-heading-color-light);
}

:root[data-theme="light"] .wpb-skills-card,
:root[data-theme="light"] .wpb-cta__card,
:root[data-theme="light"] .wpb-about-card,
:root[data-theme="light"] .wpb-about__expertise,
:root[data-theme="light"] .wpb-pricing-card,
:root[data-theme="light"] .wpb-testimonials-card,
:root[data-theme="light"] .wpb-featured-projects-card{
  background: rgba(255,255,255,0.82);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
:root[data-theme="light"] .wpb-testimonials-card{
  border-color: rgba(0,0,0,0.08);
}

:root[data-theme="light"] .wpb-testimonials-card:hover{
  background: rgba(255,255,255,0.96);
  border-color: rgba(0,214,15,0.55);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.12),
    0 0 18px rgba(0,214,15,0.12);
}

:root[data-theme="light"] .wpb-testimonials__fade--left{
  background: linear-gradient(90deg, rgba(246,248,245,0.96), rgba(246,248,245,0));
}

:root[data-theme="light"] .wpb-testimonials__fade--right{
  background: linear-gradient(270deg, rgba(246,248,245,0.96), rgba(246,248,245,0));
}


:root[data-theme="light"] .wpb-about-card__media{
  background: rgba(0,0,0,0.04);
}

:root[data-theme="light"] .wpb-hero__media-frame{
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

:root[data-theme="light"] .wpb-hero__achievement,
:root[data-theme="light"] .wpb-skills-card__icon,
:root[data-theme="light"] .wpb-about-card__icon{
  background: rgba(0,0,0,0.04);
}

:root[data-theme="light"] .wpb-skill__label,
:root[data-theme="light"] .wpb-hero__achievement-value,
:root[data-theme="light"] .wpb-skills-card__title,
:root[data-theme="light"] .wpb-testimonials-card__name,
:root[data-theme="light"] .wpb-featured-projects-card__tag,
:root[data-theme="light"] .wpb-featured-projects-card__stat,
:root[data-theme="light"] .wpb-featured-projects-card__btn--ghost,
:root[data-theme="light"] .wpb-featured-projects-card__toggle,
:root[data-theme="light"] .wpb-featured-projects__more-btn,
:root[data-theme="light"] .wpb-btn--ghost,
:root[data-theme="light"] .wpb-modal__checkbox,
:root[data-theme="light"] .wpb-modal__toggle,
:root[data-theme="light"] .wpb-modal__input,
:root[data-theme="light"] .wpb-modal__textarea,
:root[data-theme="light"] .wpb-pricing-card__btn{
  color: #0b0b0b;
}

:root[data-theme="light"] .wpb-skill__track{
  background: rgba(0,0,0,0.12);
}

:root[data-theme="light"] .wpb-skill__percent{
  color: rgba(10,10,10,0.7);
}

:root[data-theme="light"] .wpb-testimonials-card__star{
  color: rgba(0,0,0,0.2);
}

:root[data-theme="light"] .wpb-testimonials-card__star.is-active{
  color: var(--wpb-accent);
}

:root[data-theme="light"] .wpb-testimonials-card__avatar{
  border-color: rgba(0,0,0,0.2);
}

:root[data-theme="light"] .wpb-featured-projects-card__overlay{
  background: rgba(255,255,255,0.92);
}

:root[data-theme="light"] .pp-projects .pp-project-card__content{
  background: rgba(255,255,255,0.92);
  color: #0b0b0b;
}

:root[data-theme="light"] .pp-projects-page{
  background-color: #f6f8f5;
}

:root[data-theme="light"] .pp-case,
:root[data-theme="light"] .pp-project-card,
:root[data-theme="light"] .pp-slider{
  background: rgba(255,255,255,0.86);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

:root[data-theme="light"] .pp-case__title,
:root[data-theme="light"] .pp-case__excerpt,
:root[data-theme="light"] .pp-section__subtitle,
:root[data-theme="light"] .pp-project-single__title,
:root[data-theme="light"] .pp-project-single__desc,
:root[data-theme="light"] .pp-project-card,
:root[data-theme="light"] .pp-project-card__desc,
:root[data-theme="light"] .pp-project-card__list,
:root[data-theme="light"] .pp-project-card__content,
:root[data-theme="light"] .pp-project-card__content p,
:root[data-theme="light"] .pp-project-card__content li,
:root[data-theme="light"] .pp-tag,
:root[data-theme="light"] .pp-stat,
:root[data-theme="light"] .pp-pagination .page-numbers,
:root[data-theme="light"] .pp-empty{
  color: #0b0b0b;
}

:root[data-theme="light"] .pp-pagination .page-numbers{
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
}

:root[data-theme="light"] .pp-pagination .page-numbers:hover{
  color: #0b0b0b;
  border-color: rgba(0,0,0,0.2);
}

:root[data-theme="light"] .pp-btn--primary,
:root[data-theme="light"] .pp-btn--details{
  background-color: var(--wpb-accent);
  color: #000000;
}

:root[data-theme="light"] .pp-btn--primary .pp-btn__text,
:root[data-theme="light"] .pp-btn--details .pp-btn__text{
  color: #000000;
}

:root[data-theme="light"] .pp-slider__nav{
  background: rgba(255,255,255,0.8);
  color: #0b0b0b;
}

:root[data-theme="light"] .pp-slider__dot,
:root[data-theme="light"] .pp-slider__dots button.pp-slider__dot{
  border-color: rgba(0,0,0,0.25);
  background: rgba(0,0,0,0.08);
}

:root[data-theme="light"] .pp-projects .pp-project-card__toggle,
:root[data-theme="light"] .wpb-featured-projects-card__btn--ghost,
:root[data-theme="light"] .wpb-featured-projects-card__toggle,
:root[data-theme="light"] .wpb-featured-projects__more-btn,
:root[data-theme="light"] .wpb-btn--ghost,
:root[data-theme="light"] .wpb-modal__checkbox,
:root[data-theme="light"] .wpb-modal__toggle,
:root[data-theme="light"] .wpb-modal__input,
:root[data-theme="light"] .wpb-modal__textarea,
:root[data-theme="light"] .wpb-pricing-card__btn{
  background: rgba(255,255,255,0.82);
}

:root[data-theme="light"] .wpb-modal__dialog{
  background: rgba(255,255,255,0.95);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.12),
    0 0 18px rgba(0,214,15,0.12);
}

:root[data-theme="light"] .wpb-modal__backdrop{
  background: rgba(0,0,0,0.25);
}

:root[data-theme="light"] .wpb-modal__checkbox:hover,
:root[data-theme="light"] .wpb-modal__checkbox:focus-within{
  background: rgba(255,255,255,0.92);
}

:root[data-theme="light"] .wpb-pricing__title,
:root[data-theme="light"] .wpb-pricing-card__title,
:root[data-theme="light"] .wpb-pricing-card__price-value{
  color: #0b0b0b;
}








:root[data-theme="light"] .wpb-modal__close{
  color: #0b0b0b;
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
}

:root[data-theme="light"] .wpb-modal__close:hover{
  border-color: rgba(0,214,15,0.70);
  box-shadow: 0 0 18px rgba(0,214,15,0.18);
}







