/*
Theme Name: Nexacore Tech AI
Theme URI: https://www.nexacoretech.co.uk/
Author: Nexacore Tech Limited
Author URI: https://www.nexacoretech.co.uk/
Description: Nexacore Tech 2.8 — premium responsive UI/UX with live visitor CRM, AI-first waiting-room handover, true admin-accepted human chat, graphical website/AI/logo banner, editable reviews, SEO hardening and standalone admin portal.
Version: 2.8.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: nexacore-tech
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* WordPress compatibility overrides. The main visual design is in assets/app.css. */
html { margin-top: 0 !important; }
body.admin-bar header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar header { top: 46px; }
}
#wpadminbar { position: fixed; }
.nexa-noscript {
  max-width: 760px;
  margin: 60px auto;
  padding: 24px;
  font-family: system-ui, sans-serif;
  color: #0b1437;
}

/* Server-rendered crawlable fallback. React replaces this node after loading. */
.nexa-seo-fallback {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(83, 93, 255, .13), transparent 30%),
    linear-gradient(180deg, #f8faff 0%, #ffffff 55%, #f7f8fc 100%);
  color: #26324f;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.7;
}
.nexa-fallback-skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 99999;
  border-radius: 8px;
  background: #fff;
  color: #0b1437;
  padding: 10px 14px;
  box-shadow: 0 8px 30px rgba(11, 20, 55, .18);
}
.nexa-fallback-skip:focus { top: 12px; }
.nexa-fallback-header,
.nexa-fallback-main,
.nexa-fallback-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.nexa-fallback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.nexa-fallback-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0b1437;
  font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}
.nexa-fallback-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #2864ff, #7b42f6);
  color: #fff;
  box-shadow: 0 10px 28px rgba(83, 80, 242, .25);
}
.nexa-fallback-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.nexa-fallback-nav a,
.nexa-fallback-main a:not(.nexa-fallback-cta):not(.nexa-fallback-secondary) {
  color: #285fc4;
  text-underline-offset: 3px;
}
.nexa-fallback-nav a { color: #1e2947; font-weight: 650; text-decoration: none; }
.nexa-fallback-main { padding: 80px 0 90px; }
.nexa-fallback-eyebrow,
.nexa-fallback-kicker {
  color: #4f46e5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nexa-fallback-main h1,
.nexa-fallback-h1,
.nexa-fallback-main h2,
.nexa-fallback-main h3 {
  color: #0b1437;
  font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
  line-height: 1.18;
}
.nexa-fallback-main h1,
.nexa-fallback-h1 {
  max-width: 900px;
  margin: 10px 0 24px;
  font-size: clamp(38px, 7vw, 72px);
  letter-spacing: -.04em;
}
.nexa-fallback-main h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 38px); }
.nexa-fallback-main h3 { margin: 0 0 8px; font-size: 20px; }
.nexa-fallback-main section { margin-top: 64px; }
.nexa-fallback-lead { max-width: 860px; font-size: clamp(18px, 2vw, 22px); color: #46516d; }
.nexa-fallback-cta,
.nexa-fallback-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 16px 10px 0 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 750;
  text-decoration: none;
}
.nexa-fallback-cta { background: linear-gradient(135deg, #2864ff, #7b42f6); color: #fff; }
.nexa-fallback-secondary { border: 1px solid #ccd5eb; background: #fff; color: #162140; }
.nexa-fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.nexa-fallback-grid article,
.nexa-fallback-grid blockquote,
.nexa-fallback-contact,
.nexa-fallback-main details {
  border: 1px solid #e2e7f2;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  padding: 24px;
  box-shadow: 0 14px 40px rgba(20, 32, 76, .06);
}
.nexa-fallback-grid blockquote { margin: 0; }
.nexa-fallback-grid cite { color: #59627a; font-style: normal; font-weight: 700; }
.nexa-fallback-main address { font-style: normal; }
.nexa-fallback-main details { margin: 12px 0; }
.nexa-fallback-main summary { color: #0b1437; cursor: pointer; font-weight: 750; }
.nexa-fallback-footer { border-top: 1px solid #e2e7f2; padding: 28px 0 42px; color: #606a81; font-size: 14px; }
@media (max-width: 860px) {
  .nexa-fallback-header { align-items: flex-start; flex-direction: column; }
  .nexa-fallback-nav { gap: 12px 18px; }
  .nexa-fallback-main { padding-top: 46px; }
  .nexa-fallback-grid { grid-template-columns: 1fr; }
}
