/* VRSecLabs: site-wide theme layer. Loaded after css/style.css.
   Sharper geometry, Geist type, restrained buttons, transparent-to-solid nav.
   Remove this one stylesheet link to fall back to the previous look. */

:root {
    /* One shape scale for the whole site: near-square, instrument-panel geometry */
    --radius-sm: 2px;
    --radius-md: 2px;
    --radius-lg: 2px;

    --font-header: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --nav-h: 72px;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.18);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(var(--accent-rgb), 0.32);
    color: var(--text-primary);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ── Type ── */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    line-height: 1.1;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 22px;
    height: 1px;
    border-radius: 0;
    box-shadow: none;
}

/* ── Header: transparent over the hero, solid once scrolled ── */
header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(8, 9, 11, 0.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
    box-shadow: none;
}

.announce-bar {
    background: #0b1d15;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.35);
}

.announce-inner {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.announce-inner p {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    color: #fff;
}

.announce-inner a {
    font-weight: 700;
}

nav {
    height: var(--nav-h);
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.nav-links {
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
}

.nav-links a.btn-primary {
    padding: 0.62rem 1.1rem;
    font-size: 0.8125rem;
}

/* ── Buttons ── */
.btn-primary {
    padding: 0.85rem 1.4rem;
    gap: 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #08090B !important;
    transform: none;
    box-shadow: none;
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-primary i {
    font-size: 0.78em;
    transition: transform 0.25s var(--ease-out);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-ghost:hover {
    background: transparent !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    transform: none;
}

/* ── Surfaces shared with inner pages ── */
.service-card,
.sme-card,
.why-us-card {
    border-radius: var(--radius-sm);
}

.service-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-strong);
}

.sme-card:hover,
.why-us-card:hover {
    transform: none;
}

.service-icon,
.sme-icon,
.why-us-icon {
    border-radius: var(--radius-sm);
}

.hero-badge span {
    border-radius: var(--radius-sm);
}

.social-links a,
.mobile-menu-footer a {
    border-radius: var(--radius-sm);
}

.form-section-title span.step {
    border-radius: var(--radius-sm);
}

.form-group input,
.form-group select {
    border-radius: var(--radius-sm);
}

.form-group input:focus,
.form-group select:focus {
    box-shadow: 0 0 0 1px var(--accent);
}

/* ── One black ground everywhere: sections share --bg-void; only cards/panels lift ── */
.stats-section,
.sme-section,
.quote-section,
.cta-banner,
.services,
.gov-section,
.brands-section {
    background: var(--bg-void);
}

.quote-form-container,
.referral-form-container {
    background: var(--bg-surface);
}

/* ── Footer ── */
footer {
    padding-top: 4.5rem;
}

.footer-col h4 {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
}

.footer-col ul li a:hover {
    padding-left: 0;
}

@media (prefers-reduced-motion: reduce) {

    .btn-primary,
    .btn-primary i {
        transition: none;
    }
}
