/*
Theme Name: SL Global Service
Theme URI: https://www.sgs4business.com
Author: SL Global Service
Description: Корпоративна тема для SL Global Service — системна інтеграція, хмарні рішення, кібербезпека.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Private
Text Domain: sgs-theme
*/

:root{
  /* SGS brand: purple accent, blue-purple hero, light lavender page */
  --navy:#6852ed;--sky:#6852ed;--sky-dark:#5040c5;--sky-light:#ede8ff;
  --page:#f5f3ff;--surface:#fff;--border:#e0daff;--text:#1c1c1e;--muted:#64748b;
  --hero-grad:linear-gradient(160deg,#3b6ea3 0%,#67488c 70%);
  --partner-grad:linear-gradient(45deg,#e9d5ff 0%,#8db0ff 100%);
  --font-h:'Inter',system-ui,-apple-system,sans-serif;--font-b:'Inter',system-ui,-apple-system,sans-serif;
  --ease:cubic-bezier(.4,0,.2,1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden}
body{font-family:var(--font-b);color:var(--text);background:var(--page);line-height:1.6;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:var(--sky);text-decoration:none}
a:hover{color:var(--sky-dark)}
::-webkit-scrollbar{width:5px}
::-webkit-scrollbar-thumb{background:var(--sky);border-radius:3px}
h1,h2,h3,h4{font-family:var(--font-h);color:var(--navy);line-height:1.2}
p{margin-bottom:1em}
ul,ol{padding-left:1.5em;margin-bottom:1em}
.container{max-width:1200px;margin:0 auto;padding:0 48px}

/* ── Header ── */
.site-header{position:sticky;top:0;z-index:100;background:var(--navy);border-bottom:2px solid var(--sky)}
.header-inner{display:flex;align-items:center;gap:32px;height:70px;max-width:1200px;margin:0 auto;padding:0 48px}
.site-logo{display:flex;align-items:center;flex-shrink:0;text-decoration:none}
.site-logo svg{height:44px}
.site-logo-img{height:44px;width:auto;display:block}
.main-navigation{flex:1}
.header-phone{font-size:13px;font-weight:600;color:#fff;display:flex;align-items:center;gap:6px;white-space:nowrap;text-decoration:none}
.header-phone:hover{color:var(--sky)}
.btn-contact-header{background:var(--sky);color:#fff;font-family:var(--font-b);font-size:12px;font-weight:600;padding:9px 20px;border-radius:6px;border:none;cursor:pointer;white-space:nowrap;transition:background .2s;text-decoration:none;flex-shrink:0}
.btn-contact-header:hover{background:var(--sky-dark);color:#fff}

/* ── Desktop Nav ── */
.nav-menu{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.nav-menu>li{position:relative}
.nav-menu>li>a{font-family:var(--font-b);font-size:13px;font-weight:500;color:#94b8d0;transition:color .2s;white-space:nowrap;display:flex;align-items:center;gap:4px;padding:4px 0;text-decoration:none}
.nav-menu>li>a:hover,.nav-menu>.current-menu-item>a,.nav-menu>.current-menu-ancestor>a{color:#fff}
.nav-menu>li.menu-item-has-children>a::after{content:'';display:inline-block;width:6px;height:6px;border-right:1.5px solid #94b8d0;border-bottom:1.5px solid #94b8d0;transform:rotate(45deg) translateY(-2px);transition:transform .2s,border-color .2s;margin-left:2px}
.nav-menu>li.menu-item-has-children:hover>a::after{border-color:#fff;transform:rotate(-135deg) translateY(-2px)}

/* ── Dropdown — opacity/visibility, no flicker ── */
.nav-menu .sub-menu{
  visibility:hidden;opacity:0;pointer-events:none;
  position:absolute;top:100%;left:0;transform:translateY(-4px);
  background:#fff;border:1px solid #e2eaf3;border-top:3px solid var(--sky);
  border-radius:0 0 10px 10px;min-width:230px;list-style:none;
  padding:6px 0;margin:0;box-shadow:0 12px 40px rgba(9,18,28,.15);z-index:200;
  transition:opacity .15s ease,visibility .15s ease,transform .15s ease
}
.nav-menu>li:hover>.sub-menu,
.nav-menu>li:focus-within>.sub-menu,
.nav-menu>li.is-open>.sub-menu{
  visibility:visible;opacity:1;pointer-events:all;transform:translateY(0)
}
/* Transparent bridge: keeps hover when moving mouse to dropdown */
.nav-menu>li.menu-item-has-children{position:relative}
.nav-menu>li.menu-item-has-children::before{
  content:'';position:absolute;bottom:-8px;left:0;right:0;
  height:8px;background:transparent;z-index:201
}
.nav-menu .sub-menu li a{
  display:flex;align-items:center;gap:10px;padding:10px 18px;
  font-size:13px;font-weight:500;color:#334155;
  transition:background .12s,color .12s;text-decoration:none;white-space:nowrap
}
.nav-menu .sub-menu li a::before{content:'';width:4px;height:4px;border-radius:50%;background:var(--sky);flex-shrink:0;opacity:.5;transition:opacity .12s}
.nav-menu .sub-menu li a:hover{background:#f0f7ff;color:var(--sky)}
.nav-menu .sub-menu li a:hover::before{opacity:1}
.nav-menu .sub-menu li:last-child a{border-radius:0 0 8px 8px}

/* ── Burger ── */
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;padding:8px;background:transparent;border:none;cursor:pointer;flex-shrink:0;margin-left:auto}
.burger-line{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .3s,opacity .3s,width .3s;transform-origin:center}
.burger.open .burger-line:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open .burger-line:nth-child(2){opacity:0;width:0}
.burger.open .burger-line:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ── Mobile drawer ── */
.mobile-overlay{display:none;position:fixed;inset:0;z-index:95;background:rgba(9,18,28,.6);backdrop-filter:blur(3px)}
.mobile-overlay.show{display:block}
.mobile-nav{position:fixed;top:72px;right:0;z-index:96;width:min(320px,88vw);height:calc(100dvh - 72px);background:var(--navy);border-left:1px solid rgba(14,165,233,.2);display:flex;flex-direction:column;transform:translateX(100%);transition:transform .3s var(--ease);overflow-y:auto}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav .mobile-menu{list-style:none;padding:10px 0;margin:0;flex:1}
.mobile-nav .mobile-menu>li{border-bottom:1px solid rgba(255,255,255,.06)}
.mobile-nav .mobile-menu>li>a{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;font-family:var(--font-b);font-size:15px;font-weight:500;color:#c8ddf0;text-decoration:none;transition:background .15s,color .15s}
.mobile-nav .mobile-menu>li>a:hover{background:rgba(14,165,233,.08);color:#fff}
.mobile-nav .mobile-menu>li.menu-item-has-children>a::after{content:'';width:8px;height:8px;flex-shrink:0;border-right:2px solid #4a7a9b;border-bottom:2px solid #4a7a9b;transform:rotate(45deg);transition:transform .3s}
.mobile-nav .mobile-menu>li.menu-item-has-children.sub-open>a::after{transform:rotate(-135deg)}
.mobile-nav .sub-menu{list-style:none;padding:0;margin:0;background:rgba(255,255,255,.03);max-height:0;overflow:hidden;transition:max-height .35s ease}
.mobile-nav .sub-menu.open{max-height:600px}
/* Mega-menu reset: у мобільному drawer ведемо себе як звичайне підменю */
.mobile-nav .sub-menu--mega{visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:static!important;transform:none!important;min-width:0!important;column-count:1!important;border:none!important;border-top:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important;background:rgba(255,255,255,.03)!important;max-height:0!important;transition:max-height .35s ease!important;display:block!important}
.mobile-nav .sub-menu--mega.open{max-height:900px!important}
/* Override desktop !important text styles for mega-menu items in mobile */
.mobile-nav .sub-menu--mega li a{color:#7aadc8!important;background:transparent!important;padding:11px 24px 11px 38px!important;font-size:13px!important;font-weight:400!important;white-space:normal!important;display:flex!important;align-items:center;gap:10px}
.mobile-nav .sub-menu--mega li a::before{content:''!important;width:5px!important;height:5px!important;border-radius:50%!important;background:var(--sky)!important;flex-shrink:0!important;opacity:.6!important;display:inline-block!important}
.mobile-nav .sub-menu--mega li a:hover{color:#fff!important;background:rgba(14,165,233,.06)!important}
/* Приховати горизонтальну лінію-розділяч колонок на мобільному */
.mobile-nav .sub-menu--mega>li:nth-child(6){border-bottom:none!important;margin-bottom:0!important;padding-bottom:0!important}
.mobile-nav .sub-menu li a{display:flex;align-items:center;gap:10px;padding:11px 24px 11px 38px;font-size:13px;color:#7aadc8;text-decoration:none;transition:color .15s}
.mobile-nav .sub-menu li a::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--sky);flex-shrink:0;opacity:.6}
.mobile-nav .sub-menu li a:hover{color:#fff}
.mobile-nav-footer{padding:18px 24px;border-top:1px solid rgba(14,165,233,.15);display:flex;flex-direction:column;gap:12px}
.mobile-phone{font-family:var(--font-h);font-size:20px;font-weight:700;color:#fff;text-decoration:none;display:block;text-align:center}
.mobile-nav-footer .btn-primary{text-align:center;width:100%}

@media(max-width:900px){
  .main-navigation{display:none!important}
  .header-phone{display:none!important}
  .btn-contact-header{display:none!important}
  .burger{display:flex;margin-left:auto}
  .header-inner{padding:0 16px;gap:12px}
  .section{padding:40px 0}
  .hero-section{padding:48px 0 40px}
  .blog-hero{padding:36px 0 28px}
  .single-hero{padding:36px 0 28px}
  .cta-banner{padding:36px 0}
  .container{padding:0 16px}
  .srv-grid{grid-template-columns:1fr 1fr;gap:12px}
  .srv-card{padding:20px 16px}
  .hero-stats{grid-template-columns:1fr 1fr;gap:12px}
}
@media(min-width:901px){
  .burger{display:none!important}
  .mobile-nav,.mobile-overlay{display:none!important}
}

/* ── Sections ── */
.section{padding:64px 0}
.section-tag{font-size:11px;font-weight:700;color:var(--sky);letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}
.section-title{font-size:28px;font-weight:700;color:var(--navy);padding-left:14px;border-left:4px solid var(--sky);margin-bottom:8px;line-height:1.25}
.section-sub{font-size:15px;color:var(--muted);margin-bottom:36px;max-width:560px}

/* ── Buttons ── */
.btn-primary{display:inline-flex;align-items:center;justify-content:center;background:var(--sky);color:#fff;font-family:var(--font-b);font-size:14px;font-weight:600;padding:14px 28px;border-radius:8px;border:none;cursor:pointer;transition:background .2s,transform .15s;text-decoration:none}
.btn-primary:hover{background:var(--sky-dark);transform:translateY(-1px);color:#fff}
.btn-secondary{display:inline-flex;align-items:center;justify-content:center;background:transparent;color:var(--sky-dark);font-family:var(--font-b);font-size:14px;font-weight:500;padding:14px 24px;border-radius:8px;border:1.5px solid rgba(14,165,233,.35);cursor:pointer;transition:all .2s;text-decoration:none}
.btn-secondary:hover{background:var(--sky);border-color:var(--sky);color:#fff}

/* ── Reveal ── */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.reveal.visible{opacity:1;transform:none}
.reveal-d1{transition-delay:.1s}.reveal-d2{transition-delay:.2s}.reveal-d3{transition-delay:.3s}

/* ── Hero ── */
.hero-section{background:var(--hero-grad);padding:80px 0 88px;position:relative;overflow:hidden;min-height:500px}
.hero-dots{position:absolute;right:0;top:0;width:50%;height:100%;background-image:radial-gradient(rgba(14,165,233,.15) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to left,rgba(0,0,0,.6),transparent);pointer-events:none}
.hero-inner{display:flex;gap:24px;align-items:center;position:relative;z-index:1;min-height:440px}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.35);border-radius:100px;padding:5px 14px;font-size:11px;font-weight:700;color:#fff;letter-spacing:.1em;text-transform:uppercase;margin-bottom:20px}
.hero-dot{width:6px;height:6px;border-radius:50%;background:#fff;animation:pulse 1.5s ease infinite}
.hero-h1{font-size:clamp(22px,2.5vw,36px);font-weight:800;line-height:1.15;color:#fff;margin-bottom:14px}
.hero-h1 span{color:#fff}
.hero-p{font-size:15px;color:rgba(255,255,255,.85);line-height:1.75;max-width:440px;margin-bottom:32px}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.sl-case-btns{display:flex;gap:12px;justify-content:center;margin-top:32px;flex-wrap:wrap}
.hero-cards{flex-shrink:0;width:260px;display:flex;flex-direction:column;gap:12px}
.hero-illustration{position:absolute;right:-80px;top:0;bottom:0;width:62%;z-index:0;pointer-events:none;display:flex;align-items:stretch}
.hero-illustration svg{height:100%;width:auto;display:block}
.hero-illustration svg>rect:first-child{display:none}
.hero-inner>div:first-child{position:relative;z-index:2;max-width:466px}
.metric-card{background:rgba(255,255,255,.05);border:1px solid rgba(14,165,233,.2);border-radius:12px;padding:16px 20px;display:flex;align-items:center;gap:16px}
.metric-icon{width:40px;height:40px;flex-shrink:0;background:rgba(14,165,233,.15);border-radius:10px;display:flex;align-items:center;justify-content:center}
.metric-num{font-family:var(--font-h);font-size:22px;font-weight:700;color:#fff;line-height:1}
.metric-lbl{font-size:11px;color:#64a0c0;margin-top:2px}
.status-badge{display:flex;align-items:center;gap:8px;padding:8px 14px;background:rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.25);border-radius:8px}
.status-dot{width:8px;height:8px;border-radius:50%;background:#10b981;animation:statusPulse 2s ease infinite}
.status-lbl{font-size:11px;color:#6ee7b7;font-weight:500}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
@keyframes statusPulse{0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,.4)}50%{box-shadow:0 0 0 6px rgba(16,185,129,0)}}
@media(max-width:768px){.hero-inner{flex-direction:column;gap:32px;min-height:auto}.hero-illustration{position:relative;width:100%;bottom:auto;height:280px}.container{padding:0 20px}.hero-section{padding:48px 0 56px}}

/* ── Why cards ── */
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.why-card{background:var(--page);border:1px solid var(--border);border-radius:12px;padding:24px;transition:transform .25s,border-color .25s,box-shadow .25s}
.why-card:hover{transform:translateY(-4px);border-color:var(--sky);box-shadow:0 8px 32px rgba(14,165,233,.12)}
.why-icon{width:48px;height:48px;background:var(--navy);border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.why-title{font-size:16px;font-weight:700;color:var(--navy);margin-bottom:8px}
.why-text{font-size:13px;color:var(--muted);line-height:1.65;margin:0}

/* ── Services (3 cols × 4 rows = 12 cards) ── */
.srv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.srv-card{background:#fff;border:1px solid var(--border);border-top:3px solid transparent;border-radius:10px;padding:20px;cursor:pointer;transition:all .25s}
.srv-card:hover{border-top-color:var(--sky);transform:translateY(-2px);box-shadow:0 6px 24px rgba(14,165,233,.1)}
.srv-num{font-size:11px;font-weight:700;color:#c8ddf0;margin-bottom:10px}
.srv-title{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:6px;line-height:1.3}
.srv-desc{font-size:11px;color:var(--muted);line-height:1.55;margin:0}

/* ── Steps ── */
.steps-row{display:flex;gap:0;margin-top:8px;position:relative}
.steps-row::before{content:'';position:absolute;top:24px;left:24px;right:24px;height:1px;background:rgba(14,165,233,.2)}
.step{flex:1;position:relative;z-index:1;text-align:center;padding:0 12px}
.step-num{width:48px;height:48px;border-radius:50%;background:var(--sky);color:#fff;font-family:var(--font-h);font-size:18px;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.step-title{font-size:14px;font-weight:700;color:#fff;margin-bottom:6px}
.step-text{font-size:12px;color:#4a7a9b;line-height:1.55;margin:0}

/* ── Blog cards ── */
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:40px 0}
.post-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(14,165,233,.12)}
.post-thumb{height:72px;background:var(--navy);display:flex;align-items:flex-end;padding:10px 16px;gap:3px}
.post-thumb .bar{border-radius:3px 3px 0 0;background:var(--sky);width:11px}
.post-body{padding:18px}
.post-tag{display:inline-block;background:var(--sky-light);color:#0369a1;font-size:10px;font-weight:700;padding:3px 10px;border-radius:4px;margin-bottom:8px}
.post-title{font-size:14px;font-weight:700;color:var(--navy);line-height:1.4;margin-bottom:8px}
.post-title a{color:var(--navy);text-decoration:none}
.post-title a:hover{color:var(--sky)}
.post-excerpt{font-size:12px;color:var(--muted);line-height:1.55}
.post-footer{padding:12px 18px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}
.post-date{font-size:11px;color:var(--muted)}
.post-read{font-size:11px;font-weight:600;color:var(--sky);text-decoration:none}

/* ── Blog hero ── */
.blog-hero{background:var(--navy);padding:52px 0 40px}
.blog-hero h1{font-size:36px;color:#fff;margin-bottom:8px}
.blog-hero h1 span{color:var(--sky)}
.blog-hero p{color:#7aadc8;font-size:15px;max-width:520px}

/* ── Single ── */
.single-hero{background:var(--navy);padding:48px 0}
.post-cat-label{font-size:10px;font-weight:700;color:var(--sky);letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px}
.single-title{font-size:32px;color:#fff;line-height:1.2;max-width:720px}
.single-meta{font-size:12px;color:#5a8aaa;margin-top:10px}
.post-content{max-width:760px;margin:0 auto;padding:40px 0;background:#fff}
.post-content h2{font-size:20px;color:var(--navy);margin:28px 0 12px;padding-left:12px;border-left:3px solid var(--sky)}
.post-content h3{font-size:17px;color:var(--navy);margin:20px 0 8px}
.post-content p{font-size:15px;line-height:1.8;color:var(--text)}
.post-content img{border-radius:8px;margin:16px 0}

/* ── Pagination ── */
.pagination{display:flex;gap:8px;justify-content:center;padding:24px 0;flex-wrap:wrap}
.pagination a,.pagination span{padding:8px 14px;border-radius:6px;font-size:13px;font-weight:600;border:1.5px solid var(--border);color:var(--muted);text-decoration:none;transition:all .2s}
.pagination a:hover,.pagination .current{background:var(--sky);border-color:var(--sky);color:#fff}

/* ── CTA Banner ── */
.cta-banner{background:var(--sky);padding:52px 0}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:32px}
.cta-inner h2{font-size:26px;font-weight:800;color:#fff;margin-bottom:6px}
.cta-inner p{font-size:14px;color:rgba(255,255,255,.85);margin:0}
.btn-cta-white{background:#fff;color:var(--sky-dark);font-family:var(--font-b);font-size:14px;font-weight:700;padding:16px 32px;border-radius:8px;border:none;cursor:pointer;white-space:nowrap;text-decoration:none;transition:all .2s;flex-shrink:0}
.btn-cta-white:hover{background:var(--navy);color:#fff}

/* ── Footer ── */
.site-footer{background:var(--navy);border-top:2px solid var(--sky);padding:52px 0 32px}
.footer-top{display:flex;gap:64px;margin-bottom:40px}
.footer-tagline{font-size:12px;color:#4a7a9b;margin-top:8px}
.footer-desc{font-size:12px;color:#4a7a9b;line-height:1.6;margin-top:10px;max-width:220px}
.footer-cols{display:flex;gap:48px;flex:1}
.footer-col-title{font-family:var(--font-h);font-size:11px;font-weight:700;color:#4a7a9b;letter-spacing:.1em;text-transform:uppercase;margin-bottom:14px}
.footer-links{display:flex;flex-direction:column;gap:8px;list-style:none;padding:0;margin:0}
.footer-links a{font-size:12px;color:#7aadc8;text-decoration:none;transition:color .2s}
.footer-links a:hover{color:var(--sky)}
.footer-addr{font-size:12px;color:#4a7a9b;margin-bottom:6px}
.footer-phone{font-family:var(--font-h);font-size:20px;font-weight:700;color:#fff;text-decoration:none;display:block}
.footer-email{font-size:12px;color:var(--sky);margin-top:4px;display:block;text-decoration:none}
.footer-bottom{border-top:1px solid #1e3a5f;padding-top:20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.footer-copy{font-size:12px;color:#7aadc8}
.footer-legal{display:flex;gap:20px}
.footer-legal a{font-size:12px;color:#7aadc8;text-decoration:none}
.footer-legal a:hover{color:var(--sky)}

/* ── Popup Form ── */
.overlay{position:fixed;inset:0;z-index:1000;background:rgba(9,18,28,.75);backdrop-filter:blur(6px);display:flex;align-items:flex-start;justify-content:center;padding:12px;overflow-y:auto;opacity:0;pointer-events:none;transition:opacity .3s var(--ease)}
.overlay.open{opacity:1;pointer-events:all}
.popup{background:#fff;border-radius:16px;width:100%;max-width:520px;overflow:hidden;transform:scale(.94) translateY(20px);transition:transform .35s var(--ease);box-shadow:0 24px 64px rgba(9,18,28,.4);margin:auto}
.overlay.open .popup{transform:scale(1) translateY(0)}
.popup-head{background:var(--navy);padding:18px 24px 14px;position:relative}
.popup-close{position:absolute;top:14px;right:14px;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.1);border:none;color:#7aadc8;font-size:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}
.popup-close:hover{background:rgba(255,255,255,.2);color:#fff}
.popup-tag{font-size:10px;font-weight:700;color:var(--sky);letter-spacing:.1em;text-transform:uppercase;margin-bottom:4px}
.popup-title{font-family:var(--font-h);font-size:18px;font-weight:800;color:#fff;line-height:1.2;margin-bottom:2px}
.popup-sub{font-size:12px;color:#5a8aaa;margin:0}
.popup-body{padding:16px 24px 20px}
.form-row{margin-bottom:10px}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.form-label{font-size:11px;font-weight:600;color:var(--navy);margin-bottom:3px;display:block}
.form-label span{color:var(--sky)}
.form-input{width:100%;padding:8px 12px;border:1.5px solid var(--border);border-radius:7px;font-family:var(--font-b);font-size:13px;color:var(--text);background:var(--page);outline:none;transition:border-color .2s,box-shadow .2s}
.form-input:focus{border-color:var(--sky);box-shadow:0 0 0 3px rgba(14,165,233,.15);background:#fff}
.form-input::placeholder{color:#9ab8cc}
textarea.form-input{min-height:64px;resize:vertical}
select.form-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:36px}
.form-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:var(--muted)}
.form-check input{margin-top:2px;accent-color:var(--sky)}
.form-submit{width:100%;padding:11px;background:var(--sky);color:#fff;font-family:var(--font-h);font-size:14px;font-weight:700;border:none;border-radius:8px;cursor:pointer;transition:background .2s,transform .15s;margin-top:12px}
.form-submit:hover{background:var(--sky-dark);transform:translateY(-1px)}
.form-success{display:none;text-align:center;padding:24px}
.form-success.show{display:block}
.success-icon{width:64px;height:64px;border-radius:50%;background:#dcfce7;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.form-success h3{font-family:var(--font-h);font-size:20px;font-weight:800;color:var(--navy);margin-bottom:8px}
.form-success p{font-size:13px;color:var(--muted);line-height:1.6}

@media(max-width:768px){
  .cta-inner{flex-direction:column;text-align:center}
  .why-grid,.srv-grid{grid-template-columns:1fr}
  .posts-grid{grid-template-columns:1fr}
  .steps-row{flex-direction:column;gap:24px}
  .steps-row::before{display:none}
  .step{text-align:left;display:flex;align-items:flex-start;gap:16px;padding:0}
  .step-num{flex-shrink:0;margin:0}
  .footer-top{flex-direction:column;gap:32px}
  .footer-cols{flex-wrap:wrap;gap:28px}
  .form-row-2{grid-template-columns:1fr 1fr}
  .popup-head{padding:14px 16px 10px}
  .popup-body{padding:12px 16px 16px}
}

/* ═══════════════════════════════════
   NEWS — Archive (index.php)
   ═══════════════════════════════════ */
.blog-hero{background:var(--navy);padding:52px 0 44px}
.blog-hero .section-tag{margin-bottom:8px}
.blog-hero h1{font-size:36px;color:#fff;margin-bottom:8px;line-height:1.2}
.blog-hero h1 span{color:var(--sky)}
.blog-hero p{color:#7aadc8;font-size:15px;max-width:520px;margin:0}

.blog-body{background:var(--page);padding:48px 0 64px}
.blog-layout{display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:start}

/* Card with real featured image */
.post-card-img-link{display:block;text-decoration:none}
.post-thumb-real{height:180px;overflow:hidden;background:var(--navy)}
.post-thumb-real img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.post-card:hover .post-thumb-real img{transform:scale(1.04)}

.blog-empty{text-align:center;padding:64px 0;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:16px}
.blog-empty p{font-size:14px}

/* ═══════════════════════════════════
   NEWS — Single Article (single.php)
   ═══════════════════════════════════ */
.single-breadcrumb{display:flex;align-items:center;gap:6px;font-size:12px;color:#4a7a9b;margin-bottom:14px;flex-wrap:wrap}
.single-breadcrumb a{color:#5a8aaa;text-decoration:none}
.single-breadcrumb a:hover{color:var(--sky)}
.single-breadcrumb span{color:#3a6a8a}

.single-hero{background:var(--navy);padding:48px 0 40px}
.single-title{font-size:clamp(22px,3vw,36px);color:#fff;line-height:1.25;max-width:760px;margin-bottom:16px}

.single-meta{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.single-date,.single-author{display:flex;align-items:center;gap:6px;font-size:13px;color:#5a8aaa}

.single-body{background:var(--page);padding:40px 0 64px}
.single-layout{display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:start}

.single-featured-img{border-radius:12px;overflow:hidden;margin-bottom:32px;box-shadow:0 4px 24px rgba(9,18,28,.1)}
.single-featured-img img{width:100%;height:auto;display:block}

/* Article typography */
.post-content{max-width:100%;background:#fff;border-radius:12px;padding:36px 40px}
.post-content h2{font-size:22px;color:var(--navy);margin:32px 0 12px;padding-left:14px;border-left:4px solid var(--sky);line-height:1.3}
.post-content h3{font-size:18px;color:var(--navy);margin:24px 0 8px;font-weight:700}
.post-content h4{font-size:16px;color:var(--navy);margin:20px 0 8px;font-weight:600}
.post-content p{font-size:15px;line-height:1.85;color:#334155;margin-bottom:1.4em}
.post-content ul,.post-content ol{font-size:15px;line-height:1.75;color:#334155;margin-bottom:1.4em;padding-left:1.6em}
.post-content li{margin-bottom:.4em}
.post-content strong,.post-content b{color:var(--navy);font-weight:700}
.post-content a{color:var(--sky);text-decoration:underline;text-underline-offset:3px}
.post-content a:hover{color:var(--sky-dark)}
.post-content blockquote{border-left:4px solid var(--sky);background:var(--sky-light);padding:16px 20px;margin:24px 0;border-radius:0 8px 8px 0;font-style:italic;color:#334155}
.post-content img{max-width:100%;height:auto;border-radius:8px;margin:16px 0}
.post-content table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px}
.post-content th{background:var(--navy);color:#fff;padding:10px 14px;text-align:left;font-weight:600}
.post-content td{padding:10px 14px;border-bottom:1px solid var(--border);color:#334155}
.post-content tr:nth-child(even) td{background:var(--page)}
.post-content code{background:#f1f5f9;color:#0f2132;font-family:monospace;padding:2px 7px;border-radius:4px;font-size:13px}
.post-content pre{background:#0f2132;color:#e2e8f0;padding:20px;border-radius:10px;overflow-x:auto;margin:20px 0;font-size:13px;line-height:1.7}
.post-content pre code{background:none;color:inherit;padding:0}
.post-content hr{border:none;border-top:1px solid var(--border);margin:32px 0}

/* Tags */
.single-tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0;padding-top:24px;border-top:1px solid var(--border)}
.single-tag{display:inline-block;background:var(--page);border:1px solid var(--border);color:var(--muted);font-size:12px;padding:4px 12px;border-radius:100px;text-decoration:none;transition:all .2s}
.single-tag:hover{background:var(--sky-light);border-color:var(--sky);color:var(--sky-dark)}

/* Prev / Next */
.single-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:32px}
.single-nav-item{display:flex;flex-direction:column;gap:4px;padding:16px;background:#fff;border:1px solid var(--border);border-radius:10px;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.single-nav-item:hover{border-color:var(--sky);box-shadow:0 4px 16px rgba(14,165,233,.1)}
.single-nav-next{text-align:right}
.single-nav-dir{font-size:11px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.single-nav-title{font-size:13px;color:var(--navy);font-weight:600;line-height:1.4}

/* ═══════════════════════════════════
   SIDEBAR (shared)
   ═══════════════════════════════════ */
.blog-sidebar,.single-sidebar{display:flex;flex-direction:column;gap:20px;position:sticky;top:84px}

.sidebar-cta{background:var(--navy);border-radius:12px;padding:24px;text-align:center}
.sidebar-cta-icon{display:flex;justify-content:center;margin-bottom:12px}
.sidebar-cta h3{font-family:var(--font-h);font-size:16px;font-weight:700;color:#fff;margin-bottom:8px}
.sidebar-cta p{font-size:13px;color:#7aadc8;line-height:1.6;margin-bottom:20px}

.sidebar-block{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px}
.sidebar-block-title{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin-bottom:14px}

.sidebar-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:2px}
.sidebar-links a{display:flex;align-items:center;gap:8px;font-size:13px;color:#334155;text-decoration:none;padding:7px 8px;border-radius:6px;transition:all .15s}
.sidebar-links a:hover{background:var(--sky-light);color:var(--sky-dark)}

.sidebar-post{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--border);text-decoration:none;transition:opacity .15s}
.sidebar-post:last-child{border-bottom:none;padding-bottom:0}
.sidebar-post:hover{opacity:.8}
.sidebar-post-thumb{width:56px;height:56px;flex-shrink:0;border-radius:6px;overflow:hidden;background:var(--navy)}
.sidebar-post-thumb img{width:100%;height:100%;object-fit:cover}
.sidebar-post-thumb-placeholder{background:linear-gradient(135deg,var(--navy) 60%,var(--sky) 100%)}
.sidebar-post-title{font-size:12px;font-weight:600;color:var(--navy);line-height:1.4;margin-bottom:4px}
.sidebar-post-date{font-size:11px;color:var(--muted)}

/* Responsive */
@media(max-width:900px){
  .blog-layout,.single-layout{grid-template-columns:1fr}
  .blog-sidebar,.single-sidebar{position:static}
  .single-nav{grid-template-columns:1fr}
  .single-nav-next{text-align:left}
  .post-content{padding:24px 20px}
}


/* ═══════════════════════════════════
   SIDEBAR — Calendar Widget (redesigned)
   ═══════════════════════════════════ */
.sidebar-calendar{overflow:hidden}
/* Table */
.sidebar-calendar table{width:100%;border-collapse:separate;border-spacing:2px;font-size:12px}
/* Month title */
.sidebar-calendar caption{
  font-family:var(--font-h);font-size:13px;font-weight:700;
  color:var(--navy);padding:0 0 12px;text-align:center;caption-side:top;
  letter-spacing:.03em
}
/* Day names header */
.sidebar-calendar thead th{
  background:transparent;
  color:var(--muted);
  padding:0 0 6px;
  text-align:center;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em
}
/* Day cells */
.sidebar-calendar tbody td{
  text-align:center;
  padding:1px;
  font-size:12px;
  color:var(--muted);
}
/* Day with article link */
.sidebar-calendar tbody td a{
  color:var(--navy);
  font-weight:700;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;height:28px;
  border-radius:8px;
  background:var(--sky-light);
  border:1px solid rgba(14,165,233,.2);
  transition:all .15s;
  font-size:12px
}
.sidebar-calendar tbody td a:hover{
  background:var(--sky);
  color:#fff;
  border-color:var(--sky);
  transform:scale(1.05)
}
/* Today highlight */
.sidebar-calendar #today{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;height:28px;
  background:var(--sky);
  color:#fff;
  border-radius:8px;
  font-weight:800;
  font-size:12px
}
/* Empty cells */
.sidebar-calendar .pad{opacity:0;pointer-events:none}
/* Footer navigation */
.sidebar-calendar tfoot td{
  text-align:center;
  padding:10px 0 0;
  border-top:1px solid var(--border)
}
.sidebar-calendar tfoot a{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:11px;
  font-weight:700;
  color:var(--sky);
  text-decoration:none;
  padding:5px 10px;
  border-radius:6px;
  background:var(--page);
  border:1px solid var(--border);
  transition:all .15s
}
.sidebar-calendar tfoot a:hover{
  background:var(--sky);
  color:#fff;
  border-color:var(--sky)
}

/* ═══════════════════════════════════
   SIDEBAR — Tags Cloud Widget
   ═══════════════════════════════════ */
.sidebar-tags-cloud{line-height:2.2}
.sidebar-tags-cloud a{
  display:inline-block;
  background:var(--page);
  border:1px solid var(--border);
  color:var(--muted);
  padding:3px 10px;
  border-radius:100px;
  text-decoration:none;
  margin:2px 2px;
  transition:all .15s;
  white-space:nowrap
}
.sidebar-tags-cloud a:hover{
  background:var(--sky-light);
  border-color:var(--sky);
  color:var(--sky-dark)
}

/* ═══════════════════════════════════
   MEGA-MENU — 2 columns (Системна інтеграція)
   ═══════════════════════════════════ */
/* Mega-menu 2-column grid */
.sub-menu--mega {
  column-count: 2;
  column-gap: 0;
  min-width: 540px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: -20px;
  transform: translateY(-4px);
  background: #fff;
  border: 1px solid #e2eaf3;
  border-top: 3px solid var(--sky);
  border-radius: 0 0 12px 12px;
  padding: 8px 0;
  box-shadow: 0 16px 48px rgba(9,18,28,.18);
  z-index: 200;
  transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
  /* prevent items from spanning columns */
  display: block !important;
}
.nav-menu > li:hover > .sub-menu--mega,
.nav-menu > li:focus-within > .sub-menu--mega,
.nav-menu > li.is-open > .sub-menu--mega {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.sub-menu--mega > li {
  break-inside: avoid;
  page-break-inside: avoid;
  display: block;
}
/* Visual divider after item 6 (last in col 1) */
.sub-menu--mega > li:nth-child(6) {
  border-bottom: 1px solid #e8f0f8;
  margin-bottom: 2px;
  padding-bottom: 2px;
  column-span: none;
}
.sub-menu--mega li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 500;
  color: #334155 !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s, color .12s;
  line-height: 1.4;
}
.sub-menu--mega li a:hover {
  background: var(--sky-light) !important;
  color: var(--sky-dark) !important;
}
.sub-menu--mega li a svg { flex-shrink: 0; opacity: .45; transition: opacity .12s; }
.sub-menu--mega li a:hover svg { opacity: 1; }
@media (max-width: 1000px) {
  .sub-menu--mega { column-count: 1; min-width: 220px; }
}
  .sub-menu--mega::after { display: none; }
}

/* ═══ GDPR Checkbox ═══ */
.form-check-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
  margin-bottom: 4px;
}
.form-check-gdpr input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--sky);
  cursor: pointer;
}
.form-check-gdpr a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }
.form-check-gdpr a:hover { color: var(--sky-dark); }

/* ═══ Cookie Notice ═══ */
#sl-cookie {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #0f2132;
  color: #94b4cc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  font-size: 13px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
}
#sl-cookie p { margin: 0; flex: 1; }
#sl-cookie a { color: #0ea5e9; text-decoration: underline; }
#sl-cookie button {
  background: #0ea5e9; color: #fff; border: none; cursor: pointer;
  padding: 8px 22px; border-radius: 6px; font-size: 13px; font-weight: 600;
  white-space: nowrap; flex-shrink: 0; transition: background .2s;
}
#sl-cookie button:hover { background: #0284c7; }
@media (max-width: 600px) {
  #sl-cookie { flex-direction: column; text-align: center; }
  #sl-cookie button { width: 100%; }
}


/* ── Back To Top ── */
#sl-btt {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--sky);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(14,165,233,.35);
  transition: background .2s, transform .2s, opacity .3s;
  opacity: 0;
}
#sl-btt.visible {
  display: flex;
  opacity: 1;
}
#sl-btt:hover { background: var(--sky-dark); transform: translateY(-2px); }

/* ── Mobile spacing improvements ── */
@media(max-width:900px){
  .section{padding:40px 0}
  .hero-section{padding:52px 0 44px}
  .section-title{font-size:clamp(22px,5vw,32px)}
  .section-sub{font-size:14px}
  .srv-grid{grid-template-columns:1fr;gap:12px}
  .srv-card{padding:20px}
  .steps-grid{grid-template-columns:1fr;gap:24px}
  .why-grid{grid-template-columns:1fr 1fr;gap:16px}
  .blog-cards{grid-template-columns:1fr;gap:20px}
  .post-card{flex-direction:column}
  .cta-banner .cta-inner{flex-direction:column;gap:20px;text-align:center}
  .cta-banner .cta-inner h2{font-size:22px}
  .footer-top{flex-direction:column;gap:32px}
  .footer-cols{grid-template-columns:1fr 1fr;gap:24px}
}
@media(max-width:480px){
  .why-grid{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:1fr;gap:20px}
  .stat-cards{grid-template-columns:1fr 1fr}
  .hero-section h1{font-size:28px}
}
/* ═══════════════════════════════════════════════
   v2.3.0 — CF7 + Flamingo Integration Styles
   ═══════════════════════════════════════════════ */

/* Hide CF7 default response output in popup — кастомний #formSuccess */
.popup .wpcf7-response-output { display: none !important; }

/* CF7 validation error messages under fields */
.wpcf7-not-valid-tip {
  display: block;
  font-size: 11px;
  color: #dc2626;
  margin-top: 4px;
  font-weight: 500;
}

/* Make CF7 control-wrap behave as block */
.wpcf7-form-control-wrap { display: block; }

/* CF7 fields inherit our .form-input style via class:form-input in CF7 template */
/* Nothing extra needed — CF7 adds form-input class directly */

/* CF7 submit button: input[type=submit] doesn't support inline-flex in old browsers */
.wpcf7-submit.form-submit {
  display: block;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.wpcf7-submit.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* CF7 spinner */
.wpcf7-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cf7spin .6s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}
@keyframes cf7spin { to { transform: rotate(360deg); } }

/* CF7 Acceptance checkbox */
.wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.wpcf7-acceptance label input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--sky);
}
.wpcf7-acceptance label a { color: var(--sky); }

/* CF7 invalid field highlight */
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #fca5a5 !important;
  background: #fef2f2 !important;
}

/* Why-grid extra breakpoint (original has 1fr 1fr at 900px and 1fr at 480px — already in CSS) */
/* No changes needed, original already covers it */

/* Popup form-success — ensure it's block not flex in original */
.form-success.show { display: block; }

/* CF7 acceptance checkbox — custom styled */
.wpcf7-acceptance-styled { display: block; }
.wpcf7-acceptance-styled label,
.wpcf7-acceptance-styled .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.wpcf7-acceptance-styled input[type="checkbox"],
.wpcf7-acceptance-styled .wpcf7-list-item input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--sky);
}
.wpcf7-acceptance-styled a { color: var(--sky); text-decoration: underline; }

/* ── Compact popup — fit full form on screen ── */
/* On small screens keep 2-col for short fields, stack only on very narrow */
@media(max-width:400px){
  .form-row-2{grid-template-columns:1fr}
}
/* Ensure overlay centers popup vertically when it fits, scrolls when it doesn't */
.overlay{align-items:flex-start}
@media(min-height:700px){
  .overlay{align-items:center}
}
/* Popup never taller than viewport */
.popup{max-height:calc(100dvh - 24px);overflow-y:auto}

/* ══════════════════════════════════════════════════════
   НОВІ БЛОКИ v3.2  |  High-contrast redesign
   Key principle: body text min 7:1, titles 15:1, cards
   have clear visual weight on any background.
   ══════════════════════════════════════════════════════ */

/* ── PAIN CARDS  (white bg section) ──────────────────
   Before: text #64748b = 4.76:1 → looks washed out
   After:  titles #0f2132 = 16:1, body #475569 = 7.6:1  */
.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #cbd5e1;            /* slate-300 — visible border */
  border-left: 3px solid #ef4444;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pain-card:hover {
  border-color: #ef4444;
  box-shadow: 0 4px 16px rgba(239,68,68,.12);
  transform: translateY(-2px);
}
.pain-dot {
  width: 8px; height: 8px; min-width: 8px;
  background: #ef4444;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.pain-title {
  font-weight: 700;
  font-size: 14px;
  color: #0f2132;                        /* navy = 16:1 on white */
  margin-bottom: 6px;
  line-height: 1.3;
}
.pain-text {
  font-size: 13px;
  color: #475569;                        /* 7.6:1 on white */
  line-height: 1.65;
  margin: 0;
}

/* ── SOLUTION CARDS  (dark --navy bg) ────────────────
   Text: white titles + #c8ddf0 body = 11.7:1           */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.solution-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  padding: 22px 18px;
  transition: background .2s, border-color .2s, transform .2s;
}
.solution-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(14,165,233,.45);
  transform: translateY(-3px);
}
.solution-icon {
  width: 42px; height: 42px;
  background: rgba(14,165,233,.15);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.solution-title {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;                        /* 16:1 */
  margin-bottom: 8px;
  font-family: var(--font-h);
  line-height: 1.3;
}
.solution-text {
  font-size: 13px;
  color: #c8ddf0;                        /* 11.7:1 */
  line-height: 1.6;
  margin-bottom: 12px;
}
.solution-tags {
  font-size: 11px;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: .04em;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.solutions-utp {
  background: rgba(14,165,233,.08);
  border: 1px solid rgba(14,165,233,.22);
  border-left: 3px solid var(--sky);
  border-radius: 0 10px 10px 0;
  padding: 16px 22px;
  font-size: 14px;
  color: #c8ddf0;                        /* 11.7:1 */
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   UNIVERSAL RESPONSIVE GRID UTILITIES
   Використовуються замість inline style="display:grid..."
   ══════════════════════════════════════════════════════ */
.sl-grid-2{display:grid;grid-template-columns:repeat(2,1fr)}
.sl-grid-3{display:grid;grid-template-columns:repeat(3,1fr)}
.sl-grid-4{display:grid;grid-template-columns:repeat(4,1fr)}
/* page-service.php specific grids */
.sl-cap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:8px}
.sl-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--border);border-radius:14px;overflow:hidden;margin-top:8px}
.sl-usecase-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
@media(max-width:900px){
  /* Universal */
  .sl-grid-2{grid-template-columns:1fr}
  .sl-grid-3{grid-template-columns:1fr}
  .sl-grid-4{grid-template-columns:1fr 1fr}
  /* page-service */
  .sl-cap-grid{grid-template-columns:1fr}
  .sl-process-grid{grid-template-columns:1fr 1fr}
  .sl-usecase-grid{grid-template-columns:1fr;gap:28px}
}
@media(max-width:600px){
  .sl-grid-4{grid-template-columns:1fr}
  .sl-process-grid{grid-template-columns:1fr}
  .sl-process-grid>div[style*="border-right"]{border-right:none!important;border-bottom:1px solid var(--border)}
}

/* ── SERVICE CARDS on dark bg ─────────────────────── */
.srv-grid--dark .srv-card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}
.srv-grid--dark .srv-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(14,165,233,.45);
}
.srv-grid--dark .srv-num { color: rgba(255,255,255,.22); }
.srv-grid--dark .srv-title { color: #ffffff; }
.srv-grid--dark .srv-desc { color: #c8ddf0; }

/* ── CASE CARDS  (white bg section) ──────────────────
   Strong hierarchy: tag=sky, title=navy bold, text=dark  */
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.case-card--light {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.case-card--light:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(14,165,233,.12);
  border-color: var(--sky);
}
.case-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--sky-dark);                /* darker sky = better contrast */
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 10px;
}
.case-title {
  font-weight: 700;
  font-size: 16px;
  color: #0f2132;                        /* 16:1 */
  margin-bottom: 10px;
  line-height: 1.35;
  font-family: var(--font-h);
}
.case-text {
  font-size: 13px;
  color: #475569;                        /* 7.6:1 */
  line-height: 1.65;
  margin-bottom: 16px;
}
.case-result {
  font-size: 13px;
  font-weight: 600;
  color: #047857;                        /* emerald-700 = 6.3:1 on white */
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 8px 12px;
  line-height: 1.5;
}

/* ── CTA SECTION  — redesigned as centered banner ────
   Old: 2-col grid with 3 tiny cards = weak
   New: centered headline + 2 big actions + phone line  */
.sl-cta-section { background: var(--page); }
.sl-cta-centered {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.sl-cta-centered .section-tag {
  justify-content: center;
  display: block;
  text-align: center;
  margin-bottom: 8px;
}
.sl-cta-centered h2 {
  text-align: center;
  border-left: none;
  padding-left: 0;
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 12px;
}
.sl-cta-centered .cta-sub {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 32px;
}
.sl-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sl-cta-actions .btn-primary { font-size: 15px; padding: 15px 32px; }
.sl-cta-actions .btn-secondary {
  font-size: 15px;
  padding: 15px 28px;
  color: var(--sky-dark);
}
.sl-cta-phone {
  font-size: 14px;
  color: #64748b;
}
.sl-cta-phone a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.sl-cta-phone a:hover { color: var(--sky); }
.sl-cta-phone span { margin: 0 10px; color: #cbd5e1; }

/* ── ABOUT PAGE INTRO STATS ───────────────────────── */
.about-stats-strip {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  max-width: 680px;
}
.astat {
  flex: 1; padding: 20px 24px; text-align: center;
  border-right: 1px solid #cbd5e1;
}
.astat:last-child { border-right: none; }
.astat-num {
  font-family: var(--font-h);
  font-size: 26px; font-weight: 700;
  color: var(--sky); line-height: 1; margin-bottom: 5px;
}
.astat-lbl { font-size: 12px; color: #475569; line-height: 1.4; }

/* ── TIMELINE  (dark bg) ──────────────────────────── */
.timeline {
  border-left: 2px solid rgba(255,255,255,.15);
  margin-left: 20px;
}
.tl-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 0 0 32px 28px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--sky);
  border: 2px solid var(--navy);
  border-radius: 50%;
  position: absolute; left: -6px; top: 5px;
}
.tl-year {
  font-family: var(--font-h);
  font-size: 14px; font-weight: 700; color: var(--sky);
  padding-top: 3px;
}
.tl-title {
  font-weight: 700; font-size: 15px; color: #ffffff;
  margin-bottom: 7px; font-family: var(--font-h);
}
.tl-text { font-size: 13px; color: #c8ddf0; line-height: 1.65; margin: 0; }

/* ── ABOUT PILLARS  (--page bg) ──────────────────── */
.about-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pillar-card {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px; padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: 0 8px 28px rgba(14,165,233,.1);
}
.pillar-icon {
  width: 44px; height: 44px;
  background: var(--sky-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.pillar-title { font-weight: 700; font-size: 15px; color: #0f2132; margin-bottom: 9px; font-family: var(--font-h); }
.pillar-text { font-size: 13px; color: #475569; line-height: 1.65; margin: 0; }

/* ── AUDIENCE CARDS  (dark bg) ───────────────────── */
.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.audience-card--dark {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 20px;
  transition: background .2s, border-color .2s;
}
.audience-card--dark:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(14,165,233,.35);
}
.audience-icon--dark {
  width: 40px; height: 40px;
  background: rgba(14,165,233,.14); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.audience-title--dark { font-weight: 700; font-size: 14px; color: #ffffff; margin-bottom: 7px; }
.audience-text--dark { font-size: 13px; color: #c8ddf0; line-height: 1.6; margin: 0; }

/* ── TRUST GRID  (white bg) ──────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.trust-item--light {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--page);
  border: 1px solid #cbd5e1;
  border-radius: 10px; padding: 18px;
  transition: border-color .2s, background .2s;
}
.trust-item--light:hover { border-color: var(--sky); background: var(--sky-light); }
.trust-item-icon--light {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--sky-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.trust-item-title--light { font-weight: 700; font-size: 14px; color: #0f2132; margin-bottom: 4px; }
.trust-item-text--light { font-size: 13px; color: #475569; line-height: 1.55; margin: 0; }

/* ── BLOG on dark bg ─────────────────────────────── */
.sl-blog-dark .post-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.sl-blog-dark .post-card:hover {
  border-color: rgba(14,165,233,.4);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.sl-blog-dark .post-title a { color: #ffffff; }
.sl-blog-dark .post-title a:hover { color: var(--sky); }
.sl-blog-dark .post-excerpt { color: #94b8d0; }
.sl-blog-dark .post-date { color: #64748b; }
.sl-blog-dark .post-read { color: var(--sky); }
.sl-blog-dark .post-footer { border-top-color: rgba(255,255,255,.08); }
.sl-blog-dark .post-tag {
  background: rgba(14,165,233,.15);
  color: var(--sky);
  border-color: rgba(14,165,233,.25);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media(max-width:1024px){
  .solutions-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:900px){
  .audience-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px){
  .pains-grid { grid-template-columns: 1fr 1fr; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .sl-cta-actions { flex-direction: column; align-items: center; }
  .tl-item { grid-template-columns: 60px 1fr; }
  .about-stats-strip { max-width: 100%; }
  .astat-num { font-size: 20px; }
  .astat { padding: 14px 12px; }
}
@media(max-width:540px){
  .pains-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .about-stats-strip { flex-direction: column; }
  .astat { border-right: none; border-bottom: 1px solid #cbd5e1; }
  .astat:last-child { border-bottom: none; }
}


/* ── "Ваша компанія" card — same size as others, accent blue ──── */
.audience-card--cta-hero {
  background: linear-gradient(160deg, #0f2744 0%, #0f3460 55%, #0d4a8a 100%);
  border: 1px solid rgba(14,165,233,.35);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  /* match the regular audience card height */
  min-height: 0;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.audience-card--cta-hero::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(14,165,233,.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.audience-card--cta-hero:hover {
  border-color: rgba(14,165,233,.65);
  box-shadow: 0 8px 32px rgba(14,165,233,.22);
  transform: translateY(-3px);
}
.audience-card--cta-hero:active { transform: translateY(0); }

.ach-icon-ring {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(14,165,233,.2);
  border: 1.5px solid rgba(14,165,233,.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
  transition: background .2s, border-color .2s;
}
.audience-card--cta-hero:hover .ach-icon-ring {
  background: rgba(14,165,233,.35);
  border-color: rgba(14,165,233,.7);
}
.ach-title {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  position: relative; z-index: 1;
}
.ach-sub {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  margin: 0;
  position: relative; z-index: 1;
}
.ach-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--sky);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 6px;
  transition: background .2s;
  position: relative; z-index: 1;
  margin-top: 2px;
}
.audience-card--cta-hero:hover .ach-action { background: var(--sky-dark); }
.ach-arrow {
  transition: transform .2s;
  display: inline-block;
}
.audience-card--cta-hero:hover .ach-arrow { transform: translateX(3px); }

/* Equal heights for all audience cards via align-items: stretch */
.audience-grid {
  align-items: stretch;
}
.audience-card--dark,
.audience-card--cta-hero {
  height: 100%;
  box-sizing: border-box;
}


/* ══════════════════════════════════════════════════════
   СПІЛЬНІ — page-si, page-lic, page-contacts
   ══════════════════════════════════════════════════════ */

/* Breadcrumb */
.sl-breadcrumb{
  display:flex;align-items:center;gap:8px;
  font-size:12px;color:#94a3b8;margin-bottom:0;
  flex-wrap:nowrap;overflow:hidden;
}
.sl-breadcrumb a{color:#64748b;text-decoration:none;white-space:nowrap}
.sl-breadcrumb a:hover{color:var(--sky)}
.sl-breadcrumb span{white-space:nowrap}
/* Mobile: show only ← Parent */
@media(max-width:900px){
  .sl-breadcrumb{gap:0}
  .sl-breadcrumb > *{display:none}
  .sl-breadcrumb .sl-bc-parent{
    display:inline-flex!important;
    align-items:center;gap:6px;
    color:var(--sky);font-size:13px;font-weight:500;
    padding:6px 12px 6px 8px;
    background:var(--sky-light);
    border-radius:20px;
    border:1px solid rgba(14,165,233,.2);
    text-decoration:none;
    transition:background .15s;
  }
  .sl-breadcrumb .sl-bc-parent::before{
    content:'';
    display:inline-block;
    width:6px;height:6px;
    border-left:2px solid var(--sky);
    border-bottom:2px solid var(--sky);
    transform:rotate(45deg);
    flex-shrink:0;
    margin-right:2px;
  }
  .sl-breadcrumb .sl-bc-parent:hover{background:rgba(14,165,233,.15)}
}

/* Page H1 + lead */
.sl-page-h1{
  font-family:var(--font-h);
  font-size:clamp(22px,3.5vw,34px);
  font-weight:800;
  color:var(--navy);
  margin-bottom:14px;
  border-left:4px solid var(--sky);
  padding-left:14px;
  line-height:1.2;
}
.sl-page-lead{
  color:#475569;
  font-size:15px;
  line-height:1.7;
  max-width:620px;
}

/* ── srv-card dark variant (services on navy bg) ──── */
.srv-grid--dark .srv-card{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.12);
}
.srv-grid--dark .srv-card:hover{
  background:rgba(255,255,255,.09);
  border-color:rgba(14,165,233,.4);
}
.srv-grid--dark .srv-num{color:rgba(255,255,255,.22)}
.srv-grid--dark .srv-title{color:#ffffff}
.srv-grid--dark .srv-desc{color:#c8ddf0}

/* ── Admin bar + sticky header gap fix ───────────────────── */
html { background: var(--navy); }
body { background: var(--page); }
/* Ensure no gap between sticky header and first section */
.site-header + * { margin-top: 0 !important; }

/* ══════════════════════════════════════════════════════
   DESIGN UPGRADES v4.7 — gradient, glow, animations
   ══════════════════════════════════════════════════════ */

/* 1 ── Gradient hero text (ключове слово у слогані) ── */
.hero-gradient-text {
  background: linear-gradient(135deg, #0ea5e9 0%, #818cf8 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 2 ── Ambient glow у hero ──────────────────────────── */
.hero-section {
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(14,165,233,.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: 60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(99,102,241,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
}

/* 3 ── Scroll-reveal base ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-d0 { transition-delay: 0s }
.reveal-d1 { transition-delay: .1s }
.reveal-d2 { transition-delay: .2s }

/* 4 ── Card hover glow ──────────────────────────────── */
.srv-card, .pain-card, .sol-card, .case-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14,165,233,.14);
  border-color: rgba(14,165,233,.4) !important;
}

/* 5 ── Pain-point cards — gradient left border ──────── */
.pain-card {
  border-left: 3px solid transparent !important;
  background-image: linear-gradient(var(--page), var(--page)),
                    linear-gradient(180deg, #0ea5e9, #818cf8);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* 6 ── Metric cards subtle glow ────────────────────── */
.metric-card {
  transition: box-shadow .25s ease, border-color .25s ease;
}
.metric-card:hover {
  box-shadow: 0 0 28px rgba(14,165,233,.18);
  border-color: rgba(14,165,233,.35) !important;
}

/* 7 ── Button primary — gradient instead of flat ────── */
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14,165,233,.35);
}

/* 8 ── CTA banner — додаємо глибину ─────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* 9 ── Section headings — тонкий акцент ─────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .08em;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}

/* 10 ── Subtle background grid texture on dark sections */
.section[style*="background:var(--navy)"],
section[style*="background:var(--navy)"] {
  background-image: 
    linear-gradient(rgba(14,165,233,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.025) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
  background-color: var(--navy) !important;
}

/* Hero H1 gradient span override */
.hero-h1 .hero-gradient-text,
.hero-h1 span.hero-gradient-text {
  background: linear-gradient(135deg, #0ea5e9 0%, #818cf8 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* ── Language switcher ──────────────────────────────── */
.lang-switch {
  display:flex;align-items:center;gap:5px;
  font-size:12px;font-weight:700;letter-spacing:.04em;
  color:rgba(255,255,255,.65);text-decoration:none;
  border:1px solid rgba(255,255,255,.2);border-radius:6px;
  padding:5px 10px;transition:all .2s;white-space:nowrap;flex-shrink:0;
}
.lang-switch:hover{color:#fff;border-color:var(--sky);background:rgba(14,165,233,.1)}
@media(max-width:900px){.lang-switch{display:none}}
/* Mobile header: lang-switch зліва від бургера */
@media(max-width:900px){
  .header-inner>.lang-switch{display:inline-flex!important;margin-left:auto;font-size:12px;padding:4px 10px;gap:4px}
  .burger{margin-left:0}
}
.mobile-lang-switch{padding:12px 24px 0;}
.mobile-lang-switch .lang-switch{display:inline-flex;border-color:rgba(14,165,233,.35);color:#94b8d0;}

/* ── Dropdown 2-column layout for large menus ─────────── */
.main-nav .sub-menu--2col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  min-width: 440px !important;
}
.main-nav .sub-menu--2col > li {
  width: 100%;
}


/* ════════════════════════════════════════════════════════════
   SGS BOLD GRID — Complete Design System Override
   Direction: editorial, geometric, structured — ≠ Softline IT
   Colors unchanged: --navy:#6852ed  --sky:#6852ed
   ════════════════════════════════════════════════════════════ */

/* ── 0. Foundations ─────────────────────────────────────────
   Inter already declared in :root — no Verdana anywhere        */
body { font-family: var(--font-b); -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--font-h); letter-spacing: -.02em; }

/* ── 1. Section tag — rectangular chip, NOT pill/dot ─────── */
.section-tag {
  display: inline-block !important;
  background: rgba(104,82,237,.12) !important;
  color: var(--sky) !important;
  padding: 4px 10px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  border-radius: 3px !important;
  border: none !important;
  margin-bottom: 14px !important;
}
.section-tag::before { display: none !important; }
/* Dark-bg variant */
section[style*="background:var(--navy)"] .section-tag,
.section[style*="background:var(--navy)"] .section-tag {
  background: rgba(255,255,255,.1) !important;
  color: rgba(255,255,255,.7) !important;
}

/* ── 2. Section title — underline accent, no left border ──── */
.section-title {
  border-left: none !important;
  padding-left: 0 !important;
  font-weight: 800 !important;
  font-size: clamp(22px, 2.6vw, 32px) !important;
  letter-spacing: -.025em !important;
  margin-bottom: 6px !important;
  padding-bottom: 18px !important;
  position: relative !important;
}
.section-title::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 40px !important;
  height: 3px !important;
  background: var(--sky) !important;
  border-radius: 0 !important;
}

/* ── 3. Buttons — solid, square-radius, no gradient ─────────*/
.btn-primary {
  background: var(--sky) !important;
  background-image: none !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: .02em !important;
  padding: 12px 24px !important;
  gap: 8px !important;
  transition: background .15s, box-shadow .15s !important;
}
.btn-primary::after { display: none !important; }
.btn-primary:hover {
  background: var(--sky-dark) !important;
  transform: none !important;
  box-shadow: 0 4px 16px rgba(104,82,237,.4) !important;
}
.btn-secondary {
  border-radius: 6px !important;
  border: 1.5px solid var(--sky) !important;
  color: var(--sky) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.btn-secondary:hover {
  background: var(--sky) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* ── 4. Hero badge — rectangular, NOT pill ──────────────────*/
.hero-badge {
  border-radius: 4px !important;
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
}
.hero-dot { display: none !important; }

/* ── 5. Hero H1 gradient text — purple, not sky-blue ────────*/
.hero-gradient-text {
  background: linear-gradient(135deg, #c4b5fd 0%, #fff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ── 6. Pain cards — numbered horizontal rows ───────────────
   .pain-card > .pain-dot  (becomes colored block)
   .pain-card > div        (text)                              */
.pains-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2px !important;
  margin-bottom: 36px !important;
  background: var(--border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
}
.pain-card {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  background: var(--surface) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
  transition: background .15s !important;
  overflow: hidden !important;
}
.pain-card:hover {
  background: var(--page) !important;
  transform: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
/* Numbered left block */
.pain-dot {
  width: 52px !important;
  min-width: 52px !important;
  height: auto !important;
  background: var(--sky) !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.pain-card:hover .pain-dot {
  background: var(--sky-dark) !important;
}
/* Pain card text wrapper */
.pain-card > div:not(.pain-dot) {
  padding: 18px 20px !important;
  flex: 1 !important;
}
.pain-title {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--navy) !important;
  margin-bottom: 5px !important;
  line-height: 1.3 !important;
}
.pain-text {
  font-size: 13px !important;
  color: var(--muted) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* ── 7. Solution cards — flat 2-col, solid icon squares ─────*/
.solutions-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2px !important;
  background: rgba(255,255,255,.05) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin-bottom: 24px !important;
}
.solution-card {
  background: rgba(255,255,255,.04) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 28px 24px !important;
  transition: background .15s !important;
}
.solution-card:hover {
  background: rgba(255,255,255,.09) !important;
  transform: none !important;
  border-color: transparent !important;
}
/* Solid square icon — no circle */
.solution-icon {
  width: 38px !important;
  height: 38px !important;
  background: var(--sky) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
}
.solution-icon svg { stroke: #fff !important; }
.solution-card:hover .solution-icon { background: rgba(255,255,255,.9) !important; }
.solution-card:hover .solution-icon svg { stroke: var(--sky) !important; }
.solution-title {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #fff !important;
  margin-bottom: 8px !important;
  font-family: var(--font-h) !important;
}
.solution-text {
  font-size: 13px !important;
  color: rgba(255,255,255,.65) !important;
  line-height: 1.65 !important;
}
.solution-tags {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--sky-light) !important;
  letter-spacing: .05em !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  padding-top: 12px !important;
  margin-top: 12px !important;
}
.solutions-utp {
  background: rgba(104,82,237,.18) !important;
  border: none !important;
  border-left: 4px solid var(--sky) !important;
  border-radius: 0 6px 6px 0 !important;
  color: rgba(255,255,255,.8) !important;
}

/* ── 8. Why cards — joined panel, not separate boxes ────────*/
.why-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.why-card {
  background: var(--surface) !important;
  border: none !important;
  border-radius: 0 !important;
  border-right: 1px solid var(--border) !important;
  padding: 28px 24px !important;
  box-shadow: none !important;
  transition: background .15s !important;
}
.why-card:last-child { border-right: none !important; }
.why-card:hover {
  background: var(--page) !important;
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--border) !important;
}
/* Square icon block, not circle */
.why-icon {
  width: 42px !important;
  height: 42px !important;
  background: rgba(104,82,237,.1) !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
  transition: background .15s !important;
}
.why-card:hover .why-icon { background: var(--sky) !important; }
.why-card:hover .why-icon svg { stroke: #fff !important; }
.why-title {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: var(--navy) !important;
  margin-bottom: 8px !important;
}
.why-text {
  font-size: 13px !important;
  color: var(--muted) !important;
  line-height: 1.65 !important;
}

/* ── 9. Service cards — ghost number bg, joined grid ────────*/
.srv-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.srv-card {
  background: var(--surface) !important;
  border: none !important;
  border-radius: 0 !important;
  border-right: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 24px 20px !important;
  transition: background .15s !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
/* Remove right border from every 3rd */
.srv-card:nth-child(3n) { border-right: none !important; }
/* Remove bottom border from last row */
.srv-card:nth-last-child(-n+3) { border-bottom: none !important; }
.srv-card:hover {
  background: var(--page) !important;
  transform: none !important;
  box-shadow: none !important;
  border-top-color: var(--sky) !important;
}
/* Ghost oversized number */
.srv-num {
  font-size: 72px !important;
  font-weight: 900 !important;
  color: rgba(104,82,237,.07) !important;
  line-height: 1 !important;
  position: absolute !important;
  top: 8px !important;
  right: 12px !important;
  font-family: var(--font-h) !important;
  pointer-events: none !important;
  letter-spacing: -.04em !important;
}
.srv-title {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--navy) !important;
  margin-bottom: 7px !important;
  line-height: 1.3 !important;
  position: relative !important;
  z-index: 1 !important;
}
.srv-desc {
  font-size: 12px !important;
  color: var(--muted) !important;
  line-height: 1.6 !important;
  position: relative !important;
  z-index: 1 !important;
}
.srv-link {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--sky) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 10px !important;
  position: relative !important;
  z-index: 1 !important;
  letter-spacing: .02em !important;
}
.srv-link:hover { color: var(--sky-dark) !important; text-decoration: underline !important; }

/* Dark srv-grid overrides */
.srv-grid--dark {
  border-color: rgba(255,255,255,.08) !important;
  background: transparent !important;
}
.srv-grid--dark .srv-card {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.07) !important;
}
.srv-grid--dark .srv-card:hover {
  background: rgba(255,255,255,.08) !important;
  border-top-color: var(--sky) !important;
}
.srv-grid--dark .srv-num { color: rgba(255,255,255,.06) !important; }
.srv-grid--dark .srv-title { color: #fff !important; }
.srv-grid--dark .srv-desc { color: rgba(255,255,255,.6) !important; }
.srv-grid--dark .srv-link { color: var(--sky-light) !important; }

/* ── 10. News cards — top accent bar ────────────────────────*/
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.news-card {
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  overflow: hidden;
  transition: background .15s;
}
.news-card:last-child { border-right: none; }
.news-card:hover { background: var(--page); }
.news-thumb { display: block; overflow: hidden; }
.news-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .3s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-body { padding: 18px 20px 22px; }
.news-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 8px;
}
.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--sky); }
.news-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── 11. Remove dark bg grid texture ────────────────────────*/
.section[style*="background:var(--navy)"],
section[style*="background:var(--navy)"] {
  background-image: none !important;
}

/* ── 12. Hero — less pill, more geometric ───────────────────*/
.hero-section::before,
.hero-section::after { display: none !important; }

/* ── 13. Page-hero block (service pages) ────────────────────*/
.page-hero {
  padding: 56px 0 44px;
}

/* ── 14. CTA section ────────────────────────────────────────*/
.sl-cta-section .section-title::after { display: none !important; }
.sl-cta-section .section-title {
  padding-bottom: 0 !important;
  text-align: center !important;
}

/* ── 15. Partners logos (Technologies page) ─────────────────*/
.tech-category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  transition: border-color .15s, box-shadow .15s;
}
.tech-category-card:hover {
  border-color: var(--sky);
  box-shadow: 0 2px 12px rgba(104,82,237,.12);
}

/* ── 16. Inline sticky nav tabs (Technologies page) ─────────*/
.tech-tab-nav a:hover {
  color: var(--sky) !important;
  border-bottom: 2px solid var(--sky) !important;
}

/* ── 17. Responsive overrides ───────────────────────────────*/
@media(max-width: 900px) {
  .pains-grid   { grid-template-columns: 1fr !important; }
  .solutions-grid { grid-template-columns: 1fr !important; }
  .why-grid     { grid-template-columns: 1fr !important; }
  .why-card     { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .why-card:last-child { border-bottom: none !important; }
  .srv-grid     { grid-template-columns: 1fr 1fr !important; }
  .srv-card:nth-child(3n) { border-right: 1px solid var(--border) !important; }
  .srv-card:nth-child(2n) { border-right: none !important; }
  .news-grid    { grid-template-columns: 1fr !important; }
  .news-card    { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .news-card:last-child { border-bottom: none !important; }
}
@media(max-width: 600px) {
  .srv-grid { grid-template-columns: 1fr !important; }
  .srv-card:nth-child(n) { border-right: none !important; }
}

/* ── 18. Transition cleanup — no translateY everywhere ──────*/
.srv-card:hover,
.pain-card:hover,
.solution-card:hover,
.case-card:hover,
.why-card:hover,
.tech-category-card:hover {
  transform: none !important;
}

/* ── 19. Post cards on blog page ────────────────────────────*/
.post-card {
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.post-card:hover {
  border-color: var(--sky) !important;
  box-shadow: 0 2px 16px rgba(104,82,237,.12) !important;
  transform: none !important;
}



/* ════════════════════════════════════════════════════════════
   SERVICE PAGE HERO — two-column: text left, icon right
   ════════════════════════════════════════════════════════════ */

.sgs-hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.sgs-hero-text {
  flex: 1;
  min-width: 0;
}
.sgs-hero-visual {
  flex-shrink: 0;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .92;
}

/* SVG icons in hero */
.sgs-hero-icon {
  width: 220px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(104,82,237,.35));
}

/* Photo (penetration test) */
.sgs-hero-photo {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}

/* Solution card icons: SVG imgs inside .solution-icon */
.solution-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Invert dark SVGs (the colored ones) to white on dark bg */
.solution-icon img[src*=".svg"] {
  filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
  .sgs-hero-inner { flex-direction: column; gap: 28px; }
  .sgs-hero-visual { width: 100%; }
  .sgs-hero-icon  { width: 160px; }
  .sgs-hero-photo { width: 100%; height: 200px; }
}


/* ════════════════════════════════════════════════════════════
   PARTNER LOGOS — real images row
   ════════════════════════════════════════════════════════════ */
.sgs-partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}
.sgs-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.sgs-partner-logo:hover {
  border-color: var(--sky);
  box-shadow: 0 2px 12px rgba(104,82,237,.1);
}
.sgs-partner-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Normalize: tint all to brand-neutral dark */
  filter: brightness(.15) contrast(1.2);
  transition: filter .2s;
}
.sgs-partner-logo:hover img {
  filter: none;
}

/* ════════════════════════════════════════════════════════════
   WHY ICONS — isometric PNG icons
   ════════════════════════════════════════════════════════════ */
.why-icon {
  background: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 14px !important;
}
.why-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(104,82,237,.2));
  transition: transform .2s;
}
.why-card:hover .why-icon img {
  transform: translateY(-3px) scale(1.05);
  filter: drop-shadow(0 8px 16px rgba(104,82,237,.3));
}

/* ════════════════════════════════════════════════════════════
   SOLUTION ICONS — isometric PNG icons in dark section
   ════════════════════════════════════════════════════════════ */
.solution-icon {
  background: none !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 18px !important;
}
.solution-icon img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 16px rgba(104,82,237,.4)) !important;
  transition: transform .2s !important;
}
.solution-card:hover .solution-icon img {
  transform: translateY(-4px) scale(1.06) !important;
  filter: drop-shadow(0 8px 20px rgba(104,82,237,.5)) !important;
}

@media (max-width: 600px) {
  .sgs-partners-row { gap: 16px 24px; }
  .sgs-partner-logo img { height: 24px; }
  .why-icon img { width: 44px; height: 44px; }
}


/* ════════════════════════════════════════════════════════════
   HOMEPAGE UX FIXES — критичні виправлення
   ════════════════════════════════════════════════════════════ */

/* 1 — Hero: розділити від header ─────────────────────────── */
.site-header {
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}

/* 2 — Hero stats row ─────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 32px;
  margin: 24px 0 28px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat-num {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

/* 3 — Pain number badge ──────────────────────────────────── */
.pain-num {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1;
}

/* 4 — Section ④ "Про нас" — виправити контраст заголовка ── */
.section[style*="background:var(--page)"] .section-title,
section[style*="background:var(--page)"] .section-title {
  color: var(--navy) !important;
}
.section[style*="background:var(--page)"] .section-sub,
section[style*="background:var(--page)"] .section-sub {
  color: var(--muted) !important;
}

/* 5 — Solution icons: isometric PNGs, збільшені ─────────── */
.solution-icon {
  background: transparent !important;
  border-radius: 0 !important;
  width: 72px !important;
  height: 72px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.solution-icon img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 20px rgba(104,82,237,.45)) !important;
  transition: transform .25s, filter .25s !important;
}
.solution-card:hover .solution-icon img {
  transform: translateY(-6px) scale(1.08) !important;
  filter: drop-shadow(0 12px 28px rgba(104,82,237,.6)) !important;
}

/* 6 — Why icons: більші ──────────────────────────────────── */
.why-icon img {
  width: 64px !important;
  height: 64px !important;
}

/* 7 — Partner logos: більш видимі ───────────────────────── */
.sgs-partner-logo {
  background: #fff !important;
  border-color: #e2e8f0 !important;
  padding: 12px 24px !important;
  min-width: 140px !important;
}
.sgs-partner-logo img {
  height: 36px !important;
  filter: grayscale(1) opacity(.55) !important;
}
.sgs-partner-logo:hover img {
  filter: none !important;
}

/* 8 — CTA section: кнопки видимі ───────────────────────── */
.sl-cta-title {
  font-family: var(--font-h);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.75;
  margin: 0 auto 32px;
}
.sl-cta-section .btn-primary {
  background: #fff !important;
  color: var(--sky) !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  font-size: 15px !important;
}
.sl-cta-section .btn-primary:hover {
  background: var(--sky-light) !important;
  color: var(--sky-dark) !important;
  box-shadow: 0 4px 20px rgba(255,255,255,.25) !important;
}
.sl-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 6px;
  transition: border-color .15s, background .15s;
  letter-spacing: .02em;
}
.sl-cta-phone:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.sl-cta-centered {
  text-align: center;
}
.sl-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* 9 — News placeholder (no thumbnail) ───────────────────── */
.news-thumb-placeholder {
  height: 180px;
  background: linear-gradient(135deg, rgba(104,82,237,.08) 0%, rgba(104,82,237,.15) 100%);
  display: block;
}

/* 10 — fp-pains section: без зайвої кнопки ──────────────── */
.fp-pains .pains-grid { margin-bottom: 0; }

/* 11 — Responsive: hero-stats на мобільному ─────────────── */
@media(max-width:600px) {
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 22px; }
  .solution-icon, .solution-icon img { width: 52px !important; height: 52px !important; }
  .sl-cta-phone { font-size: 15px; padding: 10px 18px; }
}



/* ════════════════════════════════════════════════════════════
   HOME PAGE v2 — structural & visual fixes
   ════════════════════════════════════════════════════════════ */

/* ── Header border — separate from Hero ─────────────────── */
.site-header {
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
}

/* ── Pain counter — numbers in colored block ─────────────── */
.pains-grid { counter-reset: pain-counter; }
.pain-card  { counter-increment: pain-counter; }
.pain-dot::after {
  content: counter(pain-counter, decimal-leading-zero);
  font: 800 14px/1 var(--font-h);
  color: #fff;
  letter-spacing: .02em;
}

/* ── Pain cards — 4 items, not 6; wider text ─────────────── */
.pains-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 2px !important;
}

/* ── Stats bar ───────────────────────────────────────────── */
.sgs-stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.sgs-stats-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 20px 0;
}
.sgs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.sgs-stat:last-child { border-right: none; }
.sgs-stat-num {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.02em;
}
.sgs-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Solutions section — WHITE bg, dark text ─────────────── */
.sgs-solutions-section {
  background: var(--page) !important;
}
.sgs-solutions-section .solutions-grid {
  background: transparent !important;
}
.sgs-solutions-section .solution-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
}
.sgs-solutions-section .solutions-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.sgs-solutions-section .solution-card:hover {
  border-color: var(--sky) !important;
  box-shadow: 0 4px 20px rgba(104,82,237,.1) !important;
}
/* Icon on white: show real colors, not inverted */
.sgs-solutions-section .solution-icon {
  background: rgba(104,82,237,.08) !important;
  border-radius: 10px !important;
  width: 56px !important;
  height: 56px !important;
  margin-bottom: 16px !important;
}
.sgs-solutions-section .solution-icon img {
  width: 32px !important;
  height: 32px !important;
  filter: none !important;
}
.sgs-solutions-section .solution-title {
  color: var(--navy) !important;
  font-size: 16px !important;
}
.sgs-solutions-section .solution-text {
  color: var(--text) !important;
  font-size: 14px !important;
}
.sgs-solutions-section .solution-tags {
  color: var(--sky) !important;
  border-top-color: var(--border) !important;
  font-weight: 700 !important;
}
/* UTP bar below solutions */
.sgs-solutions-section .solutions-utp {
  background: rgba(104,82,237,.07) !important;
  border-left: 4px solid var(--sky) !important;
  border-radius: 0 6px 6px 0 !important;
  color: var(--text) !important;
  margin-top: 20px !important;
}

/* ── Services section — DARK CHARCOAL, not brand purple ──── */
.sgs-srv-section {
  background: #0f172a !important;
}
.sgs-srv-section .section-title.sgs-srv-title {
  color: #fff !important;
  border-color: rgba(255,255,255,.15) !important;
  padding-bottom: 18px !important;
}
.sgs-srv-section .section-title.sgs-srv-title::after {
  background: var(--sky) !important;
}
.sgs-srv-section .section-tag.sgs-srv-tag {
  background: rgba(104,82,237,.25) !important;
  color: #a78bfa !important;
}
.sgs-srv-section .section-sub.sgs-srv-sub {
  color: rgba(255,255,255,.55) !important;
}
/* Charcoal grid */
.sgs-srv-section .srv-grid {
  border-color: rgba(255,255,255,.07) !important;
}
.sgs-srv-section .srv-card {
  background: rgba(255,255,255,.03) !important;
  border-color: rgba(255,255,255,.07) !important;
}
.sgs-srv-section .srv-card:hover {
  background: rgba(104,82,237,.12) !important;
  border-top-color: var(--sky) !important;
}
.sgs-srv-section .srv-num {
  color: rgba(104,82,237,.2) !important;
}
.sgs-srv-section .srv-title { color: #e2e8f0 !important; }
.sgs-srv-section .srv-desc  { color: rgba(255,255,255,.45) !important; }
.sgs-srv-section .srv-link  { color: #a78bfa !important; }

/* ── "Без маркетингу" — fix heading contrast ─────────────── */
section[style*="background:var(--page)"] .section-title {
  color: var(--navy) !important;
  opacity: 1 !important;
}
section[style*="background:var(--page)"] .section-sub {
  color: var(--muted) !important;
  opacity: 1 !important;
}

/* ── Partner logos fallback ─────────────────────────────── */
.sgs-partner-fallback {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  opacity: .6;
  letter-spacing: -.01em;
}

/* ── CTA section — white buttons on purple ──────────────── */
.sgs-cta-tag {
  background: rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.8) !important;
}
.sgs-cta-title {
  border-left: none !important;
  padding-left: 0 !important;
  text-align: center !important;
  color: #fff !important;
  padding-bottom: 0 !important;
  margin-bottom: 14px !important;
}
.sgs-cta-title::after { display: none !important; }
.sgs-cta-btn-primary {
  background: #fff !important;
  color: var(--sky) !important;
  font-weight: 800 !important;
}
.sgs-cta-btn-primary:hover {
  background: var(--sky-light) !important;
  color: var(--sky-dark) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.2) !important;
}
.sgs-cta-btn-secondary {
  border-color: rgba(255,255,255,.45) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.sgs-cta-btn-secondary:hover {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.7) !important;
  color: #fff !important;
}
.sgs-cta-link {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: rgba(255,255,255,.55) !important;
  font: inherit !important;
  padding: 0 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(255,255,255,.3) !important;
}
.sgs-cta-link:hover { color: #fff !important; }
.cta-sub { color: rgba(255,255,255,.65) !important; }
.sl-cta-phone { color: rgba(255,255,255,.4) !important; font-size: 13px !important; margin-top: 16px !important; }

/* ── Dark section backgrounds — remove grid pattern ─────── */
section[style*="background:var(--navy)"],
.section[style*="background:var(--navy)"] {
  background-image: none !important;
}

/* ── Responsive stats bar ────────────────────────────────── */
@media (max-width: 768px) {
  .sgs-stats-inner { flex-wrap: wrap; gap: 0; }
  .sgs-stat { padding: 12px 20px; border-bottom: 1px solid var(--border); width: 50%; border-right: none; }
  .sgs-stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .sgs-stat-num { font-size: 22px; }
}
@media (max-width: 480px) {
  .sgs-stat { width: 100%; border-right: none !important; }
  .sgs-solutions-section .solutions-grid { grid-template-columns: 1fr !important; }
}


/* ════════════════════════════════════════════════════════════
   SGS BOOTSTRAP REDESIGN — front-page specific components
   Bootstrap 5 + WOW.js + isometric icons + accent strips
   ════════════════════════════════════════════════════════════ */

/* ── Colors ──────────────────────────────────────────────── */
:root {
  --sgs-purple:  #6852ed;
  --sgs-purple2: #5040c5;
  --sgs-navy:    #1a1140;
  --sgs-blue:    #3b6ea3;
  --sgs-green:   #27ae60;
  --sgs-red:     #c0392b;
  --sgs-orange:  #f39c12;
  --sgs-light:   #f0eeff;
  --sgs-muted:   #64748b;
}

/* ── HERO ────────────────────────────────────────────────── */
.sgs-hero {
  background: linear-gradient(150deg, #1a1140 0%, #2d1b6e 45%, #1a3a6e 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.sgs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(104,82,237,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59,110,163,.2) 0%, transparent 50%);
  pointer-events: none;
}
.sgs-hero__bg-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.sgs-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.sgs-hero__title {
  font-family: var(--font-h);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.sgs-hero__title span {
  background: linear-gradient(135deg, #c4b5fd 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sgs-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 36px;
}
.sgs-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.sgs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  padding: 13px 28px;
  line-height: 1;
}
.sgs-btn--white {
  background: #fff;
  color: var(--sgs-purple);
  border-color: #fff;
}
.sgs-btn--white:hover {
  background: var(--sgs-light);
  color: var(--sgs-purple2);
}
.sgs-btn--white-sm {
  background: #fff;
  color: var(--sgs-purple);
  border-color: #fff;
  padding: 9px 20px;
  font-size: 13px;
}
.sgs-btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.sgs-btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}
.sgs-btn--outline {
  background: transparent;
  color: var(--sgs-purple);
  border-color: var(--sgs-purple);
}
.sgs-btn--outline:hover {
  background: var(--sgs-purple);
  color: #fff;
}

/* ── ACCENT STRIP — purple chips ─────────────────────────── */
.sgs-strip--purple {
  background: linear-gradient(90deg, var(--sgs-navy) 0%, var(--sgs-purple) 50%, var(--sgs-blue) 100%);
  padding: 14px 0;
  overflow: hidden;
}
.sgs-strip__inner {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.sgs-strip__chip {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── ACCENT STRIP — multicolor ──────────────────────────── */
.sgs-strip--multicolor {
  display: flex;
  height: 6px;
}
.sgs-strip__segment {
  flex: 1;
}

/* ── ACCENT STRIP — gradient CTA banner ─────────────────── */
.sgs-strip--gradient {
  background: linear-gradient(90deg, var(--sgs-purple) 0%, var(--sgs-blue) 100%);
  padding: 18px 0;
}
.sgs-strip__text {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* ── WAVE DIVIDERS ───────────────────────────────────────── */
.sgs-wave-divider {
  line-height: 0;
  overflow: hidden;
}
.sgs-wave-divider svg {
  display: block;
  width: 100%;
  height: 56px;
}
.sgs-wave-divider--white-to-dark { background: #fff; }
.sgs-wave-divider--dark-to-light { background: var(--sgs-navy); }
.sgs-wave-divider--light-to-white svg { height: 40px; }

/* ── SECTIONS ────────────────────────────────────────────── */
.sgs-section {
  padding: 80px 0;
}
.sgs-section--compact { padding: 60px 0; }
.sgs-section--white   { background: #fff; }
.sgs-section--light   { background: var(--sgs-light); }
.sgs-section--dark    { background: var(--sgs-navy); }

/* ── LABEL / OVERLINE ───────────────────────────────────── */
.sgs-label {
  display: inline-block;
  background: rgba(104,82,237,.12);
  color: var(--sgs-purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.sgs-label--light {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
}

/* ── SECTION TITLES ──────────────────────────────────────── */
.sgs-section__title {
  font-family: var(--font-h);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #1a1140;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.sgs-section__title--light { color: #fff; }
.sgs-section__sub {
  font-size: 15px;
  color: var(--sgs-muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}
.sgs-section__sub--light { color: rgba(255,255,255,.6); }

/* ── PAIN CARDS ──────────────────────────────────────────── */
.sgs-pain-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  height: 100%;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex;
  flex-direction: column;
}
.sgs-pain-card:hover {
  border-color: var(--sgs-purple);
  box-shadow: 0 8px 32px rgba(104,82,237,.12);
  transform: translateY(-4px);
}
.sgs-pain-card__num {
  background: var(--sgs-purple);
  color: #fff;
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
  padding: 10px 20px 8px;
  line-height: 1;
  width: fit-content;
  min-width: 64px;
  border-radius: 0 0 16px 0;
}
.sgs-pain-card__body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sgs-pain-card__icon {
  font-size: 22px;
  color: var(--sgs-purple);
  margin-bottom: 12px;
}
.sgs-pain-card__title {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: #1a1140;
  margin-bottom: 8px;
  line-height: 1.35;
}
.sgs-pain-card__text {
  font-size: 13px;
  color: var(--sgs-muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ── SOLUTION CARDS ──────────────────────────────────────── */
.sgs-sol-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-top: 3px solid var(--sol-color, var(--sgs-purple));
  border-radius: 10px;
  padding: 28px 24px;
  height: 100%;
  transition: background .15s, transform .15s;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.sgs-sol-card:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-4px);
}
.sgs-sol-card__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}
.sgs-sol-card__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(104,82,237,.4));
  transition: transform .25s;
}
.sgs-sol-card:hover .sgs-sol-card__icon img {
  transform: translateY(-4px) scale(1.06);
}
.sgs-sol-card__title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.sgs-sol-card__text {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 12px;
}
.sgs-sol-card__tags {
  font-size: 11px;
  font-weight: 700;
  color: var(--sol-color, var(--sgs-purple));
  letter-spacing: .05em;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 10px;
  margin-top: auto;
}

/* ── UTP BAR ─────────────────────────────────────────────── */
.sgs-utp {
  background: rgba(104,82,237,.2);
  border: 1px solid rgba(104,82,237,.35);
  border-left: 4px solid var(--sgs-purple);
  border-radius: 0 8px 8px 0;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-align: left;
  display: inline-block;
  width: 100%;
}

/* ── WHY CARDS ───────────────────────────────────────────── */
.sgs-why-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--why-color, var(--sgs-purple));
  border-radius: 10px;
  padding: 28px 24px;
  height: 100%;
  text-align: center;
  transition: box-shadow .15s, transform .15s;
}
.sgs-why-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.sgs-why-card__icon-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.sgs-why-card__img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(104,82,237,.2));
  transition: transform .25s;
}
.sgs-why-card:hover .sgs-why-card__img {
  transform: translateY(-4px) scale(1.05);
}
.sgs-why-card__title {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: #1a1140;
  margin-bottom: 10px;
}
.sgs-why-card__text {
  font-size: 13px;
  color: var(--sgs-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── SERVICE CARDS ───────────────────────────────────────── */
.sgs-srv-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 28px 22px 22px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
}
.sgs-srv-card:hover {
  border-color: var(--sgs-purple);
  box-shadow: 0 4px 24px rgba(104,82,237,.1);
}
.sgs-srv-card__num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-h);
  font-size: 64px;
  font-weight: 900;
  color: rgba(104,82,237,.07);
  line-height: 1;
  letter-spacing: -.04em;
  pointer-events: none;
}
.sgs-srv-card__icon {
  font-size: 28px;
  color: var(--sgs-purple);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.sgs-srv-card__title {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: #1a1140;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.sgs-srv-card__desc {
  font-size: 13px;
  color: var(--sgs-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.sgs-srv-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--sgs-purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 1;
  letter-spacing: .02em;
  transition: gap .15s;
}
.sgs-srv-card__link:hover { gap: 9px; color: var(--sgs-purple2); }

/* ── PARTNERS ROW ────────────────────────────────────────── */
.sgs-partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.sgs-partner-logo {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, box-shadow .15s;
  min-width: 130px;
}
.sgs-partner-logo:hover {
  border-color: var(--sgs-purple);
  box-shadow: 0 2px 12px rgba(104,82,237,.1);
}
.sgs-partner-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.5);
  transition: filter .2s;
}
.sgs-partner-logo:hover img { filter: none; }

/* ── NEWS CARDS ──────────────────────────────────────────── */
.sgs-news-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
}
.sgs-news-card:hover {
  border-color: var(--sgs-purple);
  box-shadow: 0 4px 24px rgba(104,82,237,.1);
}
.sgs-news-card__thumb { display: block; overflow: hidden; }
.sgs-news-card__thumb img { width: 100%; height: 180px; object-fit: cover; transition: transform .3s; }
.sgs-news-card:hover .sgs-news-card__thumb img { transform: scale(1.04); }
.sgs-news-card__thumb-placeholder {
  height: 160px;
  background: linear-gradient(135deg, var(--sgs-light) 0%, rgba(104,82,237,.08) 100%);
}
.sgs-news-card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.sgs-news-card__date {
  font-size: 11px;
  font-weight: 600;
  color: var(--sgs-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 8px;
}
.sgs-news-card__title {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: #1a1140;
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}
.sgs-news-card__title a { color: inherit; text-decoration: none; }
.sgs-news-card__title a:hover { color: var(--sgs-purple); }
.sgs-news-card__excerpt { font-size: 13px; color: var(--sgs-muted); line-height: 1.65; margin: 0; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.sgs-cta {
  background: linear-gradient(150deg, #1a1140 0%, #2d1b6e 50%, #1a3a6e 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.sgs-cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(104,82,237,.3) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(59,110,163,.2) 0%, transparent 50%);
  pointer-events: none;
}
.sgs-cta__title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.sgs-cta__sub {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 36px;
}
.sgs-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.sgs-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 6px;
  transition: border-color .15s, background .15s;
}
.sgs-cta__phone:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .sgs-hero { padding: 80px 0 70px; }
  .sgs-hero__actions { flex-direction: column; align-items: center; }
  .sgs-section { padding: 60px 0; }
  .sgs-sol-card { flex-direction: column; }
  .sgs-sol-card__icon { width: 64px; height: 64px; }
  .sgs-sol-card__icon img { width: 64px; height: 64px; }
  .sgs-strip__inner { gap: 8px; }
  .sgs-strip__chip { font-size: 10px; padding: 4px 10px; }
  .sgs-cta { padding: 70px 0; }
  .sgs-cta__actions { flex-direction: column; align-items: center; }
}

