/* Icon font for the design-system icons (self-hosted; previously loaded by Elementor). */
@font-face { font-family: 'Font Awesome 5 Free'; font-style: normal; font-weight: 900; font-display: block; src: url('fonts/fa-solid-900.woff2') format('woff2'), url('fonts/fa-solid-900.woff') format('woff'); }

/* =========================================================================
   APEX Home Blocks – design system for the Gutenberg home page
   Palette: deep navy + amber ("yellow room" light of lithography cleanrooms)
   ========================================================================= */

@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/outfit-variable.woff2) format('woff2'); }

.apx-home {
	--apx-ink: #0A1628;
	--apx-ink-2: #12243F;
	--apx-amber: #F2A900;
	--apx-amber-hover: #FFC53D;
	--apx-amber-text: #B97F00;
	--apx-paper: #F4F6F9;
	--apx-line: #E1E6EE;
	--apx-text: #16202F;
	--apx-muted: #556173;
	--apx-radius: 12px;
	--apx-font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-family: var(--apx-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--apx-text);
	margin: 0;
}
.apx-home *, .apx-home *::before, .apx-home *::after { box-sizing: border-box; }
.apx-home :where(h1, h2, h3, p, figure) { margin: 0; }
.apx-home .wp-block-group { margin-top: 0; margin-bottom: 0; }
/* Classic themes (no theme.json) wrap group children in an inner container; make it layout-neutral so grids and flex work on the real children. */
.apx-home .wp-block-group__inner-container { display: contents; }

/* Layout ------------------------------------------------------------------ */
.apx-home .apx-section { padding: 112px 24px; }
.apx-home .apx-inner { max-width: 1200px; margin-left: auto; margin-right: auto; width: 100%; }
.apx-home .apx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.apx-home .apx-split-45 { grid-template-columns: 9fr 11fr; }
.apx-home .apx-grid-2, .apx-home .apx-grid-3, .apx-home .apx-grid-4 { display: grid; gap: 24px; }
.apx-home .apx-grid-2 { grid-template-columns: repeat(2, 1fr); }
.apx-home .apx-grid-3 { grid-template-columns: repeat(3, 1fr); }
.apx-home .apx-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 0; }
.apx-home .apx-paper { background: var(--apx-paper); }

/* Typography -------------------------------------------------------------- */
.apx-home .wp-block-heading { font-family: var(--apx-font); color: var(--apx-text); font-weight: 700; letter-spacing: -0.01em; text-transform: none; }
.apx-home .apx-eyebrow { font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--apx-amber-text); margin-bottom: 14px; }
.apx-home .apx-h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.025em; color: #fff; max-width: 820px; margin-bottom: 20px; }
.apx-home .apx-h2 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.12; letter-spacing: -0.02em; max-width: 760px; margin-bottom: 32px; }
.apx-home h3.wp-block-heading { font-size: 20px; line-height: 1.3; font-weight: 600; margin-bottom: 8px; }
.apx-home .apx-body { color: var(--apx-muted); margin-bottom: 16px; }
.apx-home .apx-lead { font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); max-width: 640px; margin-bottom: 30px; }

/* Dark sections ----------------------------------------------------------- */
.apx-home .apx-dark { background: var(--apx-ink); color: rgba(255, 255, 255, 0.72); }
.apx-home .apx-dark .wp-block-heading { color: #fff; }
.apx-home .apx-dark .apx-eyebrow { color: var(--apx-amber); }
.apx-home .apx-dark .apx-body { color: rgba(255, 255, 255, 0.72); }

/* Buttons & links --------------------------------------------------------- */
.apx-home .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.apx-home .wp-block-button { margin: 0; }
.apx-home .wp-block-button a.wp-block-button__link { display: inline-block; font-family: var(--apx-font); font-size: 16px; font-weight: 600; line-height: 1; padding: 17px 28px; border-radius: 6px; text-decoration: none; text-transform: none; letter-spacing: 0; border: 0; transition: background-color .2s, box-shadow .2s, color .2s; }
.apx-home .apx-btn-primary a.wp-block-button__link { background: var(--apx-amber); color: var(--apx-ink); }
.apx-home .apx-btn-primary a.wp-block-button__link:hover { background: var(--apx-amber-hover); color: var(--apx-ink); }
.apx-home .apx-btn-ghost a.wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.apx-home .apx-btn-ghost a.wp-block-button__link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.apx-home a:focus-visible, .apx-home .wp-block-button__link:focus-visible { outline: 3px solid var(--apx-amber); outline-offset: 3px; }
.apx-home .apx-more { margin-top: 8px; }
.apx-home .apx-more a { display: inline-block; padding: 6px 0; color: var(--apx-text); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--apx-amber); }
.apx-home .apx-more a::after { content: ' \2192'; color: var(--apx-amber-text); }
.apx-home .apx-more a:hover { color: var(--apx-amber-text); }

/* Hero -------------------------------------------------------------------- */
.apx-home .apx-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 78vh; padding: 140px 24px; background-color: var(--apx-ink); background-position: center; background-size: cover; background-repeat: no-repeat; }
.apx-home .apx-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.82) 42%, rgba(10, 22, 40, 0.35) 100%); }
.apx-home .apx-hero .apx-inner { position: relative; z-index: 2; }
.apx-home .apx-hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.apx-home .apx-hero-video iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); border: 0; }

/* Stats ------------------------------------------------------------------- */
.apx-home .apx-stats { background: var(--apx-ink-2); padding: 44px 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.apx-home .apx-stat { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.apx-home .apx-stat:first-child { border-left: 0; padding-left: 0; }
.apx-home .apx-stat-num { font-size: 40px; line-height: 1.1; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.apx-home .apx-stat-label { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-top: 4px; }

/* Images ------------------------------------------------------------------ */
.apx-home .apx-img { margin: 0; }
.apx-home .apx-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--apx-radius); box-shadow: 0 24px 48px -24px rgba(10, 22, 40, 0.35); }
.apx-home .apx-img-tall img { aspect-ratio: 4 / 5; }

/* Icons (Font Awesome 5 Free, loaded by the theme) ------------------------ */
.apx-home .apx-ico-boxes { --apx-ico: '\f468'; }
.apx-home .apx-ico-tools { --apx-ico: '\f7d9'; }
.apx-home .apx-ico-user-cog { --apx-ico: '\f4fe'; }
.apx-home .apx-ico-arrow-up { --apx-ico: '\f0aa'; }
.apx-home .apx-ico-gauge { --apx-ico: '\f3fd'; }
.apx-home .apx-ico-recycle { --apx-ico: '\f1b8'; }
.apx-home .apx-ico-sync { --apx-ico: '\f2f1'; }
.apx-home .apx-ico-crosshairs { --apx-ico: '\f05b'; }
.apx-home .apx-ico-warehouse { --apx-ico: '\f494'; }
.apx-home .apx-ico-globe { --apx-ico: '\f7a2'; }

/* Service cards ----------------------------------------------------------- */
.apx-home .apx-card { background: #fff; border: 1px solid var(--apx-line); border-radius: var(--apx-radius); padding: 32px 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.apx-home .apx-card:hover { border-color: var(--apx-amber); box-shadow: 0 16px 36px -18px rgba(10, 22, 40, 0.25); transform: translateY(-2px); }
.apx-home .apx-card::before { content: var(--apx-ico); display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: var(--apx-radius); background: #FFF3D1; color: var(--apx-ink); font: 900 22px/1 'Font Awesome 5 Free'; }
.apx-home .apx-card p, .apx-home .apx-why p { font-size: 15.5px; line-height: 1.6; color: var(--apx-muted); }

/* Platform tiles (whole tile clickable via stretched link) --------------- */
.apx-home .apx-tile { position: relative; padding: 28px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--apx-radius); background: rgba(255, 255, 255, 0.035); transition: border-color .2s, background-color .2s; }
.apx-home .apx-tile:hover, .apx-home .apx-tile:focus-within { border-color: var(--apx-amber); background: rgba(242, 169, 0, 0.06); }
.apx-home .apx-tile h3.wp-block-heading { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.apx-home .apx-tile h3 a { color: #fff; text-decoration: none; }
.apx-home .apx-tile h3 a::after { content: ' \2192'; color: var(--apx-amber); }
.apx-home .apx-tile h3 a::before { content: ''; position: absolute; inset: 0; border-radius: var(--apx-radius); }
.apx-home .apx-tile h3 a:focus-visible { outline: none; }
.apx-home .apx-tile h3 a:focus-visible::before { outline: 3px solid var(--apx-amber); outline-offset: 2px; }
.apx-home .apx-tile p { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.66); }

/* Why APEX ---------------------------------------------------------------- */
.apx-home .apx-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.apx-home .apx-why { position: relative; min-height: 48px; padding-left: 66px; }
.apx-home .apx-why::before { content: var(--apx-ico); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: var(--apx-ink); color: var(--apx-amber); font: 900 19px/1 'Font Awesome 5 Free'; }

/* Locations --------------------------------------------------------------- */
.apx-home .apx-loc { background: #fff; border: 1px solid var(--apx-line); border-top: 4px solid var(--apx-amber); border-radius: var(--apx-radius); padding: 36px; }
.apx-home .apx-loc h3.wp-block-heading { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.apx-home .apx-loc-sub { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--apx-muted); margin-bottom: 8px; }

/* Contact ----------------------------------------------------------------- */
.apx-home .apx-cta { background: radial-gradient(120% 90% at 0% 0%, #1B3358 0%, var(--apx-ink) 55%); }
.apx-home .apx-contact { margin-top: 22px; }
.apx-home .apx-contact a { color: var(--apx-amber); font-size: 19px; font-weight: 600; line-height: 1.9; text-decoration: none; }
.apx-home .apx-contact a:hover { text-decoration: underline; }
.apx-home .apx-form-card { background: #fff; color: var(--apx-text); border-radius: 14px; padding: 36px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.apx-home .apx-form-card .wpcf7-form label { font-family: var(--apx-font); color: var(--apx-text); }
.apx-home .apx-form-card .wpcf7-form input[type=submit] { background: var(--apx-amber); color: var(--apx-ink); border: 0; font-family: var(--apx-font); text-transform: none; letter-spacing: 0; }
.apx-home .apx-form-card .wpcf7-form input[type=submit]:hover { background: var(--apx-amber-hover); }

/* Site integration: the Elementor header template has a 150px spacer
   section that would leave a white strip above the dark hero. */
body:has(.apx-hero) [data-elementor-type="header"] .elementor-element-783433d { display: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1024px) {
	.apx-home .apx-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.apx-home .apx-split { gap: 40px; }
}
@media (max-width: 781px) {
	.apx-home .apx-section { padding: 64px 16px; }
	.apx-home .apx-hero { min-height: 560px; padding: 96px 16px; }
	.apx-home .apx-lead { font-size: 17px; }
	.apx-home .apx-split, .apx-home .apx-split-45, .apx-home .apx-grid-2, .apx-home .apx-grid-3, .apx-home .apx-why-grid { grid-template-columns: 1fr; }
	.apx-home .apx-stats { padding: 28px 16px; }
	.apx-home .apx-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
	.apx-home .apx-stat, .apx-home .apx-stat:first-child { border-left: 0; padding: 0 8px; }
	.apx-home .apx-stat-num { font-size: 30px; }
	.apx-home .apx-img img, .apx-home .apx-img-tall img { aspect-ratio: 16 / 10; }
	.apx-home .apx-loc, .apx-home .apx-form-card { padding: 24px; }
	.apx-home .apx-hero-video { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.apx-home * { transition: none !important; }
	.apx-home .apx-card:hover { transform: none; }
	.apx-home .apx-hero-video { display: none; }
}

/* Block editor: keep the canvas calm (no video, no hover lift). */
.editor-styles-wrapper .apx-home .apx-hero-video { display: none; }
.editor-styles-wrapper .apx-home .apx-hero { min-height: 520px; }

/* =========================================================================
   Services page
   ========================================================================= */
.apx-home .apx-hero--compact { min-height: 0; padding: 150px 24px 110px; }
.apx-home .apx-hero--compact .apx-h1 { font-size: clamp(32px, 3.8vw, 54px); max-width: 900px; }

.apx-home .apx-ico-stethoscope { --apx-ico: '\f0f1'; }
.apx-home .apx-ico-level-up { --apx-ico: '\f3bf'; }
.apx-home .apx-ico-headset { --apx-ico: '\f590'; }
.apx-home .apx-ico-truck-loading { --apx-ico: '\f4de'; }
.apx-home .apx-ico-truck { --apx-ico: '\f0d1'; }
.apx-home .apx-ico-search { --apx-ico: '\f002'; }
.apx-home .apx-ico-microscope { --apx-ico: '\f610'; }

/* Platform tiles with model lists */
.apx-home .apx-tile .apx-list { list-style: none !important; margin: 4px 0 0; padding: 0; }
.apx-home .apx-tile .apx-list li { list-style: none !important; position: relative; padding-left: 18px; margin: 0 0 8px; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }
.apx-home .apx-tile .apx-list li:last-child { margin-bottom: 0; }
.apx-home .apx-tile .apx-list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--apx-amber); }
.apx-home .apx-tile--plain:hover { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.035); }

/* FAQ (core Details block: native, keyboard accessible) */
.apx-home .apx-narrow-inner { max-width: 880px; }
.apx-home .apx-faq-list { border-top: 1px solid var(--apx-line); }
.apx-home .apx-faq-item { border-bottom: 1px solid var(--apx-line); margin: 0; }
.apx-home .apx-faq-item summary { position: relative; cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-size: 19px; line-height: 1.4; font-weight: 600; color: var(--apx-text); }
.apx-home .apx-faq-item summary::-webkit-details-marker { display: none; }
.apx-home .apx-faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: #FFF3D1; color: var(--apx-ink); font-size: 22px; line-height: 32px; text-align: center; font-weight: 500; }
.apx-home .apx-faq-item[open] summary::after { content: '\2212'; }
.apx-home .apx-faq-item summary:hover { color: var(--apx-amber-text); }
.apx-home .apx-faq-item summary:focus-visible { outline: 3px solid var(--apx-amber); outline-offset: 4px; border-radius: 4px; }
.apx-home .apx-faq-item p { padding: 0 48px 22px 0; color: var(--apx-muted); }

@media (max-width: 781px) {
	.apx-home .apx-hero--compact { padding: 104px 16px 72px; }
	.apx-home .apx-faq-item summary { font-size: 17px; }
	.apx-home .apx-faq-item p { padding-right: 0; }
}
.apx-home .apx-tile .apx-list li::marker { content: none; }


/* OEM and About pages (converted from Elementor) */
.apx-home .apx-prose { max-width: 820px; }
.apx-home .apx-prose p, .apx-home .apx-prose li { color: var(--apx-text); font-size: 17px; line-height: 1.7; }
.apx-home .apx-prose .wp-block-list { padding-left: 1.2em; margin: 0 0 1.2em; }
.apx-home .apx-prose .wp-block-list li { margin: 0 0 6px; }
.apx-home .apx-list-cols { columns: 2; column-gap: 48px; }
.apx-home .apx-list-cols li { break-inside: avoid; }
.apx-home .apx-card .wp-block-list { padding-left: 1.2em; }
.apx-home .apx-media-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.apx-home .apx-media-row { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; background: #fff; border: 1px solid var(--apx-line); border-radius: var(--apx-radius); padding: 24px; }
.apx-home .apx-media-row .apx-img img { aspect-ratio: auto; width: 100%; height: auto; max-height: 340px; object-fit: contain; background: var(--apx-paper); box-shadow: none; }
.apx-home .apx-media-row h3 { margin: 4px 0 12px; font-size: 20px; line-height: 1.35; color: var(--apx-ink); }
.apx-home .apx-media-row p, .apx-home .apx-media-row li { color: var(--apx-text); line-height: 1.65; }
.apx-home .apx-video-card { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; margin-top: 24px; padding: 24px 28px; border-radius: var(--apx-radius); background: var(--apx-ink); color: #E6EBF2; }
.apx-home .apx-video-card p { margin: 0; color: #E6EBF2; }
.apx-home .apx-video-card .apx-eyebrow { color: var(--apx-amber); margin-bottom: 4px; }
@media (max-width: 781px) { .apx-home .apx-media-row { grid-template-columns: 1fr; gap: 20px; } .apx-home .apx-list-cols { columns: 1; } .apx-home .apx-media-row .apx-img img { max-height: 280px; } }

/* Grid children may shrink below their content; form fields follow the card width. */
.apx-home .apx-split > *, .apx-home .apx-grid-2 > *, .apx-home .apx-media-row > * { min-width: 0; }
.apx-home .apx-form-card input:not([type=checkbox]):not([type=radio]):not([type=submit]), .apx-home .apx-form-card textarea, .apx-home .apx-form-card select { width: 100%; max-width: 100%; box-sizing: border-box; }

/* Inquiry page: one request type at a time (tabs via :target), text beside the form, compact forms. */
.apx-inquiry-page .apx-inquiry { padding-top: 48px; }
.apx-inquiry-page .apx-inq-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 32px; }
.apx-inquiry-page .apx-inq-tabs p { margin: 0; }
.apx-inquiry-page .apx-inq-tab { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 20px 22px; background: #fff; border: 2px solid var(--apx-line); border-radius: var(--apx-radius); color: var(--apx-text) !important; text-decoration: none !important; transition: border-color .2s, background-color .2s; }
.apx-inquiry-page .apx-inq-tab strong { font-size: 18px; line-height: 1.3; color: var(--apx-ink); }
.apx-inquiry-page .apx-inq-tab span { font-size: 14px; line-height: 1.5; color: var(--apx-muted); }
.apx-inquiry-page .apx-inq-tab:hover { border-color: var(--apx-amber); }
.apx-inquiry-page .apx-inq-tab:focus-visible { outline: 3px solid var(--apx-amber); outline-offset: 2px; }
.apx-inquiry-page .apx-inq-panel { scroll-margin-top: 170px; }
.apx-inquiry-page .apx-inq-panel + .apx-inq-panel { margin-top: 48px; }
.apx-inquiry-page .apx-inq-panel .apx-split { align-items: start; gap: 48px; }
.apx-inquiry-page .apx-inq-text { position: sticky; top: 32px; padding-top: 8px; }
.apx-inquiry-page .apx-inq-text .apx-h2 { margin-top: 0; }
.apx-inquiry-page .apx-inq-include { margin: 24px 0 8px; }
.apx-inquiry-page .apx-inq-checklist { list-style: none; padding: 0 !important; margin: 0 0 24px; }
.apx-inquiry-page .apx-inq-checklist li { position: relative; padding-left: 28px; margin: 0 0 8px; }
.apx-inquiry-page .apx-inq-checklist li::before { content: ''; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--apx-amber-text); border-bottom: 2px solid var(--apx-amber-text); transform: rotate(-45deg); }
.apx-inquiry-page .apx-form-card { padding: 32px; }
.apx-inquiry-page .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.apx-inquiry-page .wpcf7-form > * { grid-column: 1 / -1; margin: 0; }
.apx-inquiry-page .wpcf7-form > p:nth-of-type(-n+4) { grid-column: auto; }
.apx-inquiry-page .wpcf7-form > .apx-hp, .apx-inquiry-page .wpcf7-form > .wpcf7-turnstile:empty { display: none; }
.apx-inquiry-page .wpcf7-form label { display: block; font-size: 14px; font-weight: 600; color: var(--apx-ink); }
.apx-inquiry-page .wpcf7-form br { display: none; }
.apx-inquiry-page .wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.apx-inquiry-page .wpcf7-form input:not([type=checkbox]):not([type=radio]):not([type=submit]), .apx-inquiry-page .wpcf7-form select, .apx-inquiry-page .wpcf7-form textarea { font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid #CBD2DC; border-radius: 8px; background: #fff; }
.apx-inquiry-page .wpcf7-form textarea { height: 140px; resize: vertical; }
.apx-inquiry-page .wpcf7-form input:focus, .apx-inquiry-page .wpcf7-form select:focus, .apx-inquiry-page .wpcf7-form textarea:focus { outline: none; border-color: var(--apx-amber); box-shadow: 0 0 0 3px rgba(242, 169, 0, .25); }
.apx-inquiry-page .wpcf7-form > p:has(+ p .wpcf7-radio) { font-size: 14px; font-weight: 600; color: var(--apx-ink); margin-bottom: -10px; }
.apx-inquiry-page .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.apx-inquiry-page .wpcf7-radio .wpcf7-list-item { margin: 0; }
.apx-inquiry-page .wpcf7-radio label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #CBD2DC; border-radius: 999px; background: #fff; font-weight: 500; cursor: pointer; }
.apx-inquiry-page .wpcf7-radio label:has(input:checked) { border-color: var(--apx-amber); background: #FFF8E6; }
.apx-inquiry-page .wpcf7-radio input { accent-color: var(--apx-amber-text); }
.apx-inquiry-page .wpcf7-form input[type=submit] { justify-self: start; cursor: pointer; border: 0; border-radius: 8px; padding: 14px 28px; background: var(--apx-amber); color: var(--apx-ink); font: 600 16px/1 var(--apx-font); }
.apx-inquiry-page .wpcf7-form input[type=submit]:hover { background: var(--apx-amber-hover); }
.apx-inquiry-page .wpcf7-form .wpcf7-spinner { margin: 0 0 0 12px; }
@media (max-width: 781px) {
  .apx-inquiry-page .apx-inquiry { padding-top: 24px; }
  .apx-inquiry-page .apx-inq-tabs { gap: 8px; margin-bottom: 24px; }
  .apx-inquiry-page .apx-inq-tab { padding: 12px 10px; text-align: center; justify-content: center; }
  .apx-inquiry-page .apx-inq-tab strong { font-size: 14px; }
  .apx-inquiry-page .apx-inq-tab span { display: none; }
  .apx-inquiry-page .apx-inq-panel { scroll-margin-top: 90px; }
  .apx-inquiry-page .apx-inq-text { position: static; }
  .apx-inquiry-page .apx-inq-panel .apx-split { gap: 24px; }
  .apx-inquiry-page .apx-form-card { padding: 20px; }
  .apx-inquiry-page .wpcf7-form { grid-template-columns: 1fr; }
  .apx-inquiry-page .wpcf7-form > p:nth-of-type(-n+4) { grid-column: 1 / -1; }
}

/* Inquiry tabs without :has(): panels come first in the markup, the tab bar last (shown first via order). */
.apx-inquiry-page .apx-inquiry .apx-inner { display: flex; flex-direction: column; }
.apx-inquiry-page .apx-inq-tabs { order: -1; }
.apx-inquiry-page .apx-inq-panel, .apx-inquiry-page .apx-inq-panel + .apx-inq-panel { margin-top: 0; }
.apx-inquiry-page .apx-inq-panel:not(#support) { display: none; }
.apx-inquiry-page #used-equipment:target, .apx-inquiry-page #spare-parts:target, .apx-inquiry-page #support:target { display: block; }
.apx-inquiry-page #used-equipment:target ~ #support, .apx-inquiry-page #spare-parts:target ~ #support { display: none; }
.apx-inquiry-page .apx-inq-tab[href='#support'], .apx-inquiry-page #used-equipment:target ~ .apx-inq-tabs .apx-inq-tab[href='#used-equipment'], .apx-inquiry-page #spare-parts:target ~ .apx-inq-tabs .apx-inq-tab[href='#spare-parts'] { border-color: var(--apx-amber); background: #FFF8E6; box-shadow: inset 0 -4px 0 var(--apx-amber); }
.apx-inquiry-page #used-equipment:target ~ .apx-inq-tabs .apx-inq-tab[href='#support'], .apx-inquiry-page #spare-parts:target ~ .apx-inq-tabs .apx-inq-tab[href='#support'] { border-color: var(--apx-line); background: #fff; box-shadow: none; }

/* Layout tune-up 2026-09-21 (Kadence, no Elementor header): tighter vertical rhythm, landscape photo in Why APEX, balanced contact section. */
.apx-home .apx-section:not(.apx-inquiry) { padding: 80px 24px; }
.apx-home .apx-hero { min-height: 560px; padding: 112px 24px 104px; }
.apx-home .apx-hero--compact { min-height: 0; padding: 88px 24px 72px; }
.apx-home .apx-stats { padding: 36px 24px; }
.apx-home .apx-whysec .apx-split { align-items: center; }
.apx-home .apx-whysec .apx-img-tall img { aspect-ratio: 4 / 3; }
.apx-home .apx-cta .apx-split { align-items: start; }
.apx-home .apx-cta .apx-split > .apx-col { padding-top: 16px; }
.apx-home .apx-cta .apx-form-card { padding: 32px; }
.apx-home .apx-cta .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.apx-home .apx-cta .wpcf7-form > * { grid-column: 1 / -1; margin: 0; }
.apx-home .apx-cta .wpcf7-form > p:nth-of-type(-n+2) { grid-column: auto; }
.apx-home .apx-cta .wpcf7-form > .wpcf7-turnstile:empty, .apx-home .apx-cta .wpcf7-form > .apx-hp { display: none; }
.apx-home .apx-cta .wpcf7-form br { display: none; }
.apx-home .apx-cta .wpcf7-form label { display: block; font-size: 14px; font-weight: 600; color: var(--apx-ink); }
.apx-home .apx-cta .wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.apx-home .apx-cta .wpcf7-form input:not([type=checkbox]):not([type=radio]):not([type=submit]), .apx-home .apx-cta .wpcf7-form select, .apx-home .apx-cta .wpcf7-form textarea { font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid #CBD2DC; border-radius: 8px; background: #fff; }
.apx-home .apx-cta .wpcf7-form textarea { height: 150px; resize: vertical; }
.apx-home .apx-cta .wpcf7-form input:focus, .apx-home .apx-cta .wpcf7-form textarea:focus { outline: none; border-color: var(--apx-amber); box-shadow: 0 0 0 3px rgba(242, 169, 0, .25); }
.apx-home .apx-cta .wpcf7-form input[type=submit] { justify-self: start; cursor: pointer; border-radius: 8px; padding: 14px 28px; font: 600 16px/1 var(--apx-font); }
.apx-home .apx-cta .wpcf7-form .wpcf7-spinner { margin: 0 0 0 12px; }
@media (max-width: 781px) {
  .apx-home .apx-section:not(.apx-inquiry) { padding: 56px 16px; }
  .apx-home .apx-hero { min-height: 0; padding: 88px 16px 80px; }
  .apx-home .apx-hero--compact { padding: 72px 16px 56px; }
  .apx-home .apx-stats { padding: 28px 16px; }
  .apx-home .apx-whysec .apx-img-tall img { aspect-ratio: 16 / 10; }
  .apx-home .apx-cta .apx-form-card { padding: 20px; }
  .apx-home .apx-cta .wpcf7-form { grid-template-columns: 1fr; }
  .apx-home .apx-cta .wpcf7-form > p:nth-of-type(-n+2) { grid-column: 1 / -1; }
}

/* Request forms with company/phone fields: name+company and email+phone side by side. */
.apx-home .apx-cta .wpcf7-form:has([name="your-company"]) > p:nth-of-type(-n+4) { grid-column: auto; }
@media (max-width: 781px) { .apx-home .apx-cta .wpcf7-form:has([name="your-company"]) > p:nth-of-type(-n+4) { grid-column: 1 / -1; } }

/* Wafertec gallery: portrait photos shown whole, not cropped. */
.apx-home.apx-wafertec-page .apx-grid-2 .apx-img img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; box-shadow: none; }
.apx-home.apx-wafertec-page .apx-grid-2 .apx-card p { margin: 14px 0 0; font-weight: 600; color: var(--apx-ink); }

/* Photo grids with portrait photos (ISEL post): show whole photos. */
.apx-home .apx-photo-grid .apx-img img, .apx-home.apx-isel-page .apx-split .apx-img img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.apx-home .apx-photo-grid { gap: 20px; }

/* Compact request forms (all dark request sections). */
.apx-home .apx-cta .apx-form-card { padding: 28px; }
.apx-home .apx-cta .wpcf7-form { gap: 12px 16px; }
.apx-home .apx-cta .wpcf7-form label { font-size: 13px; }
.apx-home .apx-cta .wpcf7-form .wpcf7-form-control-wrap { margin-top: 4px; }
.apx-home .apx-cta .wpcf7-form input:not([type=checkbox]):not([type=radio]):not([type=submit]), .apx-home .apx-cta .wpcf7-form select, .apx-home .apx-cta .wpcf7-form textarea { font-size: 15px; line-height: 1.4; padding: 9px 12px; }
.apx-home .apx-cta .wpcf7-form textarea { height: 96px; }
.apx-home .apx-cta .wpcf7-form > p:has(+ p .wpcf7-radio) { font-size: 13px; font-weight: 600; color: var(--apx-ink); margin-bottom: -6px; }
.apx-home .apx-cta .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.apx-home .apx-cta .wpcf7-radio .wpcf7-list-item { margin: 0; }
.apx-home .apx-cta .wpcf7-radio label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #CBD2DC; border-radius: 999px; font-weight: 500; cursor: pointer; }
.apx-home .apx-cta .wpcf7-radio label:has(input:checked) { border-color: var(--apx-amber); background: #FFF8E6; }
.apx-home .apx-cta .wpcf7-radio input { accent-color: var(--apx-amber-text); margin: 0; }
.apx-home .apx-cta .wpcf7-form input[type=submit] { padding: 12px 24px; font-size: 15px; }
/* Julabo page: buy/sell and substrate size don't apply to chillers ('Buy' stays selected). */
.apx-home.apx-julabo-page .apx-cta .wpcf7-form > p:has(+ p .wpcf7-radio), .apx-home.apx-julabo-page .apx-cta .wpcf7-form > p:has(.wpcf7-radio), .apx-home.apx-julabo-page .apx-cta .wpcf7-form > p:has([name="substrate"]) { display: none; }
@media (max-width: 781px) { .apx-home .apx-cta .apx-form-card { padding: 20px; } }


/* Services page: service cards as compact tiles inside the hero. */
.apx-home .apx-hero.apx-hero-services .apx-service-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.apx-home .apx-hero.apx-hero-services .apx-service-tiles .apx-card { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; padding: 14px 16px; background: rgba(10,22,40,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; box-shadow: none; transform: none; backdrop-filter: blur(6px); transition: border-color .2s, background-color .2s; }
.apx-home .apx-hero.apx-hero-services .apx-service-tiles .apx-card:hover { border-color: #F2A900; background: rgba(242,169,0,.14); box-shadow: none; transform: none; }
.apx-home .apx-hero.apx-hero-services .apx-service-tiles .apx-card::before { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; font-size: 16px; border-radius: 10px; background: rgba(242,169,0,.16); color: #F2A900; }
.apx-home .apx-hero.apx-hero-services .apx-service-tiles .apx-card h3 { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.3; color: #fff; }
.apx-home .apx-hero.apx-hero-services .apx-service-tiles .apx-card p { grid-column: 2; margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.72); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1279px) { .apx-home .apx-hero.apx-hero-services .apx-service-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .apx-home .apx-hero.apx-hero-services .apx-service-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 781px) { .apx-home .apx-hero.apx-hero-services .apx-service-tiles { gap: 8px; margin-top: 24px; } .apx-home .apx-hero.apx-hero-services .apx-service-tiles .apx-card { display: block; padding: 9px 10px 10px; border-radius: 10px; } .apx-home .apx-hero.apx-hero-services .apx-service-tiles .apx-card::before, .apx-home .apx-hero.apx-hero-services .apx-service-tiles .apx-card p { display: none; } .apx-home .apx-hero.apx-hero-services .apx-service-tiles .apx-card h3 { font-size: 13px; line-height: 1.25; } }


/* About page: key facts as compact tiles inside the hero (same look as the services tiles). */
.apx-home .apx-hero.apx-hero-facts .apx-fact-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.apx-home .apx-hero.apx-hero-facts .apx-fact-tiles .apx-card { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; padding: 14px 16px; background: rgba(10,22,40,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; box-shadow: none; transform: none; backdrop-filter: blur(6px); }
.apx-home .apx-hero.apx-hero-facts .apx-fact-tiles .apx-card:hover { border-color: rgba(255,255,255,.14); box-shadow: none; transform: none; }
.apx-home .apx-hero.apx-hero-facts .apx-fact-tiles .apx-card::before { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; font-size: 16px; border-radius: 10px; background: rgba(242,169,0,.16); color: #F2A900; }
.apx-home .apx-hero.apx-hero-facts .apx-fact-tiles .apx-card h3 { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.3; color: #fff; }
.apx-home .apx-hero.apx-hero-facts .apx-fact-tiles .apx-card p { grid-column: 2; margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.72); }
@media (max-width: 1024px) { .apx-home .apx-hero.apx-hero-facts .apx-fact-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 781px) { .apx-home .apx-hero.apx-hero-facts .apx-fact-tiles { gap: 8px; margin-top: 24px; } .apx-home .apx-hero.apx-hero-facts .apx-fact-tiles .apx-card { display: block; padding: 9px 10px 10px; border-radius: 10px; } .apx-home .apx-hero.apx-hero-facts .apx-fact-tiles .apx-card::before, .apx-home .apx-hero.apx-hero-facts .apx-fact-tiles .apx-card p { display: none; } .apx-home .apx-hero.apx-hero-facts .apx-fact-tiles .apx-card h3 { font-size: 13px; line-height: 1.25; } }


/* Used equipment page: linked tiles inside the hero. The heading link covers the whole tile. */
.apx-home .apx-hero.apx-hero-links .apx-link-tiles { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 760px; gap: 12px; margin-top: 36px; }
.apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card { position: relative; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; padding: 14px 16px; background: rgba(10,22,40,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; box-shadow: none; transform: none; backdrop-filter: blur(6px); transition: border-color .2s, background-color .2s; }
.apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card:hover, .apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card:focus-within { border-color: #F2A900; background: rgba(242,169,0,.14); box-shadow: none; transform: none; }
.apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card::before { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; font-size: 16px; border-radius: 10px; background: rgba(242,169,0,.16); color: #F2A900; }
.apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card h3 { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.3; }
.apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card h3 a { color: #fff; text-decoration: none; }
.apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card p { grid-column: 2; margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.72); }
@media (max-width: 781px) { .apx-home .apx-hero.apx-hero-links .apx-link-tiles { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; } .apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card { grid-template-columns: 32px 1fr; column-gap: 12px; padding: 10px 12px; border-radius: 10px; } .apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card::before { width: 32px; height: 32px; font-size: 14px; border-radius: 8px; } .apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card h3 { font-size: 14px; } .apx-home .apx-hero.apx-hero-links .apx-link-tiles .apx-card p { font-size: 12.5px; margin-top: 2px; } }

.apx-home .apx-ico-envelope { --apx-ico: '\f0e0'; }
.apx-home .apx-ico-map-marker { --apx-ico: '\f3c5'; }

/* Julabo page: three fact tiles in the hero. */
@media (min-width: 1025px) { .apx-home .apx-hero.apx-hero-facts .apx-fact-tiles.apx-fact-tiles--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .apx-home .apx-hero.apx-hero-facts .apx-fact-tiles.apx-fact-tiles--3 .apx-card:last-child { grid-column: 1 / -1; } }

/* Lippert page: three linked tiles in the hero. */
.apx-home .apx-hero.apx-hero-links .apx-link-tiles.apx-link-tiles--3 { max-width: none; }
@media (min-width: 1025px) { .apx-home .apx-hero.apx-hero-links .apx-link-tiles.apx-link-tiles--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 782px) and (max-width: 1024px) { .apx-home .apx-hero.apx-hero-links .apx-link-tiles.apx-link-tiles--3 .apx-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Our Projects: six platform tiles in the hero; compact two-column tiles on phones. */
@media (max-width: 781px) { .apx-home.apx-projects-page .apx-hero.apx-hero-links .apx-link-tiles { grid-template-columns: repeat(2, 1fr); } .apx-home.apx-projects-page .apx-hero.apx-hero-links .apx-link-tiles .apx-card { display: block; padding: 9px 10px 10px; } .apx-home.apx-projects-page .apx-hero.apx-hero-links .apx-link-tiles .apx-card::before, .apx-home.apx-projects-page .apx-hero.apx-hero-links .apx-link-tiles .apx-card p { display: none; } .apx-home.apx-projects-page .apx-hero.apx-hero-links .apx-link-tiles .apx-card h3 { font-size: 13px; line-height: 1.25; } }

/* Lippert board lookup table. */
.apx-home .apx-table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--apx-line); border-radius: var(--apx-radius); background: #fff; }
.apx-home .apx-lippert-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.apx-home .apx-lippert-table th, .apx-home .apx-lippert-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--apx-line); vertical-align: top; }
.apx-home .apx-lippert-table th { background: #F4F6F9; font-weight: 700; color: var(--apx-ink); white-space: nowrap; }
.apx-home .apx-lippert-table tr:last-child td { border-bottom: 0; }
.apx-home .apx-lippert-table td:first-child a { font-weight: 700; white-space: nowrap; }
.apx-home .apx-lippert-table td:last-child, .apx-home .apx-lippert-table th:last-child { text-align: right; }
@media (max-width: 781px) { .apx-home .apx-lippert-table { font-size: 13.5px; } .apx-home .apx-lippert-table th, .apx-home .apx-lippert-table td { padding: 9px 10px; } }
