/*
Theme Name: Blue Synergies
Theme URI: https://bluesynergies.com
Author: Murtaza Hussayn
Author URI: https://murtazahussayn.com
Description: Custom WordPress theme for Blue Synergies — bookkeeping, financial reporting, management accounting and Pakistan tax advisory. Custom built by Murtaza Hussayn (murtazahussayn.com).
Version: 1.8.1
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blue-synergies
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =========================================================
   BLUE SYNERGIES — PROTOTYPE V2
   Minimalist / whitespace-first / motion-forward
   Palette: same brand hues as V1, rebalanced toward white
   Type: Sora (headings) + Inter (body — built for UI & numerals)
========================================================= */
:root{
  --navy:      #1E0B7C;
  --navy-deep: #150760;
  --violet:    #4A3893;
  --orange:    #F6921E;
  --orange-deep:#DE7C0E;
  --orange-tint:#FDEDD6;
  --ink:       #1E1930;
  --ink-mute:  #6E6885;
  --white:     #FFFFFF;
  --bg:        #FFFFFF;
  --bg-soft:   #FAF9F6;
  --line:      rgba(30,11,124,0.11);
  --line-soft: rgba(30,11,124,0.06);

  --display: "Sora", "Public Sans", sans-serif;
  --body:    "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: clamp(1180px, 82vw, 1500px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
}

body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--bg);
  font-size:16.5px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--display); margin:0; font-weight:600; color:var(--navy-deep); letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family:inherit; }

:focus-visible{ outline:2.5px solid var(--orange); outline-offset:3px; border-radius:4px; }

.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }

/* Article/blog card grids (Resources page, blog archive, "Read more" grid)
   keep the original 1180px width even on very wide desktop screens, since
   their cards have a fixed-height thumbnail and stretch awkwardly if the
   grid gets much wider than that. Everything else on the site uses the
   wider, fluid --container instead. */
.blog-wrap{ max-width:1180px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--orange-deep);
}
.eyebrow::before{ content:""; width:16px; height:1.5px; background:var(--orange); }

/* ---------- reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in-view > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.in-view > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.in-view > *:nth-child(2){ transition-delay:.13s; }
.reveal-stagger.in-view > *:nth-child(3){ transition-delay:.21s; }
.reveal-stagger.in-view > *:nth-child(4){ transition-delay:.29s; }
.reveal-stagger.in-view > *:nth-child(5){ transition-delay:.37s; }
.reveal-stagger.in-view > *:nth-child(6){ transition-delay:.45s; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-weight:600; font-size:14.5px;
  padding:14px 28px; border-radius:100px;
  border:1.5px solid transparent; cursor:pointer;
  transition:transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary{ background:var(--navy); color:var(--white); }
.btn-primary:hover{ background:var(--navy-deep); transform:translateY(-2px); box-shadow:0 14px 28px -14px rgba(30,11,124,.5); }
.btn-outline{ background:transparent; border-color:var(--line); color:var(--navy-deep); }
.btn-outline:hover{ border-color:var(--navy); background:var(--bg-soft); transform:translateY(-2px); }
.btn-sm{ padding:10px 20px; font-size:13.5px; }
.btn-accent{ background:var(--orange); color:var(--navy-deep); }
.btn-accent:hover{ background:var(--orange-deep); transform:translateY(-2px); box-shadow:0 14px 28px -14px rgba(246,146,30,.45); }

/* =========================================================
   HEADER
========================================================= */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:78px; }
.logo img{ height:28px; width:auto; transition:opacity .3s; }
.logo:hover img{ opacity:.75; }

.main-nav{ display:flex; align-items:center; gap:38px; }
.main-nav ul{ display:flex; gap:32px; }
.main-nav a{
  font-size:14.5px; font-weight:600; color:var(--ink);
  position:relative; padding:6px 1px;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:2px;
  width:100%; height:1.5px; background:var(--orange);
  transform:scaleX(0); transform-origin:left;
  transition:transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after{ transform:scaleX(1); }
.main-nav a[aria-current="page"]{ color:var(--navy-deep); }

.menu-btn{
  display:none; align-items:center; gap:10px;
  background:none; border:none; cursor:pointer;
  font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--navy-deep);
}
@media (max-width:900px){
  .main-nav ul, .main-nav .btn{ display:none; }
  .menu-btn{ display:flex; }
}
.menu-btn .bars{ width:26px; height:16px; position:relative; }
.menu-btn .bars span{
  position:absolute; left:0; width:100%; height:1.6px; background:var(--navy-deep);
  transition:transform .35s var(--ease), opacity .25s var(--ease), width .35s var(--ease);
}
.menu-btn .bars span:nth-child(1){ top:0; }
.menu-btn .bars span:nth-child(2){ top:7px; width:70%; }
.menu-btn .bars span:nth-child(3){ top:14px; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2){ opacity:0; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); width:100%; }

/* slide-in nav panel (used at all sizes when toggled; desktop nav also visible inline) */
.nav-panel{
  position:fixed; inset:0 0 0 auto; width:min(420px,100%);
  height:100vh; background:var(--white);
  box-shadow:-30px 0 60px -20px rgba(20,10,60,.18);
  transform:translateX(100%); transition:transform .5s var(--ease);
  z-index:70; padding:100px 40px 40px;
  display:flex; flex-direction:column; gap:40px;
}
.nav-panel.open{ transform:translateX(0); }
.nav-panel-close{
  position:absolute; top:24px; right:24px; z-index:80;
  display:flex; align-items:center; gap:8px;
  background:var(--bg-soft); border:1px solid var(--line); border-radius:100px;
  padding:10px 18px; cursor:pointer; color:var(--navy-deep);
  font-family:var(--body); font-size:13.5px; font-weight:700;
  opacity:0; transform:translateY(-8px); pointer-events:none;
  transition:opacity .35s var(--ease) .1s, transform .35s var(--ease) .1s, background .25s;
}
.nav-panel-close:hover{ background:var(--orange-tint); color:var(--orange-deep); }
.nav-panel.open .nav-panel-close{ opacity:1; transform:translateY(0); pointer-events:auto; }
.nav-panel ul{ display:flex; flex-direction:column; gap:6px; }
.nav-panel li{ overflow:hidden; }
.nav-panel a{
  display:block; font-family:var(--display); font-size:30px; font-weight:600;
  color:var(--navy-deep); padding:12px 0;
  opacity:0; transform:translateY(16px);
  transition:opacity .5s var(--ease), transform .5s var(--ease), color .25s;
}
.nav-panel.open a{ opacity:1; transform:translateY(0); }
.nav-panel.open li:nth-child(1) a{ transition-delay:.08s; }
.nav-panel.open li:nth-child(2) a{ transition-delay:.14s; }
.nav-panel.open li:nth-child(3) a{ transition-delay:.20s; }
.nav-panel.open li:nth-child(4) a{ transition-delay:.26s; }
.nav-panel.open li:nth-child(5) a{ transition-delay:.32s; }
.nav-panel a:hover{ color:var(--orange-deep); }
.nav-panel .panel-contact{ margin-top:auto; display:flex; flex-direction:column; gap:14px; }
.nav-panel .panel-contact a{ font-family:var(--body); font-size:14.5px; font-weight:600; padding:0; color:var(--ink-mute); opacity:1; transform:none; }
.scrim{
  position:fixed; inset:0; background:rgba(20,10,50,.35);
  opacity:0; pointer-events:none; transition:opacity .4s var(--ease);
  z-index:65; backdrop-filter:blur(2px);
}
.scrim.open{ opacity:1; pointer-events:auto; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer{ background:var(--navy-deep); color:rgba(255,255,255,.75); padding:70px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:46px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-brand .logo img{ height:24px; }
.footer-brand p{ margin-top:16px; font-size:14px; line-height:1.7; color:rgba(255,255,255,.58); max-width:30ch; }
.footer-col h4{ font-family:var(--body); font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--orange); font-weight:700; margin-bottom:16px; }
.footer-col li{ margin-bottom:11px; }
.footer-col a{ font-size:14px; color:rgba(255,255,255,.72); transition:color .2s; }
.footer-col a:hover{ color:var(--white); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:22px; font-size:12.5px; color:rgba(255,255,255,.42); flex-wrap:wrap; gap:12px; }

/* =========================================================
   FLOATING CONTACT DOCK (WhatsApp + Email)
========================================================= */
.contact-dock{
  position:fixed; right:24px; bottom:24px; z-index:80;
  display:flex; flex-direction:column; align-items:flex-end; gap:12px;
}
.dock-btn{
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 28px -10px rgba(20,10,60,.35);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  position:relative;
}
.dock-btn:hover{ transform:translateY(-3px) scale(1.05); }
.dock-whatsapp{ background:#25D366; color:#fff; }
.dock-whatsapp::before{
  content:""; position:absolute; inset:-6px; border-radius:50%;
  border:2px solid #25D366; opacity:.55;
  animation:pulse-ring 2.4s var(--ease) infinite;
}
@keyframes pulse-ring{
  0%{ transform:scale(.9); opacity:.55; }
  70%{ transform:scale(1.35); opacity:0; }
  100%{ transform:scale(1.35); opacity:0; }
}
.dock-email{ background:var(--navy); color:#fff; width:48px; height:48px; }
.dock-label{
  position:absolute; right:64px; top:50%; transform:translateY(-50%) translateX(6px);
  background:var(--ink); color:#fff; font-size:12.5px; font-weight:600;
  padding:7px 12px; border-radius:8px; white-space:nowrap;
  opacity:0; pointer-events:none; transition:opacity .25s var(--ease), transform .25s var(--ease);
}
.dock-btn:hover .dock-label{ opacity:1; transform:translateY(-50%) translateX(0); }

/* =========================================================
   HERO
========================================================= */
.hero{ padding:96px 0 90px; }
.hero .container{ display:grid; grid-template-columns:1.15fr .85fr; gap:50px; align-items:center; }
.hero h1{ font-size:clamp(38px,4.8vw,60px); line-height:1.08; margin-top:20px; }
.hero h1 .accent{ color:var(--orange-deep); }
.hero .lede{ margin-top:22px; font-size:17.5px; line-height:1.75; color:var(--ink-mute); max-width:46ch; }
.hero-actions{ margin-top:34px; display:flex; gap:14px; flex-wrap:wrap; }
.hero-visual{ position:relative; height:340px; border-radius:var(--r-lg); overflow:hidden; }
.hero-visual img{ width:100%; height:100%; object-fit:cover; border-radius:var(--r-lg); }

/* =========================================================
   SECTIONS
========================================================= */
.section{ padding:100px 0; }
.section-tight{ padding:64px 0; }
.section-head{ max-width:620px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(27px,3vw,38px); margin-top:16px; line-height:1.2; }
.section-head p{ margin-top:16px; font-size:16px; color:var(--ink-mute); line-height:1.7; }
.center{ margin-left:auto; margin-right:auto; text-align:center; }
.on-soft{ background:var(--bg-soft); }

/* services grid */
.services-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.services-grid-5{ grid-template-columns:repeat(5,1fr); }
.service-card{
  padding:32px 26px; border:1px solid var(--line-soft); border-radius:var(--r-md);
  display:flex; flex-direction:column; gap:18px;
  transition:border-color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover{ border-color:var(--line); transform:translateY(-4px); box-shadow:0 20px 40px -26px rgba(20,10,60,.25); }
.service-card .tag{ align-self:flex-start; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; background:var(--orange-tint); color:var(--orange-deep); padding:5px 10px; border-radius:100px; }
.service-card h3{ font-size:19px; }
.service-card p{ font-size:14px; color:var(--ink-mute); line-height:1.65; }
.service-card a.more{ margin-top:auto; font-size:13px; font-weight:700; color:var(--navy); display:inline-flex; align-items:center; gap:6px; }
.service-card a.more svg{ transition:transform .25s var(--ease); }
.service-card a.more:hover svg{ transform:translateX(3px); }

/* CTA banner */
.cta-banner{ background:var(--navy-deep); border-radius:var(--r-lg); padding:60px 56px; display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; position:relative; overflow:hidden; }
.cta-banner::before{ content:""; position:absolute; inset:0; background:radial-gradient(45% 80% at 90% 10%, rgba(246,146,30,.22), transparent 70%); }
.cta-banner *{ position:relative; }
.cta-banner h2{ font-size:clamp(23px,2.6vw,30px); color:var(--white); max-width:22ch; }
.cta-banner .btn-primary{ background:var(--orange); color:var(--navy-deep); }
.cta-banner .btn-primary:hover{ background:var(--orange-deep); }

/* page hero (inner) */
.page-hero{ padding:64px 0 70px; border-bottom:1px solid var(--line-soft); }
.page-hero h1{ font-size:clamp(32px,4vw,48px); margin-top:16px; max-width:20ch; }
.page-hero p{ margin-top:18px; color:var(--ink-mute); font-size:16.5px; max-width:56ch; line-height:1.7; }
.tag-row{ display:flex; gap:9px; flex-wrap:wrap; margin-top:24px; }
.tag-row .pill{ font-size:12px; font-weight:700; color:var(--navy-deep); background:var(--bg-soft); border:1px solid var(--line); padding:6px 13px; border-radius:100px; }

/* services detail rows */
.service-detail{ display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:start; padding:72px 0; border-bottom:1px solid var(--line-soft); }
.service-detail:last-of-type{ border-bottom:none; }
.service-detail.reverse{ direction:rtl; }
.service-detail.reverse > *{ direction:ltr; }
.service-detail .frame{ aspect-ratio:4/3.1; border-radius:var(--r-lg); position:relative; overflow:hidden; background:var(--bg-soft); }
.service-detail .frame img{ width:100%; height:100%; object-fit:cover; }
.service-detail .index{ font-family:var(--display); font-weight:600; font-size:13.5px; color:var(--orange-deep); }
.service-detail h3{ font-size:clamp(23px,2.6vw,28px); margin-top:8px; }
.service-detail .desc{ margin-top:16px; color:var(--ink-mute); font-size:15.5px; line-height:1.75; }
.included{ margin-top:24px; display:grid; gap:11px; }
.included li{ display:flex; gap:11px; align-items:flex-start; font-size:14.5px; color:var(--ink); }
.included li svg{ flex-shrink:0; margin-top:3px; color:var(--orange-deep); }
.pk-flag{ display:inline-flex; align-items:center; gap:8px; margin-top:20px; font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--navy); background:var(--bg-soft); padding:8px 14px; border-radius:100px; }
.pk-flag .dot{ width:7px; height:7px; border-radius:50%; background:var(--orange); }

/* blog + glossary */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.post-card{ border:1px solid var(--line-soft); border-radius:var(--r-md); overflow:hidden; background:var(--white); display:flex; flex-direction:column; transition:transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -26px rgba(20,10,60,.22); }
.post-card .thumb{ height:130px; position:relative; background:var(--bg-soft); overflow:hidden; }
.post-card .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.post-card .body{ padding:24px 22px 28px; display:flex; flex-direction:column; gap:11px; flex:1; }
.post-card .meta{ font-size:12px; color:var(--ink-mute); display:flex; gap:9px; align-items:center; }
.post-card .meta .cat{ color:var(--orange-deep); font-weight:700; text-transform:uppercase; letter-spacing:.05em; font-size:11px; }
.post-card h3{ font-size:17px; line-height:1.35; }
.post-card p.excerpt{ font-size:13.5px; color:var(--ink-mute); line-height:1.6; }
.post-card .read{ margin-top:auto; font-size:12.5px; font-weight:700; color:var(--navy); }

.glossary-wrap{ display:grid; grid-template-columns:200px 1fr; gap:50px; align-items:start; }
.alpha-nav{ position:sticky; top:104px; display:flex; flex-wrap:wrap; gap:7px; max-width:200px; }
.alpha-nav a{ width:28px; height:28px; display:flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:700; color:var(--ink-mute); border-radius:50%; transition:background .2s, color .2s; }
.alpha-nav a:hover{ background:var(--bg-soft); color:var(--navy-deep); }
.glossary-group{ margin-bottom:40px; }
.glossary-group .letter{ font-family:var(--display); font-weight:700; font-size:26px; color:var(--orange-deep); margin-bottom:16px; }
.glossary-item{ padding:18px 0; border-bottom:1px solid var(--line-soft); }
.glossary-item dt{ font-weight:700; font-size:15.5px; color:var(--navy-deep); }
.glossary-item dd{ margin:7px 0 0; font-size:14px; color:var(--ink-mute); line-height:1.65; }
.glossary-item dd .formula{ margin-top:8px; font-size:13px; color:var(--ink-mute); background:var(--bg-soft); border-radius:8px; padding:9px 12px; }
.glossary-item dd .formula strong{ color:var(--navy-deep); }
.glossary-item dd .formula-list{ margin-top:8px; padding:9px 12px; background:var(--bg-soft); border-radius:8px; list-style:none; display:flex; flex-direction:column; gap:5px; }
.glossary-item dd .formula-list li{ font-size:13px; color:var(--ink-mute); }
.glossary-disclaimer{ margin-top:44px; padding-top:28px; border-top:1px solid var(--line-soft); font-size:13px; color:var(--ink-mute); font-style:italic; max-width:78ch; }

/* about extras */
.timeline-note{ margin-top:26px; padding:20px 22px; border-left:2.5px solid var(--orange); background:var(--bg-soft); border-radius:0 var(--r-sm) var(--r-sm) 0; font-size:14px; color:var(--ink-mute); }

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-wrap{ display:grid; grid-template-columns:.95fr 1.05fr; gap:64px; align-items:start; }
.contact-options{ display:flex; flex-direction:column; gap:16px; }
.contact-option{
  display:flex; align-items:center; gap:16px; padding:22px 22px;
  border:1px solid var(--line-soft); border-radius:var(--r-md);
  transition:transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-option:hover{ transform:translateY(-3px); border-color:var(--line); box-shadow:0 18px 36px -24px rgba(20,10,60,.25); }
.contact-option .icon{ width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-option.whatsapp .icon{ background:#e8fbef; color:#25D366; }
.contact-option.email .icon{ background:var(--orange-tint); color:var(--orange-deep); }
.contact-option.phone .icon{ background:#eef0fb; color:var(--navy); }
.contact-option h4{ font-family:var(--display); font-size:16px; color:var(--navy-deep); font-weight:600; }
.contact-option p{ font-size:13.5px; color:var(--ink-mute); margin-top:3px; }

/* =========================================================
   FORM PLUGIN PLACEHOLDER (page-contact.php)
   Generic tag-level styling so any plugin's markup (WPForms,
   Contact Form 7, Fluent Forms, Gravity Forms, HubSpot, etc.)
   picks up the theme's card/input/button look automatically,
   without needing that plugin's own CSS classes targeted.
   Scoped entirely to .bs-form-placeholder so nothing outside
   the swapped-out form area is affected.
========================================================= */
.bs-form-placeholder{
  background:var(--bg-soft); border-radius:var(--r-lg); padding:40px;
}
.bs-form-placeholder label{
  display:block; font-size:13px; font-weight:700; color:var(--navy-deep);
  margin-bottom:8px;
}
.bs-form-placeholder input[type="text"],
.bs-form-placeholder input[type="email"],
.bs-form-placeholder input[type="tel"],
.bs-form-placeholder input[type="url"],
.bs-form-placeholder input[type="number"],
.bs-form-placeholder input:not([type]),
.bs-form-placeholder select,
.bs-form-placeholder textarea{
  width:100%; border:1.5px solid var(--line); border-radius:10px;
  padding:13px 15px; font-family:var(--body); font-size:14.5px; color:var(--ink);
  background:var(--white); transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
  margin-bottom:18px; box-sizing:border-box;
}
.bs-form-placeholder input[type="text"]:focus,
.bs-form-placeholder input[type="email"]:focus,
.bs-form-placeholder input[type="tel"]:focus,
.bs-form-placeholder input[type="url"]:focus,
.bs-form-placeholder input[type="number"]:focus,
.bs-form-placeholder input:not([type]):focus,
.bs-form-placeholder select:focus,
.bs-form-placeholder textarea:focus{
  outline:none; border-color:var(--navy); box-shadow:0 0 0 4px rgba(30,11,124,.08);
}
.bs-form-placeholder textarea{ resize:vertical; min-height:120px; }
.bs-form-placeholder button,
.bs-form-placeholder input[type="submit"]{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  width:100%; font-weight:600; font-size:14.5px; font-family:var(--body);
  padding:14px 28px; border-radius:100px; border:1.5px solid transparent;
  background:var(--navy); color:var(--white); cursor:pointer;
  transition:transform .4s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.bs-form-placeholder button:hover,
.bs-form-placeholder input[type="submit"]:hover{
  background:var(--navy-deep); transform:translateY(-2px);
  box-shadow:0 14px 28px -14px rgba(30,11,124,.5);
}
.bs-form-placeholder p{ font-size:13.5px; color:var(--ink-mute); line-height:1.6; }
/* Two-column layout some plugins support (e.g. WPForms "form-row" class) */
.bs-form-placeholder .form-row,
.bs-form-placeholder .wpforms-field-row{
  display:grid; grid-template-columns:1fr 1fr; gap:0 16px;
}
@media (max-width:780px){
  .bs-form-placeholder{ padding:28px 24px; }
  .bs-form-placeholder .form-row,
  .bs-form-placeholder .wpforms-field-row{ grid-template-columns:1fr; }
}

.offices-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); border-radius:var(--r-md); overflow:hidden; margin-top:56px; }
.office{ background:var(--white); padding:26px 22px; }
.office .flag-label{ font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--orange-deep); }
.office h4{ font-family:var(--display); font-size:16.5px; margin-top:8px; }
.office p{ font-size:13px; color:var(--ink-mute); margin-top:6px; line-height:1.6; }

/* =========================================================
   RESPONSIVE
========================================================= */
/* =========================================================
   TRUST BAR (badges under hero)
========================================================= */
.trust-badges{ border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); background:var(--bg-soft); }
.trust-badges .container{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:28px; padding:26px 28px; }
.trust-badge{ display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:600; color:var(--ink-mute); }
.trust-badge svg{ color:var(--orange-deep); flex-shrink:0; }
.trust-badge strong{ color:var(--navy-deep); font-family:var(--display); font-weight:700; }

/* =========================================================
   WHY CHOOSE US
========================================================= */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.why-grid-3{ grid-template-columns:repeat(3,1fr); }
.why-card{ padding:8px 4px; }
.why-card .num{ font-family:var(--display); font-size:14px; font-weight:700; color:var(--orange-deep); }
.why-card h3{ font-size:18px; margin-top:12px; }
.why-card p{ margin-top:10px; font-size:14px; color:var(--ink-mute); line-height:1.65; }

/* =========================================================
   FOUNDER (about page)
========================================================= */
.founder-block .desc{ color:var(--ink-mute); }
.founder-avatar{
  width:200px; height:200px; border-radius:50%; margin:18px auto 22px;
  background:linear-gradient(155deg,var(--violet),var(--navy));
  overflow:hidden;
}
.founder-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }

/* =========================================================
   INDUSTRIES
========================================================= */
.industries-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.industry-chip{
  display:flex; align-items:center; gap:14px;
  padding:20px 22px; border:1px solid var(--line-soft); border-radius:var(--r-md);
  transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.industry-chip:hover{ transform:translateY(-3px); border-color:var(--line); }
.industry-chip .ico{ width:38px; height:38px; border-radius:10px; background:var(--orange-tint); color:var(--orange-deep); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.industry-chip span.label{ font-size:14.5px; font-weight:600; color:var(--navy-deep); }

/* =========================================================
   FAQ ACCORDION
========================================================= */
.faq-list{ max-width:800px; }
.faq-item{ border-bottom:1px solid var(--line-soft); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:24px 4px; font-family:var(--display); font-weight:600; font-size:16.5px; color:var(--navy-deep);
}
.faq-q .plus{ position:relative; width:20px; height:20px; flex-shrink:0; }
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; background:var(--orange-deep); border-radius:2px; transition:transform .3s var(--ease);
}
.faq-q .plus::before{ left:0; top:9px; width:20px; height:2px; }
.faq-q .plus::after{ left:9px; top:0; width:2px; height:20px; }
.faq-item.open .faq-q .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq-item.open .faq-a{ max-height:260px; }
.faq-a p{ padding:0 4px 24px; font-size:14.5px; color:var(--ink-mute); line-height:1.7; max-width:70ch; }

/* =========================================================
   TOOLS / SOFTWARE STRIP
========================================================= */
.tools-strip{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.tool-badge{
  padding:12px 22px; border:1px solid var(--line); border-radius:100px;
  font-size:13.5px; font-weight:700; color:var(--navy-deep); background:var(--white);
}

@media (max-width:1000px){
  .services-grid-5{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:repeat(2,1fr); }
  .industries-grid{ grid-template-columns:1fr 1fr; }
  .trust-badges .container{ justify-content:center; }
}
@media (max-width:780px){
  .why-grid{ grid-template-columns:1fr; }
  .industries-grid{ grid-template-columns:1fr; }
}

@media (max-width:1000px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:36px 24px; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .service-detail{ grid-template-columns:1fr; gap:28px; }
  .service-detail.reverse{ direction:ltr; }
  .glossary-wrap{ grid-template-columns:1fr; }
  .alpha-nav{ position:static; max-width:none; }
  .contact-wrap{ grid-template-columns:1fr; gap:40px; }
  .offices-strip{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:780px){
  .main-nav ul, .main-nav .btn{ display:none; }
  .menu-btn{ display:flex; }
  .hero .container{ grid-template-columns:1fr; }
  .hero-visual{ height:200px; order:-1; }
  .hero{ padding:44px 0 56px; }
  .section{ padding:60px 0; }
  .services-grid{ grid-template-columns:1fr; }
  .blog-grid{ grid-template-columns:1fr; }
  .cta-banner{ padding:36px 26px; flex-direction:column; align-items:flex-start; }
  .footer-grid{ grid-template-columns:1fr; gap:30px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .service-detail{ padding:48px 0; }
  .nav-panel{ padding:90px 28px 32px; }
  .nav-panel a{ font-size:24px; }
  .offices-strip{ grid-template-columns:1fr; }
  .contact-dock{ right:16px; bottom:16px; }
}

/* =========================================================
   ARTICLE / BLOG POST PAGES
========================================================= */
.article-hero{ padding:56px 0 44px; border-bottom:1px solid var(--line-soft); }
.back-link{
  display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700;
  color:var(--ink-mute); margin-bottom:26px; transition:color .25s var(--ease), gap .25s var(--ease);
}
.back-link:hover{ color:var(--navy-deep); gap:12px; }
.article-meta{ display:flex; align-items:center; gap:12px; font-size:13px; color:var(--ink-mute); margin-top:18px; }
.article-meta .cat{ color:var(--orange-deep); font-weight:700; text-transform:uppercase; letter-spacing:.05em; font-size:11.5px; }
.article-hero h1{ font-size:clamp(30px,3.6vw,44px); margin-top:16px; max-width:26ch; line-height:1.16; }

.prose{ max-width:740px; margin:0 auto; padding:56px 0 30px; }
.prose p{ font-size:16.5px; line-height:1.85; color:var(--ink); margin-bottom:22px; }
.prose h3{ font-size:20px; margin-top:44px; margin-bottom:16px; color:var(--navy-deep); }
.prose ul{ margin:0 0 22px; padding-left:22px; list-style:disc; }
.prose ul li{ font-size:15.5px; line-height:1.8; color:var(--ink); margin-bottom:8px; }
.prose strong{ color:var(--navy-deep); }
.prose em{ color:var(--ink); }

.article-cta{
  max-width:740px; margin:44px auto 0; padding:32px 34px;
  background:var(--bg-soft); border-radius:var(--r-md);
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.article-cta p{ font-family:var(--display); font-weight:600; font-size:17px; color:var(--navy-deep); margin:0; max-width:32ch; }

.related-wrap{ max-width:1040px; margin:0 auto; }

/* =========================================================
   V1.8.1 — LARGE DESKTOP / PC ENHANCEMENT
   Everything below only fires at 1200px+ (well above every
   mobile/tablet breakpoint used elsewhere in this file: 780,
   900, 1000px). Mobile and tablet layouts are untouched.
   Purpose: on big monitors the fixed --container max-width
   (1500px) was leaving large empty margins either side of a
   relatively narrow, small-type layout. This widens the
   container and nudges type up a step so the page fills a
   PC screen properly, without altering flow or breakpoints.
========================================================= */
@media (min-width:1200px){
  :root{
    --container: clamp(1180px, 88vw, 1680px);
  }
  body{ font-size:17.5px; }

  .hero h1{ font-size:clamp(44px,4.6vw,68px); }
  .hero .lede{ font-size:19px; max-width:50ch; }

  .section-head{ max-width:680px; }
  .section-head h2{ font-size:clamp(30px,3.2vw,42px); }
  .section-head p{ font-size:17.5px; }

  .service-card h3{ font-size:21px; }
  .service-card p{ font-size:15.5px; }

  .page-hero h1{ font-size:clamp(36px,4.3vw,52px); }
  .page-hero p{ font-size:18px; max-width:62ch; }

  .main-nav a{ font-size:15.5px; }
  .btn{ font-size:15.5px; padding:15px 30px; }

  .why-card h3{ font-size:19.5px; }
  .why-card p{ font-size:15px; }

  .value h3{ font-size:19.5px; }
  .value p{ font-size:15px; }

  .service-detail h3{ font-size:clamp(25px,2.6vw,30px); }
  .service-detail .desc{ font-size:17px; }

  .post-card h3{ font-size:18.5px; }
  .post-card p.excerpt{ font-size:14.5px; }

  .prose{ max-width:800px; }
  .prose p{ font-size:18px; }
  .prose ul li{ font-size:16.5px; }

  .cta-banner h2{ font-size:clamp(25px,2.6vw,32px); }
  .footer-col a{ font-size:15px; }
  .footer-brand p{ font-size:15px; }
}
@media (min-width:1600px){
  :root{
    --container: clamp(1180px, 84vw, 1780px);
  }
}
