/*
Theme Name: Karame Techies
Theme URI: https://karametechies.com
Author: Karame Techies Ltd
Author URI: https://karametechies.com
Description: Custom enterprise-grade WordPress theme for Karame Techies Ltd — software development, Odoo/ERPNext, WordPress and IT infrastructure company based in Kigali, Rwanda. Built-in light/dark mode, services, technology ecosystem and contact system.
Version: 1.13.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: karame-techies
Tags: custom-colors, custom-logo, custom-menu, dark-mode, translation-ready, threaded-comments
*/

/* ==========================================================================
   0. DESIGN TOKENS
   ========================================================================== */
:root{
  /* Brand */
  --kt-navy:        #0A193C;
  --kt-navy-2:      #0F2050;
  --kt-navy-deep:   #070E24;
  --kt-blue:        #0A6EFA;
  --kt-blue-2:      #3B8CFF;
  --kt-blue-soft:   #E8F1FF;
  --kt-white:       #FFFFFF;

  /* Light mode surface */
  --bg:             #FFFFFF;
  --bg-alt:         #F5F5F5;
  --bg-raised:      #FFFFFF;
  --border:         #E5EAF2;
  --text:           #0A193C;
  --text-muted:     #5B6472;
  --text-soft:      #8892A0;
  --shadow:         0 1px 2px rgba(10,25,60,.04), 0 8px 24px rgba(10,25,60,.06);
  --shadow-lg:       0 20px 50px rgba(10,25,60,.10);

  --accent:         var(--kt-blue);
  --accent-2:       var(--kt-blue-2);
  --accent-contrast:#FFFFFF;
  --gradient-accent: linear-gradient(135deg, var(--kt-blue) 0%, #0B4FD1 100%);
  --gradient-hero:   linear-gradient(180deg, #FFFFFF 0%, #F3F7FD 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1220px;
  --header-h: 108px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

html[data-theme="dark"]{
  --bg:             #070E24;
  --bg-alt:         #0B1836;
  --bg-raised:      #0D1B3F;
  --border:         rgba(255,255,255,.08);
  --text:           #EEF2FA;
  --text-muted:     #A9B3C7;
  --text-soft:      #7C879C;
  --shadow:         0 1px 2px rgba(0,0,0,.3), 0 8px 30px rgba(0,0,0,.35);
  --shadow-lg:      0 25px 60px rgba(0,0,0,.45);

  --accent:         #3B8CFF;
  --accent-2:       #5FA2FF;
  --accent-contrast:#061027;
  --gradient-accent: linear-gradient(135deg, #3B8CFF 0%, #0A6EFA 100%);
  --gradient-hero:   linear-gradient(180deg, #070E24 0%, #0B1836 100%);
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  transition:background .35s var(--ease), color .35s var(--ease);
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; font-size:1rem; }
h1,h2,h3,h4,h5{ margin:0 0 .5em; font-weight:700; letter-spacing:-0.02em; line-height:1.15; color:var(--text); }
p{ margin:0 0 1em; color:var(--text-muted); }
.screen-reader-text{ position:absolute!important; clip:rect(1px,1px,1px,1px); overflow:hidden; height:1px; width:1px; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:96px 0; }
.section--tight{ padding:64px 0; }
.section--alt{ background:var(--bg-alt); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.75rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent); margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--accent); border-radius:2px; }

.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); }
.section-head p{ font-size:1.05rem; }

/* ==========================================================================
   2. BUTTONS
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 26px; border-radius:100px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; transition:all .25s var(--ease); white-space:nowrap;
}
.btn-primary{ background:var(--gradient-accent); color:#fff; box-shadow:0 10px 24px rgba(10,110,250,.28); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 30px rgba(10,110,250,.36); }
.btn-outline{ background:transparent; color:var(--text); border-color:var(--border); }
.btn-outline:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }
.btn-ghost{ background:var(--bg-raised); color:var(--text); border-color:var(--border); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn i{ font-size:.9em; }

/* ==========================================================================
   3. HEADER
   ========================================================================== */
#site-header{
  position:sticky; top:0; z-index:1000;
  height:var(--header-h);
  display:flex; align-items:center;
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  transition:height .25s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
#site-header.is-scrolled{ height:84px; box-shadow:var(--shadow); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; width:100%; }

.site-logo{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.site-logo img{ height:72px; width:auto; transition:height .25s var(--ease), transform .25s var(--ease); }
.site-logo:hover img{ transform:scale(1.03); }
#site-header.is-scrolled .site-logo img{ height:56px; }
.logo-dark{ display:none; }
html[data-theme="dark"] .logo-light{ display:none; }
html[data-theme="dark"] .logo-dark{ display:block; }

.primary-nav{ display:flex; align-items:center; gap:2px; }
.primary-nav ul{ display:flex; align-items:center; gap:2px; }
.primary-nav a{
  display:block; padding:10px 16px; border-radius:100px;
  font-size:.92rem; font-weight:600; color:var(--text-muted);
  transition:all .2s var(--ease);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a{ color:var(--text); background:var(--bg-alt); }

/* Dropdown submenus */
.primary-nav li{ position:relative; }
.primary-nav .menu-item-has-children > a{ padding-right:30px; }
.primary-nav .menu-item-has-children > a::before{
  content:"";
  position:absolute; right:14px; top:50%; width:7px; height:7px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:translateY(-70%) rotate(45deg); transition:transform .25s var(--ease);
  pointer-events:none; opacity:.6;
}
.primary-nav .menu-item-has-children:hover > a::before,
.primary-nav .menu-item-has-children.is-open > a::before{ transform:translateY(-30%) rotate(225deg); }

.primary-nav .sub-menu{
  position:absolute; top:calc(100% + 10px); left:0; z-index:150;
  display:flex; flex-direction:column; gap:2px;
  min-width:220px; padding:10px; margin:0;
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children.is-open > .sub-menu{
  opacity:1; visibility:visible; transform:translateY(0);
}
.primary-nav .sub-menu a{
  padding:10px 14px; border-radius:var(--radius-sm); font-size:.88rem;
  white-space:nowrap; display:block;
}
.primary-nav .sub-menu a::before{ display:none; }
.primary-nav .sub-menu a:hover{ background:var(--bg-alt); color:var(--accent); }
.primary-nav .sub-menu .menu-item-has-children{ position:relative; }
.primary-nav .sub-menu .sub-menu{ top:0; left:calc(100% + 8px); }

.header-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }

.theme-toggle{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--border);
  background:var(--bg-raised); display:flex; align-items:center; justify-content:center;
  position:relative; transition:border-color .2s;
}
.theme-toggle:hover{ border-color:var(--accent); }
.theme-toggle i{ position:absolute; font-size:17px; color:var(--text); transition:opacity .25s var(--ease), transform .4s var(--ease); }
.theme-toggle .icon-sun{ opacity:0; transform:rotate(-90deg) scale(.5); }
.theme-toggle .icon-moon{ opacity:1; transform:rotate(0) scale(1); }
html[data-theme="dark"] .theme-toggle .icon-sun{ opacity:1; transform:rotate(0) scale(1); }
html[data-theme="dark"] .theme-toggle .icon-moon{ opacity:0; transform:rotate(90deg) scale(.5); }

.mobile-toggle{
  display:none; width:42px; height:42px; border-radius:50%; border:1px solid var(--border);
  background:var(--bg-raised); align-items:center; justify-content:center; flex-shrink:0;
}
.mobile-toggle span{ display:block; width:16px; height:2px; background:var(--text); position:relative; border-radius:2px; transition:transform .25s var(--ease), background .25s; }
.mobile-toggle span::before,.mobile-toggle span::after{ content:""; position:absolute; left:0; width:16px; height:2px; background:var(--text); border-radius:2px; transition:transform .25s var(--ease), top .25s var(--ease), opacity .2s; }
.mobile-toggle span::before{ top:-6px; }
.mobile-toggle span::after{ top:6px; }
.mobile-toggle.is-active span{ background:transparent; }
.mobile-toggle.is-active span::before{ top:0; transform:rotate(45deg); }
.mobile-toggle.is-active span::after{ top:0; transform:rotate(-45deg); }

#mobile-nav{
  position:fixed; inset:0; top:var(--header-h); z-index:999;
  background:var(--bg); padding:20px 24px 40px;
  transform:translateY(-12px); opacity:0; pointer-events:none;
  transition:opacity .25s var(--ease), transform .25s var(--ease);
  overflow-y:auto;
}
#mobile-nav.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; }
#mobile-nav ul{ display:flex; flex-direction:column; gap:4px; margin-bottom:24px; }
#mobile-nav a{ display:block; padding:14px 6px; font-size:1.1rem; font-weight:600; border-bottom:1px solid var(--border); color:var(--text); }
#mobile-nav .btn{ width:100%; }

/* Mobile accordion submenus */
#mobile-nav .menu-item-has-children{ position:relative; }
#mobile-nav .menu-item-has-children > a{ padding-right:38px; }
#mobile-nav .submenu-toggle{
  position:absolute; right:0; top:2px; width:40px; height:40px;
  display:flex; align-items:center; justify-content:center; background:none; border:none;
  color:var(--text-muted); font-size:14px; transition:transform .25s var(--ease);
}
#mobile-nav .menu-item-has-children.is-open > .submenu-toggle{ transform:rotate(180deg); color:var(--accent); }
#mobile-nav .sub-menu{
  max-height:0; overflow:hidden; margin:0 0 0 14px; padding:0;
  transition:max-height .3s var(--ease);
}
#mobile-nav .menu-item-has-children.is-open > .sub-menu{ max-height:600px; }
#mobile-nav .sub-menu a{ font-size:.98rem; font-weight:500; padding:12px 6px; border-bottom:1px solid var(--border); }

@media (max-width:960px){
  .primary-nav{ display:none; }
  .mobile-toggle{ display:flex; }
}
@media (max-width:560px){
  .site-logo img{ height:52px; }
  #site-header.is-scrolled .site-logo img{ height:42px; }
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero{
  position:relative; padding:110px 0 90px; background:var(--gradient-hero); overflow:hidden;
  border-bottom:1px solid var(--border);
}
.hero::before{
  content:""; position:absolute; top:-180px; right:-160px; width:560px; height:560px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(10,110,250,.18), transparent 70%);
  pointer-events:none;
}
.hero::after{
  content:""; position:absolute; bottom:-220px; left:-140px; width:460px; height:460px; border-radius:50%;
  background:radial-gradient(circle at 60% 40%, rgba(10,110,250,.10), transparent 70%);
  pointer-events:none;
}
.hero-inner{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px; padding:7px 16px; border-radius:100px;
  background:var(--bg-raised); border:1px solid var(--border); font-size:.8rem; font-weight:600;
  color:var(--text-muted); margin-bottom:22px; box-shadow:var(--shadow);
}
.hero-badge .dot{ width:7px; height:7px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.2); }
.hero h1{ font-size:clamp(2.4rem,4.8vw,3.85rem); line-height:1.08; margin-bottom:20px; letter-spacing:-.01em; }
.hero h1 span{ background:var(--gradient-accent); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p.lead{ font-size:1.15rem; max-width:520px; margin-bottom:32px; }
.hero-cta{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:24px; }
.hero-stats{ display:flex; gap:36px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-size:1.5rem; color:var(--text); }
.hero-stats div span{ font-size:.82rem; color:var(--text-soft); }

/* ==========================================================================
   HERO SLIDER — fully automatic crossfade, no manual controls.
   Right side rotates in sync with the left text as "scenes".
   ========================================================================== */
.hero-slider{ margin-bottom:8px; padding-top:4px; }
.hero-slider-track{ display:grid; }
.hero-slide{
  grid-area:1 / 1;
  opacity:0; visibility:hidden; pointer-events:none;
  transform:translateY(10px);
  transition:opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.hero-slide.is-active{ opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
.hero-slide h1, .hero-slide p.lead{ margin-bottom:0; }
.hero-slide h1{ margin-bottom:20px; }
.hero-slide p.lead{ margin-bottom:8px; }

/* Right side — scenes crossfade together with the left text */
.hero-scene{
  grid-area:1 / 1;
  opacity:0; visibility:hidden; pointer-events:none;
  transform:scale(.98);
  transition:opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.hero-scene.is-active{ opacity:1; visibility:visible; pointer-events:auto; transform:scale(1); }
#hero-visual{ display:grid; }

.hero-kpi-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:18px 0; }
.hero-kpi-grid--3{ grid-template-columns:repeat(3,1fr); margin-top:16px; }
.hero-kpi{
  background:var(--bg-alt); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:12px 14px; text-align:center;
}
.hero-kpi strong{ display:block; font-size:1.2rem; color:var(--text); font-weight:800; }
.hero-kpi span{ font-size:.7rem; color:var(--text-soft); }

.hero-chat{ display:flex; flex-direction:column; gap:10px; margin:16px 0; }
.hero-chat-bubble{
  max-width:88%; padding:10px 14px; border-radius:14px; font-size:.85rem; line-height:1.4;
}
.hero-chat-bubble.is-in{ align-self:flex-start; background:var(--bg-alt); color:var(--text); border-bottom-left-radius:4px; }
.hero-chat-bubble.is-out{ align-self:flex-end; background:var(--gradient-accent); color:#fff; border-bottom-right-radius:4px; }

.hero-visual{ position:relative; transition:transform .5s var(--ease); transform-style:preserve-3d; }
.hero-inner{ perspective:1400px; }
.hero-card{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); padding:32px; position:relative; z-index:2;
}
.hero-card-header{ display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.hero-card-header .avatar{
  width:46px; height:46px; border-radius:50%; background:var(--gradient-accent);
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700;
}
.hero-card-header strong{ display:block; font-size:.95rem; }
.hero-card-header span{ font-size:.8rem; color:var(--text-soft); }
.hero-progress{ display:flex; flex-direction:column; gap:14px; }
.hero-progress-row{ display:flex; align-items:center; justify-content:space-between; font-size:.82rem; color:var(--text-muted); margin-bottom:4px; }
.hero-bar{ height:8px; border-radius:100px; background:var(--bg-alt); overflow:hidden; }
.hero-bar i{ display:block; height:100%; border-radius:100px; background:var(--gradient-accent); }
.hero-float{
  position:absolute; background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow-lg); padding:14px 18px; display:flex; align-items:center; gap:10px; font-size:.85rem; font-weight:600;
  z-index:3; animation:floaty 6s ease-in-out infinite;
}
.hero-float.f1{ top:-18px; left:-28px; animation-delay:.2s; }
.hero-float.f2{ bottom:-20px; right:-24px; animation-delay:1.1s; }
.hero-float .ic{ width:34px; height:34px; border-radius:10px; background:var(--kt-blue-soft); color:var(--kt-blue); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.hero-float .ic i{ font-size:15px; }
html[data-theme="dark"] .hero-float .ic{ background:rgba(59,140,255,.15); color:var(--accent-2); }
@keyframes floaty{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-10px);} }

@media (max-width:900px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:420px; margin:0 auto; }
}

/* logos strip */
.logo-strip{ padding:34px 0; border-bottom:1px solid var(--border); }
.logo-strip-inner{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; justify-content:space-between; }
.logo-strip p{ margin:0; font-size:.8rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-soft); flex-shrink:0; }
.logo-strip .chips{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  padding:8px 16px; border-radius:100px; border:1px solid var(--border); background:var(--bg-raised);
  font-size:.82rem; font-weight:600; color:var(--text-muted); transition:all .2s var(--ease);
}
.chip:hover{ color:var(--accent); border-color:var(--accent); transform:translateY(-2px); }

/* ==========================================================================
   5. CARDS / GRIDS
   ========================================================================== */
.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:960px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px 28px; transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:transparent; }
.card-icon{
  width:52px; height:52px; border-radius:14px; background:var(--kt-blue-soft); color:var(--kt-blue);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; flex-shrink:0;
}
html[data-theme="dark"] .card-icon{ background:rgba(59,140,255,.14); color:var(--accent-2); }
.card-icon i{ font-size:22px; }
.card h3{ font-size:1.15rem; margin-bottom:10px; }
.card p{ font-size:.94rem; margin-bottom:0; }
.card-link{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-size:.85rem; font-weight:700; color:var(--accent); }

.service-card{ position:relative; overflow:hidden; }
.service-card .num{ position:absolute; top:20px; right:24px; font-size:2.2rem; font-weight:800; color:var(--border); }

/* Icon boxes for feature rows */
.feature-row{ display:flex; gap:18px; }
.feature-row .card-icon{ margin-bottom:0; }
.feature-row h4{ font-size:1rem; margin-bottom:6px; }
.feature-row p{ font-size:.9rem; margin-bottom:0; }

/* ==========================================================================
   6. ABOUT / SPLIT SECTIONS
   ========================================================================== */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:36px; } }
.split-visual{ position:relative; }
.about-panel{
  background:var(--gradient-accent); border-radius:var(--radius-lg); padding:44px;
  color:#fff; position:relative; overflow:hidden; box-shadow:var(--shadow-lg);
}
.about-panel::after{ content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.5px); background-size:18px 18px; opacity:.2; }
.about-panel h3{ color:#fff; font-size:1.4rem; }
.about-panel p{ color:rgba(255,255,255,.85); }
.about-stat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:24px; position:relative; z-index:1; }
.about-stat-grid div strong{ display:block; font-size:1.7rem; color:#fff; }
.about-stat-grid div span{ font-size:.8rem; color:rgba(255,255,255,.75); }

.check-list li{ display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; color:var(--text-muted); font-size:.96rem; }
.check-list .tick{
  width:22px; height:22px; border-radius:50%; background:var(--kt-blue-soft); color:var(--kt-blue);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px;
}
html[data-theme="dark"] .check-list .tick{ background:rgba(59,140,255,.15); color:var(--accent-2); }
.check-list i{ font-size:11px; }

/* ==========================================================================
   7. PROCESS / STEPS
   ========================================================================== */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; gap:28px; } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
.step{ padding:0 20px 0 0; position:relative; }
.step .step-num{
  width:44px; height:44px; border-radius:12px; background:var(--bg-raised); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; font-weight:800; color:var(--accent); margin-bottom:18px;
}
.step h4{ font-size:1.02rem; margin-bottom:8px; }
.step p{ font-size:.88rem; }

/* ==========================================================================
   8. TECH / ECOSYSTEM — logo tiles (monochrome → brand color on hover)
   ========================================================================== */
.ecosystem-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:24px; }
@media (max-width:820px){ .ecosystem-grid{ grid-template-columns:1fr; } }

.tech-category{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:28px; transition:all .3s var(--ease);
}
.tech-category:hover{ box-shadow:var(--shadow); border-color:var(--border); }
.tech-category-head{ display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.tech-category-icon{
  width:38px; height:38px; border-radius:10px; background:var(--kt-blue-soft); color:var(--kt-blue);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:16px;
}
html[data-theme="dark"] .tech-category-icon{ background:rgba(59,140,255,.14); color:var(--accent-2); }
.tech-category h4{ font-size:.92rem; text-transform:none; letter-spacing:0; color:var(--text); margin:0; font-weight:700; }

.logo-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(120px,1fr)); gap:14px; }
.logo-tile{
  position:relative;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  padding:20px 12px; border-radius:var(--radius-md); background:var(--bg-raised);
  border:1.5px solid var(--border);
  transition:all .3s var(--ease); text-align:center;
  cursor:pointer; text-decoration:none;
}
.logo-tile:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--accent); }
.logo-tile .logo-tile-external{
  position:absolute; top:8px; right:8px; font-size:11px; color:var(--text-soft);
  opacity:0; transform:translate(-3px,3px); transition:opacity .25s var(--ease), transform .25s var(--ease);
}
.logo-tile:hover .logo-tile-external{ opacity:1; transform:translate(0,0); color:var(--accent); }
.logo-tile .logo-tile-mark{ height:36px; display:flex; align-items:center; justify-content:center; }
.logo-tile .logo-tile-mark img{ max-height:36px; max-width:90px; width:auto; object-fit:contain; }
.logo-tile .logo-tile-mark i{ font-size:30px; color:var(--text-soft); filter:grayscale(1); transition:color .3s var(--ease), filter .3s var(--ease); }
.logo-tile:hover .logo-tile-mark i{ filter:grayscale(0); color:var(--accent); }
.logo-tile:hover .logo-tile-mark i.kt-brand-wordpress{ color:#21759B; }
.logo-tile:hover .logo-tile-mark i.kt-brand-python{ color:#3776AB; }
.logo-tile:hover .logo-tile-mark i.kt-brand-react{ color:#61DAFB; }
.logo-tile:hover .logo-tile-mark i.kt-brand-node{ color:#5FA04E; }
.logo-tile:hover .logo-tile-mark i.kt-brand-linux{ color:#000000; }
html[data-theme="dark"] .logo-tile:hover .logo-tile-mark i.kt-brand-linux{ color:#f2f2f2; }
.logo-tile:hover .logo-tile-mark i.kt-brand-laravel{ color:#FF2D20; }
.logo-tile:hover .logo-tile-mark i.kt-brand-html5{ color:#E34F26; }
.logo-tile:hover .logo-tile-mark i.kt-brand-microsoft{ color:var(--accent); }
.logo-tile span{ font-size:.78rem; font-weight:600; color:var(--text-muted); line-height:1.3; }
.logo-tile img{ filter:grayscale(1) opacity(.75); transition:filter .3s var(--ease); }
.logo-tile:hover img{ filter:grayscale(0) opacity(1); }

/* Letter-monogram placeholder — shown until a real logo is uploaded */
.kt-monogram{
  width:36px; height:36px; border-radius:10px;
  background:var(--gradient-accent); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:16px; line-height:1;
}

/* ==========================================================================
   8c. TEAM — circular avatars, deliberately distinct from square partner cards
   ========================================================================== */
.team-card{
  text-align:center; padding:32px 24px;
  border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--bg-raised);
  transition:all .3s var(--ease);
}
.team-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.team-card-avatar{
  width:96px; height:96px; border-radius:50%; overflow:hidden; margin:0 auto 18px;
  display:flex; align-items:center; justify-content:center;
  background:var(--gradient-accent); border:3px solid var(--bg-alt); box-shadow:var(--shadow);
}
.team-card-avatar img{ width:100%; height:100%; object-fit:cover; }
.team-card-avatar .kt-monogram{ width:100%; height:100%; border-radius:0; font-size:34px; background:transparent; }
.team-card h3{ font-size:1.05rem; margin-bottom:4px; }
.team-card-role{ display:block; font-size:.82rem; font-weight:700; color:var(--accent); margin-bottom:12px; }
.team-card p{ font-size:.9rem; margin:0; }
.partner-spotlight-mark .kt-monogram{ width:64px; height:64px; border-radius:16px; font-size:28px; }

/* ==========================================================================
   8b. CLIENT LOGO STRIP — "Meet Our Clients" (large single-row band)
   Logos show at full clarity always — no dimmed/grayscale default.
   Hover only adds a subtle lift, never hides or fades the logo.
   ========================================================================== */
.client-strip{
  position:relative;
  background:var(--bg-raised);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:48px 40px;
  overflow:hidden;
}
.client-strip-row{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:52px 64px;
}
.client-strip-item{
  display:flex; align-items:center; justify-content:center;
  height:88px;
  transition:transform .3s var(--ease);
}
.client-strip-item:hover{ transform:translateY(-3px); }
.client-strip-item.is-dark{
  background:var(--kt-navy); border-radius:var(--radius-md);
  padding:18px 32px; height:auto;
}
.client-strip-item img{
  max-height:88px; max-width:220px; width:auto; object-fit:contain;
}
.client-strip-item.is-dark img{
  max-height:52px;
}
.client-strip-item .kt-monogram{
  width:76px; height:76px; border-radius:20px; font-size:30px;
  transition:transform .3s var(--ease);
}
.client-strip-item:hover .kt-monogram{ transform:scale(1.06); }
.client-strip-item i{ font-size:52px; color:var(--accent); }
.client-strip-item span.client-name{
  font-size:1.1rem; font-weight:700; color:var(--text);
}
.client-strip::before, .client-strip::after{
  content:""; position:absolute; top:0; bottom:0; width:60px; pointer-events:none; z-index:1;
}
.client-strip::before{ left:0; background:linear-gradient(90deg, var(--bg-raised), transparent); }
.client-strip::after{ right:0; background:linear-gradient(270deg, var(--bg-raised), transparent); }
@media (max-width:640px){
  .client-strip{ padding:32px 20px; }
  .client-strip-row{ gap:32px 36px; }
}

.partner-spotlight{
  display:grid; grid-template-columns:160px 1fr; gap:32px; align-items:center;
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:36px; margin-bottom:20px; transition:all .3s var(--ease);
}
.partner-spotlight:hover{ box-shadow:var(--shadow-lg); border-color:transparent; }
.partner-spotlight:last-child{ margin-bottom:0; }
.partner-spotlight-mark{
  width:150px; height:150px; border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.partner-spotlight-mark img{ max-width:94%; max-height:94%; object-fit:contain; }
.partner-spotlight-mark i{ font-size:52px; color:var(--accent); }
/* Dark-card variant — for logos rendered in white/pale text meant for a
   dark backdrop, which would otherwise be invisible on a light card */
.partner-spotlight-mark.is-dark{ background:var(--kt-navy); border-radius:var(--radius-lg); }
.partner-spotlight-mark.is-dark img{ max-width:80%; max-height:80%; }
.partner-spotlight-tag{
  display:inline-block; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em;
  color:var(--accent); background:var(--kt-blue-soft); padding:5px 12px; border-radius:100px; margin-bottom:10px;
}
html[data-theme="dark"] .partner-spotlight-tag{ background:rgba(59,140,255,.14); }
.partner-spotlight h3{ font-size:1.2rem; margin-bottom:8px; }
.partner-spotlight p{ margin-bottom:0; font-size:.95rem; }
@media (max-width:640px){ .partner-spotlight{ grid-template-columns:1fr; text-align:center; } .partner-spotlight-mark{ margin:0 auto; } }

/* ==========================================================================
   9. CTA BAND
   ========================================================================== */
.cta-band{
  background:var(--kt-navy); background:linear-gradient(135deg, var(--kt-navy) 0%, var(--kt-navy-2) 100%);
  border-radius:var(--radius-lg); padding:64px; display:flex; align-items:center; justify-content:space-between;
  gap:40px; flex-wrap:wrap; position:relative; overflow:hidden;
}
.cta-band::before{ content:""; position:absolute; top:-100px; right:-60px; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle, rgba(10,110,250,.35), transparent 70%); }
.cta-band h2{ color:#fff; font-size:clamp(1.5rem,2.8vw,2.1rem); margin-bottom:10px; max-width:480px; position:relative; z-index:1; }
.cta-band p{ color:rgba(255,255,255,.72); margin-bottom:0; max-width:460px; position:relative; z-index:1; }
.cta-band .cta-actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1; }
.cta-band .btn-outline{ color:#fff; border-color:rgba(255,255,255,.25); }
.cta-band .btn-outline:hover{ border-color:#fff; }

/* ==========================================================================
   10. CONTACT
   ========================================================================== */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-col{ display:flex; flex-direction:column; gap:24px; }
.contact-info-card{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:36px; box-shadow:var(--shadow);
}
.contact-item{ display:flex; gap:16px; align-items:flex-start; padding:18px 0; border-bottom:1px solid var(--border); }
.contact-item:last-child{ border-bottom:none; }
.contact-item .card-icon{ width:44px; height:44px; margin-bottom:0; }
.contact-item strong{ display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-soft); margin-bottom:4px; }
.contact-item a, .contact-item span{ font-size:1rem; font-weight:600; color:var(--text); }

.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:8px; color:var(--text); }
.field input, .field textarea, .field select{
  width:100%; padding:14px 16px; border-radius:var(--radius-sm); border:1px solid var(--border);
  background:var(--bg-alt); color:var(--text); transition:border-color .2s, background .2s;
  font-family:inherit; font-size:1rem;
}
.field input:focus, .field textarea:focus, .field select:focus{ outline:none; border-color:var(--accent); background:var(--bg-raised); }
.field textarea{ resize:vertical; min-height:130px; }
.field select{
  appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px;
  padding-right:42px; cursor:pointer;
}
html[data-theme="dark"] .field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23aaaaaa' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
}
.hp-field{ position:absolute; left:-9999px; opacity:0; }
.form-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:4px; }
.form-note{ font-size:.82rem; margin-top:14px; color:var(--text-soft); }
.form-alert{ padding:14px 18px; border-radius:var(--radius-sm); font-size:.9rem; font-weight:600; margin-bottom:20px; }
.form-alert.success{ background:rgba(34,197,94,.12); color:#16a34a; border:1px solid rgba(34,197,94,.3); }
.form-alert.error{ background:rgba(239,68,68,.1); color:#dc2626; border:1px solid rgba(239,68,68,.3); }

.btn-whatsapp{
  background:#25D366; color:#fff; display:inline-flex; align-items:center; gap:10px;
  box-shadow:0 10px 24px rgba(37,211,102,.28);
}
.btn-whatsapp:hover{ background:#20bd5a; transform:translateY(-2px); box-shadow:0 16px 30px rgba(37,211,102,.36); }
.btn-whatsapp i{ font-size:18px; }

/* Floating WhatsApp button */
#kt-whatsapp-float{
  position:fixed; left:24px; bottom:24px; z-index:900;
  width:56px; height:56px; border-radius:50%; background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:26px;
  box-shadow:0 10px 26px rgba(37,211,102,.4);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
#kt-whatsapp-float:hover{ transform:translateY(-3px) scale(1.05); box-shadow:0 16px 32px rgba(37,211,102,.5); }
#kt-whatsapp-float::before{
  content:""; position:absolute; inset:0; border-radius:50%; background:#25D366;
  animation:kt-whatsapp-pulse 2.4s ease-out infinite; z-index:-1;
}
@keyframes kt-whatsapp-pulse{
  0%{ transform:scale(1); opacity:.55; }
  100%{ transform:scale(1.9); opacity:0; }
}
@media (prefers-reduced-motion: reduce){ #kt-whatsapp-float::before{ animation:none; display:none; } }
@media (max-width:560px){ #kt-whatsapp-float{ width:50px; height:50px; font-size:22px; left:16px; bottom:16px; } }


/* ==========================================================================
   11. BLOG / INSIGHTS
   ========================================================================== */
.post-card{ background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:all .3s var(--ease); }
.post-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.post-card .thumb{ aspect-ratio:16/10; background:var(--bg-alt); overflow:hidden; }
.post-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card .thumb.placeholder{ display:flex; align-items:center; justify-content:center; background:var(--gradient-accent); }
.post-card .thumb.placeholder i{ font-size:32px; color:#fff; opacity:.85; }
.post-card .body{ padding:24px; }
.post-meta{ display:flex; gap:10px; align-items:center; font-size:.78rem; color:var(--text-soft); margin-bottom:10px; text-transform:uppercase; letter-spacing:.05em; font-weight:700; }
.post-card h3{ font-size:1.08rem; margin-bottom:10px; }
.post-card h3 a:hover{ color:var(--accent); }
.post-card p{ font-size:.9rem; }

.single-post header.entry-header{ max-width:760px; margin:0 auto 32px; text-align:center; }
.single-post .entry-content{ max-width:760px; margin:0 auto; }
.single-post .entry-content p{ font-size:1.05rem; color:var(--text); }
.single-post .entry-content img{ border-radius:var(--radius); margin:24px 0; }
.single-post .entry-content h2{ margin-top:1.6em; }
.single-post .featured-wrap{ max-width:900px; margin:0 auto 44px; border-radius:var(--radius-lg); overflow:hidden; }

.pagination{ display:flex; justify-content:center; gap:8px; margin-top:48px; }
.pagination a, .pagination span{ display:flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:0 12px; border-radius:10px; border:1px solid var(--border); font-weight:600; font-size:.88rem; }
.pagination .current{ background:var(--gradient-accent); color:#fff; border-color:transparent; }
.pagination a:hover{ border-color:var(--accent); color:var(--accent); }

/* ==========================================================================
   12. PAGE / GENERIC CONTENT
   ========================================================================== */
.page-hero{ padding:64px 0 56px; background:var(--bg-alt); border-bottom:1px solid var(--border); text-align:center; }
.page-hero h1{ font-size:clamp(1.8rem,3.6vw,2.7rem); margin-bottom:12px; }
.breadcrumb{ font-size:.85rem; color:var(--text-soft); margin-bottom:16px; }
.breadcrumb a:hover{ color:var(--accent); }
.entry-content{ font-size:1rem; }
.entry-content > *:first-child{ margin-top:0; }
.entry-content h2{ margin-top:1.5em; }
.entry-content ul{ list-style:disc; padding-left:1.4em; margin-bottom:1em; }
.entry-content ul li{ margin-bottom:.4em; color:var(--text-muted); }
.entry-content a{ color:var(--accent); text-decoration:underline; }
.wp-block-quote, blockquote{ border-left:4px solid var(--accent); padding:6px 0 6px 22px; margin:24px 0; font-style:italic; color:var(--text); }

.comment-list{ margin:0 0 32px; }
.comment-respond input, .comment-respond textarea{
  width:100%; padding:12px 14px; border-radius:var(--radius-sm); border:1px solid var(--border); background:var(--bg-alt); color:var(--text); margin-bottom:14px;
}
.comment-respond textarea{ min-height:120px; }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
#site-footer{ background:var(--kt-navy); color:rgba(255,255,255,.75); padding:72px 0 0; margin-top:40px; }
html[data-theme="dark"]{ }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:44px; padding-bottom:52px; border-bottom:1px solid rgba(255,255,255,.1); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand img{ height:52px; margin-bottom:18px; }
.footer-brand p{ color:rgba(255,255,255,.6); font-size:.9rem; max-width:280px; }
.footer-col h5{ color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.07em; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:11px; }
.footer-col a{ color:rgba(255,255,255,.65); font-size:.92rem; transition:color .2s; }
.footer-col a:hover{ color:#fff; }
.footer-contact li{ display:flex; gap:10px; font-size:.92rem; color:rgba(255,255,255,.65); margin-bottom:14px; align-items:flex-start; }
.footer-contact i{ font-size:15px; flex-shrink:0; margin-top:4px; width:16px; color:var(--accent-2); }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.15); display:flex; align-items:center; justify-content:center; color:#fff; }
.footer-social a:hover{ background:var(--accent); border-color:var(--accent); }
.footer-social i{ font-size:15px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:26px 0; flex-wrap:wrap; gap:12px; font-size:.85rem; color:rgba(255,255,255,.5); }
.footer-bottom a{ color:rgba(255,255,255,.5); }
.footer-bottom a:hover{ color:#fff; }

/* ==========================================================================
   15. DETAIL MODAL
   ========================================================================== */
[data-modal]{ cursor:pointer; }
[data-modal]:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
[data-modal] .card-link{ margin-top:16px; }
[data-modal] .card-link i{ transition:transform .25s var(--ease); }
[data-modal]:hover .card-link i{ transform:translateX(4px); }

.kt-modal{
  position:fixed; inset:0; z-index:1200;
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:0; pointer-events:none;
  transition:opacity .25s var(--ease);
}
.kt-modal.is-open{ opacity:1; pointer-events:auto; }
.kt-modal-overlay{
  position:absolute; inset:0;
  background:rgba(7,14,36,.6);
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
}
.kt-modal-panel{
  position:relative; z-index:1;
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  max-width:560px; width:100%; max-height:min(640px, 84vh); overflow-y:auto;
  padding:40px;
  transform:translateY(24px) scale(.97); opacity:0;
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.kt-modal.is-open .kt-modal-panel{ transform:translateY(0) scale(1); opacity:1; }
.kt-modal-close{
  position:absolute; top:18px; right:18px; width:36px; height:36px; border-radius:50%;
  border:1px solid var(--border); background:var(--bg-alt); color:var(--text);
  display:flex; align-items:center; justify-content:center; font-size:16px;
  transition:all .2s var(--ease);
}
.kt-modal-close:hover{ border-color:var(--accent); color:var(--accent); transform:rotate(90deg); }
.kt-modal-icon{
  width:56px; height:56px; border-radius:16px; background:var(--kt-blue-soft); color:var(--kt-blue);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px; font-size:24px;
}
html[data-theme="dark"] .kt-modal-icon{ background:rgba(59,140,255,.14); color:var(--accent-2); }
.kt-modal-title{ font-size:1.5rem; margin-bottom:16px; padding-right:30px; }
.kt-modal-body p{ font-size:1rem; color:var(--text-muted); margin-bottom:1em; }
.kt-modal-body p:last-child{ margin-bottom:0; }
.kt-modal-body ul{ list-style:disc; padding-left:1.3em; margin-bottom:1em; }
.kt-modal-body ul li{ color:var(--text-muted); margin-bottom:.5em; font-size:.96rem; }
.kt-modal-body > *{ opacity:0; transform:translateY(8px); animation:kt-modal-item-in .45s var(--ease) forwards; }
.kt-modal-body > *:nth-child(1){ animation-delay:.05s; }
.kt-modal-body > *:nth-child(2){ animation-delay:.12s; }
.kt-modal-body > *:nth-child(3){ animation-delay:.19s; }
.kt-modal-body > *:nth-child(4){ animation-delay:.26s; }
.kt-modal-body > *:nth-child(n+5){ animation-delay:.32s; }
@keyframes kt-modal-item-in{ to{ opacity:1; transform:translateY(0); } }
body.kt-modal-open{ overflow:hidden; }

@media (max-width:560px){
  .kt-modal-panel{ padding:30px 24px; }
}

/* ==========================================================================
   16. UTILITIES / ANIM
   ========================================================================== */
.reveal{
  opacity:0; transform:translateY(26px) scale(.985);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay:var(--reveal-delay, 0ms);
}
.reveal.is-visible{ opacity:1; transform:translateY(0) scale(1); }

/* Scroll progress bar */
#scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:1100;
  background:var(--gradient-accent);
  box-shadow:0 0 12px rgba(10,110,250,.5);
  transition:width .1s linear;
}

/* Active section highlight in nav (scroll-spy) */
.primary-nav a.is-active-section{ color:var(--text); background:var(--bg-alt); }
#mobile-nav a.is-active-section{ color:var(--accent); border-bottom-color:var(--accent); }

/* Counter number pop when it starts animating */
.count-up{ display:inline-block; }

/* Subtle icon bounce on card hover */
.card:hover .card-icon{ transform:translateY(-3px) scale(1.06); }
.card-icon{ transition:transform .35s var(--ease), background .2s, color .2s; }

/* Nav link underline sweep */
.primary-nav a{ position:relative; }
.primary-nav a::after{
  content:""; position:absolute; left:16px; right:16px; bottom:6px; height:2px;
  background:var(--accent); border-radius:2px; transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--ease); opacity:0;
}
.primary-nav a:hover::after{ transform:scaleX(1); opacity:1; }
.primary-nav .current-menu-item > a::after,
.primary-nav a.is-active-section::after{ transform:scaleX(1); opacity:1; }

/* Logo entrance on first load */
.site-logo img{ animation:logo-in .6s var(--ease) both; }
@keyframes logo-in{ from{ opacity:0; transform:translateY(-6px) scale(.94); } to{ opacity:1; transform:translateY(0) scale(1); } }

/* Buttons: soften the lift, add a quick sheen on hover, tactile press */
.btn{ position:relative; overflow:hidden; }
.btn:active{ transform:translateY(0) scale(.97); }
.btn-primary::before{
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%);
  transform:translateX(-120%); transition:transform .6s var(--ease);
}
.btn-primary:hover::before{ transform:translateX(120%); }

/* Page load fade-in (whole document, once) */
html.kt-loading body{ opacity:0; }
body{ opacity:1; transition:opacity .5s var(--ease); }

/* Back to top button */
#kt-back-to-top{
  position:fixed; right:24px; bottom:24px; z-index:900;
  width:48px; height:48px; border-radius:50%; border:1px solid var(--border);
  background:var(--bg-raised); color:var(--text); box-shadow:var(--shadow-lg);
  display:flex; align-items:center; justify-content:center; font-size:16px;
  opacity:0; transform:translateY(12px) scale(.9); pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease), border-color .2s, color .2s;
}
#kt-back-to-top.is-visible{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
#kt-back-to-top:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-3px) scale(1); }

/* Hero floats: parallax handled via JS transform, base animation stays */
.hero-float{ will-change:transform; }

.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
::selection{ background:var(--accent); color:#fff; }

/* scrollbar (light touch) */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:var(--border); border-radius:10px; }

/* 404 */
.error-404{ padding:120px 0; text-align:center; }
.error-404 .code{ font-size:clamp(4rem,10vw,7rem); font-weight:800; background:var(--gradient-accent); -webkit-background-clip:text; background-clip:text; color:transparent; line-height:1; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius-md);
  overflow:hidden; transition:border-color .25s var(--ease);
}
.faq-item.is-open{ border-color:var(--accent); }
.faq-question{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 24px; background:none; border:none; text-align:left; cursor:pointer;
  font-size:1rem; font-weight:700; color:var(--text); font-family:inherit;
}
.faq-question .faq-icon{
  flex-shrink:0; width:28px; height:28px; border-radius:50%; background:var(--bg-alt); color:var(--text-muted);
  display:flex; align-items:center; justify-content:center; font-size:13px;
  transition:transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.faq-item.is-open .faq-question .faq-icon{ transform:rotate(135deg); background:var(--kt-blue-soft); color:var(--kt-blue); }
.faq-answer{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-answer-inner{ padding:0 24px 22px; color:var(--text-muted); font-size:.95rem; line-height:1.7; }
.faq-answer-inner p:last-child{ margin-bottom:0; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
@media (max-width:900px){ .testimonial-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .testimonial-grid{ grid-template-columns:1fr; } }
.testimonial-card{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:30px; display:flex; flex-direction:column; gap:18px;
}
.testimonial-quote-icon{ color:var(--kt-blue-soft); font-size:28px; line-height:1; }
html[data-theme="dark"] .testimonial-quote-icon{ color:rgba(59,140,255,.25); }
.testimonial-card blockquote{ margin:0; font-size:.98rem; color:var(--text); line-height:1.7; font-style:italic; }
.testimonial-person{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.testimonial-avatar{
  width:44px; height:44px; border-radius:50%; overflow:hidden; flex-shrink:0;
  background:var(--gradient-accent); color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:16px;
}
.testimonial-avatar img{ width:100%; height:100%; object-fit:cover; }
.testimonial-person strong{ display:block; font-size:.92rem; color:var(--text); }
.testimonial-person span{ display:block; font-size:.8rem; color:var(--text-soft); }

/* ==========================================================================
   TECH MARQUEE (auto-scrolling logo ticker)
   ========================================================================== */
.marquee{
  position:relative; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{
  display:flex; align-items:center; gap:56px; width:max-content;
  animation:kt-marquee 28s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes kt-marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.marquee-item{ display:flex; align-items:center; gap:10px; flex-shrink:0; opacity:.7; transition:opacity .25s; }
.marquee-item:hover{ opacity:1; }
.marquee-item img{ max-height:32px; max-width:110px; width:auto; object-fit:contain; filter:grayscale(1); }
.marquee-item:hover img{ filter:grayscale(0); }
.marquee-item i{ font-size:26px; color:var(--text-soft); }
.marquee-item .kt-monogram{ width:30px; height:30px; font-size:13px; border-radius:8px; }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation:none; flex-wrap:wrap; justify-content:center; } }

/* ==========================================================================
   NEXT-STEPS MINI LIST (next to contact form)
   ========================================================================== */
.next-steps{ background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius-md); padding:24px; margin-top:24px; }
.next-steps h5{ font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-soft); margin:0 0 16px; }
.next-steps ol{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.next-steps li{ display:flex; align-items:flex-start; gap:12px; font-size:.9rem; color:var(--text-muted); }
.next-steps .step-badge{
  flex-shrink:0; width:24px; height:24px; border-radius:50%; background:var(--kt-blue-soft); color:var(--kt-blue);
  display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:800;
}
.trust-badges{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.trust-badge{
  display:inline-flex; align-items:center; gap:6px; font-size:.78rem; font-weight:600; color:var(--text-muted);
  background:var(--bg-alt); border:1px solid var(--border); padding:6px 12px; border-radius:100px;
}
.trust-badge i{ color:var(--accent); font-size:12px; }

/* ==========================================================================
   HERO TRUST LINE
   ========================================================================== */
.hero-trust-line{ display:flex; align-items:center; font-size:.85rem; color:var(--text-soft); margin-top:20px; }

/* ==========================================================================
   NEWSLETTER (footer)
   ========================================================================== */
.newsletter-form{ display:flex; gap:8px; margin-top:14px; }
.newsletter-form input{
  flex:1; padding:11px 14px; border-radius:100px; border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.06); color:#fff; font-size:.88rem;
}
.newsletter-form input::placeholder{ color:rgba(255,255,255,.4); }
.newsletter-form input:focus{ outline:none; border-color:var(--accent-2, var(--accent)); }
.newsletter-form button{
  flex-shrink:0; width:42px; height:42px; border-radius:50%; border:none; background:var(--kt-blue); color:#fff;
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s;
}
.newsletter-form button:hover{ background:var(--kt-blue-dark, #0b56d6); }
.newsletter-note{ font-size:.75rem; color:rgba(255,255,255,.45); margin-top:10px; }
.newsletter-alert{ font-size:.8rem; margin-top:10px; padding:8px 12px; border-radius:8px; }
.newsletter-alert.success{ background:rgba(34,197,94,.15); color:#4ade80; }
.newsletter-alert.error{ background:rgba(239,68,68,.15); color:#f87171; }

/* Respect reduced motion: turn every animation into an instant, static state */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
  .hero-float{ animation:none !important; transform:none !important; }
  .site-logo img{ animation:none; }
}
