/* AXED @ The Bunker — custom CSS (globals.css port + component/plugin styling) */

:root {
	--font-display: "Helvetica Neue", "Arial", sans-serif;
	--font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
	color-scheme: dark;
}

html {
	scroll-behavior: smooth;
	background: #070707;
}

body {
	min-height: 100vh;
	margin: 0;
	background:
		radial-gradient(circle at 12% 0%, rgba(242, 56, 154, 0.12), transparent 32rem),
		radial-gradient(circle at 88% 12%, rgba(37, 244, 255, 0.1), transparent 28rem),
		#070707;
	color: #f8f1e8;
	font-family: var(--font-body), Arial, sans-serif;
}

::selection {
	background: #ff2db2;
	color: #070707;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

.section-shell {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.display-tight {
	font-family: var(--font-display), "Helvetica Neue", Arial, sans-serif;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: none;
	text-wrap: balance;
}

.glass-panel {
	border: 1px solid rgba(248, 241, 232, 0.11);
	background: linear-gradient(145deg, rgba(18, 18, 20, 0.88), rgba(7, 7, 7, 0.74));
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
	backdrop-filter: blur(18px);
}

.noise-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.18;
	mix-blend-mode: screen;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.shader-stage > div,
.shader-stage canvas {
	width: 100% !important;
	height: 100% !important;
}

.field {
	width: 100%;
	border: 1px solid rgba(248, 241, 232, 0.16);
	border-radius: 8px;
	background: rgba(7, 7, 7, 0.72);
	color: #f8f1e8;
	outline: none;
	padding: 0.9rem 1rem;
}

.field:focus {
	border-color: rgba(255, 45, 178, 0.72);
	box-shadow: 0 0 0 3px rgba(255, 45, 178, 0.13);
}

.field::placeholder {
	color: rgba(248, 241, 232, 0.42);
}

.quote-modal {
	display: none;
}

.quote-modal:target {
	display: grid;
}

.site-header {
	transition: top 180ms ease;
}

.image-grit {
	filter: contrast(1.12) saturate(0.92);
}

.hero-image-bright {
	filter: brightness(1.28) contrast(1.08) saturate(1.02);
}

.image-soft-theme {
	filter: brightness(0.72) contrast(0.96) saturate(0.72);
}

.no-scrollbar {
	scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.review-quote-scroll {
	scrollbar-width: thin;
	scrollbar-color: rgba(248, 241, 232, 0.2) transparent;
}

.review-quote-scroll::-webkit-scrollbar {
	width: 6px;
}

.review-quote-scroll::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(248, 241, 232, 0.2);
}

/* ---------- Buttons (components/ButtonLink.tsx port, arrow icon via mask) ---------- */
.axed-btn {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 6px;
	border-width: 1px;
	border-style: solid;
	padding: 0.75rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: normal;
	transition: all 200ms;
	cursor: pointer;
}

.axed-btn::after {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.axed-btn-primary {
	border-color: #f2389a;
	background: #f2389a;
	color: #070707;
	box-shadow: 0 0 18px rgba(242, 56, 154, 0.2);
}

.axed-btn-primary:hover {
	background: #f8f1e8;
	border-color: #f8f1e8;
}

.axed-btn-secondary {
	border-color: rgba(248, 241, 232, 0.4);
	background: rgba(248, 241, 232, 0.05);
	color: #f8f1e8;
}

.axed-btn-secondary:hover {
	border-color: #f2389a;
	color: #f2389a;
}

.axed-btn-ghost {
	border-color: transparent;
	background: transparent;
	color: rgba(248, 241, 232, 0.78);
}

.axed-btn-ghost:hover {
	color: #f2389a;
}

/* ---------- Reveal on scroll (components/Reveal.tsx port) ---------- */
.axed-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.axed-reveal.axed-revealed {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.axed-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- FAQ accordion states ---------- */
.axed-faq-answer { display: none; }
.axed-faq-item.open .axed-faq-answer { display: block; }
.axed-faq-item.open .axed-faq-chevron { transform: rotate(180deg); }
.axed-faq-answer a { font-weight: 700; color: #f2389a; text-underline-offset: 4px; }
.axed-faq-answer a:hover { text-decoration: underline; }

/* ---------- WordPress block resets (match Tailwind preflight baseline) ---------- */
.axed-content > * + * { margin-top: 0; }
/* Reset ONLY unclassed elements: preflight already zeroes base margins, and these
   must never out-specificity (.axed-content p = 0,1,1) the Tailwind mt/mb/p utilities
   (0,1,0) that card children rely on. :not([class]) excludes every styled element. */
.axed-content :where(h1:not([class]), h2:not([class]), h3:not([class]), h4:not([class]), p:not([class]), ul:not([class]), ol:not([class]), figure:not([class])) {
	margin: 0;
}
.axed-content :where(ul:not([class]), ol:not([class])) { padding: 0; list-style: none; }
.axed-content :where(figure:not([class])) { display: block; }
.wp-block-group { box-sizing: border-box; }
.entry-content > .wp-block-group:first-child { margin-top: 0; }

/* ---------- Contact Form 7 (mirrors LeadForm / FullBuyoutQuoteModal styling) ---------- */
.wpcf7-form .wpcf7-response-output {
	margin: 0;
}
.wpcf7-form .wpcf7-mail-sent-ok,
.wpcf7-form .wpcf7-validation-errors {
	border: 0;
	color: #25f4ff;
	font-size: 0.875rem;
}
.wpcf7-form .wpcf7-not-valid-tip {
	color: #f2389a;
	font-size: 0.75rem;
}
.wpcf7-form .wpcf7-spinner {
	opacity: 0.4;
}
.wpcf7-form input[type="checkbox"] {
	accent-color: #f2389a;
	width: 1rem;
	height: 1rem;
}

/* ---------- Strong Testimonials admin data rendered via theme shortcode ---------- */

/* ---------- Misc ---------- */
img { max-width: 100%; height: auto; }

/* AXED parity fixes v1 */
/* Core image block sets height:auto / max-width:100%; theme layout classes must win (matches original site). */
.axed-content .wp-block-image img.h-full { height: 100%; }
.axed-content .wp-block-image img.w-full { width: 100%; max-width: none; }
/* Request-form submit buttons keep their horizontal padding like the original. */
.axed-content form button[type="submit"].px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }

/* AXED parity fixes v2 */
.axed-content a.px-5, .axed-content button.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }

/* AXED parity fixes v3: longer SEO H1s in page heroes */
section.relative.isolate h1.display-tight { font-size: clamp(2.6rem, 4.4vw, 4.6rem); line-height: 0.98; }
section.relative.isolate .axed-hero-note { margin-top: 1.1rem; }
