/* =============================================================================
   Transistant visual refresh (light)
   Loaded after the theme's own CSS. Remove the mu-plugin to undo.
   ========================================================================== */

/* ---------- Fonts (self-hosted, nothing is sent to Google) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-v20-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-v20-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/space-grotesk-v22-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/space-grotesk-v22-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Brand tokens (same as transistantglobal-lab.com, light side) ---------- */
:root {
  --t-accent: #6D50E6;
  --t-accent-2: #4A3DAE;
  --t-bright: #8A78F0;
  --t-fg: #15131C;
  --t-muted: #6E6B7B;
  --t-paper: #FBFAFE;
  --t-surface: #FFFFFF;
  --t-wash: #F4F1FB;
  --t-line: #E3DEF5;
  --t-green: #1ACC81;
  --t-green-dark: #12A867;
  --t-radius: 14px;
  --t-radius-sm: 8px;
  --t-shadow: 0 1px 2px rgba(21, 19, 28, .04), 0 8px 24px rgba(74, 61, 174, .08);
  --t-shadow-hover: 0 2px 4px rgba(21, 19, 28, .05), 0 16px 40px rgba(74, 61, 174, .14);
  --t-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--t-body);
  color: var(--t-fg);
  background-color: var(--t-paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p, li { color: inherit; }
a { color: var(--t-accent); }
::selection { background: var(--t-accent); color: #fff; }

h1, h2, h3, h4,
.hero-title, .section-title, .service-title-text, .que-title, .work-title,
.services-name, .why-name, .ssi-title, .pass-title, .p-number, .why-small-title,
.s-page-col-title, .contact-p-title, .about-icon-title, .ben-title, .spc-title,
.service-title-small, .benefits-text, .spage-subtext, .services-info-txt {
  font-family: var(--t-display);
  letter-spacing: -0.02em;
  color: inherit;
}

/* ---------- Header ---------- */
.navbar {
  background-color: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--t-line);
  padding-top: 12px;
  padding-bottom: 12px;
  z-index: 100;
}
.nav-item {
  font-family: var(--t-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--t-fg);
  transition: color .2s ease;
}
.nav-item:hover,
.nav-item.w--current { color: var(--t-accent); }

/* ---------- Hero ---------- */
.section-hero { min-height: 72vh; }
.hero-title {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.05;
  font-weight: 700;
}
.hero-span {
  background-color: var(--t-accent);
  border-radius: 10px;
  padding-left: 14px;
  padding-right: 14px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-text {
  margin-top: 32px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--t-muted);
  max-width: 34em;
}
.hero-btns { margin-top: 36px; }
.hero-img img { border-radius: var(--t-radius); }

/* Client logo strip: calmer, uniform */
.section-hero-logos {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--t-line);
}
.section-hero-logos img {
  max-height: 56px;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .25s ease, opacity .25s ease;
}
.section-hero-logos a:hover img,
.section-hero-logos img:hover { filter: none; opacity: 1; }

/* ---------- Buttons (green kept for "Discuss your project") ---------- */
.cs-simple-btn,
.submit-button,
.wpcf7-submit {
  font-family: var(--t-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  border-radius: var(--t-radius-sm);
  padding: 14px 28px;
  border: 1px solid var(--t-green);
  background-color: var(--t-green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(26, 204, 129, .25);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cs-simple-btn:hover,
.submit-button:hover,
.wpcf7-submit:hover {
  background-color: var(--t-green-dark);
  border-color: var(--t-green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(26, 204, 129, .3);
}
.cs-simple-btn.cs-margin-btn.cs-transparent-b {
  background-color: transparent;
  color: var(--t-green-dark);
  box-shadow: none;
}
.cs-simple-btn.cs-margin-btn.cs-transparent-b:hover {
  background-color: var(--t-green);
  color: #fff;
}
.submit-button, .wpcf7-submit { height: auto; padding: 12px 24px; }
.cs-btn-arrow,
.cs-btn-arrow-flex.btn-color { color: var(--t-accent); font-weight: 600; }
.cs-btn-arrow:hover .arrow-btn,
.services-item:hover .arrow-btn { left: 4px; }

/* ---------- Section rhythm ---------- */
.section-work, .section-why, .section-passion { padding-top: 110px; padding-bottom: 110px; }
.section-why { background-color: var(--t-wash); }
.section-title {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 700;
}
.section-title .span-purple,
.span-purple { color: var(--t-accent); }

/* "Work" columns */
.work-columns { gap: 32px; }
.work-title { font-size: 22px; line-height: 1.3; font-weight: 600; margin-top: 8px; }
.work-text, .work-list-text { color: var(--t-muted); }
.work-img-img { border-radius: var(--t-radius); }
.work-img-bg1, .work-img-bg2 { background-color: var(--t-accent); border-radius: 6px; }

/* ---------- Cards ---------- */
.services-item,
.single-why,
.sservice,
.ben-item,
.form-white-box {
  background-color: var(--t-surface);
  border: 1px solid var(--t-line);
  border-radius: var(--t-radius);
  box-shadow: var(--t-shadow);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.services-item:hover,
.sservice:hover {
  transform: translateY(-3px);
  box-shadow: var(--t-shadow-hover);
  border-color: #CFC6F2;
}
.services-name { font-size: 21px; line-height: 1.3; font-weight: 600; }
.services-text { color: var(--t-muted); }
.single-why { padding: 32px 28px; }
.single-why-top { gap: 4px; }
.single-why-info { flex: 1 1 auto; min-width: 0; padding-left: 16px; }
.single-why-img { flex: 0 0 auto; }
.single-why-text { color: var(--t-muted); }
.sngle-why-img-bg { background-color: var(--t-accent); border-radius: 10px; }
.swhimg { border-radius: 50%; }
.why-name { font-size: 18px; }
.why-title { color: var(--t-muted); }

/* Section headings that use white/purple boxes */
.service-title-text { font-weight: 700; }
.service-title-text.ws1bg,
.service-title-text.text-white.ws2bg,
.st1, .st2 { border-radius: 10px; }
.st2, .service-title-text.text-white.ws2bg { background-color: var(--t-accent); }

/* ---------- Bottom call-to-action band ---------- */
/* The photo is chosen per page in the editor (inline style), so tint it rather than replace it. */
.section-que { position: relative; isolation: isolate; }
.section-que::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(74, 61, 174, .94) 0%, rgba(109, 80, 230, .88) 55%, rgba(138, 120, 240, .82) 100%);
}
.que-col.que-right-border { border-right-color: rgba(255, 255, 255, .25); }
.que-title { font-size: 30px; line-height: 1.25; font-weight: 600; }
.que-text { color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.5; }

/* ---------- Forms ---------- */
.cs-input, .cs-textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea {
  border: 1px solid var(--t-line);
  border-radius: var(--t-radius-sm);
  background-color: #fff;
  color: var(--t-fg);
  font-family: var(--t-body);
  font-size: 15px;
  padding: 10px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cs-input { height: 46px; }
.cs-input:focus, .cs-textarea:focus,
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--t-accent);
  box-shadow: 0 0 0 3px rgba(109, 80, 230, .18);
}
.cs-input::placeholder, .cs-textarea::placeholder { color: #9A97A8; }
.form-white-box { padding: 44px; }
.form-nav .wpcf7-previous, .form-nav .wpcf7-next { color: var(--t-accent); font-family: var(--t-body); }
.wpcf7 form .wpcf7-response-output { border-radius: var(--t-radius-sm); }

/* ---------- Inner pages ---------- */
.spage-subtext { color: var(--t-muted); font-size: 22px; line-height: 1.5; }
.why-top-brder, .s-page-img-border { background-color: var(--t-accent); }
.s-page-img-bg1, .s-page-img-bg2 { background-color: var(--t-accent); border-radius: 8px; }
.p-number { color: var(--t-accent); font-weight: 700; }
.pass-col.rightborder { border-right-color: var(--t-line); }
.services-popup { background-color: var(--t-accent); border-radius: var(--t-radius); }
.cinfo:hover, .footer-menu-link:hover { color: var(--t-accent); }

/* ---------- Footer ---------- */
.footer {
  background-color: var(--t-surface);
  border-top: 1px solid var(--t-line);
  padding-top: 72px;
}
.footer-text, .footer-small-text { color: var(--t-muted); }
.footer-title { font-family: var(--t-display); font-size: 15px; letter-spacing: 0; color: var(--t-fg); }
.footer-menu-link { color: var(--t-fg); }
.footer-copy-info {
  border-top: 1px solid var(--t-line);
  padding-top: 24px;
  font-size: 14px;
  color: var(--t-muted);
}
.footer-terms, .link { color: var(--t-muted); }

/* ---------- Cookie banner: match brand ---------- */
.cmplz-cookiebanner { border-radius: var(--t-radius) !important; font-family: var(--t-body) !important; }
.cmplz-cookiebanner .cmplz-btn { border-radius: var(--t-radius-sm) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background-color: var(--t-accent) !important; border-color: var(--t-accent) !important; }

/* ---------- Tablet & phone ---------- */
@media screen and (max-width: 991px) {
  .nav-menu { border-bottom: 1px solid var(--t-line); box-shadow: var(--t-shadow); }
  .section-work, .section-why, .section-passion { padding-top: 80px; padding-bottom: 80px; }
}
@media screen and (max-width: 767px) {
  body { font-size: 16px; }
  .hero-title { line-height: 1.2; }
  .hero-span { display: inline-block; margin-top: 6px; }
  .hero-text { margin-top: 28px; margin-left: auto; margin-right: auto; font-size: 17px; }
  .section-hero-logos img { max-height: 44px; }
  .single-why, .form-white-box { padding: 28px; }
  .section-work, .section-why, .section-passion { padding-top: 64px; padding-bottom: 64px; }
  .que-title { font-size: 24px; }
}
@media screen and (max-width: 479px) {
  .hero-span { line-height: 1.35; padding-top: 2px; padding-bottom: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}