/*
Theme Name: Arch CRM Solutions
Theme URI: https://archcrmsoultions.com
Author: Arch CRM Solutions
Description: Custom WordPress theme for Arch CRM Solutions, converted from the Arch CRM Solutions v2 design (source/Arch CRM Solutions v2.dc.html).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: arch-crm-solutions
*/

/* ==========================================================================
   Design tokens (ported 1:1 from the .dc.html source :root block)
   ========================================================================== */
:root{
  --ink:#0c1024;--ink-soft:#3b4260;--ink-mute:#6b7391;
  --paper:#ffffff;--tint:#f2f7fd;--tint-2:#e7f1fc;--line:#e2e9f4;
  --sky:#4fb3f9;--sky-soft:#e6f3fe;--deep:#0d2a6b;
  --grad-soft:linear-gradient(180deg,#eaf3fd 0%,#f7fbff 55%,#ffffff 100%);
  --grad-arc:linear-gradient(160deg,#dceeff 0%,#eaf3fd 42%,#f9fcff 100%);
  --brand:#0b5ed7;--brand-dark:#0a4bad;--brand-soft:#e8f0fe;
  --violet:#1f8ae8;--violet-soft:#e6f3fe;
  --r:16px;--r-sm:10px;
  --sh-sm:0 1px 2px rgba(12,16,36,.06),0 1px 3px rgba(12,16,36,.04);
  --sh:0 8px 24px rgba(12,16,36,.07),0 2px 6px rgba(12,16,36,.04);
  --sh-lg:0 24px 60px rgba(12,16,36,.12);
}

/* ==========================================================================
   Base
   ========================================================================== */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'Manrope',system-ui,sans-serif;font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-wrap:break-word}
h1,h2,h3,h4{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-weight:800;letter-spacing:-0.03em;line-height:1.08;margin:0;overflow-wrap:break-word}
p{margin:0}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-dark)}
button{font-family:inherit}
img{max-width:100%;display:block}
ul{list-style:none;margin:0;padding:0}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* Several components below set their own `display` (flex/grid) unconditionally,
   which would otherwise win over the UA [hidden] rule at equal specificity
   (author origin beats user-agent origin). Force it explicitly so JS-driven
   `el.hidden = true/false` toggles (services tabs, contact-form success state)
   always work regardless of a component's own display value. */
[hidden]{display:none!important}
::selection{background:var(--brand-soft)}
input,select,textarea{font-family:inherit}

@keyframes m2{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.min-w-0{min-width:0}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{border:0;border-radius:999px;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;cursor:pointer;display:inline-block;text-align:center}
.btn-primary{background:var(--brand);color:#fff;padding:12px 20px;font-size:14px;box-shadow:var(--sh-sm)}
.btn-primary:hover{color:#fff;background:var(--brand-dark)}
.btn-primary-lg{background:var(--brand);color:#fff;padding:16px 26px;font-size:16px;box-shadow:var(--sh)}
.btn-primary-lg:hover{color:#fff;background:var(--brand-dark)}
.btn-white{background:#fff;color:#0a2f80;padding:16px 26px;font-size:16px;box-shadow:var(--sh)}
.btn-white:hover{color:#0a2f80;opacity:.92}
.btn-outline-light{border:1px solid rgba(255,255,255,.5);background:transparent;color:#fff;padding:16px 26px;font-size:16px}
.btn-outline-light:hover{color:#fff;border-color:#fff}
.btn-outline{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:13px 22px;font-size:15px}
.btn-outline:hover{color:var(--ink);border-color:#c7cfe6}
.btn-dark-cta{background:#fff;color:var(--ink);padding:15px 24px;font-size:16px}
.btn-dark-cta:hover{color:var(--ink);opacity:.92}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid transparent;box-shadow:none;transition:box-shadow 220ms ease,border-color 220ms ease}
.site-header.is-scrolled{border-bottom-color:var(--line);box-shadow:var(--sh-sm)}
.header-inner{max-width:1200px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:28px}
.logo-link{border:0;background:none;padding:0;cursor:pointer;flex:none;display:flex;align-items:center}
.logo-link img{height:78px;width:auto;display:block}

.primary-nav{margin-left:auto;gap:6px;align-items:center;display:flex}
.primary-nav ul{display:flex;align-items:center;gap:6px}
.nav-link{border:0;background:transparent;border-radius:999px;padding:9px 15px;cursor:pointer;font-family:Manrope,sans-serif;font-size:15px;font-weight:600;color:var(--ink-soft);display:inline-block}
.nav-link:hover{color:var(--ink-soft)}
.nav-link.is-active,.nav-link[aria-current="page"]{background:var(--tint-2);color:var(--brand);font-weight:700}

.header-cta{gap:14px;align-items:center;flex:none;display:flex}
.header-phone{width:42px;height:42px;border-radius:999px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--ink);flex:none;transition:color 160ms ease,border-color 160ms ease}
.header-phone:hover{color:var(--brand);border-color:var(--brand)}

.burger{margin-left:auto;width:46px;height:46px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);align-items:center;justify-content:center;cursor:pointer;flex:none;display:none}

@media (max-width:1079px){
  .primary-nav,.header-cta{display:none}
  .burger{display:inline-flex}
}

/* Mobile drawer */
.drawer-overlay{position:fixed;inset:0;z-index:60;background:rgba(12,16,36,.5);display:none;justify-content:flex-end}
.drawer-overlay.is-open{display:flex}
.drawer-panel{width:min(340px,88vw);background:var(--paper);height:100%;padding:20px 24px;display:flex;flex-direction:column;gap:4px}
.drawer-close{align-self:flex-end;width:44px;height:44px;border:1px solid var(--line);border-radius:999px;background:var(--paper);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink)}
.drawer-link{border:0;background:none;text-align:left;padding:14px 0;border-bottom:1px solid var(--line);cursor:pointer;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:19px;color:var(--ink);display:block;width:100%}
.drawer-link.is-active,.drawer-link[aria-current="page"]{color:var(--brand)}
.drawer-cta{margin-top:20px;width:100%}
.drawer-phone{margin-top:14px;font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:22px;color:var(--ink);display:block}

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.hero{position:relative;background-color:#0b2f8f;background-size:cover;background-position:72% center;background-repeat:no-repeat}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(96deg,#071a4d 0%,rgba(7,26,77,.94) 34%,rgba(9,38,110,.72) 56%,rgba(11,58,150,.28) 78%,rgba(11,58,150,.08) 100%)}
.hero-inner{position:relative;max-width:1200px;margin:0 auto;padding:96px 24px 104px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:48px;align-items:center}
.hero-copy{color:#fff}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:700;color:#fff}
.hero-badge-dot{width:7px;height:7px;border-radius:999px;background:#9fd0fb;flex:none}
.hero-copy h1{margin:22px 0 0;font-size:clamp(34px,3.6vw,50px);color:#fff}
/* .hero-break: forces the headline into exactly 3 lines on desktop/large
   layouts (>=1080px, matching the nav's own desktop cutoff) without a fixed
   width that could overflow narrower screens. Below that, the <br> is
   simply not rendered and the sentence wraps naturally at whatever width
   the viewport gives it. The clamp's ceiling was also brought down from
   62px to 50px (still a large display headline) — at 62px the longest of
   the 3 forced lines ("We manage your IT,") no longer reliably fit within
   the hero's own two-column width and would silently re-wrap into a 4th
   line; 50px keeps a comfortable margin at 1080px and at very wide desktop
   viewports alike. */
.hero-break{display:none}
@media (min-width:1080px){
  .hero-break{display:inline}
}
.hero-lead{margin:22px 0 32px;font-size:19px;color:#d5e3fb;max-width:48ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:36px}
.hero-proof{display:flex;flex-wrap:wrap;gap:14px 30px;align-items:center}
.hero-proof-item .val{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:26px;color:#fff}
.hero-proof-item .lbl{font-size:14px;color:#a9c3ea}
.hero-cards{display:flex;flex-direction:column;align-items:stretch;gap:12px;max-width:340px;margin-left:auto}
.hero-card{background:rgba(255,255,255,.96);border-radius:var(--r);box-shadow:var(--sh-lg);padding:16px 20px;display:flex;align-items:center;gap:14px}
.hero-card-icon{width:40px;height:40px;border-radius:999px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;flex:none}
.hero-card-title{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:16px;color:var(--ink)}
.hero-card-body{font-size:13px;color:var(--ink-mute)}

/* ==========================================================================
   Platform marquee
   ========================================================================== */
.platforms{border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden}
.platforms-inner{max-width:1200px;margin:0 auto;padding:22px 24px;display:flex;align-items:center;gap:32px}
.platforms-label{flex:none;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-mute);font-weight:700}
.platforms-track-wrap{flex:1;min-width:0;overflow:hidden}
.platforms-track{display:flex;gap:46px;width:max-content;animation:m2 26s linear infinite}
.platforms-track span{font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:18px;color:var(--ink-mute);white-space:nowrap}

/* ==========================================================================
   Section building blocks
   ========================================================================== */
/* Vertical padding only — .container supplies the 24px horizontal gutter +
   max-width, exactly mirroring the source's single-div
   `max-width:1200px;margin:0 auto;padding:Vpx 24px` pattern without
   stacking horizontal padding twice when the two classes are nested. */
.section{padding:88px 0}
.section--tight{padding:72px 0}
.section--soft{background:var(--grad-soft)}
.section-head{max-width:44ch;margin-bottom:44px}
.section-head--split{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-end;margin-bottom:40px}
.section-head--split .section-head{max-width:40ch;margin-bottom:0}
.eyebrow{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);font-weight:700;margin-bottom:14px}
.h2-lg{font-size:clamp(30px,3.6vw,44px)}
.h2-md{font-size:clamp(26px,3vw,38px)}
.section-lede{margin:18px 0 0;color:var(--ink-soft)}

/* Per-page section padding that has to match an exact (often asymmetric)
   source value rather than the .section/.section--tight defaults. Kept as
   real classes rather than inline styles specifically so the mobile
   breakpoint below can override them normally. */
.pt-0{padding-top:0}
.pt-40{padding-top:40px}
.pt-44{padding-top:44px}
.pt-48{padding-top:48px}
.pt-56{padding-top:56px}
.pt-80{padding-top:80px}
.pb-80{padding-bottom:80px}
.pb-88{padding-bottom:88px}

/* Page hero (inner pages) */
.page-hero{background:var(--grad-soft)}
.page-hero-inner{max-width:1200px;margin:0 auto;padding:64px 24px 56px}
.page-hero-inner h1{margin:0;font-size:clamp(34px,4.6vw,56px)}
.page-hero-lead{margin:22px 0 0;max-width:54ch;font-size:19px;color:var(--ink-soft)}

/* ==========================================================================
   Services grid (cards)
   ========================================================================== */
.services-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:24px}
.service-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:30px;display:flex;flex-direction:column;gap:14px;min-width:0;box-shadow:var(--sh-sm);transition:box-shadow 200ms ease,border-color 200ms ease}
.service-card:hover{box-shadow:var(--sh);border-color:#d5daf3}
.service-card-icon{width:52px;height:52px;border-radius:14px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center}
.service-card h3{margin:0;font-size:23px}
.service-card p{font-size:16px;color:var(--ink-soft)}
.service-card-list{margin:4px 0 0;display:flex;flex-direction:column;gap:8px}
.service-card-list li{display:flex;gap:10px;font-size:15px;color:var(--ink-soft)}
.service-card-list svg{flex:none;margin-top:5px}

/* Services page: tabs + detail */
.service-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:40px}
.service-tab{border:1px solid var(--line);background:var(--paper);color:var(--ink-soft);border-radius:999px;padding:11px 20px;cursor:pointer;font-family:Manrope,sans-serif;font-size:15px;font-weight:700}
.service-tab.is-active{border-color:transparent;background:var(--brand);color:#fff}
.service-detail{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:48px;align-items:center}
.service-detail-icon{width:56px;height:56px;border-radius:16px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.service-detail h2{margin:0 0 16px;font-size:clamp(28px,3.4vw,40px)}
.service-detail p{margin:0 0 26px;font-size:18px;color:var(--ink-soft);max-width:46ch}
.service-detail-bullets{display:flex;flex-direction:column;gap:12px}
.service-detail-bullets div{background:var(--tint);border-radius:var(--r-sm);padding:18px 20px;display:flex;gap:12px;font-size:17px;color:var(--ink)}
.service-detail-bullets svg{flex:none;margin-top:5px}
.services-all-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:24px}
.service-mini-card{background:var(--paper);border-radius:var(--r);padding:28px;min-width:0;box-shadow:var(--sh-sm)}
.service-mini-card .icon{width:48px;height:48px;border-radius:14px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.service-mini-card h3{margin:0 0 8px;font-size:20px}
.service-mini-card p{margin:0;font-size:15px;color:var(--ink-soft)}

/* ==========================================================================
   Dark reasons band ("Simplifying IT")
   ========================================================================== */
.reasons-band{background:linear-gradient(155deg,var(--ink) 0%,#14306e 62%,#1b4a9c 100%);color:#fff}
.reasons-band-inner{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:48px;align-items:center}
.reasons-band h2{color:#fff;font-size:clamp(30px,3.6vw,44px)}
.reasons-band .lede{margin:20px 0 0;font-size:18px;color:#a8b0d0;max-width:44ch}
.reasons-grid-dark{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:22px;margin:28px 0}
.reason-card-dark{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:var(--r);padding:22px;min-width:0}
.reason-card-dark .icon{width:40px;height:40px;border-radius:12px;background:rgba(79,179,249,.2);color:#9fd0fb;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.reason-card-dark h3{margin:0 0 7px;font-size:18px;color:#fff}
.reason-card-dark p{margin:0;font-size:15px;color:#a8b0d0}

/* Reasons grid — light variant (About page) */
.reasons-grid-light{display:flex;flex-direction:column;gap:14px}
.reason-card-light{background:var(--tint);border-radius:var(--r-sm);padding:22px}
.reason-card-light h3{margin:0 0 7px;font-size:19px}
.reason-card-light p{margin:0;font-size:16px;color:var(--ink-soft)}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:24px}
.stat-card{background:var(--tint);border-radius:var(--r);padding:30px;min-width:0}
.stat-card .value{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:clamp(36px,4.2vw,50px);letter-spacing:-0.04em;color:var(--brand)}
.stat-card .label{margin-top:8px;font-size:15px;color:var(--ink-soft)}
/* About page uses paper cards instead of tint */
.stats-grid--paper .stat-card{background:var(--paper);box-shadow:var(--sh-sm)}
.stats-grid--paper .stat-card .value{font-size:clamp(34px,4vw,48px)}

/* ==========================================================================
   Process steps
   ========================================================================== */
.process-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:24px}
.process-card{background:var(--paper);border-radius:var(--r);padding:28px;min-width:0;box-shadow:var(--sh-sm)}
.process-card .num{width:40px;height:40px;border-radius:999px;background:linear-gradient(150deg,var(--brand),var(--deep));color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:14px;margin-bottom:18px}
.process-card h3{margin:0 0 9px;font-size:21px}
.process-card p{margin:0;font-size:15px;color:var(--ink-soft)}

/* ==========================================================================
   Industries
   ========================================================================== */
.industries-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:24px}
.industries-grid--wide{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr))}
.industry-card{border-radius:var(--r);padding:28px;min-width:0}
.industries-grid--wide .industry-card{padding:34px}
.industry-card .icon{width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.7);color:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.industries-grid--wide .industry-card .icon{width:48px;height:48px}
.industry-card h3{margin:0 0 8px;font-size:21px}
.industries-grid--wide .industry-card h2{margin:0 0 10px;font-size:23px}
.industry-card p{margin:0;font-size:15px;color:var(--ink-soft)}
.industries-grid--wide .industry-card p{font-size:16px}

.industries-cta{background:linear-gradient(150deg,var(--ink) 0%,#14306e 100%);border-radius:24px;padding:48px;display:flex;flex-wrap:wrap;gap:28px;align-items:center}
.industries-cta h2{margin:0;font-size:clamp(24px,3vw,36px);color:#fff;max-width:26ch}
.industries-cta .btn{margin-left:auto}

/* ==========================================================================
   Case studies (Work)
   ========================================================================== */
.cases-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:24px}
.case-card{background:var(--paper);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh-sm);display:flex;flex-direction:column;min-width:0}
.case-card-img{height:210px;background-color:#0c1024;background-size:cover;background-position:center;background-repeat:no-repeat}
.case-card-body{padding:26px;display:flex;flex-direction:column;gap:12px;flex:1}
.case-tag{align-self:flex-start;background:var(--violet-soft);color:var(--brand-dark);border-radius:999px;padding:5px 12px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.case-card-body h3{margin:0;font-size:21px;line-height:1.25}
.case-card-body p{margin:0;font-size:15px;color:var(--ink-soft)}
.case-result{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);font-size:15px;font-weight:700;color:var(--brand)}

/* Work index page — full-width rows */
.case-rows{display:flex;flex-direction:column;gap:56px}
.case-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:44px;align-items:center}
.case-row-img{height:300px;border-radius:var(--r);box-shadow:var(--sh);background-color:#0c1024;background-size:cover;background-position:center;background-repeat:no-repeat}
.case-row h2{margin:16px 0 14px;font-size:clamp(24px,2.8vw,34px)}
.case-row p{margin:0 0 20px;font-size:17px;color:var(--ink-soft);max-width:48ch}
.case-row-result{display:inline-block;background:var(--brand-soft);color:var(--brand-dark);border-radius:var(--r-sm);padding:12px 18px;font-size:16px;font-weight:700}

/* Single case study */
.case-single-hero-img{height:380px;border-radius:var(--r);box-shadow:var(--sh);background-color:#0c1024;background-size:cover;background-position:center;background-repeat:no-repeat;margin-bottom:32px}
.case-single-body{font-size:18px;color:var(--ink-soft);max-width:70ch}
.case-single-body p{margin:0 0 20px}
/* Same heading/list treatment as .insight-single-body — case studies never
   used H2/H3 structure before, so this gap existed here too. */
.case-single-body h2{margin:40px 0 16px;font-size:26px;color:var(--ink)}
.case-single-body h2:first-child{margin-top:0}
.case-single-body h3{margin:28px 0 12px;font-size:21px;color:var(--ink)}
.case-single-body ul,.case-single-body ol{margin:0 0 20px;padding-left:22px}
.case-single-body ul{list-style:disc}
.case-single-body ol{list-style:decimal}
.case-single-body li{margin-bottom:8px}
.case-single-body li:last-child{margin-bottom:0}
.case-single-body strong{color:var(--ink);font-weight:700}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-band{background:linear-gradient(150deg,var(--ink) 0%,#14306e 100%);border-radius:24px;padding:56px 48px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:48px;align-items:center}
.testimonial-band .eyebrow{color:#9fd0fb;margin-bottom:14px}
.testimonial-band h2{margin:0;font-size:clamp(26px,3vw,36px);color:#fff}
.testimonial-dots{display:flex;align-items:center;gap:14px;margin-top:30px}
/* Dot sized to be clearly visible/tappable on its own (12px, 32px active
   pill) — no longer relying on invisible padding for the touch target. */
.testimonial-dot{width:12px;height:12px;border:0;border-radius:999px;cursor:pointer;transition:width 300ms ease,background 200ms ease;background:rgba(255,255,255,.4)}
.testimonial-dot.is-active{width:32px;background:#9fd0fb;box-shadow:0 0 0 3px rgba(159,208,251,.25)}
/* Hard-capped to exactly 3 lines (line-clamp), on top of the quotes
   themselves being kept short/near-equal length above — this is what
   guarantees "3 lines only" holds at every viewport width, not just the
   ones checked by eye. */
.testimonial-quote{margin:0;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:clamp(20px,2.2vw,27px);line-height:1.35;color:#fff;letter-spacing:-0.02em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.testimonial-cite{margin-top:24px;font-size:15px;color:#a8b0d0}
.testimonial-cite .name{font-weight:700;color:#fff}
/* All 3 slides are stacked in the same grid cell (grid-area:1/1) rather than
   shown/hidden with display:none/block — Grid sizes the row to the tallest
   slide automatically, so the card never changes height when switching
   (on top of the quotes themselves now being kept a similar length), and
   the switch itself is a hardware-accelerated opacity+transform crossfade
   instead of an instant, unanimated display toggle. */
.testimonial-slides{display:grid}
.testimonial-slide{grid-area:1/1;opacity:0;transform:translate3d(10px,0,0);transition:opacity 520ms ease-in-out,transform 520ms ease-in-out;will-change:opacity,transform;pointer-events:none}
.testimonial-slide.is-active{opacity:1;transform:translate3d(0,0,0);pointer-events:auto}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:24px;align-items:start}
.pricing-card{border-radius:var(--r);padding:32px;display:flex;flex-direction:column;min-width:0;background:var(--paper);box-shadow:var(--sh-sm)}
.pricing-card.is-featured{background:var(--ink);box-shadow:var(--sh-lg)}
.pricing-card .kicker{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--brand)}
.pricing-card.is-featured .kicker{color:#9fd0fb}
.pricing-card h3{margin:12px 0 6px;font-size:25px;color:var(--ink)}
.pricing-card.is-featured h3{color:#fff}
.pricing-card .price{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:32px;letter-spacing:-0.03em;color:var(--ink)}
.pricing-card.is-featured .price{color:#fff}
.pricing-card .body-text{margin:12px 0 20px;font-size:15px;color:var(--ink-soft)}
.pricing-card.is-featured .body-text{color:#a8b0d0}
.pricing-card ul{margin:0 0 26px;display:flex;flex-direction:column;gap:10px}
.pricing-card li{display:flex;gap:10px;font-size:15px;color:var(--ink-soft)}
.pricing-card.is-featured li{color:#a8b0d0}
.pricing-card li svg{flex:none;margin-top:5px;stroke:#0b5ed7}
.pricing-card.is-featured li svg{stroke:#9fd0fb}
.pricing-card .btn{border:0;border-radius:999px;padding:14px 22px;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:15px;cursor:pointer;margin-top:auto;background:var(--brand);color:#fff}
.pricing-card.is-featured .btn{background:#fff;color:var(--ink)}

/* ==========================================================================
   Insights (posts)
   ========================================================================== */
.insights-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:24px}
.insights-grid--index{gap:32px}
.insight-card{min-width:0;display:flex;flex-direction:column}
.insight-card-img{height:190px;border-radius:var(--r);overflow:hidden;margin-bottom:18px;box-shadow:var(--sh-sm);background-color:#0c1024;background-size:cover;background-position:center;background-repeat:no-repeat}
.insights-grid--index .insight-card-img{height:210px}
.insight-meta{font-size:13px;color:var(--ink-mute);font-weight:600;margin-bottom:9px}
.insight-card h3{margin:0 0 10px;font-size:20px;line-height:1.3}
.insights-grid--index .insight-card h2{margin:0 0 11px;font-size:22px;line-height:1.28}
.insight-card p{margin:0;font-size:15px;color:var(--ink-soft)}
.insights-grid--index .insight-card p{font-size:16px}
/* "Learn more" CTA on the Home "Success stories" cards (cases-grid.php) —
   a <span>, not a nested <a>, since the whole card is already one big link;
   margin-top:auto pushes it to the bottom of the card's flex column so it
   lines up across cards even when excerpt/result lengths differ. */
.card-cta{margin-top:auto;padding-top:14px;font-weight:700;font-size:15px;color:var(--brand);display:inline-flex;align-items:center;gap:6px}

/* Single post */
.insight-single-img{height:360px;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);margin-bottom:32px;background-color:#0c1024;background-size:cover;background-position:center;background-repeat:no-repeat}
.insight-single-body{font-size:18px;color:var(--ink-soft);max-width:70ch}
.insight-single-body p{margin:0 0 20px}
/* Heading/list styling for long-form article content. The site's global
   h1-h4 rule zeroes margin (correct for component titles, which each set
   their own spacing) and the global ul reset strips bullets (correct for
   the site's own card/nav lists) -- neither had a counterpart for prose
   body content, since no existing Insights post used subheadings or lists
   before now. Same fonts/colors/radius tokens as the rest of the theme. */
.insight-single-body h2{margin:40px 0 16px;font-size:26px;color:var(--ink)}
.insight-single-body h2:first-child{margin-top:0}
.insight-single-body h3{margin:28px 0 12px;font-size:21px;color:var(--ink)}
.insight-single-body ul,.insight-single-body ol{margin:0 0 20px;padding-left:22px}
.insight-single-body ul{list-style:disc}
.insight-single-body ol{list-style:decimal}
.insight-single-body li{margin-bottom:8px}
.insight-single-body li:last-child{margin-bottom:0}
.insight-single-body strong{color:var(--ink);font-weight:700}
.insight-single-body a{text-decoration:underline}
.insight-categories{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.insight-categories a{background:var(--brand-soft);color:var(--brand-dark);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:700}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list{display:flex;flex-direction:column;gap:12px}
.faq-item{background:var(--paper);border-radius:var(--r-sm);box-shadow:var(--sh-sm);overflow:hidden}
.faq-question{width:100%;background:none;border:0;padding:20px 22px;display:flex;gap:16px;align-items:center;cursor:pointer;text-align:left;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:17px;color:var(--ink)}
.faq-question span{flex:1;min-width:0}
.faq-question svg{flex:none;stroke:#0b5ed7;transition:transform 200ms ease}
.faq-item.is-open .faq-question svg{transform:rotate(180deg)}
.faq-answer{margin:0;padding:0 22px 22px;font-size:16px;color:var(--ink-soft);display:none}
.faq-item.is-open .faq-answer{display:block}

/* ==========================================================================
   Final CTA band (Home)
   ========================================================================== */
/* Same gradient as before, layered over a real photo (assets/cta-office-bg.jpg,
   see credit in that section's comment below) instead of a flat background —
   the gradient stops keep their original colors/angle, just with enough
   transparency to let the photo read through while staying strong enough
   for the white text on top to stay fully readable. */
/* background-image itself (gradient + photo) is now set inline from PHP in
   template-parts/cta-band.php, so it can be Customizer-editable — this
   rule only owns how that background is displayed. */
.final-cta{background-size:cover;background-position:center;border-radius:24px;padding:56px 48px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:48px;align-items:center;color:#fff}
.final-cta h2{margin:0;font-size:clamp(30px,4vw,48px);color:#fff}
.final-cta .lede{margin:20px 0 30px;font-size:18px;color:#e4e6ff;max-width:38ch}
/* Left column content (heading, lede, contact): vertically centered against
   the form column (.final-cta's own align-items:center, above) while staying
   left-aligned horizontally within its own column. */
.final-cta > .min-w-0{display:flex;flex-direction:column;align-items:flex-start;text-align:left}
.final-cta-contact{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.final-cta-contact-item{display:flex;align-items:center;gap:10px}
.final-cta-contact-item svg{flex:none}
.final-cta-contact a{color:#fff;font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:28px;overflow-wrap:anywhere}
.final-cta-contact span{color:#e4e6ff;font-size:16px}
.final-cta-form{background:var(--paper);color:var(--ink);border-radius:var(--r);padding:30px;min-width:0;box-shadow:var(--sh-lg)}
.final-cta-form h3{margin:0 0 16px;font-size:22px}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-stack{display:flex;flex-direction:column;gap:18px}
.form-stack--tight{gap:16px}
.form-field label{display:block;font-size:13px;font-weight:700;color:var(--ink-soft);margin-bottom:7px}
.form-field input,.form-field select,.form-field textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:var(--r-sm);padding:14px;font-size:16px;background:var(--paper);color:var(--ink)}
.form-field textarea{min-height:120px}
.form-error{margin-top:6px;font-size:13px;color:#c2341b;font-weight:600}
.form-submit{align-self:flex-start}
.form-success h2,.form-success h3{margin:0}
.form-success p{margin:0;color:var(--ink-soft);font-size:17px;max-width:40ch}
.form-success{display:flex;flex-direction:column;gap:14px;align-items:flex-start}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:44px;align-items:start}
.contact-form-panel{background:var(--paper);border-radius:var(--r);padding:32px;box-shadow:var(--sh);min-width:0}
.contact-info{display:flex;flex-direction:column;gap:14px}
.contact-info-card{background:var(--tint);border-radius:var(--r);padding:26px}
.contact-info-card .label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-mute);font-weight:700;margin-bottom:10px}
.contact-info-card .value{font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:19px;line-height:1.45}
.contact-info-card .phone{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:29px;letter-spacing:-0.02em}
.contact-info-card .hours{font-size:17px;color:var(--ink-soft)}

/* ==========================================================================
   Image placeholder (for the 3 missing image slots)
   ========================================================================== */
.img-placeholder{width:100%;height:100%;min-height:200px;background:var(--tint);color:var(--ink-mute);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:2px dashed var(--line);border-radius:inherit;text-align:center;padding:20px}
.img-placeholder svg{opacity:.6}
.img-placeholder span{font-size:14px;font-weight:600;max-width:22ch}

/* ==========================================================================
   About page
   ========================================================================== */
.about-intro{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:48px;align-items:start}
.about-photo{height:420px;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);background-color:#0c1024;background-size:cover;background-position:center;background-repeat:no-repeat}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{background:linear-gradient(180deg,#0d2a6b 0%,var(--ink) 100%);color:#a8b0d0}
.footer-grid{max-width:1200px;margin:0 auto;padding:64px 24px 28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:40px}
.footer-brand{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:22px;color:#fff;letter-spacing:-0.02em;line-height:1.15}
.footer-tagline{margin:16px 0 0;font-size:15px;max-width:34ch}
.footer-heading{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#fff;font-weight:700;margin-bottom:16px}
.footer-links{display:flex;flex-direction:column;gap:9px}
.footer-links a,.footer-links button{background:none;border:0;padding:0;text-align:left;color:#a8b0d0;font-size:15px;cursor:pointer;font-family:'Manrope',sans-serif}
.footer-links a:hover{color:#fff}
.footer-contact{display:flex;flex-direction:column;gap:12px;font-size:15px}
.footer-contact a{color:#fff;font-weight:700}
.footer-contact-item{display:flex;align-items:flex-start;gap:10px;min-width:0}
.footer-contact-item svg{flex:none;margin-top:2px;color:#a8b0d0}
.footer-contact-item span,.footer-contact-item a{min-width:0;overflow-wrap:anywhere}
.footer-social{display:flex;gap:12px;margin-top:20px}
/* Rounded-square badge with a single border — the icon glyphs themselves
   (inc/template-tags.php arch_social_icon()) no longer draw their own
   outer circle, so there is only ever the one border here, not two. */
.footer-social a{width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.25);color:#fff;display:flex;align-items:center;justify-content:center;flex:none;transition:background 160ms ease,border-color 160ms ease}
.footer-social a:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.5)}
.footer-bottom-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:20px 0;display:flex;flex-wrap:wrap;gap:16px;font-size:13px}
.footer-bottom .legal{margin-left:auto}

/* ==========================================================================
   Scroll reveal + counters (JS toggles [data-reveal].is-visible)
   ========================================================================== */
[data-reveal]{opacity:0;transform:translateY(22px);transition:opacity 620ms ease,transform 620ms cubic-bezier(.22,.7,.2,1)}
[data-reveal].is-visible{opacity:1;transform:none}

/* ==========================================================================
   404 / archive fallback
   ========================================================================== */
.basic-content{max-width:70ch}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* The source design has no breakpoint-based overrides at all — most of the
   responsive behaviour above already comes from CSS Grid's auto-fit/
   auto-fill columns (now guarded with minmax(min(Npx,100%),1fr) so a
   column shrinks instead of overflowing once the viewport itself is
   narrower than the pixel minimum) and from clamp() type sizing, plus the
   >=1080px nav collapse in the Header section. This one additional
   phone-width breakpoint only trims the vertical rhythm and the handful of
   fixed paddings that are too generous once the viewport is 320-480px wide
   — tablet (768px+) and desktop are untouched by anything below. */
@media (max-width:480px){
  /* Header: shorter logo + tighter padding recovers vertical space in the
     sticky header without changing its layout. */
  .header-inner{padding:10px 16px}
  .logo-link img{height:54px}

  /* Hero + inner-page hero: same horizontal gutter, reduced vertical rhythm. */
  .hero-inner{padding:48px 24px 56px}
  .page-hero-inner{padding:40px 24px 36px}

  /* Section vertical rhythm (horizontal gutter stays on .container, untouched). */
  .section{padding:52px 0}
  .section--tight{padding:40px 0}
  .pt-40{padding-top:26px}
  .pt-44{padding-top:28px}
  .pt-48{padding-top:30px}
  .pt-56{padding-top:34px}
  .pt-80{padding-top:48px}
  .pb-80{padding-bottom:52px}
  .pb-88{padding-bottom:56px}

  /* Dark gradient panels: 48px of horizontal padding was fine against a
     1200px container but eats nearly a fifth of a 320-375px viewport. */
  .testimonial-band{padding:32px 24px}
  .industries-cta{padding:28px 24px}

  /* .final-cta is the one panel that wraps ANOTHER padded card
     (.final-cta-form) rather than plain text/buttons, so it sits three
     padding layers deep (.container -> .final-cta -> .final-cta-form)
     versus the Contact page form's two (.container -> .contact-form-panel).
     At 320px that third layer left the form fields only ~184px to work
     with, tight enough for the button/select to sit right at the edge.
     Trimming this panel's own padding further (24px/16px vs the 32px/24px
     used elsewhere) and setting the column explicitly rather than relying
     on auto-fit to resolve it give the form back the width it needs, and
     only apply to .final-cta -- .contact-form-panel is untouched. */
  .final-cta{grid-template-columns:1fr;gap:28px;padding:24px 16px}

  /* Card padding, trimmed from ~28-34px to a still-generous ~20-24px. */
  .service-card,.pricing-card,.contact-form-panel,.stat-card,.process-card,
  .service-mini-card,.final-cta-form{padding:22px 20px}
  .industry-card{padding:22px}
  .industries-grid--wide .industry-card{padding:24px}
  .case-card-body{padding:20px}

  /* Decorative image proportions: same 100%-of-column width, shorter fixed
     height so a tall image doesn't dominate a narrow single-column layout. */
  .case-row-img{height:220px}
  .case-single-hero-img{height:240px}
  .insight-single-img{height:220px}
  .about-photo{height:260px}

  /* Scroll-reveal: a CSS transform never reserves layout space, so the 22px
     translateY here does not move the static element that follows a
     revealing section (e.g. the footer right after the last section on a
     page) — but for the ~620ms transition it DOES paint the revealing
     section up to 22px lower than its real box, visually overlapping
     whatever sits right after it. That 22px ate a much bigger share of the
     section padding once mobile spacing was tightened above (52-56px vs
     88px on desktop), so the last card in a section could visually run
     into the next section/footer while the animation was still settling.
     Fading in with no vertical slide on mobile removes the possibility
     entirely; desktop keeps the original translateY animation untouched. */
  [data-reveal]{transform:none}
}
