/*
Theme Name: QNEXPO USA
Theme URI: https://qnexpousa.com
Author: QNEXPO USA
Description: A purpose-built corporate theme for QNEXPO USA trade show exhibits and showroom design-build services.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: qnexpo-usa
*/

:root {
  --navy: #071a67;
  --navy-2: #0d2c7f;
  --blue: #2563eb;
  --ink: #111827;
  --muted: #5f6878;
  --line: #dce2ec;
  --soft: #f3f6fb;
  --white: #fff;
  --max: 1240px;
  --shadow: 0 18px 60px rgba(7, 26, 103, 0.12);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header {
  top: 32px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--navy);
}
a:hover {
  color: var(--blue);
}
button,
input,
textarea,
select {
  font: inherit;
}
:focus-visible {
  outline: 3px solid #6ea1ff;
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
}
.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 226, 236, 0.9);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 24px;
}
.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transform: rotate(45deg);
}
.brand-mark span {
  transform: rotate(-45deg);
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: #273143;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--blue);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  background: var(--navy);
  color: #fff !important;
}
.primary-nav li:last-child > a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  background: var(--navy);
  color: #fff;
}
.primary-nav li:last-child > a:hover {
  background: var(--navy-2);
  color: #fff;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
h1 {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 92px);
  font-weight: 760;
}
h2 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4.1vw, 58px);
}
h3 {
  margin: 0 0 13px;
  font-size: 25px;
}
.lead {
  max-width: 710px;
  color: #465267;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}
.section-copy {
  max-width: 680px;
  color: var(--muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--navy-2);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
}
.btn-secondary:hover {
  background: var(--soft);
  color: var(--navy);
}
.btn-light {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  background: #eaf0ff;
  color: var(--navy);
}

.hero {
  overflow: hidden;
  padding: clamp(64px, 8vw, 118px) 0 34px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 28px;
}
.hero-image-wrap {
  position: relative;
  min-height: 580px;
}
.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -34px -100vw -34px 22%;
  background: var(--soft);
  z-index: -1;
}
.hero-image {
  width: 100%;
  height: 580px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.hero-tag {
  position: absolute;
  left: -34px;
  bottom: 28px;
  width: 240px;
  padding: 22px 24px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.hero-tag strong {
  display: block;
  font-size: 19px;
  line-height: 1.25;
}
.hero-tag span {
  display: block;
  margin-top: 7px;
  color: #b9c8ff;
  font-size: 13px;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item {
  padding: 4px 28px;
  border-left: 1px solid var(--line);
}
.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}
.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}
.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(78px, 9vw, 130px) 0;
}
.section-soft {
  background: var(--soft);
}
.section-navy {
  background: var(--navy);
  color: #fff;
}
.section-navy h2,
.section-navy h3 {
  color: #fff;
}
.section-navy .eyebrow {
  color: #9fb8ff;
}
.section-navy .section-copy {
  color: #c9d3ee;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 50px;
}
.section-head > div:first-child {
  max-width: 760px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.text-link::after {
  content: "\2192";
  transition: transform 0.2s ease;
}
.text-link:hover::after {
  transform: translateX(4px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
}
.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-card-content {
  padding: 28px;
}
.service-number {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}
.split-image {
  position: relative;
}
.split-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}
.split-image::after {
  content: "";
  position: absolute;
  width: 44%;
  height: 45%;
  right: -18px;
  bottom: -18px;
  border-right: 4px solid var(--blue);
  border-bottom: 4px solid var(--blue);
  pointer-events: none;
}
.check-list {
  display: grid;
  gap: 17px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  color: #374258;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.47em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.process-step {
  position: relative;
  padding: 32px 28px 0 0;
}
.process-step::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: -5px;
  left: 0;
  background: #74a1ff;
}
.process-step small {
  color: #8eabff;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.process-step p {
  color: #c9d3ee;
  font-size: 15px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 310px 310px;
  gap: 18px;
}
.project-card {
  position: relative;
  overflow: hidden;
  background: #111827;
}
.project-card:first-child {
  grid-row: 1 / 3;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img {
  transform: scale(1.025);
}
.project-label {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 220px;
  padding: 19px 22px;
  background: rgba(7, 26, 103, 0.95);
  color: #fff;
}
.project-label strong {
  display: block;
}
.project-label span {
  color: #bccaff;
  font-size: 13px;
}

.cta-band {
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--navy);
  color: #fff;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
.cta-band h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
}

.page-hero {
  padding: clamp(78px, 9vw, 126px) 0 76px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(50px, 7vw, 88px);
}
.page-hero .lead {
  margin-bottom: 0;
}
.page-body {
  padding: 90px 0 120px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.feature {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}
.feature p {
  margin-bottom: 0;
  color: var(--muted);
}
.feature small {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}
.wide-image {
  width: 100%;
  max-height: 670px;
  object-fit: cover;
  margin: 52px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
}
.contact-card {
  padding: 34px;
  background: var(--navy);
  color: #fff;
}
.contact-card h3 {
  color: #fff;
}
.contact-card a {
  color: #fff;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field-full {
  grid-column: 1 / -1;
}
label {
  display: block;
  margin-bottom: 7px;
  color: #253049;
  font-size: 14px;
  font-weight: 700;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #bdc7d7;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  border-radius: 0;
}
input,
select {
  min-height: 52px;
}
textarea {
  min-height: 150px;
  resize: vertical;
}
.form-note {
  color: var(--muted);
  font-size: 13px;
}
.notice {
  margin-bottom: 24px;
  padding: 16px 18px;
  background: #e9f8ef;
  border-left: 4px solid #168a46;
  color: #145b32;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
}

.site-footer {
  background: #050f3b;
  color: #c5cee4;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.8fr;
  gap: 70px;
  padding: 78px 0 58px;
}
.footer-brand {
  color: #fff;
}
.footer-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li + li {
  margin-top: 10px;
}
.footer-links a {
  color: #c5cee4;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a2c3;
  font-size: 13px;
}

.empty-state {
  padding: 100px 0;
  text-align: center;
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 22px 24px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav li {
    border-bottom: 1px solid var(--line);
  }
  .primary-nav li:last-child {
    border: 0;
    margin-top: 16px;
  }
  .primary-nav a {
    display: block;
    padding: 13px 2px;
  }
  .primary-nav li:last-child > a {
    display: flex;
    justify-content: center;
    padding: 0 20px;
  }
  .header-cta {
    justify-content: center;
  }
  .hero-grid,
  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-wrap {
    min-height: 500px;
  }
  .hero-image {
    height: 500px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 34px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  .container {
    width: min(calc(100% - 30px), var(--max));
  }
  .header-inner {
    min-height: 70px;
  }
  .brand {
    font-size: 20px;
  }
  .hero {
    padding-top: 55px;
  }
  .hero-grid {
    gap: 30px;
  }
  .hero-image-wrap {
    min-height: 380px;
  }
  .hero-image {
    height: 380px;
  }
  .hero-tag {
    left: 14px;
    bottom: -12px;
    width: min(260px, calc(100% - 28px));
  }
  .trust-grid,
  .service-grid,
  .feature-grid,
  .content-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }
  .trust-item:first-child {
    border-top: 0;
  }
  .section-head,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 340px);
  }
  .project-card:first-child {
    grid-row: auto;
  }
  .split-image img {
    min-height: 380px;
  }
  .field-full {
    grid-column: auto;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .footer-main > div:first-child {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
