:root {
  --nxp-blue: #0e2269;
  --nxp-blue-deep: #081645;
  --nxp-blue-live: #1d5bd8;
  --nxp-yellow: #ffcb37;
  --nxp-surface: #f1f5f9;
  --nxp-surface-soft: #f8fafc;
  --nxp-text: #0f172a;
  --nxp-muted: #475569;
  --nxp-border: #e2e8f0;
  --nxp-radius: 14px;
  --nxp-shadow: 0 14px 40px rgba(14, 34, 105, 0.1);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible {
  outline: 3px solid var(--nxp-yellow);
  outline-offset: 3px;
}

.nxp-visually-hidden {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

.nxp-site-header {
  background: #fff;
  border-bottom: 1px solid var(--nxp-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nxp-header-inner { min-height: 76px; }
.nxp-header-inner .custom-logo { height: auto; max-height: 48px; width: auto; }
.nxp-main-navigation a { min-height: 44px; align-items: center; display: flex; }
.nxp-main-navigation .nxp-nav-cta a {
  background: var(--nxp-yellow);
  border-radius: 8px;
  color: var(--nxp-blue);
  font-weight: 700;
  padding: 0 1rem;
}

.nxp-section { padding: clamp(4rem, 8vw, 7rem) 1.25rem; }
.nxp-section > .wp-block-group__inner-container { width: 100%; }
.nxp-section-heading { margin-bottom: 2.5rem; max-width: 760px; }
.nxp-section-heading.is-content-justification-center { margin-inline: auto; }
.nxp-eyebrow {
  color: var(--nxp-blue);
  font-family: var(--wp--preset--font-family--heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.nxp-section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0; }
.nxp-section-copy { color: var(--nxp-muted); font-size: 1.08rem; }

.nxp-hero {
  background: linear-gradient(132deg, var(--nxp-blue-deep), var(--nxp-blue) 58%, #153894);
  color: #fff;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}
.nxp-hero::before {
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.nxp-hero > * { position: relative; }
.nxp-hero h1 { color: #fff; font-size: clamp(2.35rem, 6vw, 4.6rem); max-width: 12ch; }
.nxp-hero p { color: #dbe7ff; font-size: clamp(1rem, 2vw, 1.18rem); max-width: 62ch; }
.nxp-hero .nxp-eyebrow { color: var(--nxp-yellow); }
.nxp-hero-image img { border-radius: 18px; box-shadow: 0 28px 70px rgba(0,0,0,.28); min-height: 420px; object-fit: cover; }

.wp-block-button__link { min-height: 44px; align-items: center; display: inline-flex; justify-content: center; }
.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 2px solid currentColor; }
.nxp-button-light .wp-block-button__link { border-color: #fff; color: #fff; }

.nxp-audience-card,
.nxp-tool-card,
.nxp-content-card,
.nxp-post-card {
  background: #fff;
  border: 1px solid var(--nxp-border);
  border-radius: var(--nxp-radius);
  box-shadow: 0 4px 18px rgba(14,34,105,.05);
  height: 100%;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.nxp-audience-card:first-child { border-top: 4px solid var(--nxp-blue); }
.nxp-audience-card:last-child { border-top: 4px solid var(--nxp-yellow); }

.nxp-services { background: var(--nxp-surface-soft); }
.nxp-pillar { border-radius: 16px; min-height: 420px; padding: 2rem; }
.nxp-pillar h3 { font-size: 1.55rem; }
.nxp-pillar--formation { background: linear-gradient(180deg, var(--nxp-blue-deep), var(--nxp-blue)); color: #cbd5e1; }
.nxp-pillar--formation h3,
.nxp-pillar--nexofox h3 { color: #fff; }
.nxp-pillar--consulting { background: #fff; border-left: 3px solid var(--nxp-yellow); box-shadow: var(--nxp-shadow); }
.nxp-pillar--nexofox { background: linear-gradient(145deg, #0f2d82, var(--nxp-blue-live)); color: #bfdbfe; }
.nxp-pillar-number { color: var(--nxp-yellow); font-family: var(--wp--preset--font-family--mono); font-size: 0.8rem; font-weight: 700; letter-spacing: .1em; }
.nxp-pillar-icon { align-items: center; background: rgba(255,255,255,.1); border-radius: 12px; display: flex; height: 56px; justify-content: center; width: 56px; }
.nxp-pillar--consulting .nxp-pillar-icon { background: #eef3ff; }
.nxp-pillar-link { color: var(--nxp-yellow) !important; font-weight: 700; }
.nxp-pillar--consulting .nxp-pillar-link { color: var(--nxp-blue) !important; }

.nxp-nexofox { background: var(--nxp-blue); color: #dbe7ff; }
.nxp-nexofox h2,
.nxp-nexofox h3 { color: #fff; }
.nxp-nexofox .nxp-eyebrow { color: var(--nxp-yellow); }
.nxp-tech-panel { background: #081645; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 2rem; }
.nxp-tech-panel code { color: var(--nxp-yellow); font-family: var(--wp--preset--font-family--mono); }

.nxp-tools { background: var(--nxp-surface); }
.nxp-formula { background: var(--nxp-blue); border-radius: 8px; color: #fff; font-family: var(--wp--preset--font-family--mono); padding: 1rem; }
.nxp-status { color: var(--nxp-blue); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

.nxp-query-card { border: 1px solid var(--nxp-border); border-radius: 12px; overflow: hidden; }
.nxp-query-card > *:not(figure) { margin-left: 1.25rem; margin-right: 1.25rem; }
.nxp-query-card .wp-block-post-excerpt { margin-bottom: 1.25rem; }
.nxp-podcast-note { background: var(--nxp-surface); border-left: 3px solid var(--nxp-yellow); padding: 1rem; }

.nxp-values { background: var(--nxp-surface-soft); }
.nxp-value { border-left: 3px solid var(--nxp-yellow); padding-left: 1.25rem; }

.nxp-contact-card { background: var(--nxp-surface); border-radius: 18px; padding: clamp(2rem, 6vw, 4rem); text-align: center; }
.nxp-contact-card .wp-block-buttons { justify-content: center; }
.nxp-contact-details { color: var(--nxp-muted); font-size: .95rem; }

.nxp-footer { background: var(--nxp-blue-deep); color: #cbd5e1; padding: 4.5rem 1.25rem 1.5rem; }
.nxp-footer h3 { color: #fff; font-size: 1rem; }
.nxp-footer a { color: #fff; }
.nxp-footer-slogan { color: var(--nxp-yellow); font-family: var(--wp--preset--font-family--heading); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nxp-footer-nav .wp-block-navigation__container { align-items: flex-start; gap: .65rem; }
.nxp-footer-bottom { border-top: 1px solid rgba(255,255,255,.16); font-size: .78rem; margin-top: 2rem; padding-top: 1.25rem; }
.nxp-entry-main { min-height: 55vh; padding: clamp(3rem, 8vw, 6rem) 1.25rem; }

@media (max-width: 781px) {
  .nxp-header-inner { min-height: 68px; padding-inline: 1rem; }
  .nxp-header-inner .custom-logo { max-height: 42px; max-width: 155px; }
  .nxp-hero { min-height: auto; }
  .nxp-hero-image img { min-height: 260px; }
  .nxp-section { padding-block: 4rem; }
  .nxp-pillar { min-height: auto; }
  .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

