/* ============================================
   AMBER VAULT AI — Design System
   Dark theme with glowing amber accents
   ============================================ */

/* --- CSS Variables --- */
:root {
  --amber: #D4870A;
  --amber-light: #F5A623;
  --amber-dark: #8B5E0B;
  --amber-glow: rgba(212, 135, 10, 0.3);
  --accent: #E8720C;
  --bg-dark: #1A1A2E;
  --bg-mid: #2D2D3F;
  --bg-surface: #3A3A4F;
  --bg-card: #2A2A3E;
  --text: #F0EDE8;
  --text-muted: #9A9A9A;
  --text-dark: #1A1A2E;
  --border: rgba(212, 135, 10, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --max-width: 1100px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 4px 24px rgba(212, 135, 10, 0.15);
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--amber-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--amber);
}

/* Focus styles for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
  flex: 1;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

/* --- Navigation --- */
.site-nav {
  background: var(--bg-mid);
  border-bottom: 3px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}

.nav-brand:hover {
  color: var(--amber-light);
}

.nav-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--amber-light);
  background: rgba(212, 135, 10, 0.1);
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Banner --- */
.hero-banner {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background-image: url('images/Banner_Img.jpg');
  background-size: 105% auto;
  background-position: 67% 63%;
  background-repeat: no-repeat;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.6) 0%,
    rgba(26, 26, 46, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 3rem 1.5rem;
  margin-left: calc((100% - 1100px) / 2);
}

.hero-content h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-content h1 .highlight {
  color: var(--amber-light);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--amber);
  color: var(--text-dark);
  box-shadow: 0 2px 12px rgba(212, 135, 10, 0.3);
}

.btn-primary:hover {
  background: var(--amber-light);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 135, 10, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--amber-light);
  border: 2px solid var(--amber);
}

.btn-secondary:hover {
  background: rgba(212, 135, 10, 0.1);
  color: var(--amber-light);
  transform: translateY(-2px);
}

/* --- Section Styling --- */
.section {
  padding: 4rem 1.5rem;
}

.section-dark {
  background: var(--bg-mid);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}

/* --- Services Grid (3 cards) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card .card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber-light);
}

.service-card .card-link:hover {
  color: var(--amber);
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 135, 10, 0.15);
  border: 2px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
  color: var(--amber-light);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-surface));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-bar .stat {
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--amber-light);
  font-family: 'JetBrains Mono', monospace;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.testimonial-stars {
  color: var(--amber-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Blog Preview --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.blog-card .card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--text);
}

.blog-card h3 a:hover {
  color: var(--amber-light);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-light);
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-mid);
  border-top: 3px solid var(--amber);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--amber-light);
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg-dark);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

.newsletter-form button {
  padding: 0.6rem 1.1rem;
  background: var(--amber);
  color: var(--text-dark);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}

.newsletter-form button:hover {
  background: var(--amber-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Page Header --- */
.page-header {
  text-align: center;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header .tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--amber-light);
}

.breadcrumb span {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg-dark);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- About Page --- */
.about-section {
  margin-bottom: 3rem;
}

.about-section h2 {
  margin-bottom: 1.25rem;
}

.beliefs-grid {
  display: grid;
  gap: 1.25rem;
}

.belief-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.belief-card h4 {
  color: var(--amber-light);
  margin-bottom: 0.5rem;
}

.belief-card p {
  color: var(--text-muted);
  margin: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.skills-grid h4 {
  margin-bottom: 0.5rem;
}

.skills-grid p {
  font-size: 0.95rem;
}

.about-cta {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.about-cta h2 {
  margin-bottom: 0.75rem;
}

.about-cta p {
  margin-bottom: 1.5rem;
}

.about-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-banner-short {
  min-height: 280px;
}

/* --- Solutions Grid (2x2 on desktop, stacks on mobile) --- */
.solutions-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* --- CTA Banner --- */
.cta-banner-text {
  max-width: 600px;
  margin: 0.75rem auto 2rem;
  font-size: 1.1rem;
}

/* --- Footer brand inline fix --- */
.footer-brand .nav-brand {
  font-size: 1.2rem;
}

.footer-brand .nav-brand img {
  width: 32px;
  height: 32px;
}

@media (max-width: 700px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Service Detail Pages --- */
.service-detail-header {
  margin-bottom: 2.5rem;
}

.service-detail-header h1 {
  margin-bottom: 0.75rem;
}

.service-detail-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.service-offerings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.offering-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.offering-card:hover {
  border-color: var(--border);
}

.offering-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.offering-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.service-benefits {
  margin-bottom: 3rem;
}

.service-benefits h2 {
  margin-bottom: 1.25rem;
}

.benefits-list {
  display: grid;
  gap: 0.75rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}

.benefit-icon {
  color: var(--amber-light);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.benefit-item p {
  margin: 0;
  font-size: 0.95rem;
}

.service-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.service-cta h2 {
  margin-bottom: 0.75rem;
}

.service-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.contact-info h3 {
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
}

.contact-info-card p {
  margin-bottom: 0.5rem;
}

.contact-info-card p:last-child {
  margin-bottom: 0;
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 2rem;
}

/* --- Thank You Page --- */
.thank-you-content {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.thank-you-content h1 {
  margin-bottom: 1rem;
}

.thank-you-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.thank-you-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --- Blog Listing Page --- */
.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.blog-listing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.blog-listing-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.blog-listing-card .card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}

.blog-listing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-listing-card h3 a {
  color: var(--text);
}

.blog-listing-card h3 a:hover {
  color: var(--amber-light);
}

.blog-listing-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.blog-listing-card .blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

/* --- Blog Post (Article) --- */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-article-header .card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  display: inline-block;
}

.blog-article-header h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-article-header .blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.blog-article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.blog-article-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.blog-article-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.blog-article-content ul,
.blog-article-content ol {
  list-style: disc;
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}

.blog-article-content ol {
  list-style: decimal;
}

.blog-article-content li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.blog-article-content strong {
  color: var(--text);
  font-weight: 600;
}

.blog-article-content blockquote {
  border-left: 3px solid var(--amber);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-article-content blockquote p {
  margin: 0;
  font-style: italic;
}

.blog-article-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.blog-article-cta h3 {
  margin-bottom: 0.75rem;
}

.blog-article-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.blog-article-cta .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Case Studies --- */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.case-study-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.case-study-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
}

.case-study-card .case-industry {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}

.case-study-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.case-study-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.case-results {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.case-result-item {
  text-align: center;
}

.case-result-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-light);
  font-family: 'JetBrains Mono', monospace;
}

.case-result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Lead Magnet / Free Guide --- */
.lead-magnet-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.lead-magnet-content h1 {
  margin-bottom: 1rem;
}

.lead-magnet-content .lead-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.lead-magnet-benefits {
  text-align: left;
  margin-bottom: 2rem;
}

.lead-magnet-benefits h3 {
  margin-bottom: 1rem;
}

.lead-magnet-benefits ul {
  list-style: none;
  padding: 0;
}

.lead-magnet-benefits li {
  padding: 0.6rem 0;
  font-size: 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.lead-magnet-benefits li:last-child {
  border-bottom: none;
}

.lead-magnet-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.lead-magnet-form h3 {
  margin-bottom: 1rem;
}

.lead-magnet-form .form-group {
  text-align: left;
}

.lead-magnet-form .form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-amber { color: var(--amber-light); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }

/* --- Responsive: Tablet (900px) --- */
@media (max-width: 900px) {
  .services-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-offerings {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .blog-listing-grid {
    grid-template-columns: 1fr;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero-content h1 {
    font-size: 2.25rem;
  }
}

/* --- Responsive: Mobile (700px) --- */
@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-mid);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 3px solid var(--amber);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .services-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: 260px;
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .hero-content {
    margin-left: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  h1 { font-size: 1.75rem; }
}
