/*
Theme Name:  Applied Intelligence Child
Description: Astra child theme for Applied Intelligence — dark tech aesthetic
Author:      Colby Whitted
Template:    astra
Version:     1.0.0
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
	--bg:          #1e2430;
	--bg-2:        #151c28;
	--bg-card:     rgba(11, 22, 44, 0.85);
	--bg-card-alt: rgba(8, 16, 34, 0.9);
	--accent:      #2563eb;
	--accent-h:    #1d4ed8;
	--accent-lt:   #3b82f6;
	--accent-glow: rgba(37, 99, 235, 0.18);
	--border:      rgba(59, 130, 246, 0.18);
	--border-h:    rgba(59, 130, 246, 0.4);
	--text:        #ffffff;
	--text-2:      #b8c8e0;
	--text-3:      #6b82a0;
	--radius:      10px;
	--radius-lg:   18px;
	--font:        'Inter', system-ui, sans-serif;
	--transition:  0.25s ease;
	--max-w:       1180px;
}

/* =========================================================
   ADMIN BAR — hide on front-end
   ========================================================= */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	font-family:      var(--font);
	background:       linear-gradient(180deg, #1e2430 0%, #0f1520 100%);
	background-attachment: fixed;
	color:            var(--text);
	line-height:      1.65;
	-webkit-font-smoothing: antialiased;
}

/* Kill Astra's default styles that bleed through */
.ast-container, .site-content, #content, #page,
.entry-content, .ast-article-single,
.ast-page-builder-template, .page-template-page-home,
.page-template-page-about, .page-template-page-contact { background: transparent !important; }

/* Override Astra's dark heading/body color CSS vars */
:root {
	--ast-global-color-2: var(--text);   /* heading color */
	--ast-global-color-3: var(--text-2); /* body text color */
}

/* Explicit heading override — Astra's specificity won't win */
h1, h2, h3, h4, h5, h6 { color: var(--text); }

/* =========================================================
   CONTRAST FIXES — ensure sections always render on dark bg
   ========================================================= */

/* Guarantee dark bg on all page wrappers */
.home-page, .about-page, .contact-page { background: var(--bg); }

/* Sections without explicit bg — pin them to dark */
.ai-can-do, .things-i-build, .hero, .integrations { background: var(--bg); }

/* Section label — bump contrast with slightly lighter/brighter blue */
.section-label { color: #60a5fa; font-weight: 700; }

/* Section headings in the affected areas */
.ai-can-do h2, .ai-can-do .section-label,
.things-i-build h2, .things-i-build .section-label { color: #ffffff; }
.ai-can-do .section-label, .things-i-build .section-label { color: #60a5fa; }

/* Subparagraph body copy in section headers — use brighter text-2 */
.ai-can-do__header > p:last-child,
.things-i-build__header > p:last-child { color: #c8d8f0; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-lt); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-lt); }

ul { list-style: none; }

/* =========================================================
   UTILITIES
   ========================================================= */
.container {
	max-width: var(--max-w);
	margin:    0 auto;
	padding:   0 2rem;
}

.section-label {
	font-size:      0.78rem;
	font-weight:    600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color:          var(--accent-lt);
	margin-bottom:  0.5rem;
}

.section-eyebrow {
	font-size:   0.9rem;
	color:       var(--text-2);
	margin-bottom: 1rem;
}

.section-title {
	font-size:   clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 1rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display:         inline-block;
	padding:         0.82rem 2rem;
	border-radius:   6px;
	font-weight:     600;
	font-size:       0.95rem;
	cursor:          pointer;
	transition:      all var(--transition);
	border:          none;
	text-decoration: none;
}

.btn-primary {
	background:  var(--accent);
	color:       #fff;
	box-shadow:  0 4px 20px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
	background:  var(--accent-h);
	box-shadow:  0 6px 28px rgba(37, 99, 235, 0.5);
	color:       #fff;
	transform:   translateY(-1px);
}

.btn-outline {
	background:  transparent;
	color:       var(--text);
	border:      1px solid var(--border-h);
}
.btn-outline:hover {
	background:  rgba(37, 99, 235, 0.1);
	border-color: var(--accent-lt);
	color:        var(--text);
}

/* =========================================================
   HEADER
   ========================================================= */
.ab-header {
	position:   static;
	top:        0;
	left:       0;
	width:      100%;
	z-index:    1000;
	padding:    1.1rem 0;
	background: #1e2430;
}

.ab-header.is-scrolled,
body:not(.page-template-page-home) .ab-header {
	background: #1e2430;
	box-shadow: 0 1px 0 var(--border);
}

.ab-header__inner {
	display:         flex;
	align-items:     center;
	justify-content: space-between;
	max-width:       var(--max-w);
	margin:          0 auto;
	padding:         0 2rem;
}

/* Logo */
.ab-logo a {
	display:         flex;
	align-items:     center;
	text-decoration: none;
}
.ab-logo__img {
	width:     33vw;
	height:    auto;
	display:   block;
	max-width: 480px;
}

/* Nav */
.ab-nav ul {
	display:  flex;
	gap:      2rem;
	align-items: center;
}

.ab-nav ul li a {
	color:       var(--text-2);
	font-size:   0.9rem;
	font-weight: 500;
	transition:  color var(--transition);
}
.ab-nav ul li a:hover,
.ab-nav ul li.current-menu-item a { color: var(--text); }

.ab-nav ul li.menu-item-contact a,
.ab-nav ul li:last-child a {
	background:    var(--accent);
	color:         #fff;
	padding:       0.42rem 1.1rem;
	border-radius: 6px;
	font-weight:   600;
}
.ab-nav ul li.menu-item-contact a:hover,
.ab-nav ul li:last-child a:hover {
	background: var(--accent-h);
	color:      #fff;
}

/* Hamburger */
.ab-hamburger {
	display:    none;
	flex-direction: column;
	gap:        5px;
	background: none;
	border:     none;
	cursor:     pointer;
	padding:    4px;
}
.ab-hamburger span {
	display:    block;
	width:      24px;
	height:     2px;
	background: var(--text);
	border-radius: 2px;
	transition: all var(--transition);
}
.ab-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ab-hamburger.is-open span:nth-child(2) { opacity: 0; }
.ab-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO — HOME
   ========================================================= */
.hero {
	position:    relative;
	overflow:    hidden;
	padding:     3rem 0;
}

.hero__bg {
	position:   absolute;
	inset:      0;
	background: var(--bg);
	z-index:    0;
}

.hero__bg::before {
	content:  '';
	position: absolute;
	inset:    0;
	background:
		radial-gradient(ellipse 80% 70% at 15% 55%, rgba(37, 99, 235, 0.14) 0%, transparent 65%),
		radial-gradient(ellipse 60% 50% at 80% 25%, rgba(59, 130, 246, 0.09) 0%, transparent 55%),
		radial-gradient(ellipse 50% 40% at 65% 80%, rgba(29, 78, 216, 0.08) 0%, transparent 50%);
}

.hero__bg::after {
	content:  '';
	position: absolute;
	inset:    0;
	background-image:
		radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.25) 0%, transparent 100%),
		radial-gradient(1px 1px at 60% 15%, rgba(255,255,255,0.2) 0%, transparent 100%),
		radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.15) 0%, transparent 100%),
		radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.18) 0%, transparent 100%),
		radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.2) 0%, transparent 100%);
}

.hero__content {
	position:   relative;
	z-index:    1;
	max-width:  780px;
}

.hero__content h1 {
	font-size:     clamp(2.2rem, 5vw, 3.6rem);
	font-weight:   800;
	line-height:   1.15;
	margin-bottom: 1.25rem;
	letter-spacing: -0.02em;
}

.hero__content h1 span { color: var(--accent-lt); }

.hero__sub {
	font-size:     clamp(1rem, 2vw, 1.2rem);
	color:         var(--text-2);
	margin-bottom: 2.2rem;
	max-width:     560px;
	line-height:   1.6;
}

/* =========================================================
   STATS SECTION
   ========================================================= */
.results {
	background: var(--bg-2);
	padding:    5rem 0;
	border-top:    1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.results__header {
	text-align:    center;
	margin-bottom: 3rem;
}

.results__header h2 {
	font-size:   clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.results__header p {
	color:    var(--text-2);
	font-size: 1rem;
}

.stats-grid {
	display:         grid;
	grid-template-columns: repeat(3, 1fr);
	gap:             1px;
	background:      var(--border);
	border:          1px solid var(--border);
	border-radius:   var(--radius-lg);
	overflow:        hidden;
}

.stat-card {
	background:  var(--bg-card);
	padding:     2.5rem 2rem;
	text-align:  center;
	display:     flex;
	flex-direction: column;
	align-items: center;
}

.stat-card__icon {
	width:         44px;
	height:        44px;
	background:    rgba(59, 130, 246, 0.12);
	border-radius: 10px;
	display:       flex;
	align-items:   center;
	justify-content: center;
	margin:        0 auto 1.1rem;
	color:         var(--accent-lt);
}

.stat-card__icon svg { width: 22px; height: 22px; }

.stat-title {
	font-size:   1.1rem;
	font-weight: 700;
	color:       var(--text);
	margin-bottom: 0.6rem;
}

.stat-body {
	font-size:   0.9rem;
	color:       var(--text-2);
	line-height: 1.65;
}

/* =========================================================
   WHAT AI CAN DO — HOME
   ========================================================= */
.ai-can-do {
	padding: 6rem 0;
}

.ai-can-do__header {
	text-align:    center;
	max-width:     640px;
	margin:        0 auto 3.5rem;
}

.ai-can-do__header h2 {
	font-size:   clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.ai-can-do__header p {
	color:     var(--text-2);
	font-size: 1rem;
}

.services-grid {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   1.25rem;
}

.service-card {
	background:    var(--bg-card);
	border:        1px solid var(--border);
	border-radius: var(--radius-lg);
	padding:       2rem 1.75rem;
	transition:    border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
	border-color: var(--border-h);
	box-shadow:   0 8px 32px var(--accent-glow);
	transform:    translateY(-3px);
}

.service-card__icon {
	width:         46px;
	height:        46px;
	background:    rgba(37, 99, 235, 0.12);
	border-radius: 10px;
	display:       flex;
	align-items:   center;
	justify-content: center;
	margin-bottom: 1.1rem;
	color:         var(--accent-lt);
}

.service-card__icon svg { width: 22px; height: 22px; stroke-width: 1.8; }

.service-card h3 {
	font-size:   1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.service-card p {
	font-size:  0.875rem;
	color:      var(--text-2);
	line-height: 1.6;
}

/* =========================================================
   HOME CTA BANNER
   ========================================================= */
.home-cta {
	padding:    5rem 0;
	text-align: center;
	background: var(--bg-2);
	border-top:    1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.home-cta h2 {
	font-size:   clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.home-cta p {
	color:         var(--text-2);
	margin-bottom: 2rem;
	font-size:     1rem;
}

/* =========================================================
   INTEGRATIONS
   ========================================================= */
.integrations {
	padding:    3.5rem 0;
	text-align: center;
}

.integrations__label {
	font-size:      0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color:          var(--text-3);
	margin-bottom:  1.5rem;
}

.integrations__logos {
	display:         flex;
	align-items:     center;
	justify-content: center;
	gap:             3rem;
	flex-wrap:       wrap;
}

.integrations__logos span {
	font-size:      1rem;
	font-weight:    700;
	color:          var(--text-3);
	letter-spacing: 0.05em;
	transition:     color var(--transition);
}

.integrations__logos span:hover { color: var(--text-2); }

/* =========================================================
   ABOUT PAGE — HERO
   ========================================================= */
.about-hero {
	position:    relative;
	overflow:    hidden;
	padding:     3rem 0 5rem;
	background:  var(--bg);
}

.about-hero::before {
	content:  '';
	position: absolute;
	inset:    0;
	background:
		radial-gradient(ellipse 70% 80% at 0% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 65%),
		radial-gradient(ellipse 50% 60% at 100% 30%, rgba(59, 130, 246, 0.07) 0%, transparent 55%);
	pointer-events: none;
}

.about-hero__inner {
	display:         grid;
	grid-template-columns: 1fr 1fr;
	gap:             4rem;
	align-items:     center;
	position:        relative;
	z-index:         1;
}

.about-hero__text h1 {
	font-size:   clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}

.about-hero__text .tagline {
	font-size:   clamp(1rem, 2vw, 1.2rem);
	color:       var(--accent-lt);
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.about-hero__text .bio {
	font-size:   1rem;
	color:       var(--text-2);
	line-height: 1.75;
	margin-bottom: 2rem;
}

.about-hero__photo {
	position:   relative;
	display:    flex;
	justify-content: center;
	align-items: center;
}

.about-hero__photo::before {
	content:       '';
	position:      absolute;
	width:         90%;
	height:        90%;
	border-radius: 50%;
	background:    radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
	z-index:       0;
}

.about-hero__photo img {
	position:      relative;
	z-index:       1;
	border-radius: var(--radius-lg);
	width:         100%;
	max-width:     460px;
	object-fit:    cover;
	box-shadow:    0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
}

/* =========================================================
   SMART AUTOMATION SECTION
   ========================================================= */
.smart-automation {
	padding:    5.5rem 0;
	background: var(--bg-2);
	border-top:    1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.smart-automation__header {
	text-align:    center;
	max-width:     640px;
	margin:        0 auto 3.5rem;
}

.smart-automation__header h2 {
	font-size:   clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.check-items {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   1.5rem;
}

.check-item {
	background:    var(--bg-card);
	border:        1px solid var(--border);
	border-radius: var(--radius-lg);
	padding:       2rem;
	transition:    border-color var(--transition), box-shadow var(--transition);
}

.check-item:hover {
	border-color: var(--border-h);
	box-shadow:   0 8px 28px var(--accent-glow);
}

.check-item__icon {
	width:         36px;
	height:        36px;
	background:    rgba(37, 99, 235, 0.15);
	border-radius: 50%;
	display:       flex;
	align-items:   center;
	justify-content: center;
	margin-bottom: 1rem;
	color:         var(--accent-lt);
	font-size:     1rem;
	font-weight:   700;
}

.check-item h3 {
	font-size:   0.95rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
	color:       var(--accent-lt);
}

.check-item p {
	font-size:  0.875rem;
	color:      var(--text-2);
	line-height: 1.6;
}

/* =========================================================
   THINGS I CAN BUILD
   ========================================================= */
.things-i-build {
	padding: 6rem 0;
}

.things-i-build__header {
	text-align:    center;
	max-width:     640px;
	margin:        0 auto 3.5rem;
}

.things-i-build__header h2 {
	font-size:   clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.things-i-build__header p {
	color:     var(--text-2);
	font-size: 1rem;
}

.build-grid {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   1.25rem;
}

/* =========================================================
   ABOUT CTA
   ========================================================= */
.about-cta {
	background: var(--bg-2);
	padding:    5.5rem 0;
	text-align: center;
	border-top:    1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.about-cta h2 {
	font-size:   clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.about-cta p {
	color:         var(--text-2);
	font-size:     1rem;
	margin-bottom: 2rem;
	max-width:     500px;
	margin-left:   auto;
	margin-right:  auto;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-hero {
	padding:     3rem 0 4rem;
	position:    relative;
	overflow:    hidden;
}

.contact-hero::before {
	content:  '';
	position: absolute;
	inset:    0;
	background: radial-gradient(ellipse 70% 60% at 10% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 65%);
	pointer-events: none;
}

.contact-hero h1 {
	font-size:   clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	margin-bottom: 0.75rem;
	position:    relative;
}

.contact-hero p {
	color:     var(--text-2);
	font-size: 1.05rem;
	position:  relative;
}

.contact-body {
	padding:    1rem 0 5rem;
}

.contact-body__inner {
	display:               grid;
	grid-template-columns: 1fr 1.5fr;
	gap:                   2rem;
	align-items:           start;
}

/* Contact info card */
.contact-info {
	background:    var(--bg-card);
	border:        1px solid var(--border);
	border-radius: var(--radius-lg);
	padding:       2.5rem 2rem;
}

.contact-info h2 {
	font-size:   1.1rem;
	font-weight: 700;
	margin-bottom: 1.75rem;
	color:       var(--text);
}

.contact-info__item {
	display:       flex;
	gap:           1rem;
	margin-bottom: 1.5rem;
	align-items:   flex-start;
}

.contact-info__item:last-child { margin-bottom: 0; }

.contact-info__icon {
	width:         38px;
	height:        38px;
	min-width:     38px;
	background:    rgba(37, 99, 235, 0.12);
	border-radius: 8px;
	display:       flex;
	align-items:   center;
	justify-content: center;
	color:         var(--accent-lt);
}

.contact-info__icon svg { width: 18px; height: 18px; stroke-width: 1.8; }

.contact-info__label {
	font-size:   0.75rem;
	color:       var(--text-3);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 0.2rem;
}

.contact-info__value {
	font-size:  0.95rem;
	color:      var(--text);
	font-weight: 500;
}

/* Contact form */
.contact-form-wrap {
	background:    var(--bg-card);
	border:        1px solid var(--border);
	border-radius: var(--radius-lg);
	padding:       2.5rem 2rem;
}

.contact-form-wrap h2 {
	font-size:   1.1rem;
	font-weight: 700;
	margin-bottom: 1.75rem;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:     1rem;
}

.form-field {
	margin-bottom: 1.1rem;
}

.form-field label {
	display:       block;
	font-size:     0.82rem;
	font-weight:   500;
	color:         var(--text-2);
	margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea,
.form-field select {
	width:         100%;
	background:    rgba(255, 255, 255, 0.04);
	border:        1px solid var(--border);
	border-radius: 6px;
	padding:       0.7rem 1rem;
	color:         var(--text);
	font-family:   var(--font);
	font-size:     0.9rem;
	transition:    border-color var(--transition), box-shadow var(--transition);
	outline:       none;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--accent-lt);
	box-shadow:   0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-success {
	background:    rgba(37, 99, 235, 0.1);
	border:        1px solid rgba(37, 99, 235, 0.3);
	border-radius: var(--radius);
	padding:       1rem 1.25rem;
	color:         var(--accent-lt);
	margin-bottom: 1.5rem;
	font-weight:   500;
}

/* Map */
.map-section {
	padding:    0 0 6rem;
}

.map-section h2 {
	font-size:   clamp(1.3rem, 3vw, 1.8rem);
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.map-embed {
	width:         100%;
	height:        380px;
	border-radius: var(--radius-lg);
	overflow:      hidden;
	border:        1px solid var(--border);
}

.map-embed iframe {
	width:  100%;
	height: 100%;
	border: none;
	filter: invert(90%) hue-rotate(180deg) brightness(0.85);
}

/* =========================================================
   FOOTER
   ========================================================= */
.ab-footer {
	background:    var(--bg-2);
	border-top:    1px solid var(--border);
	padding:       2rem 0;
}

.ab-footer__inner {
	display:         flex;
	align-items:     center;
	justify-content: space-between;
	flex-wrap:       wrap;
	gap:             1rem;
}

.ab-footer__copy {
	font-size: 0.85rem;
	color:     var(--text-3);
}

.ab-footer__links {
	display: flex;
	gap:     1.5rem;
}

.ab-footer__links a {
	font-size: 0.85rem;
	color:     var(--text-3);
	transition: color var(--transition);
}
.ab-footer__links a:hover { color: var(--text-2); }

/* =========================================================
   BLOG — ROLL & SINGLE
   ========================================================= */

/* Extend dark bg to blog pages */
.blog-page, .single-post-page { background: var(--bg); }
.ast-page-builder-template.blog,
.page-template-home,
.single-post { background: transparent !important; }

/* Blog Hero */
.blog-hero {
	padding:    3rem 0 4rem;
	position:   relative;
	overflow:   hidden;
}

.blog-hero::before {
	content:  '';
	position: absolute;
	inset:    0;
	background: radial-gradient(ellipse 70% 60% at 15% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 65%);
	pointer-events: none;
}

.blog-hero .section-label { position: relative; }

.blog-hero h1 {
	font-size:   clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	margin-bottom: 0.75rem;
	position:    relative;
}

.blog-hero__sub {
	font-size: 1.05rem;
	color:     var(--text-2);
	max-width: 560px;
	position:  relative;
}

/* Blog Roll */
.blog-roll {
	padding: 3rem 0 6rem;
}

.blog-grid {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   1.5rem;
	margin-bottom:         3rem;
}

/* Post Card */
.post-card {
	background:    var(--bg-card);
	border:        1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow:      hidden;
	display:       flex;
	flex-direction: column;
	transition:    border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
	border-color: var(--border-h);
	box-shadow:   0 8px 32px var(--accent-glow);
	transform:    translateY(-3px);
}

.post-card__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.post-card__thumb img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-card:hover .post-card__thumb img { transform: scale(1.04); }

.post-card__body {
	padding:        1.75rem 1.5rem;
	flex:           1;
	display:        flex;
	flex-direction: column;
}

.post-card__meta {
	display:       flex;
	align-items:   center;
	gap:           0.5rem;
	font-size:     0.78rem;
	color:         var(--text-3);
	margin-bottom: 0.75rem;
}

.post-card__sep { color: var(--text-3); }
.post-card__cat { color: var(--accent-lt); font-weight: 600; }

.post-card__title {
	font-size:   1.05rem;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 0.65rem;
}

.post-card__title a {
	color:      var(--text);
	transition: color var(--transition);
}

.post-card__title a:hover { color: var(--accent-lt); }

.post-card__excerpt {
	font-size:   0.875rem;
	color:       var(--text-2);
	line-height: 1.65;
	flex:        1;
	margin-bottom: 1.25rem;
}

.post-card__read-more {
	display:     inline-flex;
	align-items: center;
	gap:         0.35rem;
	font-size:   0.82rem;
	font-weight: 600;
	color:       var(--accent-lt);
	margin-top:  auto;
	transition:  gap var(--transition);
}

.post-card__read-more svg { width: 14px; height: 14px; }
.post-card__read-more:hover { gap: 0.6rem; color: var(--accent-lt); }

/* Pagination */
.blog-pagination {
	display:         flex;
	justify-content: center;
}

.blog-pagination .nav-links {
	display:     flex;
	align-items: center;
	gap:         0.5rem;
}

.blog-pagination .page-numbers {
	display:       inline-flex;
	align-items:   center;
	justify-content: center;
	min-width:     38px;
	height:        38px;
	padding:       0 0.75rem;
	border-radius: 6px;
	font-size:     0.875rem;
	font-weight:   600;
	color:         var(--text-2);
	border:        1px solid var(--border);
	transition:    all var(--transition);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
	background:   rgba(37, 99, 235, 0.15);
	border-color: var(--accent-lt);
	color:        var(--text);
}

/* No-posts state */
.blog-empty {
	text-align: center;
	padding:    4rem 0;
	color:      var(--text-2);
	font-size:  1rem;
}

/* Single Post */
.post-hero {
	padding:    3rem 0 3rem;
	position:   relative;
	overflow:   hidden;
}

.post-hero::before {
	content:  '';
	position: absolute;
	inset:    0;
	background: radial-gradient(ellipse 70% 60% at 15% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 65%);
	pointer-events: none;
}

.post-hero__back {
	margin-bottom: 1.5rem;
	position:      relative;
}

.post-hero__back a {
	display:     inline-flex;
	align-items: center;
	gap:         0.4rem;
	font-size:   0.875rem;
	color:       var(--text-3);
	transition:  color var(--transition);
}

.post-hero__back a svg { width: 14px; height: 14px; }
.post-hero__back a:hover { color: var(--text-2); }

.post-hero__meta {
	display:       flex;
	align-items:   center;
	gap:           0.5rem;
	font-size:     0.82rem;
	color:         var(--text-3);
	margin-bottom: 1rem;
	position:      relative;
}

.post-hero__sep { color: var(--text-3); }
.post-hero__cat { color: var(--accent-lt); font-weight: 600; }

.post-hero__title {
	font-size:   clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.2;
	max-width:   780px;
	position:    relative;
}

.post-content-section {
	padding: 2rem 0 6rem;
}

.post-featured-image {
	border-radius: var(--radius-lg);
	overflow:      hidden;
	margin-bottom: 3rem;
	border:        1px solid var(--border);
}

.post-featured-image img {
	width:  100%;
	height: auto;
}

/* Post body content */
.post-content {
	max-width:   760px;
	font-size:   1rem;
	line-height: 1.8;
	color:       var(--text-2);
}

.post-content h2,
.post-content h3,
.post-content h4 {
	color:       var(--text);
	margin-top:  2rem;
	margin-bottom: 0.75rem;
}

.post-content h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700; }
.post-content h3 { font-size: 1.15rem; font-weight: 700; }

.post-content p { margin-bottom: 1.25rem; }

.post-content a { color: var(--accent-lt); }
.post-content a:hover { text-decoration: underline; }

.post-content ul,
.post-content ol {
	padding-left:  1.5rem;
	margin-bottom: 1.25rem;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li { margin-bottom: 0.4rem; }

.post-content blockquote {
	border-left:   3px solid var(--accent-lt);
	padding:       0.75rem 0 0.75rem 1.5rem;
	margin:        1.5rem 0;
	color:         var(--text-2);
	font-style:    italic;
}

.post-content pre,
.post-content code {
	font-family:   'Courier New', Courier, monospace;
	background:    rgba(255,255,255,0.05);
	border-radius: 4px;
}

.post-content code { padding: 0.15em 0.4em; font-size: 0.875em; }

.post-content pre {
	padding:       1.25rem;
	overflow-x:    auto;
	margin-bottom: 1.25rem;
	border:        1px solid var(--border);
}

.post-content pre code { padding: 0; background: none; }

.post-back-footer {
	margin-top: 3rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
	.services-grid,
	.check-items,
	.build-grid       { grid-template-columns: repeat(2, 1fr); }
	.about-hero__inner { grid-template-columns: 1fr; }
	.about-hero__photo { order: -1; }
	.about-hero__photo img { max-width: 340px; }
	.stats-grid        { grid-template-columns: repeat(3, 1fr); }
	.contact-body__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.container { padding: 0 1.25rem; }
	.services-grid,
	.check-items,
	.build-grid       { grid-template-columns: 1fr; }
	.stats-grid        { grid-template-columns: 1fr; }
	.form-row          { grid-template-columns: 1fr; }
	.ab-nav            { display: none; }
	.ab-nav.is-open {
		display:    block;
		position:   absolute;
		top:        100%;
		left:       0;
		width:      100%;
		background: rgba(7, 13, 26, 0.98);
		border-top: 1px solid var(--border);
		padding:    1rem 1.25rem;
	}
	.ab-nav.is-open ul { flex-direction: column; gap: 0.75rem; }
	.ab-hamburger { display: flex; }
	.ab-footer__inner { flex-direction: column; text-align: center; }
}
