/*
Theme Name: QS Technologies
Theme URI: https://qstechnologies.com.au/
Author: QS Technologies
Description: Custom theme for QS Technologies: Perth network and security engineers.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: qst
*/
/* QS Technologies — matches the existing qstechnologies.com.au brand:
   white pages, purple #5F2DEE / lilac #B882FC, Catamaran, dark-purple bands,
   photo slider hero, white service cards with purple line icons. */
:root {
  --primary: #5f2dee;
  --primary-dark: #4a1fcf;
  --secondary: #b882fc;
  --heading: #1d1729;
  --text: #6c6a72;
  --bg-soft: #f4f2f9;
  --light: #e4e0ee;
  --white: #ffffff;
  --dark: #191325;
  --dark-2: #231b33;
  --good: #1f9d6b;
  --warn: #c98512;
  --crit: #d23c4b;
  --font: "Catamaran", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1290px;
  --shadow: 0 20px 50px -18px rgba(29, 23, 41, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(95, 45, 238, 0.35);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.9; }
::selection { background: var(--primary); color: #fff; }
img { max-width: 100%; display: block; }
svg { max-width: 100%; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--heading); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--heading); margin: 0; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 30px; position: relative; }
.ph { background: #fff4cf; color: #7a5300; border-bottom: 1px dashed #c98512; padding: 0 4px; border-radius: 2px; font-style: normal; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* Section label: purple dash + text (the site's signature) */
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 14px; }
.label::before { content: ""; width: 24px; height: 2px; background: var(--primary); }
.label.center::after { content: ""; width: 24px; height: 2px; background: var(--primary); }
.on-dark .label, .label.light { color: var(--secondary); }
.on-dark .label::before, .on-dark .label::after, .label.light::before, .label.light::after { background: var(--secondary); }

/* ---------- Top bar progress line ---------- */
.topline { height: 4px; background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 50%, var(--secondary) 50%, var(--secondary) 100%); }

/* ---------- Header (info bar + nav) ---------- */
.infobar { background: #fff; border-bottom: 1px solid var(--light); }
.infobar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 96px; }
.logo img { height: 46px; width: auto; }
.info-items { display: flex; gap: 38px; }
.info-item { display: flex; align-items: center; gap: 14px; line-height: 1.35; }
.info-item .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--secondary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item small { display: block; font-size: 0.82rem; color: var(--text); }
.info-item b, .info-item a { font-weight: 600; color: var(--heading); font-size: 0.98rem; }
.info-item a:hover { color: var(--primary); }

.navbar { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 10px 30px -18px rgba(29, 23, 41, 0.25); }
.navbar .wrap { display: flex; align-items: center; gap: 20px; height: 74px; }
.navbar .logo-sm { display: none; }
.navbar .logo-sm img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; flex: 1; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav li { position: relative; }
.nav a, .nav button.nav-parent { display: block; padding: 24px 14px; color: var(--heading); font: inherit; font-size: 1rem; font-weight: 600; background: none; border: 0; cursor: pointer; position: relative; line-height: 1.6; }
.nav a::after, .nav button.nav-parent::before { content: ""; position: absolute; left: 14px; bottom: 18px; width: 0; height: 2px; background: var(--primary); transition: width .25s; }
.nav a:hover, .nav button.nav-parent:hover, .nav a[aria-current="page"] { color: var(--primary); }
.nav a:hover::after, .nav a[aria-current="page"]::after, .nav button.nav-parent:hover::before { width: 18px; }
.nav button.nav-parent::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 8px; position: relative; top: -3px; }
.submenu { list-style: none; margin: 0; padding: 14px 0; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border-top: 3px solid var(--primary); box-shadow: 0 25px 50px -12px rgba(29, 23, 41, 0.25); display: none; z-index: 5; }
.submenu a { padding: 9px 26px; font-weight: 500; font-size: 0.97rem; }
.submenu a::after { display: none; }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--primary); padding-left: 32px; transition: padding .2s, color .2s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { display: block; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--primary); cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 30px; height: 30px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 32px; font-family: var(--font); font-size: 0.94rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; border: 2px solid transparent; border-radius: 0; cursor: pointer; line-height: 1; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: transparent; color: var(--primary); }
.on-dark .btn-primary:hover, .hero .btn-primary:hover, .page-banner .btn-primary:hover { background: #fff; border-color: #fff; color: var(--primary); }
.btn-outline { background: transparent; color: var(--heading); border-color: var(--light); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-white:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-sm { padding: 13px 24px; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.play-link { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.play-link .circle { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); display: grid; place-items: center; }
.play-link .circle svg { width: 22px; height: 22px; }
.play-link:hover { color: var(--secondary); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(560px, 78vh, 760px); overflow: hidden; background: var(--dark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 7s ease-out; }
.slide.active .bg { transform: scale(1.12); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(25, 19, 37, 0.92) 0%, rgba(41, 22, 96, 0.72) 48%, rgba(95, 45, 238, 0.25) 100%); }
.slide .wrap { z-index: 2; width: 100%; }
.slide .content { max-width: 720px; }
.slide .kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); margin-bottom: 20px; }
.slide .kicker::before { content: ""; width: 34px; height: 2px; background: var(--secondary); }
.slide h1, .slide h2.h1 { color: #fff; margin-bottom: 22px; font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 800; line-height: 1.08; }
.slide h1 span, .slide h2.h1 span { color: var(--secondary); }
.slide p { color: rgba(255, 255, 255, 0.86); font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; line-height: 1.75; }
.slide .content > * { transform: translateY(18px); opacity: .001; transition: transform .8s ease, opacity .8s ease; }
.slide.active .content > * { transform: none; opacity: 1; }
.slide.active .content > *:nth-child(2) { transition-delay: .12s; }
.slide.active .content > *:nth-child(3) { transition-delay: .24s; }
.slide.active .content > *:nth-child(4) { transition-delay: .36s; }
.hero-ctrl { position: absolute; z-index: 5; right: 40px; bottom: 40px; display: flex; gap: 10px; }
.hero-ctrl button { width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(25, 19, 37, 0.35); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.hero-ctrl button:hover { background: var(--primary); border-color: var(--primary); }
.hero-ctrl svg { width: 20px; height: 20px; }
.hero-dots { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); bottom: 34px; display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero-dots button[aria-current="true"] { background: var(--secondary); border-color: var(--secondary); }

/* ---------- Feature strip under hero ---------- */
.feature-strip { position: relative; z-index: 4; margin-top: -70px; }
.feature-strip .grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: var(--shadow); }
.fs-item { display: flex; gap: 20px; align-items: flex-start; padding: 36px 34px; border-right: 1px solid var(--light); position: relative; transition: background .3s; }
.fs-item:last-child { border-right: 0; }
.fs-item::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 3px; background: var(--primary); transition: width .35s; }
.fs-item:hover::before { width: 100%; }
.fs-item .ic { color: var(--primary); flex-shrink: 0; }
.fs-item .ic svg { width: 48px; height: 48px; }
.fs-item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.fs-item p { font-size: 0.96rem; line-height: 1.7; }

/* ---------- Sections ---------- */
section.block { padding: 110px 0; position: relative; }
section.block.soft { background: var(--bg-soft); }
section.block.tight { padding: 80px 0; }
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.sec-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.sec-head p { margin-top: 18px; font-size: 1.05rem; }
.sec-head.split p { margin-top: 0; }

/* Who we are */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; min-height: 560px; }
.about-media .img-a { position: absolute; left: 0; top: 0; width: 46%; aspect-ratio: 240/270; object-fit: cover; box-shadow: var(--shadow); }
.about-media .img-b { position: absolute; right: 4%; top: 30%; width: 54%; aspect-ratio: 300/335; object-fit: cover; box-shadow: var(--shadow); border: 10px solid #fff; }
.about-media .badge { position: absolute; left: 0; bottom: 6px; }
.about-media .badge .big { font-size: 5rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--primary); letter-spacing: 0.02em; }
.about-media .badge .small { font-size: 1.6rem; font-weight: 800; color: var(--heading); line-height: 1.15; margin-top: 6px; }
.about-media .ring { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid var(--bg-soft); z-index: -1; }
.about-text h2 { margin-bottom: 22px; }
.about-text > p { font-size: 1.05rem; margin-bottom: 30px; }
.about-points { display: grid; gap: 4px; margin-bottom: 34px; }
.about-point { padding: 22px 0; border-bottom: 1px solid var(--light); display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.about-point:last-child { border-bottom: 0; }
.about-point .ic { color: var(--primary); }
.about-point .ic svg { width: 44px; height: 44px; }
.about-point h3 { font-size: 1.25rem; margin-bottom: 4px; }
.about-point p { line-height: 1.7; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.svc-card { position: relative; background: #fff; padding: 46px 40px 40px; box-shadow: var(--shadow); color: var(--text); display: flex; flex-direction: column; overflow: hidden; transition: transform .35s, box-shadow .35s; isolation: isolate; }
.svc-card::before { content: ""; position: absolute; inset: 0; background: var(--primary); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.svc-card::after { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--primary); transition: background .35s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: rgba(255, 255, 255, 0.85); }
.svc-card:hover::before { transform: scaleY(1); }
.svc-card:hover::after { background: #fff; }
.svc-card .top { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.svc-card .ic { color: var(--primary); transition: color .35s; flex-shrink: 0; }
.svc-card .ic svg { width: 58px; height: 58px; }
.svc-card small { display: block; font-size: 0.9rem; color: var(--text); transition: color .35s; }
.svc-card h3 { font-size: 1.45rem; line-height: 1.25; transition: color .35s; }
.svc-card p { line-height: 1.8; flex: 1; }
.svc-card .arrow { margin-top: 26px; color: var(--heading); transition: color .35s, transform .35s; }
.svc-card .arrow svg { width: 30px; height: 20px; }
.svc-card:hover .ic, .svc-card:hover h3, .svc-card:hover .arrow, .svc-card:hover small { color: #fff; }
.svc-card:hover .arrow { transform: translateX(6px); }

/* Dark CTA band with photo */
.band { position: relative; padding: 120px 0; overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, 0.85); }
.band .bgimg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-attachment: fixed; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(25, 19, 37, 0.86); }
.band.wave::before { background: rgba(25, 19, 37, 0.55); }
.band h2 { color: #fff; }
.band .center { text-align: center; max-width: 860px; margin: 0 auto; }
.band .center p { margin: 18px auto 36px; font-size: 1.1rem; max-width: 640px; }
.band .btn-row { justify-content: center; gap: 30px; }

/* Health check sample (light) */
.check-card { background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--primary); }
.check-card .head { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--light); }
.check-card .head b { color: var(--heading); font-size: 1.15rem; font-weight: 800; }
.check-card .head span { font-size: 0.88rem; }
.check-card ul { list-style: none; margin: 0; padding: 8px 14px; }
.check-card li { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-bottom: 1px dashed var(--light); line-height: 1.4; }
.check-card li:last-child { border-bottom: 0; }
.check-card li .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); color: var(--primary); display: grid; place-items: center; }
.check-card li .ic svg { width: 20px; height: 20px; }
.check-card li b { color: var(--heading); display: block; font-weight: 700; }
.check-card li small { font-size: 0.9rem; }
.check-card .foot { display: flex; justify-content: space-between; padding: 18px 28px; background: var(--bg-soft); font-weight: 700; color: var(--heading); }
.check-card .foot span:last-child { color: var(--primary); }
.tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 11px; white-space: nowrap; }
.tag.good { background: #e3f6ee; color: var(--good); }
.tag.warn { background: #fdf1db; color: var(--warn); }
.tag.crit { background: #fbe4e7; color: var(--crit); }
.check-caption { margin-top: 14px; font-size: 0.9rem; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .text h2 { margin-bottom: 20px; }
.split .text > p { font-size: 1.05rem; }
.split .text > p + p { margin-top: 14px; }
.tick-list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--heading); font-weight: 600; line-height: 1.6; }
.tick-list li svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.process-step { text-align: center; padding: 50px 34px 44px; background: #fff; box-shadow: var(--shadow); position: relative; }
.process-step .num { width: 86px; height: 86px; margin: -93px auto 24px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; border: 8px solid var(--bg-soft); }
.process-step h3 { margin-bottom: 10px; }
.process-step p { line-height: 1.8; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.ind-card { position: relative; background: #fff; padding: 44px 32px 36px; box-shadow: var(--shadow); color: var(--text); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.ind-card::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: var(--primary); }
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ind-card .ic { color: var(--primary); margin-bottom: 20px; }
.ind-card .ic svg { width: 52px; height: 52px; }
.ind-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.ind-card p { line-height: 1.75; flex: 1; }
.ind-card .more { margin-top: 20px; font-weight: 700; color: var(--primary); display: inline-flex; gap: 8px; align-items: center; }
.ind-card:hover .more { color: var(--heading); }

/* Partner */
.partner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.partner-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.partner-list li { display: flex; justify-content: space-between; gap: 16px; background: #fff; padding: 20px 26px; box-shadow: 0 10px 30px -18px rgba(29, 23, 41, 0.25); border-left: 4px solid var(--primary); align-items: center; }
.partner-list b { color: var(--heading); font-weight: 700; }
.partner-list span { font-size: 0.9rem; text-align: right; }

/* Tech logos strip */
.tech-strip { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--light); border-left: 1px solid var(--light); }
.tech-strip span { display: grid; place-items: center; min-height: 110px; border-right: 1px solid var(--light); border-bottom: 1px solid var(--light); font-weight: 800; font-size: 1.05rem; color: #a7a3b3; text-align: center; padding: 10px; transition: color .25s, background .25s; }
.tech-strip span:hover { color: var(--primary); background: var(--bg-soft); }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.person { background: #fff; box-shadow: var(--shadow); display: grid; grid-template-columns: 220px 1fr; }
.person .pic { background: var(--bg-soft); display: grid; place-items: center; position: relative; min-height: 280px; }
.person .pic .initials { font-size: 3.6rem; font-weight: 800; color: transparent; -webkit-text-stroke: 2px var(--primary); }
.person .pic small { position: absolute; bottom: 12px; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.person .body { padding: 34px 32px; }
.person h3 { font-size: 1.5rem; }
.person .role { color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.person .bio { line-height: 1.75; }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cert { font-size: 0.82rem; font-weight: 700; padding: 5px 12px; background: var(--bg-soft); color: var(--primary); }

/* ---------- Inner page banner ---------- */
.page-banner { position: relative; padding: 120px 0 110px; overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, 0.85); }
.page-banner .bgimg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25, 19, 37, 0.93) 0%, rgba(41, 22, 96, 0.78) 55%, rgba(95, 45, 238, 0.45) 100%); }
.page-banner h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 20ch; margin: 6px 0 20px; }
.page-banner .lead { font-size: 1.12rem; max-width: 62ch; line-height: 1.75; margin-bottom: 32px; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: 0.95rem; color: var(--secondary); margin-bottom: 10px; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--secondary); }
.crumbs .sep { color: rgba(255, 255, 255, 0.5); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 600; font-size: 0.92rem; color: #fff; }
.chips svg { width: 17px; height: 17px; color: var(--secondary); }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.who .ind-card { padding-top: 40px; }

.inc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; }
.inc-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--light); }
.inc-list .ic { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(95, 45, 238, 0.45); }
.inc-list .ic svg { width: 24px; height: 24px; }
.inc-list strong { display: block; color: var(--heading); font-size: 1.12rem; font-weight: 700; line-height: 1.4; margin-bottom: 3px; }
.inc-list span { line-height: 1.7; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tech-tags span { padding: 10px 18px; background: #fff; border: 1px solid var(--light); color: var(--heading); font-weight: 700; font-size: 0.95rem; transition: border-color .2s, color .2s; }
.tech-tags span:hover { border-color: var(--primary); color: var(--primary); }

.price-cards { display: grid; gap: 20px; }
.price-card { background: #fff; padding: 30px 32px; box-shadow: var(--shadow); border-top: 4px solid var(--primary); }
.price-card:nth-child(2) { border-top-color: var(--secondary); }
.price-card h3 { margin-bottom: 8px; }
.price-card p { line-height: 1.75; }

.faq { display: grid; gap: 14px; }
.faq details { background: #fff; box-shadow: 0 10px 30px -18px rgba(29, 23, 41, 0.25); }
.faq summary { cursor: pointer; padding: 22px 60px 22px 26px; font-weight: 700; font-size: 1.1rem; color: var(--heading); list-style: none; position: relative; line-height: 1.5; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; bottom: 0; width: 60px; display: grid; place-items: center; font-size: 1.6rem; font-weight: 400; color: #fff; background: var(--primary); }
.faq details[open] summary { color: var(--primary); }
.faq details[open] summary::after { content: "–"; background: var(--heading); }
.faq details p { padding: 0 26px 24px; line-height: 1.8; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
form.lead-form { background: #fff; padding: 46px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 4px solid var(--primary); }
.form-title { grid-column: 1 / -1; font-size: 1.6rem; font-weight: 800; color: var(--heading); line-height: 1.2; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--heading); font-size: 0.95rem; }
.field label .opt { font-weight: 400; color: var(--text); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 14px 16px; border: 1px solid var(--light); background: var(--bg-soft); color: var(--heading); width: 100%; border-radius: 0; transition: border-color .2s, background .2s; caret-color: var(--primary); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot small { max-width: 36ch; line-height: 1.6; }
.form-done { grid-column: 1 / -1; display: none; background: #e9f7f0; border-left: 4px solid var(--good); padding: 16px 18px; line-height: 1.6; }
.form-done.show { display: block; }
.form-done p + p { margin-top: 6px; font-size: 0.92rem; }

.contact-list { display: grid; gap: 18px; }
.contact-item { display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: center; background: #fff; padding: 22px 24px; box-shadow: 0 10px 30px -18px rgba(29, 23, 41, 0.25); color: var(--text); line-height: 1.5; }
.contact-item .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--secondary); color: #fff; display: grid; place-items: center; }
.contact-item .ic svg { width: 24px; height: 24px; }
.contact-item small { display: block; font-size: 0.88rem; }
.contact-item b { color: var(--heading); font-size: 1.08rem; }
a.contact-item:hover .ic { background: var(--primary); }

.prose { max-width: 76ch; }
.prose h2 { font-size: 1.7rem; margin: 40px 0 10px; }
.prose p { margin-bottom: 12px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.65); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1762163516269-3c143e04175c?w=1600&q=70&auto=format&fit=crop") center / cover; opacity: .14; }
.site-footer > * { position: relative; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 70px 0 50px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-top .left { display: flex; flex-direction: column; gap: 18px; }
.footer-top img { height: 42px; width: auto; }
.footer-top h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0; }
.site-footer h4 { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 26px; position: relative; padding-bottom: 14px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--primary); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.65); }
.site-footer a:hover { color: var(--secondary); }
.footer-contact small { display: block; font-size: 0.9rem; }
.footer-contact .email { display: block; color: #fff; font-size: 1.45rem; font-weight: 600; margin: 2px 0 20px; word-break: break-word; }
.footer-contact .row { display: flex; gap: 30px; flex-wrap: wrap; line-height: 1.5; }
.footer-contact .row b { display: block; color: #fff; font-weight: 600; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 24px 0; font-size: 0.92rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 46px; height: 46px; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--heading); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .info-items .info-item:first-child { display: none; }
  .tech-strip { grid-template-columns: repeat(4, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .infobar { display: none; }
  .navbar .logo-sm { display: block; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 30px 26px; box-shadow: 0 20px 40px -20px rgba(29, 23, 41, 0.3); max-height: calc(100vh - 74px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a, .nav button.nav-parent { padding: 12px 0; text-align: left; width: 100%; }
  .nav a::after, .nav button.nav-parent::before { display: none; }
  .submenu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 6px 16px; min-width: 0; }
  .submenu a { padding: 7px 0; }
  .nav-cta { margin: 14px 0 0; }
  .feature-strip { margin-top: 0; }
  .feature-strip .grid, .svc-grid, .process, .who, .team, .partner, .about, .split, .form-wrap, .sec-head.split { grid-template-columns: 1fr; }
  .fs-item { border-right: 0; border-bottom: 1px solid var(--light); }
  .about-media { min-height: 520px; max-width: 560px; }
  .process { gap: 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .hero-ctrl { display: none; }
  .band .bgimg { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section.block { padding: 76px 0; }
  .hero { height: 620px; }
  .ind-grid, .inc-list { grid-template-columns: 1fr; }
  .tech-strip { grid-template-columns: repeat(2, 1fr); }
  .about-media { min-height: 400px; }
  .about-media .badge .big { font-size: 3.6rem; }
  .about-media .badge .small { font-size: 1.2rem; }
  form.lead-form { grid-template-columns: 1fr; padding: 28px 22px; }
  .person { grid-template-columns: 1fr; }
  .person .pic { min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .check-card li { grid-template-columns: 40px 1fr; }
  .check-card li .tag { grid-column: 2; justify-self: start; }
  .partner-list li { flex-direction: column; align-items: flex-start; }
  .partner-list span { text-align: left; }
  .page-banner { padding: 80px 0 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .slide .content > * { transform: none; opacity: 1; }
}

/* Fixes */
body { overflow-x: hidden; }
section.block { overflow-x: clip; }
.footer-top .left { align-items: flex-start; }
.footer-top img { align-self: flex-start; }
.nav a.btn-primary { background: var(--primary); color: #fff; padding: 14px 24px; border: 2px solid var(--primary); line-height: 1; font-weight: 700; }
.nav a.btn-primary::after { display: none; }
.nav a.btn-primary:hover { background: transparent; color: var(--primary); }
.hero-ctrl { bottom: 100px; }
.hero-dots { bottom: 96px; }
@media (max-width: 980px) { .hero-dots { bottom: 28px; } .about-media .ring { display: none; } }
@media (max-width: 640px) { .slide .content { padding-bottom: 36px; } .hero-dots { bottom: 18px; } .slide .kicker { font-size: 0.8rem; } }

/* CCIE highlight */
.chips span.hl { background: var(--primary); border-color: var(--primary); }
.chips span.hl svg { color: #fff; }

/* WordPress additions */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done.form-error { background: #fdecee; border-left-color: var(--crit); }
.admin-bar .navbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .navbar { top: 46px; } }
.prose img { height: auto; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.nav-links { display: flex; gap: 10px; margin-top: 30px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--light); }
.nav-links .current { background: var(--primary); color: #fff; border-color: var(--primary); }
