/* ==========================================================================
   CORTEX CONNECT BASE - DESERT GLASS DESIGN SYSTEM
   Atmosphere: Heat, solitude, ancient landscapes, surreal stillness.
   Translucent wind-shaped frosted glass surfaces with soft optical distortion.
   ========================================================================== */

:root {
  /* Desert Palette */
  --bg-deep: #16100d;
  --bg-terracotta-dark: #221612;
  --bg-glass-base: rgba(34, 22, 18, 0.72);
  --bg-glass-card: rgba(45, 29, 24, 0.55);
  --bg-glass-hover: rgba(58, 38, 31, 0.75);
  --bg-glass-light: rgba(247, 242, 234, 0.06);

  --color-sand-cream: #f7f2ea;
  --color-sand-muted: #d8c8ba;
  --color-sand-dark: #9e8b7d;
  --color-terracotta: #c86446;
  --color-terracotta-hover: #b55539;
  --color-dusty-orange: #e07a4a;
  --color-orange-glow: rgba(224, 122, 74, 0.25);
  --color-muted-teal: #4a7c7d;
  --color-teal-glow: rgba(74, 124, 125, 0.22);
  --color-dark-brown: #1a110e;

  /* Glass & Borders */
  --border-glass: rgba(224, 122, 74, 0.18);
  --border-glass-light: rgba(247, 242, 234, 0.12);
  --border-glass-hover: rgba(224, 122, 74, 0.45);
  --glass-blur: blur(16px);
  --glass-blur-heavy: blur(24px);
  --glass-shadow: 0 16px 40px rgba(10, 6, 4, 0.45), inset 0 1px 0 rgba(247, 242, 234, 0.1);
  --glass-shadow-hover: 0 24px 50px rgba(10, 6, 4, 0.65), 0 0 25px rgba(224, 122, 74, 0.2), inset 0 1px 0 rgba(247, 242, 234, 0.2);

  /* Typography */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-warp: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --max-width: 1240px;
  --nav-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--color-sand-cream);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(circle at 15% 10%, rgba(224, 122, 74, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(74, 124, 125, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(200, 100, 70, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #16100d 0%, #1e130f 40%, #150f0c 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Desert Glass ambient overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(247, 242, 234, 0.02) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--color-dusty-orange);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-sand-cream);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-sand-cream);
}

p {
  color: var(--color-sand-muted);
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

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

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   DESERT GLASS UI COMPONENTS
   ========================================================================== */

/* Glass Card */
.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-warp);
  position: relative;
  overflow: hidden;
}

.glass-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(247, 242, 234, 0.04) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.glass-card:hover::after {
  opacity: 1;
}

/* Glass Pill / Badge */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(224, 122, 74, 0.12);
  border: 1px solid rgba(224, 122, 74, 0.3);
  color: var(--color-dusty-orange);
  backdrop-filter: blur(8px);
}

.glass-pill-teal {
  background: rgba(74, 124, 125, 0.15);
  border-color: rgba(74, 124, 125, 0.35);
  color: #79b7b8;
}

/* Heat-Shimmer Animated Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.85rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: var(--transition-warp);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-dusty-orange) 0%, var(--color-terracotta) 100%);
  color: #faf6f0;
  box-shadow: 0 8px 25px var(--color-orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(224, 122, 74, 0.45), 0 0 20px rgba(224, 122, 74, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: var(--bg-glass-base);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass-light);
  color: var(--color-sand-cream);
  box-shadow: var(--glass-shadow);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass);
  color: var(--color-dusty-orange);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--color-dusty-orange);
}

.btn-outline:hover {
  background: rgba(224, 122, 74, 0.1);
  border-color: var(--color-dusty-orange);
  color: var(--color-sand-cream);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 16, 13, 0.85);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-bottom: 1px solid var(--border-glass);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-sand-cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand-logo svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-logo span.highlight {
  color: var(--color-dusty-orange);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-sand-muted);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-dusty-orange);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-sand-cream);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--color-sand-cream);
  padding: 0.5rem;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: rgba(22, 16, 13, 0.97);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-bottom: 1px solid var(--border-glass);
  padding: 2rem 1.5rem;
  z-index: 99;
}

.mobile-nav-drawer.is-active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-sand-cream);
  display: block;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7f2ea 40%, #ecd7c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-sand-muted);
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-glass-light);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dusty-orange);
}

.trust-label {
  font-size: 0.8125rem;
  color: var(--color-sand-dark);
}

.hero-visual {
  position: relative;
}

.hero-glass-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-shadow);
}

.hero-glass-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-glass-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(22, 16, 13, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.25rem;
}

.chart-telemetry {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.telemetry-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.dot-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

/* Page Hero Header (Inner Pages) */
.page-hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: 2.75rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-sand-muted);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--color-dusty-orange);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-sand-muted);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

/* Service Card */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-image {
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.06);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card-title a {
  color: var(--color-sand-cream);
}

.service-card-title a:hover {
  color: var(--color-dusty-orange);
}

.service-card-summary {
  font-size: 0.95rem;
  color: var(--color-sand-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-meta-list {
  list-style: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border-glass-light);
  border-bottom: 1px solid var(--border-glass-light);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.service-meta-item {
  display: flex;
  justify-content: space-between;
}

.service-meta-label {
  color: var(--color-sand-dark);
}

.service-meta-value {
  color: var(--color-sand-cream);
  font-weight: 600;
}

/* Flagship Card Highlight */
.flagship-banner {
  background: linear-gradient(135deg, rgba(224, 122, 74, 0.15) 0%, rgba(74, 124, 125, 0.15) 100%);
  border: 1px solid var(--color-dusty-orange);
}

/* ==========================================================================
   CHART LAB / METHOD FRAMEWORK
   ========================================================================== */
.lab-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.lab-step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.lab-step-num {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-dusty-orange);
  backdrop-filter: var(--glass-blur);
}

.lab-step-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass-card);
  backdrop-filter: var(--glass-blur);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th, 
.pricing-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-glass-light);
  font-size: 0.95rem;
}

.pricing-table th {
  font-family: var(--font-display);
  color: var(--color-sand-cream);
  font-size: 1.05rem;
  background: rgba(30, 20, 16, 0.6);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: rgba(224, 122, 74, 0.05);
}

/* Testimonial / Review Card */
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.review-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-sand-cream);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass-light);
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-dusty-orange);
}

.review-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.review-info p {
  font-size: 0.8125rem;
  color: var(--color-sand-dark);
  margin-bottom: 0;
}

/* Extended Case Study */
.case-study-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.case-study-visual {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.case-study-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-sand-cream);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
  background: rgba(22, 16, 13, 0.75);
  border: 1px solid var(--border-glass);
  color: var(--color-sand-cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-dusty-orange);
  box-shadow: 0 0 15px var(--color-orange-glow);
  background: rgba(28, 19, 16, 0.9);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-error-msg {
  color: #ef4444;
  font-size: 0.8125rem;
  margin-top: 0.4rem;
  display: none;
}

.form-group.has-error .form-control {
  border-color: #ef4444;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-status-alert {
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.95rem;
}

.form-status-alert.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #86efac;
  display: block;
}

.form-status-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  display: block;
}

/* ==========================================================================
   COOKIE CONSENT BANNER (VANILLA JS ISLAND)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
  z-index: 1000;
  background: rgba(25, 17, 13, 0.92);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid var(--border-glass-hover);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: none;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner.is-visible {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.cookie-content p {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  color: var(--color-sand-muted);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #120c09;
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.925rem;
  color: var(--color-sand-dark);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-sand-cream);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-sand-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-dusty-orange);
  padding-left: 4px;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--color-sand-muted);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-dusty-orange);
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-sand-dark);
}

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

.footer-legal-links a {
  color: var(--color-sand-dark);
}

.footer-legal-links a:hover {
  color: var(--color-sand-cream);
}

/* ==========================================================================
   BLOG / ARTICLE DETAILS
   ========================================================================== */
.article-header {
  margin-bottom: 2.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--color-sand-dark);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.article-hero-image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border-glass);
}

.article-hero-image img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-sand-cream);
}

.prose p {
  color: var(--color-sand-muted);
  margin-bottom: 1.5rem;
}

.prose h2, .prose h3, .prose h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
  color: var(--color-sand-muted);
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: var(--color-sand-cream);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-glass-frame img {
    height: 380px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .case-study-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.35rem;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-hero h1 {
    font-size: 2.15rem;
  }
  .section {
    padding: 3.5rem 0;
  }
}
