/* =========================================================
   BIONOX SECURE — design tokens
   Mirrors the original Tailwind palette: abyss / graphite / card /
   line / mist / steel / electric / blue.
   ========================================================= */
:root {
	--abyss:    #0a0e14;
	--graphite: #10151d;
	--card:     #131a24;
	--line:     #22303f;
	--mist:     #eef2f6;
	--steel:    #93a3b5;
	--electric: #33e0ff;
	--blue:     #2b6ef2;

	--radius: 12px;
	--container: 1320px;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-display: 'Space Grotesk', var(--font-body);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--abyss);
	color: var(--mist);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.bx-container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .bx-container { padding: 0 32px; } }

/* =========================================================
   TYPE HELPERS
   ========================================================= */
.eyebrow {
	font-size: 11px; font-weight: 700; letter-spacing: .24em;
	text-transform: uppercase; color: var(--electric); margin: 0 0 12px;
}
.bx-h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
.bx-h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.bx-lede { color: var(--steel); font-size: 14.5px; line-height: 1.7; max-width: 46em; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 24px; border-radius: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	transition: all .25s ease; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: linear-gradient(90deg, var(--blue), var(--electric)); color: #04121a; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--mist); background: transparent; }
.btn-outline:hover { border-color: var(--electric); color: var(--electric); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.bx-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10,14,20,.82); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.bx-header-inner {
	max-width: var(--container); margin: 0 auto; padding: 14px 20px;
	display: flex; align-items: center; gap: 28px;
}
@media (min-width: 768px) { .bx-header-inner { padding: 16px 32px; } }
.bx-logo { display: flex; align-items: center; }
.bx-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.bx-logo-accent { color: var(--electric); }
.bx-nav { flex: 1; display: none; }
@media (min-width: 900px) { .bx-nav { display: block; } }
.bx-nav-list { display: flex; gap: 28px; }
.bx-nav-list a { font-size: 13px; font-weight: 600; color: var(--steel); transition: color .2s; }
.bx-nav-list a:hover { color: var(--mist); }
.bx-nav-cta { display: none; }
@media (min-width: 900px) { .bx-nav-cta { display: inline-flex; } }
.bx-nav-toggle {
	margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px;
	width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center;
	justify-content: center; gap: 4px;
}
@media (min-width: 900px) { .bx-nav-toggle { display: none; } }
.bx-nav-toggle span { width: 18px; height: 2px; background: var(--mist); }
.bx-nav-list.is-open { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }

/* =========================================================
   HERO
   ========================================================= */
.bx-hero {
	position: relative; min-height: 92vh; display: flex; align-items: flex-end;
	overflow: hidden; background: radial-gradient(circle at 30% 20%, #101b2c, var(--abyss) 65%);
	padding-bottom: 80px; padding-top: 140px;
}
.bx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.bx-hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, var(--abyss) 5%, rgba(10,14,20,.55) 55%, rgba(10,14,20,.2));
}
.bx-hero-inner { position: relative; z-index: 1; }
.bx-hero-heading { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; max-width: 780px; }
.bx-hero-sub { margin-top: 22px; max-width: 560px; color: var(--steel); font-size: 16px; line-height: 1.7; }
.bx-hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.bx-hero-strip {
	margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(238,242,246,.1);
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.bx-hero-strip-item { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(147,163,181,.85); }
.bx-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(51,224,255,.5); }

/* =========================================================
   SECTIONS / GRID
   ========================================================= */
.bx-section { padding: 80px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .bx-section { padding: 112px 0; } }
.bx-section-alt { background: var(--graphite); }
.bx-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }

.bx-grid-split { display: grid; gap: 48px; }
@media (min-width: 1024px) { .bx-grid-split { grid-template-columns: 1fr 1.25fr; gap: 80px; } }
.bx-sticky { position: sticky; top: 112px; align-self: start; }

.bx-card-grid { display: grid; gap: 20px; margin-top: 48px; }
.bx-grid-split .bx-card-grid { margin-top: 0; }
.bx-card-grid-2 { grid-template-columns: 1fr; }
.bx-card-grid-3 { grid-template-columns: 1fr; }
.bx-card-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.bx-card-grid-2 { grid-template-columns: 1fr 1fr; }
	.bx-card-grid-3 { grid-template-columns: 1fr 1fr; }
	.bx-card-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.bx-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
	.bx-card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   CARDS
   ========================================================= */
.bx-card {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 24px; transition: border-color .3s, transform .3s;
}
.bx-card-link:hover { border-color: rgba(51,224,255,.4); transform: translateY(-2px); }
.bx-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(51,224,255,.08); border: 1px solid var(--line); margin-bottom: 16px; }
.bx-card-icon .dashicons, .bx-card-icon-sm .dashicons { color: var(--electric); }
.bx-card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.bx-card-title-sm { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.bx-card-text { font-size: 13px; color: var(--steel); line-height: 1.6; }
.bx-card-text-sm { display: block; font-size: 12px; color: var(--steel); line-height: 1.5; }
.bx-card-row { display: flex; align-items: flex-start; gap: 14px; }
.bx-card-icon-sm { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--abyss); border: 1px solid var(--line); }

.bx-callout { margin-top: 28px; display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: rgba(51,224,255,.05); border: 1px solid rgba(51,224,255,.2); }
.bx-callout .dashicons { color: var(--electric); margin-top: 2px; }
.bx-callout p { font-size: 13px; color: var(--steel); line-height: 1.6; }
.bx-callout strong { color: var(--mist); }

.bx-project-thumb { border-radius: 10px; overflow: hidden; margin-bottom: 16px; aspect-ratio: 16/10; }
.bx-project-thumb img { width: 100%; height: 100%; object-fit: cover; }

.bx-empty-state { text-align: center; padding: 56px 24px; }
.bx-empty-state .btn { margin-top: 20px; }

/* =========================================================
   CHIPS / TEXT LINKS
   ========================================================= */
.bx-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.bx-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font-size: 12px; color: var(--steel); }
.bx-chip .dashicons { color: rgba(51,224,255,.8); font-size: 15px; width: 15px; height: 15px; }
.bx-textlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--electric); }

/* =========================================================
   CTA BAND
   ========================================================= */
.bx-cta-band { border-top: 1px solid var(--line); background: radial-gradient(circle at 50% 0%, #101b2c, var(--abyss) 70%); padding: 90px 0; }
.bx-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.bx-cta-inner p { color: var(--steel); margin: 14px 0 30px; font-size: 15px; }

/* =========================================================
   FOOTER
   ========================================================= */
.bx-footer { border-top: 1px solid var(--line); background: var(--graphite); padding: 64px 0 24px; }
.bx-footer-top { display: grid; gap: 36px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 768px) { .bx-footer-top { grid-template-columns: 1.2fr 1fr 1fr; } }
.bx-footer-tag { color: var(--steel); font-size: 13px; margin-top: 10px; }
.bx-footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.bx-footer-nav-list a { color: var(--steel); font-size: 13px; }
.bx-footer-nav-list a:hover { color: var(--electric); }
.bx-footer-contact p { color: var(--steel); font-size: 13px; margin-bottom: 8px; }
.bx-footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; text-align: center; }
.bx-footer-bottom p { color: rgba(147,163,181,.6); font-size: 12px; }

/* =========================================================
   REVEAL ANIMATION (replaces the React <Reveal> component)
   ========================================================= */
.bx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.bx-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   PAGE / SINGLE
   ========================================================= */
.bx-page { padding: 64px 0 100px; }
.bx-page-header { margin-bottom: 36px; }
.bx-entry-content { color: var(--steel); font-size: 15px; line-height: 1.8; }
.bx-entry-content h2, .bx-entry-content h3 { color: var(--mist); margin: 32px 0 14px; }
.bx-entry-content a { color: var(--electric); text-decoration: underline; }
.bx-pagination { margin-top: 40px; display: flex; justify-content: center; gap: 10px; }

/* =========================================================
   FULL-WIDTH / ELEMENTOR CANVAS
   ========================================================= */
body.bx-canvas { background: var(--abyss); }
