/*
Theme Name: Tekomi
Theme URI: https://tekomi.vn
Author: Tekomi
Description: Custom WordPress theme for Tekomi with Advanced Custom Fields (ACF) editable content.
Version: 1.3.6
Text Domain: tekomi
*/

/* ===== Tekomi — Small Tech, Big Impact ===== */
:root{
  --navy:#0B1F3A;
  --navy-2:#0E2A4D;
  --navy-3:#123258;
  --teal:#11B8C8;
  --teal-d:#0E9AA8;
  --teal-l:#E6F8FA;
  --orange:#E8641E;
  --white:#fff;
  --gray:#F5F7FA;
  --gray-2:#EDF1F6;
  --border:#E1E7EF;
  --ink:#0B1F3A;
  --muted:#5A6B82;
  --muted-2:#8595AB;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 18px 50px -20px rgba(11,31,58,.28);
  --shadow-sm:0 8px 24px -12px rgba(11,31,58,.22);
  --maxw:1180px;
  --ff-head:'Be Vietnam Pro','Manrope',system-ui,sans-serif;
  --ff-body:'Be Vietnam Pro','Inter',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--ff-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{font-family:var(--ff-head);line-height:1.12;letter-spacing:-.02em;font-weight:800;color:var(--ink)}
h1{font-size:clamp(2.3rem,5vw,3.75rem)}
h2{font-size:clamp(1.8rem,3.6vw,2.7rem)}
h3{font-size:clamp(1.2rem,2vw,1.45rem)}
p{text-wrap:pretty}
a{color:var(--teal-d);text-decoration:none;transition:color .2s}
a:hover{color:var(--navy)}
img{max-width:100%;display:block}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;width:100%}

/* section rhythm */
.section{padding:96px 0}
.section--tight{padding:64px 0}
.section--gray{background:var(--gray)}
.section--navy{background:var(--navy);color:#DCE6F2}
.section--navy h1,.section--navy h2,.section--navy h3{color:#fff}

/* eyebrow + heads */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:var(--ff-head);font-weight:700;
  font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-d)}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--teal);border-radius:2px}
.section--navy .eyebrow{color:var(--teal)}
.head{max-width:720px}
.head--center{margin:0 auto;text-align:center}
.head p{color:var(--muted);font-size:1.08rem;margin-top:16px}
.section--navy .head p{color:#AFC1D8}
.mt-sm{margin-top:14px}.mt{margin-top:24px}.mt-lg{margin-top:40px}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:10px;font-family:var(--ff-head);font-weight:700;
  font-size:1rem;padding:15px 28px;border-radius:999px;border:2px solid transparent;cursor:pointer;
  transition:transform .18s,box-shadow .2s,background .2s,color .2s;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--teal);color:var(--navy);box-shadow:0 14px 30px -12px rgba(17,184,200,.7)}
.btn-primary:hover{background:#14cbdd;color:var(--navy)}
.btn-ghost{background:transparent;color:var(--navy);border-color:var(--border)}
.btn-ghost:hover{border-color:var(--teal);color:var(--navy)}
.section--navy .btn-ghost .hero .btn-ghost .cta-band .btn-ghost{color:#fff;border-color:rgba(255,255,255,.65);}
.section--navy .btn-ghost:hover .hero .btn-ghost:hover .cta-band .btn-ghost:hover{color:#fff;border-color:var(--teal);}
.btn-light{background:#fff;color:var(--navy)}
.btn-light:hover{background:var(--gray)}
.btn-arrow::after{content:"→";font-weight:700}
.link-arrow{font-family:var(--ff-head);font-weight:700;display:inline-flex;align-items:center;gap:8px}
.link-arrow::after{content:"→";transition:transform .2s}
.link-arrow:hover::after{transform:translateX(4px)}

/* ===== Header ===== */
.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.9);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;height:76px;gap:20px}
.brand{display:flex;align-items:center;gap:11px}
.brand img{height:42px;width:auto}
.brand-txt{display:flex;flex-direction:column;line-height:1}
.brand-txt b{font-family:var(--ff-head);font-weight:800;font-size:1.32rem;letter-spacing:.02em;color:var(--navy)}
.brand-txt span{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--teal-d);font-weight:600;margin-top:3px}
.nav-links{display:flex;align-items:center;gap:6px;list-style:none}
.nav-links li{position:relative}
.nav-links a{font-family:var(--ff-head);font-weight:600;color:var(--navy);font-size:.98rem;
  padding:9px 14px;border-radius:8px;white-space:nowrap;transition:background .2s,color .2s}
.nav-links a:hover,.nav-links a.active{background:var(--gray);color:var(--teal-d)}
.has-submenu>a{display:inline-flex;align-items:center;gap:6px}
.has-submenu>a::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.submenu{position:absolute;left:0;top:calc(100% + 10px);min-width:220px;padding:10px;list-style:none;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s}
.submenu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.has-submenu:hover .submenu,.has-submenu:focus-within .submenu{opacity:1;visibility:visible;transform:translateY(0)}
.submenu a{display:block;padding:11px 12px;border-radius:10px;font-size:.94rem}
.submenu a:hover{background:var(--teal-l);color:var(--teal-d)}
.nav-cta{display:flex;align-items:center;gap:12px}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px}
.nav-toggle span{width:24px;height:2.5px;background:var(--navy);border-radius:2px;transition:.25s}
.nav-toggle.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}

/* ===== Hero ===== */
.hero{position:relative;background:var(--navy);color:#fff;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;
  background:radial-gradient(600px 400px at 82% 12%,rgba(17,184,200,.22),transparent 60%),
             radial-gradient(500px 380px at 12% 96%,rgba(17,184,200,.12),transparent 60%)}
.hero-grid{position:absolute;inset:0;opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:46px 46px;mask-image:radial-gradient(80% 80% at 70% 20%,#000,transparent)}
.hero-inner{position:relative;display:flex;align-items:center;gap:56px;padding:96px 0 104px;flex-wrap:wrap}
.hero-copy{flex:1 1 480px;min-width:300px}
.hero-copy h1{color:#fff;margin-top:20px}
.hero-copy h1 em{font-style:normal;color:var(--teal)}
.hero-copy p{color:#AFC1D8;font-size:1.18rem;margin-top:22px;max-width:560px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.hero-badge{display:inline-flex;align-items:center;gap:9px;background:rgba(17,184,200,.12);
  border:1px solid rgba(17,184,200,.35);color:#CFF3F7;font-family:var(--ff-head);font-weight:600;
  font-size:.85rem;padding:8px 16px;border-radius:999px}
.hero-badge b{color:var(--teal)}
.hero-visual{flex:1 1 360px;min-width:280px;display:flex;justify-content:center}
.hero-card{position:relative;width:100%;max-width:420px;background:linear-gradient(160deg,var(--navy-2),#0a1a30);
  border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:28px;box-shadow:var(--shadow)}
.hc-row{display:flex;align-items:center;gap:14px;padding:16px;border-radius:14px;background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);margin-bottom:12px}
.hc-row:last-child{margin-bottom:0}
.hc-ic{width:44px;height:44px;flex-shrink:0;border-radius:12px;background:rgba(17,184,200,.15);
  display:flex;align-items:center;justify-content:center;color:var(--teal)}
.hc-row b{display:block;color:#fff;font-family:var(--ff-head);font-size:.98rem}
.hc-row small{color:#8FA6C2;font-size:.82rem}
.hc-tag{position:absolute;top:-16px;right:22px;background:var(--orange);color:#fff;font-family:var(--ff-head);
  font-weight:700;font-size:.78rem;padding:7px 15px;border-radius:999px;box-shadow:0 10px 22px -8px rgba(232,100,30,.7)}

/* ===== Stats ===== */
.stats{display:flex;flex-wrap:wrap;gap:20px}
.stat{flex:1 1 200px;text-align:center;padding:10px}
.stat b{display:block;font-family:var(--ff-head);font-weight:800;font-size:2.6rem;color:var(--navy);letter-spacing:-.03em}
.section--navy .stat b{color:var(--teal)}
.stat span{color:var(--muted);font-weight:500;font-size:.98rem}
.section--navy .stat span{color:#AFC1D8}

/* ===== Cards / services (flex, no grid) ===== */
.cards{display:flex;flex-wrap:wrap;gap:24px}
.card{flex:1 1 320px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:32px;transition:transform .22s,box-shadow .22s,border-color .22s}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:transparent}
.card .ic{width:56px;height:56px;border-radius:14px;background:var(--teal-l);color:var(--teal-d);
  display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.card h3{margin-bottom:10px}
.card p{color:var(--muted);font-size:.98rem}
.card ul{list-style:none;margin-top:16px}
.card ul li{position:relative;padding-left:24px;color:var(--muted);font-size:.94rem;margin-bottom:7px}
.card ul li::before{content:"";position:absolute;left:0;top:9px;width:14px;height:8px;
  border-left:2.5px solid var(--teal);border-bottom:2.5px solid var(--teal);transform:rotate(-45deg)}
.card-3{flex-basis:calc(33.333% - 16px)}
.card-2{flex-basis:calc(50% - 12px)}

/* two-col */
.split{display:flex;gap:56px;align-items:center;flex-wrap:wrap}
.split>*{flex:1 1 380px;min-width:280px}
.media{border-radius:var(--radius);overflow:hidden;background:var(--gray-2);
  border:1px solid var(--border);aspect-ratio:4/3;position:relative}
.media--navy{background:linear-gradient(150deg,var(--navy-2),var(--navy));border:0}
.ph{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;color:var(--muted-2);text-align:center;padding:24px;font-size:.9rem}
.ph svg{opacity:.5}

/* process steps */
.steps{display:flex;flex-wrap:wrap;gap:24px;counter-reset:step}
.step{flex:1 1 230px;position:relative;padding:28px;background:#fff;border:1px solid var(--border);border-radius:var(--radius)}
.section--navy .step{background:var(--navy-2);border-color:rgba(255,255,255,.09)}
.step .num{counter-increment:step;font-family:var(--ff-head);font-weight:800;font-size:1.05rem;
  width:44px;height:44px;border-radius:12px;background:var(--navy);color:var(--teal);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.step .num::before{content:"0" counter(step)}
.section--navy .step .num{background:var(--teal);color:var(--navy)}
.step h3{font-size:1.15rem;margin-bottom:8px}
.step p{color:var(--muted);font-size:.94rem}
.section--navy .step p{color:#AFC1D8}

/* feature list (why us) */
.feat{display:flex;gap:16px;align-items:flex-start}
.feat .ic{width:48px;height:48px;flex-shrink:0;border-radius:12px;background:var(--teal-l);color:var(--teal-d);
  display:flex;align-items:center;justify-content:center}
.feat h3{font-size:1.12rem;margin-bottom:6px}
.feat p{color:var(--muted);font-size:.95rem}
.section--navy .feat .ic{background:rgba(17,184,200,.15);color:var(--teal)}
.section--navy .feat p{color:#AFC1D8}

/* testimonials */
.quote{flex:1 1 340px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:30px}
.quote .stars{color:#F5A623;letter-spacing:2px;font-size:1.05rem;margin-bottom:14px}
.quote p{font-size:1.02rem;color:var(--ink);font-style:italic}
.quote .who{display:flex;align-items:center;gap:13px;margin-top:20px}
.quote .av{width:46px;height:46px;border-radius:50%;background:var(--navy);color:var(--teal);
  display:flex;align-items:center;justify-content:center;font-family:var(--ff-head);font-weight:800}
.quote .who b{display:block;font-family:var(--ff-head);font-size:.98rem}
.quote .who span{color:var(--muted);font-size:.86rem}

/* CTA band */
.cta-band{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-3) 100%);border-radius:24px;
  padding:64px 56px;text-align:center;position:relative;overflow:hidden}
.cta-band::before{content:"";position:absolute;inset:0;
  background:radial-gradient(500px 300px at 85% 15%,rgba(17,184,200,.25),transparent 60%)}
.cta-band>*{position:relative}
.cta-band h2{color:#fff}
.cta-band p{color:#AFC1D8;max-width:560px;margin:16px auto 0;font-size:1.1rem}
.cta-band .hero-actions{justify-content:center}

/* page hero (sub pages) */
.page-hero{background:var(--navy);color:#fff;position:relative;overflow:hidden;padding:80px 0 72px}
.page-hero::before{content:"";position:absolute;inset:0;
  background:radial-gradient(600px 360px at 88% 0%,rgba(17,184,200,.2),transparent 60%)}
.page-hero .container{position:relative}
.page-hero h1{color:#fff;margin-top:16px}
.page-hero p{color:#AFC1D8;font-size:1.15rem;margin-top:18px;max-width:620px}
.crumbs{font-size:.88rem;color:#8FA6C2;font-family:var(--ff-head);font-weight:600}
.crumbs a{color:#8FA6C2}.crumbs a:hover{color:var(--teal)}

/* accordion (FAQ) */
.acc{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.acc-item{background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}
.acc-q{width:100%;text-align:left;background:none;border:0;cursor:pointer;padding:22px 26px;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  font-family:var(--ff-head);font-weight:700;font-size:1.05rem;color:var(--navy)}
.acc-q .pm{flex-shrink:0;width:26px;height:26px;position:relative;transition:transform .25s}
.acc-q .pm::before,.acc-q .pm::after{content:"";position:absolute;background:var(--teal-d);border-radius:2px}
.acc-q .pm::before{top:12px;left:4px;right:4px;height:2.5px}
.acc-q .pm::after{left:12px;top:4px;bottom:4px;width:2.5px;transition:transform .25s}
.acc-item.open .pm::after{transform:scaleY(0)}
.acc-a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.acc-a p{padding:0 26px 24px;color:var(--muted);font-size:.98rem}

/* blog cards */
.post{flex:1 1 330px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;transition:transform .22s,box-shadow .22s}
.post:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.post-img{aspect-ratio:16/10;background:linear-gradient(150deg,var(--navy-2),var(--navy));position:relative}
.post-cat{position:absolute;top:14px;left:14px;background:rgba(17,184,200,.95);color:var(--navy);
  font-family:var(--ff-head);font-weight:700;font-size:.74rem;padding:5px 12px;border-radius:999px}
.post-body{padding:24px}
.post-meta{font-size:.82rem;color:var(--muted-2);font-family:var(--ff-head);font-weight:600;margin-bottom:10px}
.post-body h3{font-size:1.18rem;margin-bottom:10px}
.post-body p{color:var(--muted);font-size:.94rem;margin-bottom:16px}
.post-3{flex-basis:calc(33.333% - 16px)}

/* forms */
.form{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:36px;box-shadow:var(--shadow-sm)}
.field{margin-bottom:18px}
.field label{display:block;font-family:var(--ff-head);font-weight:600;font-size:.9rem;margin-bottom:7px;color:var(--navy)}
.field input,.field select,.field textarea{width:100%;font-family:var(--ff-body);font-size:1rem;
  padding:13px 15px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--gray);
  color:var(--ink);transition:border-color .2s,background .2s}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--teal);background:#fff}
.field textarea{resize:vertical;min-height:130px}
.form .btn{width:100%;justify-content:center}
.row2{display:flex;gap:16px;flex-wrap:wrap}
.row2>*{flex:1 1 200px}

/* contact info list */
.cinfo{display:flex;flex-direction:column;gap:22px}
.cinfo .feat .ic{background:var(--navy);color:var(--teal)}
.cinfo .feat h3{font-size:1rem}
.cinfo .feat a{color:var(--muted)}
.cinfo .feat a:hover{color:var(--teal-d)}

/* ===== Footer ===== */
.site-footer{background:var(--navy);color:#AFC1D8;padding:72px 0 32px}
.foot-top{display:flex;flex-wrap:wrap;gap:48px;justify-content:space-between}
.foot-brand{flex:1 1 300px;max-width:340px}
.foot-logo{display:flex;align-items:center;gap:11px;margin-bottom:18px}
.foot-logo b{font-family:var(--ff-head);font-weight:800;font-size:1.4rem;color:#fff;letter-spacing:.03em}
.foot-mark{width:40px;height:40px;background:#fff;border-radius:10px;padding:5px;display:flex}
.foot-brand p{font-size:.94rem;color:#8FA6C2}
.foot-social{display:flex;gap:10px;margin-top:20px}
.foot-social a{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:center;color:#AFC1D8;transition:background .2s,color .2s}
.foot-social a:hover{background:var(--teal);color:var(--navy)}
.foot-col{flex:0 1 auto}
.foot-col h4{font-family:var(--ff-head);color:#fff;font-size:.95rem;letter-spacing:.06em;
  text-transform:uppercase;margin-bottom:18px;font-weight:700}
.foot-col ul{list-style:none;display:flex;flex-direction:column;gap:11px}
.foot-col a{color:#8FA6C2;font-size:.94rem}
.foot-col a:hover{color:var(--teal)}
.foot-bottom{border-top:1px solid rgba(255,255,255,.09);margin-top:48px;padding-top:24px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:.86rem;color:#7488A3}

/* ===== Responsive ===== */
@media(max-width:960px){
  .card-3,.post-3{flex-basis:calc(50% - 12px)}
  .section{padding:72px 0}
  .cta-band{padding:48px 28px}
}
@media(max-width:980px){
  .nav-links{position:fixed;top:76px;left:0;right:0;background:#fff;flex-direction:column;
    align-items:stretch;gap:2px;padding:14px 20px 24px;border-bottom:1px solid var(--border);
    box-shadow:var(--shadow);transform:translateY(-140%);opacity:0;pointer-events:none;transition:.3s}
  .nav-links.open{transform:translateY(0);opacity:1;pointer-events:auto}
  .nav-links a{padding:13px 14px;font-size:1.05rem}
  .has-submenu>a::after{margin-left:auto}
  .submenu{position:static;min-width:0;margin:2px 0 8px 18px;padding:4px;border:0;border-left:2px solid var(--border);border-radius:0;box-shadow:none;opacity:1;visibility:visible;transform:none}
  .submenu a{font-size:.98rem;padding:10px 12px}
  .nav-toggle{display:flex}
  .nav-cta .btn{display:none}
  .nav-links .btn-mobile{display:inline-flex;justify-content:center;margin-top:10px}
}
@media(min-width:981px){.nav-links .btn-mobile{display:none}}
@media(max-width:640px){
  .card-3,.card-2,.post-3{flex-basis:100%}
  .section{padding:56px 0}
  .split{gap:36px}
  .foot-top{gap:36px}
  .cta-band{padding:40px 22px}
  body{font-size:16px}
}


/* =========================
   WordPress integration
   ========================= */
.nav-links a.current,
.nav-links a[aria-current="page"]{background:var(--gray);color:var(--teal-d)}

.post-img img{width:100%;height:100%;object-fit:cover;display:block}
.post-body h3 a{color:inherit}
.post-body h3 a:hover{color:var(--teal-d)}

.entry-wrap{max-width:860px;margin:0 auto}
.entry-content{color:var(--muted);font-size:1.02rem;line-height:1.8}
.entry-content h2,.entry-content h3,.entry-content h4{color:var(--navy);margin:32px 0 12px}
.entry-content p,.entry-content ul,.entry-content ol,.entry-content blockquote{margin:0 0 20px}
.entry-content ul,.entry-content ol{padding-left:24px}
.entry-content img{max-width:100%;height:auto;border-radius:14px}
.entry-content a{color:var(--teal-d);text-decoration:underline;text-underline-offset:3px}
.entry-content blockquote{padding:18px 22px;border-left:4px solid var(--teal);background:var(--gray);border-radius:0 12px 12px 0}

.single-meta{font-family:var(--ff-head);color:var(--muted-2);font-size:.9rem;margin-top:14px}
.single-featured{margin:30px 0;border-radius:18px;overflow:hidden;background:var(--gray)}
.single-featured img{width:100%;height:auto;display:block}

.pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:42px}
.pagination .page-numbers{display:inline-flex;min-width:42px;height:42px;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--border);border-radius:10px;color:var(--navy);font-family:var(--ff-head);font-weight:700}
.pagination .page-numbers.current,.pagination .page-numbers:hover{background:var(--navy);color:#fff;border-color:var(--navy)}

.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.alignwide{max-width:1100px;margin-left:auto;margin-right:auto}
.alignfull{width:100%}

/* ACF-managed images */
.tekomi-media-img,
.media > img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.team-avatar{
  aspect-ratio:1;
  border-radius:50%;
  width:120px;
  margin:0 auto 18px;
}
/* FIX BUTTON TEXT ON DARK BACKGROUND */
.hero .btn.btn-ghost,
.cta-band .btn.btn-ghost {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
}

.hero .btn.btn-ghost:hover,
.cta-band .btn.btn-ghost:hover {
    color: #ffffff !important;
    border-color: var(--teal) !important;
}
/* ===== FIX ALL GHOST BUTTONS ON DARK BACKGROUNDS ===== */

.hero .btn.btn-ghost,
.section--navy .btn.btn-ghost,
.cta-band .btn.btn-ghost {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
}

.hero .btn.btn-ghost:hover,
.section--navy .btn.btn-ghost:hover,
.cta-band .btn.btn-ghost:hover {
    color: #ffffff !important;
    border-color: var(--teal) !important;
    background: rgba(255, 255, 255, 0.06);
}
/* ====================================================== FLOATING CONTACT ====================================================== */ .tekomi-contact
{
    position: fixed;
    right: 24px;
    bottom: 104px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 99999;
}
/* ====================================================== ACTION LIST ====================================================== */ .tekomi-contact-actions
{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.tekomi-contact.active .tekomi-contact-actions
{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
/* ====================================================== CONTACT ITEMS ====================================================== */ .tekomi-contact-item
{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-decoration: none;
}
.tekomi-contact-item:hover
{
    text-decoration: none;
}
/* LABEL */ .contact-label
{
    padding: 8px 12px;
    background: #ffffff;
    color: #222222;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.tekomi-contact-item:hover .contact-label
{
    opacity: 1;
    transform: translateX(0);
}
/* ====================================================== ROUND ACTION BUTTON ====================================================== */ .contact-icon
{
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,.9);
    box-shadow: 0 8px 24px rgba(11,31,58,.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.tekomi-contact-item:hover .contact-icon
{
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(11,31,58,.3);
    filter: saturate(1.08);
}
/* ZALO */ .tekomi-zalo .contact-icon
{
    background: #0068ff;
}
.zalo-icon
{
    font-size: 11px;
    font-weight: 700;
}
/* PHONE */ .tekomi-phone .contact-icon
{
    background: #28a745;
}
/* ====================================================== MAIN CONTACT BUTTON ====================================================== */ .tekomi-contact-toggle
{
    width: 60px;
    height: 60px;
    padding: 0;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy-2) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(11,31,58,.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.tekomi-contact-toggle:hover
{
    transform: scale(1.07);
    box-shadow: 0 10px 30px rgba(11,31,58,.34);
    filter: saturate(1.08);
}
/* OPEN ICON */ .contact-open-icon
{
    display: flex;
    align-items: center;
    justify-content: center;
}
/* CLOSE */ .contact-close-icon
{
    display: none;
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-2px);
}
.tekomi-contact.active .contact-open-icon
{
    display: none;
}
.tekomi-contact.active .contact-close-icon
{
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ====================================================== CHATWOOT BUBBLE BRANDING ====================================================== */
.woot-widget-bubble
{
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy-2) 100%) !important;
    border: 2px solid rgba(255,255,255,.9) !important;
    box-shadow: 0 8px 24px rgba(11,31,58,.28) !important;
}
.woot-widget-bubble svg,
.woot-widget-bubble img
{
    opacity: 0 !important;
}
.woot-widget-bubble::before
{
    content: "AI";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--ff-head);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}
/* ====================================================== MOBILE ====================================================== */ @media (max-width: 768px)
{
    .tekomi-contact
    {
        right: 15px;
        bottom: 92px;
    }
    .tekomi-contact-toggle
    {
        width: 56px;
        height: 56px;
    }
    .contact-icon
    {
        width: 48px;
        height: 48px;
    }
    .contact-label
    {
        display: none;
    }
}
/* ===================================================== TEKOMI OPT-IN POPUP ===================================================== */ .tekomi-popup
{
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
/* CHỈ HIỆN KHI JS THÊM .is-active */ .tekomi-popup.is-active
{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* ===================================================== OVERLAY ===================================================== */ .tekomi-popup-overlay
{
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 40, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
/* ===================================================== POPUP BOX ===================================================== */ .tekomi-popup-box
{
    position: relative;
    z-index: 2;
    width: calc(100% - 40px);
    max-width: 580px;
    padding: 44px 40px 40px;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
    font-family: var(--ff-body);
}
.tekomi-popup.is-active .tekomi-popup-box
{
    transform: translateY(0) scale(1);
}
/* ===================================================== CLOSE BUTTON ===================================================== */ .tekomi-popup-close
{
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 3;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--navy);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.tekomi-popup-close:hover
{
    background: rgba(11, 31, 58, 0.07);
    color: var(--navy);
}
/* ===================================================== CONTENT ===================================================== */ .tekomi-popup-content
{
    text-align: center;
}
/* ===================================================== BRAND / LOGO ===================================================== */ .tekomi-popup-brand
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-bottom: 24px;
}
.tekomi-popup-logo
{
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 11px;
}
.tekomi-popup-logo img
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* ===================================================== BRAND TEXT ===================================================== */ .tekomi-popup-brand-text
{
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1;
}
.tekomi-popup-brand-text strong
{
    font-family: var(--ff-head);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--navy);
}
.tekomi-popup-brand-text span
{
    margin-top: 5px;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-d);
}
/* ===================================================== TITLE ===================================================== */ .tekomi-popup-content h2
{
    margin: 0 0 15px;
    font-family: var(--ff-head);
    font-size: 30px;
    line-height: 1.22;
    font-weight: 800;
    color: var(--navy);
}
/* ===================================================== DESCRIPTION ===================================================== */ .tekomi-popup-content p
{
    max-width: 470px;
    margin: 0 auto 28px;
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}
/* ===================================================== CTA Nút dùng: .btn .btn-primary .btn-arrow => giống đúng nút Đăng ký tư vấn hiện tại ===================================================== */ .tekomi-popup-cta
{
    justify-content: center;
    text-decoration: none;
}
/* ===================================================== MOBILE ===================================================== */ @media (max-width: 600px)
{
    .tekomi-popup
    {
        padding: 15px;
    }
    .tekomi-popup-box
    {
        width: 100%;
        padding: 40px 22px 30px;
        border-radius: 16px;
    }
    .tekomi-popup-logo
    {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
    .tekomi-popup-brand-text strong
    {
        font-size: 1.2rem;
    }
    .tekomi-popup-brand-text span
    {
        font-size: 0.56rem;
    }
    .tekomi-popup-content h2
    {
        font-size: 24px;
    }
    .tekomi-popup-content p
    {
        font-size: 15px;
    }
    .tekomi-popup-cta
    {
        width: 100%;
        justify-content: center;
    }
}
.tekomi-popup-form
{
    width: 100%;
    max-width: 460px;
    margin: 25px auto 0;
    text-align: left;
}
.tekomi-popup-field
{
    margin-bottom: 17px;
}
.tekomi-popup-field label
{
    display: block;
    margin-bottom: 7px;
    font-family: var(--ff-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}
.tekomi-popup-field label span
{
    color: #e53935;
}
.tekomi-popup-field input
{
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--gray);
    font-family: var(--ff-body);
    font-size: 15px;
    color: var(--navy);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.tekomi-popup-field input:focus
{
    background: #ffffff;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(17, 184, 200, 0.12);
}
.tekomi-popup-field input.is-error
{
    border-color: #e53935;
    background: #fffafa;
}
.tekomi-popup-field input.is-valid
{
    border-color: var(--teal);
}
.tekomi-popup-error
{
    display: block;
    min-height: 18px;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.4;
    color: #d32f2f;
}
.tekomi-popup-submit
{
    width: 100%;
    justify-content: center;
    margin-top: 2px;
    border: 0;
}
.tekomi-popup-success
{
    display: none;
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 9px;
    background: var(--teal-l);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.tekomi-popup-success.is-active
{
    display: block;
}
@media (max-width: 600px)
{
    .tekomi-popup-form
    {
        margin-top: 20px;
    }
    .tekomi-popup-field input
    {
        height: 48px;
        font-size: 16px;
    }
}

/* ===== Tekomi Connect product page ===== */
.connect-hero{
  position:relative;
  overflow:hidden;
  background:var(--navy);
  color:#fff;
}
.connect-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(640px 420px at 82% 14%,rgba(17,184,200,.24),transparent 60%),
             linear-gradient(180deg,rgba(255,255,255,.04),transparent 42%);
}
.connect-hero-inner{
  position:relative;
  display:flex;
  align-items:center;
  gap:56px;
  padding:96px 24px 104px;
  flex-wrap:wrap;
}
.connect-hero-copy{
  flex:1 1 430px;
  min-width:280px;
}
.connect-hero-copy h1{
  color:#fff;
  max-width:650px;
  margin-top:20px;
}
.connect-hero-copy p{
  max-width:600px;
  margin-top:22px;
  color:#AFC1D8;
  font-size:1.16rem;
}
.connect-hero .btn-ghost{
  color:#fff;
  border-color:rgba(255,255,255,.72);
}
.connect-hero .btn-ghost:hover{
  color:#fff;
  border-color:var(--teal);
  background:rgba(255,255,255,.06);
}
.connect-product{
  flex:1 1 470px;
  min-width:300px;
}
.connect-window{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  background:#08172A;
  box-shadow:0 28px 80px -34px rgba(0,0,0,.7);
}
.connect-window-top{
  display:flex;
  align-items:center;
  gap:8px;
  height:44px;
  padding:0 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#8FA6C2;
  font-family:var(--ff-head);
  font-size:.8rem;
}
.connect-window-top span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#E8641E;
}
.connect-window-top span:nth-child(2){background:#F5A623}
.connect-window-top span:nth-child(3){background:#11B8C8}
.connect-window-top strong{margin-left:auto;color:#CFF3F7}
.connect-app{
  display:flex;
  min-height:420px;
}
.connect-sidebar{
  width:66px;
  padding:18px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  border-right:1px solid rgba(255,255,255,.08);
  background:#071326;
}
.connect-logo-dot{
  width:38px;
  height:38px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--teal);
  color:var(--navy);
  font-family:var(--ff-head);
  font-weight:800;
}
.connect-sidebar span{
  width:30px;
  height:30px;
  border-radius:10px;
  background:rgba(255,255,255,.07);
}
.connect-sidebar span.is-active{background:rgba(17,184,200,.24)}
.connect-inbox{
  width:190px;
  padding:16px;
  border-right:1px solid rgba(255,255,255,.08);
  background:#0B1F3A;
}
.connect-search{
  padding:10px 12px;
  margin-bottom:14px;
  border-radius:10px;
  background:rgba(255,255,255,.07);
  color:#8FA6C2;
  font-size:.82rem;
}
.connect-thread{
  padding:12px;
  margin-bottom:10px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  background:rgba(255,255,255,.04);
}
.connect-thread.is-live{
  border-color:rgba(17,184,200,.55);
  background:rgba(17,184,200,.12);
}
.connect-thread b{
  display:block;
  color:#fff;
  font-family:var(--ff-head);
  font-size:.86rem;
}
.connect-thread span{
  display:block;
  margin-top:3px;
  color:#8FA6C2;
  font-size:.76rem;
  line-height:1.45;
}
.connect-chat{
  flex:1;
  min-width:0;
  padding:20px;
  background:#102A4C;
}
.connect-chat-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-bottom:16px;
  margin-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.connect-chat-head b{
  display:block;
  color:#fff;
  font-family:var(--ff-head);
}
.connect-chat-head span,
.connect-chat-head small{
  color:#8FA6C2;
  font-size:.8rem;
}
.connect-message{
  max-width:78%;
  padding:13px 15px;
  margin-bottom:12px;
  border-radius:14px;
  color:#DCE6F2;
  font-size:.88rem;
  line-height:1.5;
}
.from-customer{
  background:rgba(255,255,255,.08);
}
.from-agent{
  margin-left:auto;
  background:rgba(17,184,200,.2);
  color:#E6F8FA;
}
.connect-ticket{
  margin-top:20px;
  padding:16px;
  border-radius:14px;
  background:#fff;
  color:var(--navy);
}
.connect-ticket b{
  display:block;
  font-family:var(--ff-head);
}
.connect-ticket span{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:.86rem;
}
.connect-channel-strip{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-content:flex-start;
}
.connect-channel-strip span{
  flex:1 1 150px;
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  color:var(--navy);
  font-family:var(--ff-head);
  font-weight:700;
}
.connect-feature-cards .card p{
  min-height:96px;
}
.connect-flow{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.connect-flow-step{
  position:relative;
  padding:24px 24px 24px 88px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.connect-flow-step span{
  position:absolute;
  left:24px;
  top:24px;
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:var(--navy);
  color:var(--teal);
  font-family:var(--ff-head);
  font-weight:800;
}
.connect-flow-step p{
  margin-top:7px;
  color:var(--muted);
  font-size:.95rem;
}
.connect-ops{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
.connect-op{
  flex:1 1 300px;
  padding:24px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:var(--radius);
  background:var(--navy-2);
}
.connect-op h3{
  color:#fff;
  font-size:1.1rem;
}
.connect-op p{
  margin-top:8px;
  color:#AFC1D8;
  font-size:.94rem;
}
.connect-video{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--navy);
  aspect-ratio:16/9;
  box-shadow:var(--shadow-sm);
}
.connect-video iframe,
.connect-video video,
.connect-video embed,
.connect-video object{
  width:100%;
  height:100%;
  display:block;
  border:0;
}
.connect-video-placeholder{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:28px;
  text-align:center;
  color:#AFC1D8;
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
}
.connect-video-placeholder span{
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--teal);
  color:var(--navy);
}
.connect-video-placeholder b{
  color:#fff;
  font-family:var(--ff-head);
  font-size:1.1rem;
}
.connect-video-placeholder small{
  max-width:360px;
  color:#AFC1D8;
  font-size:.88rem;
}
.connect-checks{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.connect-checks li{
  position:relative;
  padding-left:28px;
  color:var(--muted);
}
.connect-checks li::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  width:14px;
  height:8px;
  border-left:2.5px solid var(--teal);
  border-bottom:2.5px solid var(--teal);
  transform:rotate(-45deg);
}
@media(max-width:900px){
  .connect-app{min-height:360px}
  .connect-inbox{width:168px}
}
@media(max-width:700px){
  .connect-hero-inner{padding:72px 24px}
  .connect-app{display:block;min-height:0}
  .connect-sidebar{display:none}
  .connect-inbox{width:100%;border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}
  .connect-thread:nth-of-type(n+4){display:none}
  .connect-chat{padding:16px}
  .connect-message{max-width:94%}
  .connect-flow-step{padding-left:24px}
  .connect-flow-step span{position:static;margin-bottom:14px}
}

/* ===== Products hub ===== */
.product-list{
  align-items:stretch;
}
.product-card{
  display:flex;
  flex-direction:column;
}
.product-card p{
  flex:1;
}
.product-empty{
  max-width:680px;
  padding:36px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.product-empty p{
  margin-top:8px;
  color:var(--muted);
}

/* ===== Compact services hub ===== */
.service-compact-grid{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}
.service-compact-card{
  position:relative;
  flex:1 1 300px;
  min-height:250px;
  padding:28px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
  transition:transform .22s,box-shadow .22s,border-color .22s;
}
.service-compact-card:hover{
  transform:translateY(-5px);
  border-color:transparent;
  box-shadow:var(--shadow);
}
.service-compact-card .ic{
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  border-radius:14px;
  background:var(--teal-l);
  color:var(--teal-d);
}
.service-compact-number{
  position:absolute;
  top:22px;
  right:24px;
  color:var(--muted-2);
  font-family:var(--ff-head);
  font-weight:800;
  font-size:.9rem;
}
.service-compact-card h3{
  font-size:1.18rem;
  margin-bottom:10px;
}
.service-compact-card p{
  color:var(--muted);
  font-size:.95rem;
}

/* ===== Blog listing and article polish ===== */
.blog-listing{background:var(--gray)}
.blog-featured-card{
  display:flex;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.blog-featured-media{
  position:relative;
  flex:1 1 48%;
  min-height:330px;
  background:linear-gradient(150deg,var(--navy-2),var(--navy));
}
.blog-featured-media img,
.blog-card-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.blog-featured-body{
  flex:1 1 52%;
  padding:46px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.blog-featured-body h2{
  margin:8px 0 14px;
  font-size:clamp(1.65rem,3vw,2.35rem);
}
.blog-featured-body h2 a,
.blog-card-body h3 a{
  color:inherit;
}
.blog-featured-body h2 a:hover,
.blog-card-body h3 a:hover{
  color:var(--teal-d);
}
.blog-featured-body p{
  max-width:560px;
  margin-bottom:24px;
  color:var(--muted);
}
.blog-section-head{margin:0 0 28px}
.blog-section-head h2{
  margin-top:12px;
  font-size:clamp(1.55rem,2.6vw,2.2rem);
}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.blog-card{
  display:flex;
  min-width:0;
  height:100%;
  overflow:hidden;
  flex-direction:column;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
  transition:transform .22s,box-shadow .22s,border-color .22s;
}
.blog-card:hover{
  transform:translateY(-6px);
  border-color:transparent;
  box-shadow:var(--shadow);
}
.blog-card-media{
  position:relative;
  display:block;
  width:100%;
  height:260px;
  flex:0 0 auto;
  overflow:hidden;
  background:linear-gradient(150deg,var(--navy-2),var(--navy));
}
.blog-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  min-height:300px;
  padding:26px 28px 28px;
}
.blog-card-body h3{
  margin-bottom:10px;
  font-size:1.16rem;
}
.blog-card-body p{
  flex:1;
  margin-bottom:18px;
  color:var(--muted);
  font-size:.95rem;
}
.blog-image-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--teal);
  font-family:var(--ff-head);
  font-weight:800;
}
.single-hero{
  padding-bottom:92px;
}
.single-hero h1{
  max-width:920px;
}
.single-hero .single-excerpt{
  max-width:780px;
  color:#C4D4E8;
  font-size:1.1rem;
}
.single-cat{
  display:inline-flex;
  margin-top:18px;
  padding:7px 13px;
  border-radius:999px;
  background:rgba(17,184,200,.14);
  color:var(--teal);
  border:1px solid rgba(17,184,200,.32);
  font-family:var(--ff-head);
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.single-article-section{
  background:linear-gradient(180deg,var(--gray) 0, var(--gray) 180px, #fff 180px);
  padding-top:0;
}
.single-shell{
  max-width:860px;
}
.single-shell .single-featured{
  margin:-48px 0 38px;
  border-radius:18px;
  box-shadow:var(--shadow);
}
.single-shell .single-featured img{width:100%;aspect-ratio:16/9;object-fit:cover}
.single-content{
  padding:0 4px;
  color:#4D5F76;
  font-size:1.08rem;
  line-height:1.9;
}
.single-content>p:first-of-type{
  font-size:1.12rem;
  color:#3F5167;
}
.single-content h2{
  margin-top:46px;
  margin-bottom:16px;
  font-size:clamp(1.55rem,2.6vw,2.15rem);
}
.single-content h3{
  margin-top:30px;
  font-size:1.28rem;
}
.single-content ul,
.single-content ol{
  margin:0 0 24px;
  padding-left:0;
  list-style:none;
}
.single-content li{
  position:relative;
  margin-bottom:10px;
  padding-left:28px;
}
.single-content li::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  width:14px;
  height:8px;
  border-left:2.5px solid var(--teal);
  border-bottom:2.5px solid var(--teal);
  transform:rotate(-45deg);
}
.single-content .cta-band,
.single-consult-cta{
  margin-top:52px;
  padding:46px 38px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
  text-align:center;
  overflow:hidden;
}
.single-content .cta-band h2,
.single-consult-cta h2{
  margin:0;
  color:#fff;
}
.single-content .cta-band p,
.single-consult-cta p{
  max-width:620px;
  margin:14px auto 24px;
  color:#AFC1D8;
}
.single-content .cta-band ul{
  max-width:560px;
  margin:22px auto;
  color:#DCE6F2;
  text-align:left;
}
.single-content .cta-band strong{
  color:#fff;
}
.single-content .cta-band a{
  color:var(--teal);
}
@media(max-width:900px){
  .blog-featured-card{flex-direction:column}
  .blog-featured-media{min-height:260px}
  .blog-featured-body{padding:34px}
  .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .blog-card-media{height:240px}
}
@media(max-width:640px){
  .blog-grid{grid-template-columns:1fr}
  .blog-card-media{height:220px}
  .blog-featured-body{padding:26px}
  .single-shell .single-featured{margin-top:-34px}
  .single-content{font-size:1rem}
  .single-content .cta-band,
  .single-consult-cta{padding:34px 22px}
}

/* ===== Editorial blog redesign ===== */
.blog-listing{
  background:
    linear-gradient(180deg,#fff 0,#fff 94px,var(--gray) 94px,var(--gray) 100%);
}
.blog-section-head{
  max-width:760px;
  margin-bottom:34px;
}
.blog-section-head h2{
  max-width:720px;
}
.blog-grid{
  gap:32px;
}
.blog-card{
  border-color:#dce5ee;
  border-radius:18px;
}
.blog-card-body{
  min-height:320px;
  padding:30px;
}
.blog-card-body h3{
  line-height:1.22;
}
.blog-card-body .link-arrow{
  margin-top:auto;
}
.single-article-section{
  background:
    linear-gradient(180deg,var(--gray) 0,var(--gray) 150px,#fff 150px,#fff 100%);
}
.single-shell{
  max-width:980px;
}
.single-shell .single-featured{
  overflow:hidden;
  background:#fff;
}
.single-content{
  padding:0;
  color:#43546a;
}
.single-content > *{
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}
.single-content .article-panel{
  max-width:900px;
  margin:34px auto;
  padding:40px 44px;
  border:1px solid #dfe8f1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 18px 45px -34px rgba(11,31,58,.42);
}
.single-content .article-panel:first-child{
  margin-top:0;
}
.single-content .article-panel--tint{
  background:#f6fbfc;
  border-color:#cfeef2;
}
.single-content .article-panel--navy{
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
  border-color:transparent;
  color:#dce6f2;
}
.single-content .article-panel--navy h2,
.single-content .article-panel--navy h3,
.single-content .article-panel--navy strong{
  color:#fff;
}
.single-content .article-panel--navy p{
  color:#c3d2e4;
}
.single-content .article-panel h2{
  margin-top:0;
  padding-bottom:16px;
  border-bottom:1px solid #e2eaf2;
}
.single-content .article-panel--navy h2{
  border-bottom-color:rgba(255,255,255,.16);
}
.single-content .article-body p{
  margin-bottom:18px;
}
.single-content .article-body p + p{
  text-indent:1.35em;
}
.single-content .article-lede{
  font-size:1.16rem;
  line-height:1.86;
  color:#35475d;
}
.single-content .article-note{
  margin:26px 0;
  padding:18px 20px;
  border-left:4px solid var(--teal);
  border-radius:0 12px 12px 0;
  background:#edf9fb;
  color:#334b61;
}
.single-content .article-note p,
.single-content .article-note p + p{
  margin:0;
  text-indent:0;
}
.single-content .article-figure{
  max-width:940px;
  margin:36px auto;
}
.single-content .article-figure img{
  display:block;
  width:100%;
  border:1px solid #dfe8f1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 20px 46px -34px rgba(11,31,58,.45);
}
.single-content figcaption{
  margin-top:10px;
  color:#66778c;
  font-size:.92rem;
  line-height:1.55;
  text-align:center;
}
.single-content .article-table{
  max-width:900px;
  margin:26px 0 4px;
  overflow:hidden;
  border:1px solid #dfe8f1;
  border-radius:14px;
  font-family:'Be Vietnam Pro',var(--ff-body);
}
.single-content .article-table table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}
.single-content .article-table th,
.single-content .article-table td{
  padding:15px 17px;
  border-bottom:1px solid #e5edf4;
  vertical-align:top;
}
.single-content .article-table th{
  background:var(--navy);
  color:#fff;
  font-family:'Be Vietnam Pro',var(--ff-body);
  font-weight:800;
  text-align:left;
}
.single-content .article-table tr:last-child td{
  border-bottom:0;
}
.single-content .article-video{
  max-width:900px;
  margin:32px auto;
}
.single-content .article-video .video-frame{
  position:relative;
  height:0;
  overflow:hidden;
  padding-bottom:56.25%;
  border-radius:18px;
  background:#071f3a;
  box-shadow:0 18px 45px -32px rgba(11,31,58,.55);
}
.single-content .article-video iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.single-content .article-visual{
  max-width:940px;
  margin:36px auto;
  padding:34px;
  border:1px solid #dfe8f1;
  border-radius:22px;
  background:#fff;
  box-shadow:0 20px 46px -34px rgba(11,31,58,.45);
  font-family:'Be Vietnam Pro',var(--ff-body);
}
.single-content .article-visual *{
  font-family:'Be Vietnam Pro',var(--ff-body);
}
.article-visual-head{
  margin-bottom:24px;
}
.article-visual-kicker{
  display:inline-flex;
  margin-bottom:10px;
  color:var(--teal-d);
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.article-visual h3{
  margin:0 0 8px;
  color:var(--navy);
  font-size:1.55rem;
  line-height:1.25;
}
.article-visual p{
  margin:0;
  color:#5a6b82;
  text-indent:0 !important;
}
.compare-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.compare-card{
  padding:24px;
  border:1px solid #dfe8f1;
  border-radius:18px;
  background:#f7fafc;
}
.compare-card--agent{
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
  color:#dce6f2;
}
.compare-card h4{
  margin:0 0 10px;
  color:var(--navy);
  font-size:1.35rem;
}
.compare-card--agent h4{
  color:#fff;
}
.compare-card--agent p{
  color:#b8c8dc;
}
.visual-flow{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.visual-pill{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dfe8f1;
  color:var(--navy);
  font-size:.92rem;
  font-weight:700;
}
.compare-card--agent .visual-pill{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.1);
  color:#fff;
}
.visual-arrow{
  color:var(--teal-d);
  font-weight:800;
}
.stat-visual{
  background:linear-gradient(180deg,#fff,#f5f9fc);
}
.stat-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:end;
  margin-top:26px;
}
.stat-card{
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:24px;
  border-radius:18px;
  border:1px solid #dfe8f1;
  background:#fff;
}
.stat-bar{
  width:100%;
  border-radius:16px 16px 8px 8px;
  background:linear-gradient(180deg,var(--teal),#0e9aa8);
}
.stat-card:nth-child(2) .stat-bar{
  background:linear-gradient(180deg,var(--navy-2),var(--navy));
}
.stat-number{
  margin:16px 0 6px;
  color:var(--navy);
  font-size:3.1rem;
  line-height:1;
  font-weight:800;
}
.stat-label{
  color:var(--navy);
  font-weight:800;
}
.stat-desc{
  margin-top:6px;
  color:#5a6b82;
  font-size:.95rem;
}
.flow-visual{
  background:#f7fafc;
}
.process-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:24px;
}
.process-lane{
  padding:24px;
  border-radius:18px;
  border:1px solid #dfe8f1;
  background:#fff;
}
.process-lane--agent{
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
  border-color:transparent;
}
.process-lane h4{
  margin:0 0 18px;
  color:var(--navy);
  font-size:1.2rem;
}
.process-lane--agent h4{
  color:#fff;
}
.process-step{
  padding:13px 15px;
  border-radius:12px;
  background:#f1f5f9;
  color:var(--navy);
  font-weight:700;
}
.process-step + .process-step{
  margin-top:10px;
}
.process-lane--agent .process-step{
  background:#fff;
}
.process-note{
  margin-top:16px !important;
  color:#687a8f !important;
  font-size:.94rem;
}
.process-lane--agent .process-note{
  color:#bfd0e4 !important;
}
.callbot-voice-flow{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:22px;
}
.voice-node{
  min-height:118px;
  padding:18px;
  border:1px solid #dfe8f1;
  border-radius:16px;
  background:#fff;
  color:var(--navy);
}
.voice-node strong{
  display:block;
  margin-bottom:8px;
  color:var(--navy);
  font-size:1rem;
}
.voice-node span{
  color:#5a6b82;
  font-size:.92rem;
  line-height:1.45;
}
.voice-node--dark{
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
  border-color:transparent;
}
.voice-node--dark strong{
  color:#fff;
}
.voice-node--dark span{
  color:#bfd0e4;
}
.funnel-list{
  display:grid;
  gap:12px;
  margin-top:24px;
}
.funnel-step{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:16px;
  align-items:center;
  padding:16px 18px;
  border-radius:16px;
  background:#fff;
  border:1px solid #dfe8f1;
}
.funnel-number{
  color:var(--navy);
  font-size:1.85rem;
  line-height:1;
  font-weight:800;
}
.funnel-label{
  color:#41536a;
  font-weight:700;
}
.funnel-bar{
  height:12px;
  margin-top:10px;
  border-radius:999px;
  background:#e3edf3;
  overflow:hidden;
}
.funnel-fill{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--teal),#0e9aa8);
}
.crm-flow{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:24px;
}
.crm-flow .visual-pill{
  border-radius:14px;
  min-height:50px;
  background:#f7fafc;
}
.callbot-cta-note{
  max-width:760px;
  margin:20px auto 0 !important;
  color:#c3d2e4 !important;
  font-size:.95rem !important;
}
.callbot-audio-demos{
  max-width:900px;
  margin:34px auto;
  padding:34px;
  border:1px solid #dfe8f1;
  border-radius:20px;
  background:#fff;
  box-shadow:0 20px 46px -34px rgba(11,31,58,.45);
  font-family:'Be Vietnam Pro',var(--ff-body);
}
.callbot-audio-demos *{
  font-family:'Be Vietnam Pro',var(--ff-body);
}
.callbot-audio-demos h3{
  margin:0 0 8px;
  color:var(--navy);
  font-size:1.55rem;
}
.callbot-audio-demos > p{
  margin:0 0 22px;
  color:#5a6b82;
  text-indent:0 !important;
}
.callbot-audio-list{
  display:grid;
  gap:16px;
}
.callbot-audio-card{
  padding:18px;
  border:1px solid #dfe8f1;
  border-radius:16px;
  background:#f7fafc;
}
.callbot-audio-card strong{
  display:block;
  color:var(--navy);
  font-size:1.05rem;
}
.callbot-audio-card span{
  display:block;
  margin:4px 0 14px;
  color:#5a6b82;
  font-size:.95rem;
  line-height:1.5;
}
.callbot-audio-card audio{
  display:block;
  width:100%;
  height:42px;
  margin:0;
}
.rag-compare-grid{
  display:grid;
  grid-template-columns:1fr 1.35fr;
  gap:18px;
  margin-top:24px;
}
.rag-card{
  padding:22px;
  border:1px solid #dfe8f1;
  border-radius:18px;
  background:#fff;
}
.rag-card--dark{
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
  border-color:transparent;
  color:#dce6f2;
}
.rag-card h4{
  margin:0 0 14px;
  color:var(--navy);
  font-family:'Be Vietnam Pro',var(--ff-body);
  font-size:1.18rem;
  font-weight:800;
}
.rag-card--dark h4{
  color:#fff;
}
.rag-card--dark p{
  color:#bfd0e4;
}
.rag-pipeline{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-top:24px;
}
.rag-pipeline-step{
  min-height:126px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:16px;
  border:1px solid #dfe8f1;
  border-radius:16px;
  background:#fff;
  color:var(--navy);
  text-align:center;
}
.rag-pipeline-step strong{
  display:block;
  margin-bottom:8px;
  color:var(--navy);
  font-family:'Be Vietnam Pro',var(--ff-body);
  font-size:.98rem;
}
.rag-pipeline-step span{
  color:#5a6b82;
  font-size:.88rem;
  line-height:1.45;
}
.rag-pipeline-step--dark{
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
  border-color:transparent;
}
.rag-pipeline-step--dark strong{
  color:#fff;
}
.rag-pipeline-step--dark span{
  color:#bfd0e4;
}
.rag-value-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:22px;
}
.rag-value-card{
  padding:18px 20px;
  border:1px solid #dfe8f1;
  border-radius:16px;
  background:#f7fafc;
}
.rag-value-card strong{
  display:block;
  margin-bottom:8px;
  color:var(--navy);
  font-family:'Be Vietnam Pro',var(--ff-body);
}
.rag-value-card p{
  margin:0;
  color:#5a6b82;
  text-indent:0 !important;
}
.rag-warning-list{
  display:grid;
  gap:12px;
  margin-top:20px;
}
.rag-warning-item{
  padding:15px 17px;
  border-left:4px solid var(--orange);
  border-radius:0 12px 12px 0;
  background:#fff7f1;
  color:#4d5f76;
}
.single-content .article-steps{
  display:grid;
  gap:14px;
  margin-top:22px;
}
.single-content .article-step{
  padding:18px 20px;
  border:1px solid #e1e9f1;
  border-radius:14px;
  background:#fff;
}
.single-content .article-step strong{
  display:block;
  margin-bottom:6px;
  color:var(--navy);
  font-family:var(--ff-head);
}
.single-content .article-step p{
  margin:0;
  text-indent:0;
}
.single-content .article-faq details{
  padding:18px 0;
  border-bottom:1px solid #e2eaf2;
}
.single-content .article-faq details:last-child{
  border-bottom:0;
}
.single-content .article-faq summary{
  cursor:pointer;
  color:var(--navy);
  font-family:var(--ff-head);
  font-weight:800;
}
.single-content .article-faq p{
  margin:12px 0 0;
  text-indent:0;
}
.single-content .article-sources{
  font-size:.96rem;
}
.single-content .article-sources li{
  padding-left:0;
}
.single-content .article-sources li::before{
  display:none;
}
.single-content .article-sources a{
  color:var(--teal-d);
}
.single-content .cta-band,
.single-consult-cta{
  max-width:940px;
  margin:52px auto 0;
  padding:56px 42px;
  border-radius:24px;
}
.single-content .cta-band p,
.single-consult-cta p{
  text-indent:0;
}
.single-content .cta-band a.btn,
.single-consult-cta a.btn{
  color:var(--navy);
  text-decoration:none;
}
.single-content .cta-band a.btn-ghost,
.single-consult-cta a.btn-ghost{
  color:#fff;
}
@media(max-width:760px){
  .single-content .article-panel{
    padding:30px 22px;
    border-radius:16px;
  }
  .single-content .article-body p + p{
    text-indent:.9em;
  }
  .single-content .article-table{
    overflow-x:auto;
  }
  .single-content .article-visual{
    padding:24px 18px;
    border-radius:18px;
  }
  .callbot-audio-demos{
    padding:24px 18px;
  }
  .compare-grid,
  .stat-grid,
  .process-grid,
  .callbot-voice-flow,
  .rag-compare-grid,
  .rag-pipeline,
  .rag-value-grid{
    grid-template-columns:1fr;
  }
  .funnel-step{
    grid-template-columns:1fr;
  }
  .visual-flow{
    align-items:flex-start;
    flex-direction:column;
  }
  .visual-arrow{
    transform:rotate(90deg);
    margin-left:16px;
  }
  .single-content .cta-band,
  .single-consult-cta{
    padding:42px 24px;
  }
}
