/*
Theme Name: Marketing Snap
Author: Marketing Snap
Description: Custom WordPress theme for the Marketing Snap site.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: marketing-snap
*/

/* ==========================================================
   GLOBAL RESET & BASE
   ========================================================== */
html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: #1f2937;
}

/* Home hero laptop composition, placed last to override legacy hero styles. */
.home-hero { min-height: 690px; padding: 72px 0 42px; background: #fafafa; }
.home-hero::after { display: none; }
.home-hero__inner { width: min(100% - 80px, 1480px); grid-template-columns: minmax(450px, .95fr) minmax(600px, 1.25fr); gap: clamp(24px, 3vw, 52px); align-items: center; }
.home-hero__content { max-width: 670px; }
.home-hero__title { margin-bottom: 34px; font-size: clamp(52px, 5vw, 78px); line-height: 1.18; letter-spacing: -.035em; }
.home-hero__title span { display: inline; color: #075a63; font-weight: 600; }
.home-hero__lead { max-width: 600px; margin-bottom: 34px; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.65; color: #122348; }
.home-hero__actions { gap: 18px; margin-bottom: 36px; }
.home-hero__btn { flex-basis: 270px; padding: 19px 22px; border-radius: 5px; font-size: 15px; }
.home-hero__facts { max-width: 620px; grid-template-columns: repeat(2, minmax(210px, 1fr)); gap: 22px 34px; margin: 0; }
.home-fact { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; color: #122348; font-size: 15px; }
.home-fact__icon { width: 30px; height: 30px; color: #075a63; }
.home-fact strong { font-size: 16px; color: #0f1d3b; }
.home-hero__visual { display: grid; min-height: 0; align-items: center; overflow: visible; }
.home-hero__laptop { display: block; width: min(100%, 870px); max-width: none; margin: 0 0 0 -34px; object-fit: contain; }

@media (max-width: 1180px) {
  .home-hero { min-height: auto; }
  .home-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); width: min(100% - 48px, 1100px); }
  .home-hero__title { font-size: clamp(44px, 5.5vw, 62px); }
  .home-hero__laptop { margin-left: -16px; }
}

@media (max-width: 760px) {
  .home-hero { padding: 34px 0 40px !important; }
  .home-hero__inner { display: flex !important; flex-direction: column; width: calc(100% - 32px) !important; gap: 24px; }
  .home-hero__content { order: 0 !important; }
  .home-hero__visual { display: block !important; order: 1 !important; width: 100% !important; }
  .home-hero__laptop { display: block !important; width: 112%; max-width: none !important; height: auto !important; margin: 0 0 0 -6%; }
  .home-hero__title { max-width: none !important; margin-bottom: 18px; font-size: clamp(36px, 10.5vw, 48px) !important; line-height: 1.08 !important; }
  .home-hero__title span { display: inline !important; max-width: none !important; }
  .home-hero__lead { font-size: 17px !important; line-height: 1.5 !important; margin-bottom: 24px !important; }
  .home-hero__actions { grid-template-columns: 1fr 1fr !important; gap: 10px; margin-bottom: 28px !important; }
  .home-hero__btn { padding: 15px 10px !important; font-size: 11px !important; }
.home-hero__facts { gap: 18px 12px !important; margin: 0 !important; }
}

@media (min-width: 1181px) {
  .home-hero {
    min-height: 720px;
    padding-top: 80px;
  }

  .home-hero__inner {
    grid-template-columns: minmax(680px, 1fr) minmax(620px, .98fr);
    gap: 0;
  }

  .home-hero__content {
    max-width: 720px;
  }

  .home-hero__title {
    font-size: clamp(54px, 4.85vw, 76px);
    line-height: 1.14;
  }

  .home-hero__visual {
    justify-items: start;
  }

  .home-hero__laptop {
    width: 128%;
    max-width: none;
    margin: -30px 0 0 -125px;
  }
}

/* Главный экран: ноутбук-иллюстрация из медиатеки. */
.home-hero {
  min-height: 690px;
  padding: 72px 0 42px;
  background: #fafafa;
}

.home-hero::after {
  display: none;
}

.home-hero__inner {
  width: min(100% - 80px, 1480px);
  grid-template-columns: minmax(450px, .95fr) minmax(600px, 1.25fr);
  gap: clamp(24px, 3vw, 52px);
  align-items: center;
}

.home-hero__content {
  max-width: 670px;
}

.home-hero__title {
  margin-bottom: 34px;
  font-size: clamp(52px, 5vw, 78px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.home-hero__title span {
  display: inline;
  color: #075a63;
  font-weight: 600;
}

.home-hero__lead {
  max-width: 600px;
  margin-bottom: 34px;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.65;
  color: #122348;
}

.home-hero__actions {
  gap: 18px;
  margin-bottom: 36px;
}

.home-hero__btn {
  flex-basis: 270px;
  padding: 19px 22px;
  border-radius: 5px;
  font-size: 15px;
}

.home-hero__facts {
  max-width: 620px;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 22px 34px;
  margin: 0;
}

.home-fact {
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 14px;
  color: #122348;
  font-size: 15px;
}

.home-fact__icon {
  width: 30px;
  height: 30px;
  color: #075a63;
}

.home-fact strong {
  font-size: 16px;
  color: #0f1d3b;
}

.home-hero__visual {
  display: grid;
  min-height: 0;
  align-items: center;
  overflow: visible;
}

.home-hero__laptop {
  display: block;
  width: min(100%, 870px);
  max-width: none;
  margin: 0 0 0 -34px;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
    width: min(100% - 48px, 1100px);
  }

  .home-hero__title {
    font-size: clamp(44px, 5.5vw, 62px);
  }

  .home-hero__laptop {
    margin-left: -16px;
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding: 34px 0 40px !important;
  }

  .home-hero__inner {
    display: flex !important;
    flex-direction: column;
    width: calc(100% - 32px) !important;
    gap: 24px;
  }

  .home-hero__content {
    order: 0 !important;
  }

  .home-hero__visual {
    display: block !important;
    order: 1 !important;
    width: 100% !important;
  }

  .home-hero__laptop {
    display: block !important;
    width: 112%;
    max-width: none !important;
    height: auto !important;
    margin: 0 0 0 -6%;
  }

  .home-hero__title {
    max-width: none !important;
    margin-bottom: 18px;
    font-size: clamp(36px, 10.5vw, 48px) !important;
    line-height: 1.08 !important;
  }

  .home-hero__title span {
    display: inline !important;
    max-width: none !important;
  }

  .home-hero__lead {
    font-size: 17px !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
  }

  .home-hero__actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
    margin-bottom: 28px !important;
  }

  .home-hero__btn {
    padding: 15px 10px !important;
    font-size: 11px !important;
  }

  .home-hero__facts {
    gap: 18px 12px !important;
    margin: 0 !important;
  }
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

/* Home gradient bg */
.home {
  background: linear-gradient(to bottom, #FAF0FF 0%, #FAF0FF 60%, #FFFFFF 100%);
}

/* Containers */
.header-inner, .nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================
   TOP BAR
   ========================================================== */
:root { --topbar-h: 38px; }

.top-bar {
  width: 100%;
  background: #777;
  padding: 10px 0;
  color: #fff;
  position: relative;
  z-index: 1900;
}
.top-bar.hidden { transform: translateY(-100%); transition: transform .25s ease; }

.top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.top-right { display: flex; align-items: center; gap: 12px; }
.top-phone {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}
.top-buttons { display: flex; gap: 10px; }
.top-btn {
  background: #005a63;
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.top-btn:hover {
  background: #007a8a;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

/* ==========================================================
   HEADER / NAV OVERLAY
   ========================================================== */
.site-header { position: relative; z-index: 2000; }

.header-nav {
  position: absolute;
  left: 0; right: 0;
  top: var(--topbar-h);
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  z-index: 2000;
}
.header-nav .nav-container {
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

/* Подложка под шапкой (не мешает кликам) */
.header-bg-under {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, #FAF0FF 0%, #FFFFFF 100%);
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================
   NAV SURFACE (капсула)
   ========================================================== */
.nav-surface{
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 12px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

/* Лого */
.nav-logo { flex: 0 0 auto; margin-right: 20px; position: static !important; transform: none !important; }
.nav-logo img { height: 28px; width: auto; }

/* Меню строго по центру */
.nav-menu-wrap{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: max-content;
  z-index: 10;
}

/* Соцкнопки справа */
.nav-socials{
  margin-left: auto !important;
  display: flex;
  gap: 10px;
  position: static !important;
  transform: none !important;
}
.nav-socials img{
  width: 24px; height: 24px; display: block; object-fit: contain;
  transition: transform .25s ease; transform-origin: center;
}
.social-btn:hover img{ transform: scale(1.28) rotate(8deg); }
@media (prefers-reduced-motion: reduce){
  .nav-socials .social-btn, .nav-socials .social-btn svg { transition: none !important; }
}

/* ==========================================================
   MAIN MENU
   ========================================================== */
.main-menu{
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.main-menu > li{
  position: relative;
  flex: 0 0 auto;
  padding: 0 18px;
}
.main-menu > li > a{
  display: block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #425466;
  letter-spacing: .1px;
  white-space: nowrap;
  transition: color .15s ease;
}
/* Разделители */
.main-menu > li:not(:last-child)::after{
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 1px; height: 22px;
  background-color: #e7e7e7;
  transform: translateY(-50%);
}
/* Актив/hover */
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-ancestor > a { color: #ff3b8a; font-weight: 600; }
.main-menu > li > a::before{
  content:"";
  position:absolute;
  left:12px; right:12px; bottom:-8px;
  height:2px; background:#ff3b8a;
  opacity:0; transform: scaleX(.6);
  transition: opacity .15s ease, transform .15s ease;
}
.main-menu > li:hover > a { color:#ff3b8a; }
.main-menu > li:hover > a::before { opacity:1; transform: scaleX(1); }

/* ==========================================================
   SUBMENU (уровни 2–3)
   ========================================================== */
.main-menu, .main-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.main-menu li { list-style: none; margin: 0; }
.main-menu > li { position: relative; padding: 0 18px; }

.main-menu .sub-menu{
  position: absolute;
  left: 0; top: 100%;
  margin-top: 10px;
  min-width: 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(31,41,55,.12);
  padding: 8px;
  z-index: 10000;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu{
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.main-menu li > .sub-menu::after{
  content:"";
  position:absolute; left:0; right:0; top:-10px; height:10px; background:transparent;
}
.main-menu .sub-menu li { position: relative; }
.main-menu .sub-menu a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #334155;
  font-size: 15px;
  white-space: nowrap;
}
.main-menu .sub-menu li:not(:last-child) a{ border-bottom: 1px solid #f3f5f8; }
.main-menu .sub-menu a:hover{ background:#f7fafc; color:#ff3b8a; }
.main-menu .sub-menu .sub-menu{ left:100%; top:-8px; }
/* Убираем стрелку у пунктов со 2-м уровнем */
.main-menu .menu-item-has-children > a::after { content: none !important; }

/* ==========================================================
   STICKY STATE
   ========================================================== */
.header-nav.sticky-nav{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 3000;
  background: transparent !important;
  padding: 0 !important;
  transform: translateY(-100%);
  transition: transform .25s ease;
}
.header-nav.sticky-nav.visible{ transform: translateY(0); }
.header-nav.sticky-nav .nav-container{
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  background: transparent !important;
  position: relative !important;
}
.header-nav.sticky-nav .nav-surface{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 46px !important;
  padding: 6px 22px !important;
  margin-top: 0 !important;
}
.header-nav.sticky-nav .nav-logo{ margin-right: 20px !important; flex: 0 0 auto !important; }
.header-nav.sticky-nav .nav-menu-wrap{
  position: absolute !important; left: 50% !important; transform: translateX(-50%) !important;
  width: auto !important; max-width: none !important; z-index: 10 !important;
}
.header-nav.sticky-nav .nav-socials{ margin-left: auto !important; display: flex !important; gap: 10px !important; }
.header-nav.sticky-nav .nav-logo img{ height: 24px !important; }
.header-nav.sticky-nav .social-btn{ width: 24px; height: 24px; }
.header-nav.sticky-nav .nav-socials img{ width: 22px; height: 22px; }
.header-nav.sticky-nav .main-menu{
  display: flex !important; flex-wrap: nowrap !important; white-space: nowrap !important; gap: 0 !important;
}
.header-nav.sticky-nav .main-menu > li{
  flex: 0 0 auto !important; white-space: nowrap !important; padding: 0 18px !important;
}
.header-nav.sticky-nav .main-menu > li > a{
  padding: 6px 0 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

/* ==========================================================
   RESPONSIVE (DESKTOP -> TABLET)
   ========================================================== */
@media (max-width: 992px){
  .nav-logo img { height: 48px; }
  .main-menu > li { padding: 0 14px; }
  .main-menu > li:not(:last-child)::after { height: 18px; }

  /* Подменю в потоке без тени */
  .main-menu .sub-menu{
    position: static; opacity: 1; transform: none; pointer-events: auto;
    box-shadow: none; border-radius: 8px; padding: 6px 8px; margin-top: 6px;
  }
}
@media (max-width: 768px){
  :root { --topbar-h: 0px; }
  .nav-surface{ flex-direction: column; gap: 8px; padding: 10px 14px; }
  .nav-logo{ margin-right: 0; }
  .nav-socials{ margin-left: 0; }
  .main-menu{ flex-wrap: wrap; row-gap: 6px; }
  .main-menu > li{ padding: 6px 12px; }
  .main-menu > li:not(:last-child)::after{ display:none; }
}

/* ==========================================================
   HERO
   ========================================================== */
.dev-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  color: #fff;
  overflow: hidden;
  background: radial-gradient(60% 60% at 20% 30%, #0a5a60 0%, #022b2f 45%, #000 100%);
}
.dev-hero__inner{
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 120px 20px 0;
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start;
}
.dev-hero__content{
  max-width: 720px;
  display: grid;
  grid-template-areas: "title" "text" "bullets" "cta";
  row-gap: 18px;
}
.dev-hero__title{
  grid-area: title; font-weight: 800; font-size: clamp(28px, 5vw, 48px); margin: 0;
}
.dev-hero__text{
  grid-area: text; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.86); margin-bottom: 26px;
}
.dev-hero__cta{ grid-area: cta; margin-top: 14px; margin-bottom: 20px; }
.dev-hero__bullets{
  grid-area: bullets; list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; gap: 18px;
}
.dev-hero__bullets li{
  display: flex; align-items: center; gap: 12px;
  font-size: 18px; line-height: 1.4; color: rgba(255,255,255,.9);
}
.dev-hero__bullets li::before{
  content:""; flex-shrink: 0; width:4px; height:22px; background:#12a0ad; border-radius:2px;
}
.dev-hero__bullets span{ color:#19b0bd; font-weight:700; }
.dev-hero__image--right{
  width: 90%; height: 47vh; border-radius: 14px; justify-self: end;
  background-image: url('/wp-content/uploads/2025/11/19.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  box-shadow: 0 20px 60px rgba(0,0,0,.35) inset, 0 10px 24px rgba(0,0,0,.25);
}
@media (max-width: 992px){
  .dev-hero__inner{ grid-template-columns: 1fr; gap: 32px; padding-top: 100px; }
  .dev-hero__image--right{ order: 2; height: 48vh; }
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn{
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background:#0a6a72; color:#fff; border-color:#0a6a72; }
.btn-primary:hover{ background:#0b7e88; border-color:#0b7e88; }
.btn-outline{ background:transparent; color:#c8e9ec; border:2px solid #0a6a72; }
.btn-outline:hover{ background:#0a6a72; color:#fff; }

/* ==========================================================
   WHY (премиум карточки)
   ========================================================== */
.why{ background: linear-gradient(180deg,#f6f8f9 0%, #eef2f3 100%); padding: 84px 0 96px; }
.why__inner{ max-width:1250px; margin:0 auto; padding:0 20px; }
.why__title{
  text-align:center; font-weight:800; letter-spacing:.3px; font-size:clamp(22px,3.8vw,36px);
  margin:0 0 64px; color:#0f1b25; position:relative;
}
.why__title::after{
  content:""; display:block; width:120px; height:4px; margin:18px auto 0;
  background:linear-gradient(90deg,transparent, #0a6a72 40%, #19b0bd 60%, transparent);
  border-radius:3px; opacity:.85;
}
.why__grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:40px; align-items:stretch; }
.why__item{
  position:relative; background:#fff; border:1px solid rgba(10,20,30,.06);
  border-radius:18px; padding:28px 22px 26px; display:flex; flex-direction:column; align-items:center; text-align:center;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why__item:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  border-color: rgba(10,106,114,.18);
}
.why__item:not(:last-child)::after{
  content:""; position:absolute; top:22px; bottom:22px; right:-20px; width:1px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.12), transparent);
}
@media (max-width: 1100px){ .why__item:not(:last-child)::after{ display:none; } }
.why__icon{
  width:78px; height:78px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  margin:2px auto 14px; background: radial-gradient(120% 120% at 30% 30%, #e9f5f6 0%, #ffffff 55%);
  box-shadow: inset 0 0 0 1px rgba(10,106,114,.12), 0 6px 14px rgba(0,0,0,.08);
  transition: box-shadow .25s ease, transform .25s ease;
}
.why__icon svg{ width:42px; height:42px; stroke:#0a6a72; fill:none; stroke-width:2; }
.why__item:hover .why__icon{ box-shadow: inset 0 0 0 2px rgba(25,176,189,.35), 0 10px 20px rgba(0,0,0,.10); transform: translateY(-2px); }
.why__name{ margin:8px 0 10px; font-weight:800; font-size:15px; letter-spacing:.15px; color:#0f2a33; }
.why__text{ color:#34424a; font-size:15px; line-height:1.6; max-width: 280px; }
@media (max-width: 992px){
  .why__grid{ grid-template-columns: repeat(2, 1fr); gap:28px; }
}
@media (max-width: 560px){
  .why{ padding:64px 0 70px; }
  .why__grid{ grid-template-columns: 1fr; gap:22px; }
  .why__item{ padding:24px 18px; }
}

/* ==========================================================
   TASKS (glass + timeline)
   ========================================================== */
.tasks-section{
  position: relative; isolation: isolate;
  padding: 110px 0 130px; color: #e9f7f8;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(25,166,177,.28) 0%, rgba(10,48,56,0) 50%) no-repeat,
    radial-gradient(900px 700px at 90% 20%, rgba(8,146,156,.22) 0%, rgba(10,48,56,0) 50%) no-repeat,
    linear-gradient(180deg, #0a1c21 0%, #061115 100%);
  overflow: hidden;
}
.tasks-section::after{
  content:""; position:absolute; inset:0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 32px);
  pointer-events:none; opacity:.5; mix-blend-mode: screen;
}
.tasks-inner{ max-width:1180px; margin:0 auto; padding:0 24px; }
.tasks-title{
  text-align:center; font-weight:900; letter-spacing:.3px; font-size:clamp(24px,3.8vw,42px);
  line-height:1.25; color:#eafbff; margin:0 0 56px; text-shadow: 0 2px 12px rgba(16, 227, 244, .18);
}
.tasks-list{ position:relative; display:grid; gap:26px; z-index:1; }
@keyframes lineGlow{
  0%{ opacity:.55; filter: drop-shadow(0 0 6px rgba(18, 220, 230, .35)); }
  50%{ opacity:.85; filter: drop-shadow(0 0 10px rgba(18, 220, 230, .6)); }
  100%{ opacity:.55; filter: drop-shadow(0 0 6px rgba(18, 220, 230, .35)); }
}
.tasks-list::before{
  content:""; position:absolute; left:62px; top:0; bottom:0; width:2px;
  background: linear-gradient(180deg, #0ef 0%, #18b7c3 60%, #088590 100%);
  border-radius:2px; animation: lineGlow 4s ease-in-out infinite;
}
.task-item{
  position:relative; padding:24px 26px 24px 120px;
  background: rgba(10, 28, 33, .4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border:1px solid rgba(120, 236, 243, .12);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 10px 26px rgba(0,0,0,.35);
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.task-item:hover{
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 16px 34px rgba(0,0,0,.45), 0 0 18px rgba(14,239,255,.15);
  border-color: rgba(120,236,243,.28);
  background: rgba(10, 28, 33, .48);
}
.task-item::before{
  content:""; position:absolute; left:0; top:10px; bottom:10px; width:4px; border-radius:6px 0 0 6px;
  background: linear-gradient(180deg, #10e7f2, #0aa9b4);
  box-shadow: 0 0 10px rgba(16,231,242,.35);
  opacity:.45; transition: opacity .2s ease, box-shadow .2s ease;
}
.task-item:hover::before{ opacity:.8; box-shadow: 0 0 16px rgba(16,231,242,.6); }
.task-num{
  position:absolute; left:42px; top:22px; min-width:42px; height:42px; border-radius:50%;
  border:2px solid #10e7f2;
  background: radial-gradient(circle at 30% 30%, #0ef 0%, #088a95 60%, #062e34 100%);
  color:#eaffff; display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:16px;
  box-shadow: 0 0 0 4px rgba(16,231,242,.12), 0 8px 18px rgba(14,239,255,.25), inset 0 0 12px rgba(14,239,255,.25);
  text-shadow: 0 0 8px rgba(255,255,255,.25);
}
.task-title{ font-weight:800; font-size:19px; letter-spacing:.2px; margin:0 0 6px; color:#eafcff; }
.task-text{ margin:0; font-size:15.5px; line-height:1.65; color:#cfe7ea; }
.task-item:focus-within, .task-item:focus{
  outline:none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 0 0 2px rgba(16,231,242,.3), 0 14px 30px rgba(0,0,0,.45);
  border-color: rgba(120,236,243,.35);
}
@media (max-width: 760px){
  .tasks-list::before{ left:54px; }
  .task-num{ left:32px; top:18px; min-width:36px; height:36px; font-size:14px; }
  .task-item{ padding:20px 18px 20px 96px; }
  .tasks-section{ padding:80px 0 96px; }
}
@media (max-width: 480px){
  .tasks-list::before{ display: none; }
  .task-num{ left:18px; }
  .task-item{ padding-left: 78px; }
}
@media (prefers-reduced-motion: reduce){
  .tasks-list::before{ animation:none; }
  .task-item, .task-item::before{ transition:none; }
}

/* ==========================================================
   TEAM
   ========================================================== */
.team-section{ background:#f5f7f8; padding:100px 0 150px; }
.team-inner{ max-width:1200px; margin:0 auto; padding:0 20px; }
.team-title{
  text-align:center; font-size:clamp(26px, 4vw, 40px); font-weight:800; margin-bottom:70px; letter-spacing:.4px; color:#111;
}
.team-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:48px; align-items:center; justify-items:center;
}
.team-item{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.team-icon{
  width:150px; height:150px; border-radius:50%; background:#ffffff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  margin:0 auto 18px; transition: transform .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.team-icon svg{ width:65px; height:65px; transition:opacity .25s ease; }
.team-item:hover .team-icon{ transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.team-name{ font-size:17px; font-weight:600; color:#1a1a1a; margin-top: 6px; }


/* Адаптив сетки */
@media (max-width: 992px){ .team-grid{ grid-template-columns: repeat(2, 1fr); gap:36px; } }
@media (max-width: 560px){
  .team-grid{ grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ==========================================================
   WORKS
   ========================================================== */
.works-section{
  position: relative;
  padding: 90px 0 110px;
  color: #e9f7f8;
  background:
    radial-gradient(800px 600px at 50% -20%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.025) 30%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #0f1114 0%, #1a1d21 100%);
}
.works-inner{ max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.works-title{
  text-align: center; font-weight: 900; letter-spacing: .3px; font-size: clamp(22px, 4vw, 38px);
  line-height: 1.25; color: #eafbff; margin: 0 0 50px;
}
.works-title::after{
  content: ""; display: block; width: 120px; height: 4px; margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, #3c464f 40%, #8aa0b6 60%, transparent);
  border-radius: 3px; opacity: .45;
}
.works-grid{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card{
  display: block; height: 100%; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 10px 26px rgba(0,0,0,.45);
  text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}
.work-card:hover{ transform: translateY(-4px); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 14px 34px rgba(0,0,0,.55); }
.work-shot{ aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; overflow: hidden; background: #1a1d21; }
.work-shot img{ width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: saturate(.96) contrast(.98); transition: transform .35s ease; }
.work-card:hover .work-shot img{ transform: scale(1.06); }
.work-meta{ padding: 16px 16px 18px; }
.work-name{ margin: 0 0 6px; font-size: 17px; font-weight: 800; color: #f2f8f9; }
.work-link{ font-size: 15px; color: #7bb8ff; opacity: .9; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px){ .works-grid{ grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 560px){
  .works-section{ padding: 64px 0 80px; }
  .works-grid{ grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================================
   PRINCIPLES
   ========================================================== */
.principles-section{ padding: 110px 0 120px; background: #f3f4f6; }
.principles-inner{ max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.principles-title{
  text-align: center; font-weight: 900; font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 70px; color: #0c0d0f;
}
.principles-grid{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px;
}
.principle-item{
  background: #ffffff; padding: 32px 18px 36px; border-radius: 18px; text-align: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06); transition: transform .25s ease, box-shadow .25s ease;
}
.principle-item:hover{ transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,0.1); }
.principle-icon{ width: 78px; height: 78px; margin: 0 auto 22px; }
.principle-icon img{ width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.principle-item:hover .principle-icon img{ opacity: .9; }
.principle-name{ margin: 0 0 6px; font-size: 17px; font-weight: 800; color: #111; white-space: nowrap; }
.principle-desc{
  margin: 0 auto; font-size: 15px; color: #555; opacity: .9; line-height: 1.32;
  height: 38px; display: flex; align-items: center; justify-content: center; text-align: center;
}
@media (max-width: 1100px){ .principles-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px){ .principles-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){
  .principles-grid{ display: flex !important; flex-direction: column; align-items: center; gap: 20px !important; }
  .principle-item{ width: 90%; max-width: 380px; margin: 0 auto; }
  .principle-name{ white-space: normal !important; font-size: 17px; }
  .principle-desc{ height: auto; }
}
@media (max-width: 480px){ .principles-grid{ grid-template-columns: 1fr; } }

/* ==========================================================
   PRICING
   ========================================================== */
.pricing-section{ padding: 120px 0 140px; background: linear-gradient(180deg, #0f1114 0%, #1a1d21 100%); color: #fff; }
.pricing-inner{ max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pricing-title{
  text-align: center; font-size: clamp(26px, 4vw, 40px);
  font-weight: 900; margin-bottom: 70px; text-transform: uppercase;
  color: #e8fdff; letter-spacing: .5px;
}
.pricing-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pricing-card-wrapper{
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
}
.pricing-card-wrapper::before{
  content:""; position:absolute; inset:-1px; border-radius:22px;
  background: linear-gradient(135deg,#00f0ff 0%,#00ffa2 40%,#00c8ff 70%,#00f0ff 100%);
  opacity:.35; filter: blur(12px); transition: opacity .25s ease, filter .25s ease; z-index:-1;
}
.pricing-card-wrapper:hover::before{ opacity:.65; filter: blur(16px); }
.pricing-card{
  position: relative; width: 100%; border-radius: 22px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 18px 40px rgba(0,0,0,.35), 0 10px 25px rgba(0,0,0,.2);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.pricing-card::before{
  content:""; position:absolute; left:0; top:0; width:100%; height:55%;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.04) 60%, transparent 100%);
  pointer-events:none; z-index:2;
}
.pricing-card:hover{ transform: translateY(-10px); background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 22px 50px rgba(0,0,0,.45), 0 12px 30px rgba(0,0,0,.25); }
.pricing-head{
  position: relative; padding: 28px 22px; background: linear-gradient(180deg, #33c4cf 0%, #2aaeb7 100%);
  border-bottom: 1px solid rgba(255,255,255,.25); border-radius: 0 0 48% 0;
}
.pricing-head h3{
  margin:0; font-size:22px; font-weight:900; line-height:1.25; color:#000; max-width:320px; white-space:normal; word-break:break-word;
}
.pricing-list{ list-style:none; padding:20px 28px 5px; margin:0; line-height:1.5; }
.pricing-list li{ margin-bottom: 10px; font-size: 16px; color: #e8f8f9; position: relative; padding-left: 30px; }
.pricing-list li::before{
  content: "⦿"; position: absolute; left: 0; top: 3px; font-size: 12px; color: #00ffa2; text-shadow: 0 0 8px #00ffa2;
}
.pricing-desc-outside{
  margin: 28px 0 14px; text-align: left; color: #e2f9fa; opacity: .9; font-size: 15px; line-height: 1.45; max-width: 340px; width: 100%; padding: 0 8px;
}
.pricing-btn-outside{
  display: block; margin: 0 auto; padding: 13px 34px; border-radius: 9999px;
  background: linear-gradient(180deg, #36c9d3 0%, #22a9b4 100%); color: #061417;
  font-weight: 700; font-size: 18px; letter-spacing: .2px; text-decoration: none; border: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 18px rgba(34,169,180,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pricing-btn-outside:hover{ transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 12px 24px rgba(34,169,180,.35); }
.pricing-btn-outside:active{ transform: translateY(0); filter: brightness(.96); }
.pricing-btn-outside:focus-visible{
  outline: 0; box-shadow: 0 0 0 3px rgba(54,201,211,.35), inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px rgba(34,169,180,.3);
}
@media (max-width: 1000px){
  .pricing-grid{ grid-template-columns: 1fr; gap: 50px; }
  .pricing-card-wrapper{ transform: none !important; }
}

/* ==========================================================
   UNIVERSAL APPEAR ANIMATIONS (single canonical block)
   ========================================================== */
[data-anim]{ opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
[data-anim].anim-visible{ opacity: 1; transform: none; }
[data-anim="fade-in"] { transform: none; }
[data-anim="fade-in-left"]{ transform: translateX(-40px); }
[data-anim="fade-in-right"]{ transform: translateX(40px); }
[data-anim="fade-in-up"]{ transform: translateY(40px); }
[data-anim="fade-in-down"]{ transform: translateY(-40px); }
[data-anim="scale-in"]{ transform: scale(.8); }

/* ==========================================================
   MOBILE MENU — Variant B (clean, integrated)
   ========================================================== */
@media (max-width: 1024px){
  :root{ --mob-h: 56px; --safe-top: env(safe-area-inset-top, 0px); }

  /* На мобиле скрываем десктоп-хедер */
  .top-bar, .header-nav, .header-bg-under{ display: none !important; }

  .mobile-header{
    position: fixed !important;
    top: var(--safe-top) !important;
    left: 0; right: 0;
    height: var(--mob-h);
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.08);
    z-index: 5000;
    display: block !important;
  }
  .mobile-bar{ height: 100%; padding: 0 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
  .mob-logo img, .mobile-header .custom-logo{ height: 28px !important; width: auto !important; display: block; }

  .mob-burger{ width: 40px; height: 40px; border: none; background: transparent; position: relative; }
  .mob-burger span{ position: absolute; left: 4px; right: 4px; height: 5px; background: #333; border-radius: 6px; display: block; transition: .25s; }
  .mob-burger .b1{ top: 9px; } .mob-burger .b2{ top: 17px; } .mob-burger .b3{ top: 25px; }
  .mob-burger[aria-expanded="true"] .b1{ transform: translateY(8px) rotate(45deg); }
  .mob-burger[aria-expanded="true"] .b2{ opacity: 0; }
  .mob-burger[aria-expanded="true"] .b3{ transform: translateY(-8px) rotate(-45deg); }

  .mob-menu{
    position: fixed !important;
    top: calc(var(--mob-h) + var(--safe-top));
    left: 0; right: 0; bottom: 0;
    background: #0a6a72;
    z-index: 4999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform .32s cubic-bezier(.25,.8,.25,1), opacity .32s ease;
    pointer-events: none;
  }
  .mob-menu.is-open{ transform: translateX(0); opacity: 1; pointer-events: auto; }

  .mob-panels{ position: relative; width: 100%; height: 100%; overflow: hidden; }
  .mob-panel{ position: absolute; inset: 0; display: grid; grid-template-rows: 56px 1fr; background: #0a6a72; transform: translateX(100%); transition: transform .28s ease; will-change: transform; }
  .mob-panel.is-active{ transform: translateX(0); }
  .mob-panel.is-back{ transform: translateX(-100%); }

  .mob-panel__head{
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
    padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.15);
    background: #0a6a72; color: #fff; position: sticky; top: 0; z-index: 1;
  }
  /* root-панель без нижней линии */
  .mob-panel[data-panel="root"] .mob-panel__head{ border-bottom: none !important; }

  .mob-title{ display: none !important; }

  /* Кнопка «Назад»: скрыта по умолчанию, показывается только не-root */
  .mob-back{
    border: 0; background: transparent; color: #fff; font-size: 16px;
    display: none; align-items: center; gap: 6px; justify-self: start; padding-right: 8px;
  }
  .mob-back[hidden]{ display: none !important; }
  .mob-panel[data-panel="root"] .mob-back{ display: none !important; }
  .mob-panel:not([data-panel="root"]) .mob-back{ display: inline-flex; }
  .mob-back__chev{ width: 8px; height: 8px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
  .mob-panel[data-panel="root"] .mob-back__chev{ display: none; }
  .mob-close{
    position: relative;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    justify-self: end;
  }
  .mob-close::before,
  .mob-close::after{
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 19px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }
  .mob-close::before{ transform: rotate(45deg); }
  .mob-close::after{ transform: rotate(-45deg); }
  .mob-close:focus-visible,
  .mob-back:focus-visible,
  .mob-burger:focus-visible,
  .mob-list a:focus-visible,
  .mob-list button.mob-open:focus-visible{
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  .mob-panel__body{ overflow: auto; padding: 14px 12px 24px; }
  .mob-list, .mob-list ul{ list-style: none; margin: 0; padding: 0; }
  .mob-list > li{ margin: 0 0 10px; border-radius: 12px; overflow: hidden; background: #0b7e88; }
  .mob-list a, .mob-list button.mob-open{
    position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 14px;
    width: 100%; text-align: left; padding: 14px 40px 14px 16px; font-size: 18px; color: #ffffff; background: #0b7e88; border: 0; cursor: pointer;
  }
  .mob-list a:hover, .mob-list button.mob-open:hover{ background: #0d8c98; }
  .mob-list .has-children > .mob-open::after, .mob-list .has-children > a::after{
    content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 10px; border-right: 2px solid #ffffff; border-top: 2px solid #ffffff; transform: translateY(-50%) rotate(45deg); opacity: .95; pointer-events: none;
  }
  .mob-list .sub-menu{ display: none !important; }
  .main-menu .sub-menu{ display: none !important; }

  /* глушим разделители внутри мобильного меню */
  .mob-menu hr, .mob-menu .wp-block-separator{
    display:none !important; height:0 !important; border:0 !important; margin:0 !important; background:none !important;
  }

  /* Отступ под фиксированный моб-хедер */
  body{ padding-top: calc(var(--mob-h) + var(--safe-top)); }
}

@media (min-width: 1025px){
  .mobile-header, .mob-menu{ display: none !important; }
}

/* ==========================================================
   MOBILE HERO FIXES (merged single block)
   ========================================================== */
@media (max-width: 600px){
  .dev-hero{ min-height: auto; padding: 28px 0 16px; }
  .dev-hero__inner{ grid-template-columns: 1fr; gap: 18px; padding: 12px 16px 0; }
  .dev-hero__content{ max-width: none; text-align: left; }
  .dev-hero__title{ font-size: 32px; line-height: 1.25; margin: 0 0 8px; }
  .dev-hero__text{ font-size: 15px; line-height: 1.45; margin: 0 0 8px; }
  .dev-hero__bullets{ margin: 8px 0 0; row-gap: 8px; }
  .dev-hero__bullets li{ font-size: 15px; gap: 8px; }
  .dev-hero__bullets li::before{ width: 3px; height: 12px; }
  .dev-hero__cta{ display: grid; grid-template-columns: 1fr; gap: 8px; justify-items: stretch; align-items: stretch; }
  .btn{ 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 100%; 
  box-sizing: border-box; 
  padding: 12px 18px; 
  font-size: 15px; }
  .dev-hero__image--right{
    width: 100% !important; justify-self: stretch !important;
    height: 32vh; border-radius: 12px; background-size: cover; background-position: center; margin-top: -8px !important;
  }
  html, body { overflow-x: hidden; }
}

/* ==========================================================
   CONTACT FORM — бирюзовый фон, placeholders inside
   ========================================================== */
:root{
  --contact-accent: #0a6a72;
  --contact-accent-hover: #0b808a;
  --contact-overlay: rgba(10,106,114,.10);
  --contact-text: #0f172a;
  --contact-muted: #64748b;
  --shadow-card: 0 24px 60px rgba(10,10,10,.12);
}

.dev-contact{
  margin-top: 0;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 7vw, 110px);
  background: linear-gradient(0deg, var(--contact-overlay), var(--contact-overlay));
  scroll-margin-top: 96px;
}

.contact-card{
  max-width: 1150px;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 18px);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 0.6fr 0.4fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
}

.contact-card__left{ display: flex; }
.contact-card__illustration{
  width: 100%;
  border-radius: 14px;
  background:
    url("/wp-content/uploads/2025/12/mailconvert2.png") center/contain no-repeat,
    linear-gradient(180deg, #f8fafa, #eefafa);
}

.contact-card__right{ display:flex; flex-direction:column; justify-content:center; }
.contact-card__title{
  font-size: clamp(22px, 3.2vw, 28px); font-weight: 800; color: var(--contact-text); margin: 4px 0 8px;
}
.contact-card__subtitle{ color: var(--contact-muted); margin: 0 0 18px; }

.contact-card__form{
  background: #fff; border-radius: 14px; padding: clamp(16px, 2.4vw, 24px); border: 1px solid rgba(0,0,0,.06);
}

/* Очищаем лишние обёртки у CF7 */
.contact-card__form .wpcf7 .wpcf7-form-control-wrap{ padding:0 !important; margin:0 !important; background:none !important; border:0 !important; display:block !important; }

/* Скрываем текст label — остаются placeholders */
.contact-card__form .wpcf7 form label{ display:flex; flex-direction:column; row-gap: 10px; font-size: 0; margin: 0 0 14px; }

/* Поля */
/* Поля формы — 92% (кроме чекбокса) */
.contact-card__form .wpcf7 :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  textarea
){
  width: 92%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #dde2e8;
  background: #f5f7f9;
  font-size: 16px; 
  color: var(--contact-text); 
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.contact-card__form .wpcf7 textarea{ min-height: 120px; resize: vertical; border-radius: 12px; }
.contact-card__form .wpcf7 ::placeholder{ color: #9aa3b2; }



.contact-card__form .wpcf7 :is(input, textarea):focus{ outline:none; background:#fff; border-color: var(--contact-accent); box-shadow: 0 0 0 3px rgba(10,106,114,.18); }

/* Чекбокс + текст — единый канон */
.contact-card__form .wpcf7-acceptance .wpcf7-list-item{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 8px 0 0;
}
.contact-card__form .wpcf7-acceptance .wpcf7-list-item > label{
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: inherit !important;
}
.contact-card__form .wpcf7-acceptance input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
  position: static !important;
  accent-color: var(--contact-accent);
}
.contact-card__form .wpcf7-acceptance .wpcf7-list-item-label{
  display:inline-block !important;
  font-size:14px;
  color:#374151;
  line-height:1.4 !important;
  margin:0 !important;
  padding:0;
}

/* Кнопка */
.contact-card__form .wpcf7 input.wpcf7-submit{
  width:100%; margin-top:16px; padding:14px 22px; border-radius: 10px; background: var(--contact-accent); color:#fff; border:0;
  font-weight:700; font-size:16px; cursor:pointer; transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
.contact-card__form .wpcf7 input.wpcf7-submit:hover{ background: var(--contact-accent-hover); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11,128,138,.22); }

/* Messages */
.contact-card__form .wpcf7-response-output{ margin: 16px 0 0; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.contact-card__form .wpcf7-not-valid-tip{ font-size: 13px; color:#b91c1c; }



/* Адаптив */
@media (max-width: 980px){
  .contact-card{ grid-template-columns: 1fr; }
  .contact-card__illustration{ height: 220px; background-size: cover; margin-bottom: 10px; }
  .contact-card__title, .contact-card__subtitle{ text-align: center; }
}

/* На мобиле — без картинки */
@media (max-width: 960px){
  .contact-card__left{ display: none !important; }
  .contact-card{ grid-template-columns: 1fr !important; }
}

@media (max-width: 768px){
  .dev-contact{
    padding-top: 100px !important; /* подними или опусти по вкусу */
  }
}



/* --- TEAM: базовое и показное состояние фото --- */
.team-photo-inside{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  opacity:0;
  transform: scale(0.9) rotate(-6deg);
  transition:
      opacity .45s ease,
      transform .55s cubic-bezier(.25,.8,.25,1);
  pointer-events:none;
}

.team-item:hover .team-photo-inside,
.team-item.open .team-photo-inside{
  opacity:1;
  transform: scale(1) rotate(0deg);
}

.team-item:hover .team-icon svg,
.team-item.open  .team-icon svg{
  opacity:0;
  transition: opacity .3s ease;
}



/* === POPUP UNIVERSAL (clean layout) === */
.dev-popup{
  position: fixed; inset: 0; z-index: 99999;
  display: none; /* управляется классом .open */
}
.dev-popup.open{ display: grid; place-items: center; }

.dev-popup__backdrop{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
}

.dev-popup__window{
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  padding: 22px 20px 18px;
  display: flex;           /* ключ: управляем порядком и отступами */
  flex-direction: column;
  gap: 12px;
  animation: popupIn .22s ease;
}
@keyframes popupIn{
  from{ opacity: 0; transform: translateY(6px) scale(.98); }
  to  { opacity: 1; transform: none; }
}

.dev-popup__x{
  position: absolute; top: 10px; right: 12px;
  appearance: none; border: 0; background: transparent;
  font-size: 26px; line-height: 1; color: #6b7280; cursor: pointer;
}
.dev-popup__x:hover{ color:#111; }

.dev-popup__head h2{
  margin: 4px 26px 0 6px; /* чтобы не налезало на крестик */
  text-align: center;
  font-weight: 800; font-size: 20px; color:#0a1c21;
}

.dev-popup__body p{
  margin: 6px 6px 0;
  text-align: center;
  font-size: 15.5px; line-height: 1.55; color:#374151;
}

.dev-popup__foot{ margin-top: 8px; }
.dev-popup__btn{
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: #0a6a72; color: #fff;
  font-weight: 700; font-size: 16px; line-height: 1;
  border: 0; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.dev-popup__btn:hover{ background:#0b808a; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11,128,138,.22); }

@media (max-width: 420px){
  .dev-popup__window{ width: calc(100vw - 24px); padding: 18px 14px 14px; }
  .dev-popup__head h2{ margin-right: 30px; font-size: 18px; }
}


html { scroll-behavior: smooth; }

/* ==========================================================
   HOME PAGE HERO
   ========================================================== */
body.home {
  background: #f7f8f7;
}

.home-page {
  background: #f7f8f7;
  color: #111827;
  overflow: hidden;
  overflow-x: clip;
}

.home-hero {
  position: relative;
  min-height: 86vh;
  min-height: 86svh;
  padding: 112px 0 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 42%, rgba(255,255,255,.74) 66%, rgba(255,255,255,.42) 100%),
    radial-gradient(70% 80% at 86% 18%, rgba(10,106,114,.12), transparent 62%),
    linear-gradient(180deg, #fbfbfa 0%, #eef2ef 100%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(0deg, rgba(230,234,231,.88), rgba(230,234,231,0));
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, .88fr) minmax(520px, 1.12fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  row-gap: 18px;
}

.home-hero__content {
  max-width: 560px;
}

.home-hero__title {
  margin: 0 0 18px;
  font-size: clamp(46px, 5.35vw, 66px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: 0;
  color: #111827;
}

.home-hero__title span {
  color: #075a63;
  font-weight: 500;
}

.home-hero__lead {
  max-width: 470px;
  margin: 0 0 26px;
  font-size: 19px;
  line-height: 1.5;
  color: #3f4650;
}

.home-hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-bottom: 30px;
}

.home-hero__btn {
  width: auto;
  min-width: 0;
  flex: 0 0 222px;
  padding: 16px 18px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(10,106,114,.18);
}

.home-hero__btn--outline {
  color: #075a63;
  border-color: #075a63;
  background: rgba(255,255,255,.72);
  box-shadow: none;
}

.home-hero__btn--outline:hover {
  color: #fff;
}

.home-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px 24px;
  margin-bottom: 28px;
}

.home-fact {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  min-width: 0;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.38;
}

.home-fact__icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1.5px solid #075a63;
  border-radius: 50%;
  color: #075a63;
  flex: 0 0 auto;
}

.home-fact__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-fact strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  color: #111827;
}

.home-trust p {
  margin: 0 0 30px;
  font-size: 16px;
  font-weight: 800;
  color: #374151;
  text-align: center;
}

.home-trust {
  grid-column: 1 / -1;
  width: 930px;
  max-width: 100%;
  margin: 24px auto 0;
  overflow: hidden;
}

.home-trust__logos {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;
  width: max-content;
  animation: homeTrustSlide 13s ease-in-out infinite;
  will-change: transform;
}

.home-trust:hover .home-trust__logos {
  animation-play-state: paused;
}

.home-trust__logos span {
  display: grid;
  width: 170px;
  height: 82px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.44);
}

.home-trust__logos img {
  display: block;
  width: 150px;
  max-width: 86%;
  height: 66px;
  object-fit: contain;
  opacity: .9;
  filter: grayscale(1);
}

@keyframes homeTrustSlide {
  0%, 18% { transform: translateX(0); }
  28%, 46% { transform: translateX(-190px); }
  56%, 74% { transform: translateX(-190px); }
  84%, 92% { transform: translateX(-190px); }
  100% { transform: translateX(0); }
}

.home-hero__visual {
  position: relative;
  min-height: 560px;
}

.home-mobile-hero-image {
  display: none;
}

.home-desk {
  position: absolute;
  inset: -26px 0 0;
}

.home-desk::before {
  content: "";
  position: absolute;
  right: -54px;
  bottom: 30px;
  width: 660px;
  height: 370px;
  border-radius: 46% 54% 0 0;
  background: radial-gradient(ellipse at center, rgba(17,24,39,.14), rgba(17,24,39,0) 68%);
  transform: rotate(-5deg);
}

.home-laptop {
  position: absolute;
  right: 70px;
  bottom: 86px;
  width: 405px;
  transform: perspective(1100px) rotateX(3deg) rotateZ(-7deg);
  transform-origin: center bottom;
}

.home-laptop__screen {
  position: relative;
  height: 252px;
  border: 13px solid #171a1f;
  border-radius: 12px 12px 4px 4px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248,249,248,.92) 0 48%, rgba(248,249,248,.24) 100%),
    linear-gradient(135deg, #ecefed, #ffffff);
  box-shadow: 0 24px 42px rgba(17,24,39,.24);
}

.home-laptop__screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #282d35;
  transform: translateX(-50%);
}

.home-laptop__screen nav {
  position: absolute;
  right: 22px;
  top: 22px;
  display: flex;
  gap: 14px;
}

.home-laptop__screen nav i {
  width: 28px;
  height: 4px;
  border-radius: 99px;
  background: rgba(17,24,39,.42);
}

.home-laptop__copy {
  position: absolute;
  left: 35px;
  top: 72px;
  width: 210px;
}

.home-laptop__copy strong {
  display: block;
  font-size: 31px;
  line-height: 1.08;
  font-weight: 800;
  color: #111827;
}

.home-laptop__copy span {
  color: #075a63;
}

.home-laptop__copy small {
  display: inline-flex;
  margin-top: 26px;
  padding: 7px 12px;
  border: 1px solid rgba(7,90,99,.65);
  border-radius: 3px;
  color: #075a63;
  font-size: 10px;
  font-weight: 700;
}

.home-laptop__photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 48%;
  height: 100%;
  background:
    radial-gradient(22px 70px at 53% 25%, rgba(29,85,58,.3), transparent 70%),
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.34)),
    linear-gradient(135deg, rgba(22,28,34,.1), rgba(22,28,34,.32));
}

.home-laptop__photo::before {
  content: "";
  position: absolute;
  right: 46px;
  bottom: 48px;
  width: 95px;
  height: 95px;
  border-radius: 18px 18px 50% 50%;
  border: 14px solid rgba(17,24,39,.42);
  border-top-width: 38px;
  filter: blur(.4px);
}

.home-laptop__base {
  width: 470px;
  height: 32px;
  margin-left: -36px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, #d6d7d6, #9fa3a5);
  transform: skewX(20deg);
  box-shadow: 0 18px 26px rgba(17,24,39,.18);
}

.home-mug {
  position: absolute;
  left: 86px;
  bottom: 58px;
  width: 95px;
  height: 115px;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(90deg, #222923, #4a5049);
  box-shadow: inset -15px 0 22px rgba(255,255,255,.06), 0 26px 38px rgba(17,24,39,.22);
}

.home-mug::before {
  content: "";
  position: absolute;
  inset: -14px 6px auto;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #111 0 42%, #353a36 44% 100%);
}

.home-mug::after {
  content: "";
  position: absolute;
  right: -42px;
  top: 28px;
  width: 48px;
  height: 52px;
  border: 12px solid #343a35;
  border-left: 0;
  border-radius: 0 32px 32px 0;
}

.home-notebook {
  position: absolute;
  right: -8px;
  bottom: 48px;
  width: 220px;
  height: 140px;
  border-radius: 4px;
  background: repeating-linear-gradient(180deg, #f7f2e8 0 17px, #ddd6c8 18px 19px);
  transform: rotate(-5deg);
  box-shadow: 0 18px 28px rgba(17,24,39,.14);
}

.home-notebook::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  bottom: 0;
  width: 16px;
  background: repeating-linear-gradient(180deg, #b9afa0 0 6px, transparent 7px 15px);
  border-radius: 6px;
}

.home-notebook::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 42px;
  width: 150px;
  height: 10px;
  border-radius: 99px;
  background: #12161a;
  transform: rotate(-12deg);
  box-shadow: 26px 0 0 -2px #c6a570;
}

.home-plant {
  position: absolute;
  right: -8px;
  top: -42px;
  width: 120px;
  height: 230px;
  opacity: .72;
}

.home-plant::after {
  content: "";
  position: absolute;
  left: 58px;
  top: 24px;
  bottom: 0;
  width: 3px;
  background: #758a65;
  transform: rotate(-4deg);
}

.home-plant i {
  position: absolute;
  width: 34px;
  height: 18px;
  border-radius: 100% 0 100% 0;
  background: #7b936c;
}

.home-plant i:nth-child(1) { left: 30px; top: 16px; transform: rotate(-32deg); }
.home-plant i:nth-child(2) { left: 62px; top: 44px; transform: rotate(28deg); }
.home-plant i:nth-child(3) { left: 24px; top: 78px; transform: rotate(-22deg); }
.home-plant i:nth-child(4) { left: 64px; top: 112px; transform: rotate(22deg); }
.home-plant i:nth-child(5) { left: 30px; top: 150px; transform: rotate(-28deg); }

.home-card {
  position: absolute;
  z-index: 3;
  width: 176px;
  min-height: 116px;
  padding: 18px;
  box-sizing: border-box;
  border-radius: 10px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 44px rgba(17,24,39,.12);
  backdrop-filter: blur(12px);
}

.home-card span,
.home-card small,
.home-card em {
  display: block;
}

.home-card span {
  font-size: 10px;
  font-weight: 800;
  color: #334155;
}

.home-card small {
  margin-top: 14px;
  font-size: 9px;
  color: #6b7280;
}

.home-card strong {
  display: block;
  margin-top: 7px;
  font-size: 25px;
  line-height: 1;
  color: #111827;
}

.home-card em {
  margin-top: 9px;
  font-size: 9px;
  font-style: normal;
  color: #9aa3ad;
}

.home-card--analytics {
  right: 36px;
  top: 12px;
}

.home-card--analytics svg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 112px;
  height: 54px;
  fill: none;
  stroke: #0b7884;
  stroke-width: 3;
}

.home-card--social {
  right: 4px;
  top: 170px;
  min-height: 146px;
}

.home-card--ads {
  right: 0;
  top: 350px;
  min-height: 120px;
}

.home-socials {
  display: flex;
  gap: 8px;
}

.home-socials span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.home-socials span:nth-child(1) { background: #3287f4; }
.home-socials span:nth-child(2) { background: #ff4d8f; }
.home-socials span:nth-child(3) { background: #28a9e8; }

.home-bars {
  position: absolute;
  right: 20px;
  bottom: 19px;
  display: flex;
  gap: 11px;
  align-items: end;
  height: 56px;
}

.home-bars i {
  width: 12px;
  border-radius: 2px 2px 0 0;
  background: #86c8cf;
}

.home-bars i:nth-child(1) { height: 18px; }
.home-bars i:nth-child(2) { height: 29px; }
.home-bars i:nth-child(3) { height: 42px; }
.home-bars i:nth-child(4) { height: 55px; }

.home-donut {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: conic-gradient(#0a6a72 0 34%, #9fd6dc 34% 100%);
}

.home-donut::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 1180px) {
  .home-hero__inner {
    grid-template-columns: 1fr;
  }

  .home-hero__content {
    max-width: 760px;
  }

  .home-hero__visual {
    min-height: 560px;
    max-width: 760px;
    width: 100%;
    margin: -18px auto 0;
  }

  .home-desk {
    top: 70px;
  }

  .home-hero__facts {
    max-width: 740px;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
    padding: 28px 0 22px !important;
  }

  .home-hero__inner {
    width: calc(100% - 28px) !important;
    display: block !important;
    overflow: visible !important;
  }

  .home-hero__title {
    max-width: 340px !important;
    font-size: clamp(27px, 7.2vw, 31px) !important;
    line-height: 1.1 !important;
    margin-bottom: 14px !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .home-hero__title span {
    display: block !important;
    max-width: 340px !important;
  }

  .home-hero__lead {
    max-width: 100% !important;
    font-size: 15.5px !important;
    line-height: 1.48 !important;
    margin-bottom: 18px !important;
  }

  .home-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px !important;
  }

  .home-hero__btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-basis: auto !important;
    box-sizing: border-box !important;
    padding: 14px 10px !important;
    font-size: 12px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  .home-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    margin-bottom: 32px;
  }

  .home-trust__logos {
    gap: 20px;
  }

  .home-trust__logos span {
    width: 150px;
    height: 74px;
  }

  .home-trust__logos img {
    width: 132px;
    height: 58px;
  }

  .home-hero__visual {
    display: none !important;
  }

  .home-desk {
    width: 620px;
    height: 520px;
    inset: auto;
    left: 50%;
    top: 0;
    transform: translateX(-50%) scale(.68);
    transform-origin: top center;
  }

  .home-card--analytics {
    left: 30px;
    right: auto;
    top: 10px;
  }

  .home-card--social {
    right: 36px;
    top: 108px;
  }

  .home-card--ads {
    right: 40px;
    top: 270px;
  }

  .home-laptop {
    right: 92px;
    bottom: 120px;
  }

  .home-mug {
    left: 22px;
  }
}

@media (max-width: 460px) {
  .home-hero__title {
    font-size: clamp(27px, 7.4vw, 31px);
  }

  .home-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .home-hero__visual {
    width: 100%;
    min-height: 340px;
    transform: none;
    margin-left: 0;
    margin-bottom: -34px;
  }

  .home-desk {
    transform: translateX(-50%) scale(.62);
  }
}

/* Compact hero visual for phones. */
@media (max-width: 760px) {
  .home-mobile-hero-image {
    display: block !important;
    width: 100% !important;
    height: 248px !important;
    object-fit: cover !important;
    object-position: center 48% !important;
    border-radius: 0 !important;
  }

  .home-hero__visual .home-desk {
    display: none !important;
  }

  .home-hero__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .home-hero__visual {
    order: -1 !important;
  }

  .home-hero__content {
    order: 0 !important;
    max-width: 100% !important;
  }

  .home-trust {
    order: 1 !important;
  }

  .home-hero__visual {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 248px !important;
    height: 248px !important;
    margin: 2px 0 -2px !important;
    overflow: visible !important;
    position: relative !important;
  }

  .home-desk {
    width: 620px !important;
    height: 520px !important;
    left: 50% !important;
    right: auto !important;
    top: 0 !important;
    inset: auto auto auto 50% !important;
    transform: translateX(-50%) scale(.5) !important;
    transform-origin: top center !important;
  }

  .home-hero__visual .home-card {
    display: none !important;
  }

  .home-card--analytics {
    left: 46px !important;
    right: auto !important;
    top: 8px !important;
  }

  .home-card--social {
    right: 44px !important;
    top: 98px !important;
  }

  .home-card--ads {
    right: 48px !important;
    top: 246px !important;
  }

  .home-laptop {
    right: 86px !important;
    bottom: 108px !important;
  }

  .home-mug {
    left: 30px !important;
  }
}

/* ==========================================================
   HOME SERVICES / VALUE
   ========================================================== */
.home-services {
  background: #f8faf9;
  padding: clamp(58px, 7vw, 86px) 0 clamp(72px, 8vw, 108px);
  color: #111827;
}

.home-services__inner {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.home-section-title {
  margin: 0 0 32px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  color: #0f172a;
}

.home-section-title--second {
  margin-top: 58px;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-service-card {
  position: relative;
  min-height: 190px;
  padding: 30px 26px 28px;
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.04);
  box-shadow: 0 18px 46px rgba(15,23,42,.07);
  box-sizing: border-box;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.home-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #08717b, #69c4cc);
  opacity: 0;
  transform: scaleX(.55);
  transform-origin: left center;
  transition: opacity .24s ease, transform .24s ease;
}

.home-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(8,113,123,.16);
  background: #fff;
  box-shadow: 0 24px 58px rgba(15,23,42,.12);
}

.home-service-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.home-service-card__icon,
.home-proof-card__icon,
.home-stat__icon {
  color: #08717b;
}

.home-service-card__icon {
  display: none;
}

.home-service-card__icon svg,
.home-proof-card__icon svg,
.home-stat__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-service-card:hover .home-service-card__icon {
  color: #0b8792;
}

.home-service-card h3 {
  margin: 0 0 18px;
  min-height: 54px;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
}

.home-service-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: #4b5563;
}

.home-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-proof-card {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 14px;
  row-gap: 10px;
  align-items: start;
  padding: 20px 22px 18px;
  border-radius: 12px;
  background: #eef4f5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
  box-sizing: border-box;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.home-proof-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #08717b, #69c4cc);
  opacity: 0;
  transform: scaleY(.5);
  transform-origin: top center;
  transition: opacity .24s ease, transform .24s ease;
}

.home-proof-card:hover {
  transform: translateY(-6px);
  background: #f5fbfb;
  box-shadow: 0 20px 44px rgba(15,23,42,.1);
}

.home-proof-card:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.home-proof-card__icon {
  width: 54px;
  height: 54px;
  transition: transform .24s ease, color .24s ease;
}

.home-proof-card > div:not(.home-proof-card__icon) {
  display: contents;
}

.home-proof-card:hover .home-proof-card__icon {
  color: #0b8792;
  transform: scale(1.08);
}

.home-proof-card h3 {
  grid-column: 2;
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
}

.home-proof-card p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.home-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 150px;
  border-radius: 12px;
  background: linear-gradient(135deg, #045961, #08717b 58%, #04515a);
  box-shadow: 0 22px 44px rgba(4,89,97,.22);
  overflow: hidden;
}

.home-stat {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  align-items: center;
  padding: 32px 34px;
  color: #fff;
  transition: background-color .24s ease;
}

.home-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 48%);
  opacity: 0;
  transition: opacity .24s ease;
}

.home-stat:hover::before {
  opacity: 1;
}

.home-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: rgba(255,255,255,.25);
}

.home-stat__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255,255,255,.78);
  border-radius: 50%;
  color: #fff;
  transition: transform .24s ease, background-color .24s ease, box-shadow .24s ease;
}

.home-stat__icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 2;
}

.home-stat strong {
  position: relative;
  display: block;
  margin-bottom: 8px;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1;
  font-weight: 800;
}

.home-stat span:last-child {
  position: relative;
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.home-stat:hover .home-stat__icon {
  transform: translateY(-4px) scale(1.06);
  background: rgba(255,255,255,.12);
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
}

@media (prefers-reduced-motion: reduce) {
  .home-service-card,
  .home-service-card::before,
  .home-service-card__icon,
  .home-proof-card,
  .home-proof-card::before,
  .home-proof-card__icon,
  .home-stat,
  .home-stat::before,
  .home-stat__icon {
    transition: none;
  }

  .home-service-card:hover,
  .home-proof-card:hover,
  .home-service-card:hover .home-service-card__icon,
  .home-proof-card:hover .home-proof-card__icon,
  .home-stat:hover .home-stat__icon {
    transform: none;
  }
}

@media (max-width: 1180px) {
  .home-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-proof__grid,
  .home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-stat:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-services {
    padding: 46px 0 64px;
  }

  .home-services__inner {
    width: min(100% - 32px, 560px);
  }

  .home-services__grid,
  .home-proof__grid {
    grid-template-columns: 1fr;
  }

  .home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .home-service-card {
    min-height: auto;
  }

  .home-service-card h3 {
    min-height: 0;
    margin-bottom: 14px;
  }

  .home-proof-card,
  .home-stat {
    grid-template-columns: 64px 1fr;
    padding: 24px 20px;
  }

  .home-proof-card__icon,
  .home-proof-card h3 {
    align-self: center;
  }

  .home-stat {
    display: block;
    min-height: 0;
    height: 120px;
    box-sizing: border-box;
    padding: 18px 16px;
  }

  .home-stat__icon {
    display: none;
  }

  .home-stat strong {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .home-stat span:last-child {
    font-size: 14px;
    line-height: 1.3;
  }

  .home-stat::after {
    display: none;
  }
}

/* Home hero laptop composition, placed after legacy hero styles. */
.home-hero { min-height: 690px; padding: 72px 0 42px; background: #fafafa; }
.home-hero::after { display: none; }
.home-hero__inner { width: min(100% - 80px, 1480px); grid-template-columns: minmax(450px, .95fr) minmax(600px, 1.25fr); gap: clamp(24px, 3vw, 52px); align-items: center; }
.home-hero__content { max-width: 670px; }
.home-hero__title { margin-bottom: 34px; font-size: clamp(52px, 5vw, 78px); line-height: 1.18; letter-spacing: -.035em; }
.home-hero__title span { display: inline; color: #075a63; font-weight: 600; }
.home-hero__lead { max-width: 600px; margin-bottom: 34px; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.65; color: #122348; }
.home-hero__actions { gap: 18px; margin-bottom: 36px; }
.home-hero__btn { flex-basis: 270px; padding: 19px 22px; border-radius: 5px; font-size: 15px; }
.home-hero__facts { max-width: 620px; grid-template-columns: repeat(2, minmax(210px, 1fr)); gap: 22px 34px; margin: 0; }
.home-fact { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; color: #122348; font-size: 15px; }
.home-fact__icon { width: 30px; height: 30px; color: #075a63; }
.home-fact strong { font-size: 16px; color: #0f1d3b; }
.home-hero__visual { display: grid; min-height: 0; align-items: center; overflow: visible; }
.home-hero__laptop { display: block; width: min(100%, 870px); max-width: none; margin: 0 0 0 -34px; object-fit: contain; }

@media (max-width: 1180px) {
  .home-hero { min-height: auto; }
  .home-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); width: min(100% - 48px, 1100px); }
  .home-hero__title { font-size: clamp(44px, 5.5vw, 62px); }
  .home-hero__laptop { margin-left: -16px; }
}

@media (max-width: 760px) {
  .home-hero { padding: 34px 0 40px !important; }
  .home-hero__inner { display: flex !important; flex-direction: column; width: calc(100% - 32px) !important; gap: 24px; }
  .home-hero__content { order: 0 !important; }
  .home-hero__visual { display: block !important; order: 1 !important; width: 100% !important; }
  .home-hero__laptop { display: block !important; width: 112%; max-width: none !important; height: auto !important; margin: 0 0 0 -6%; }
  .home-hero__title { max-width: none !important; margin-bottom: 18px; font-size: clamp(36px, 10.5vw, 48px) !important; line-height: 1.08 !important; }
  .home-hero__title span { display: inline !important; max-width: none !important; }
  .home-hero__lead { font-size: 17px !important; line-height: 1.5 !important; margin-bottom: 24px !important; }
  .home-hero__actions { grid-template-columns: 1fr 1fr !important; gap: 10px; margin-bottom: 28px !important; }
  .home-hero__btn { padding: 15px 10px !important; font-size: 11px !important; }
  .home-hero__facts { gap: 18px 12px !important; margin: 0 !important; }
}
