/* ==========================================================================
   DESERT GLASS THEME - Senseweightcore
   Surfaces: Frosted Translucent Glass, Warped Silhouettes, Soft Optical Distortion
   Palette: Sun-bleached Cream, Terracotta, Dusty Orange, Muted Teal, Dark Brown
   ========================================================================== */

:root {
  /* Desert Palette */
  --sand-cream: #FAF6F0;
  --sand-cream-warm: #F4EBE1;
  --sand-cream-translucent: rgba(250, 246, 240, 0.82);
  --glass-frosted-bg: rgba(255, 252, 248, 0.72);
  --glass-frosted-dark: rgba(36, 24, 20, 0.78);
  --glass-border: rgba(217, 119, 54, 0.24);
  --glass-border-light: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 16px 36px -12px rgba(92, 53, 36, 0.12), 0 0 1px 1px rgba(217, 119, 54, 0.15);
  
  --terracotta: #C86446;
  --terracotta-dark: #A44A30;
  --terracotta-light: #E08264;
  --dusty-orange: #D97736;
  --dusty-orange-soft: rgba(217, 119, 54, 0.12);
  --muted-teal: #4E7D7A;
  --muted-teal-dark: #355B58;
  --muted-teal-soft: rgba(78, 125, 122, 0.15);
  --dark-brown: #241814;
  --dark-brown-rich: #190F0C;
  --text-primary: #241814;
  --text-muted: #6E5B53;
  --text-light: #FAF6F0;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --radius-glass: 24px 8px 24px 12px;
  --radius-glass-alt: 12px 24px 10px 24px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-glass: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--sand-cream);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--sand-cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Optical Heat Distortion Background */
.ambient-heat-distortion {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  animation: heatDrift 22s infinite alternate ease-in-out;
}

.orb-terracotta {
  width: 480px;
  height: 480px;
  background: var(--terracotta);
  top: -100px;
  right: -100px;
}

.orb-teal {
  width: 520px;
  height: 520px;
  background: var(--muted-teal);
  bottom: 10%;
  left: -150px;
  animation-duration: 28s;
  animation-delay: -5s;
}

.orb-orange {
  width: 400px;
  height: 400px;
  background: var(--dusty-orange);
  top: 45%;
  right: 10%;
  opacity: 0.2;
  animation-duration: 32s;
  animation-delay: -12s;
}

@keyframes heatDrift {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(40px, 60px) scale(1.1) rotate(45deg); }
  100% { transform: translate(-30px, 30px) scale(0.95) rotate(-20deg); }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--dark-brown);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: var(--transition-glass);
}

a:hover {
  color: var(--dusty-orange);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Glass Card / Surface Styles */
.glass-panel {
  background: var(--glass-frosted-bg);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-glass);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-glass);
}

.glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.glass-panel:hover {
  border-color: rgba(217, 119, 54, 0.45);
  box-shadow: 0 20px 40px -12px rgba(92, 53, 36, 0.18), 0 0 1px 1px rgba(217, 119, 54, 0.25);
}

.glass-panel-dark {
  background: var(--glass-frosted-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(217, 119, 54, 0.35);
  color: var(--text-light);
  border-radius: var(--radius-glass);
  padding: 2.5rem;
}

.glass-panel-dark h2, .glass-panel-dark h3, .glass-panel-dark h4 {
  color: var(--sand-cream);
}

.glass-panel-dark p {
  color: #D9C8BE;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding-block: 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--dark-brown);
  letter-spacing: -0.01em;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark.sm svg {
  width: 26px;
  height: 26px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-brown);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--terracotta);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--dark-brown);
  transition: var(--transition-glass);
}

/* Button & Heat Shimmer Effects */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-glass-alt);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition-glass);
}

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), var(--dusty-orange));
  color: #FFF;
  box-shadow: 0 4px 16px rgba(200, 100, 70, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 100, 70, 0.5);
  color: #FFF;
  filter: saturate(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--dark-brown);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}

.btn-teal {
  background: linear-gradient(135deg, var(--muted-teal), var(--muted-teal-dark));
  color: #FFF;
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(78, 125, 122, 0.4);
  color: #FFF;
}

.btn-nav {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  background: var(--dark-brown);
  color: var(--sand-cream);
  border-radius: var(--radius-sm);
}

.btn-nav:hover {
  background: var(--terracotta);
  color: #FFF;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* Badges & Accents */
.badge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta-dark);
  background: var(--dusty-orange-soft);
  border: 1px solid rgba(217, 119, 54, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.badge-kicker-teal {
  color: var(--muted-teal-dark);
  background: var(--muted-teal-soft);
  border-color: rgba(78, 125, 122, 0.3);
}

/* Section Spacing */
.section-py {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

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

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Hero Section (Asymmetrical Desert Glass) */
.hero-section {
  padding-block: clamp(4rem, 7vw, 6.5rem) clamp(3rem, 5vw, 4.5rem);
  position: relative;
  z-index: 1;
}

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

.hero-content h1 {
  margin-bottom: 1.25rem;
}

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

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

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(217, 119, 54, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-brown);
}

.trust-item svg {
  color: var(--muted-teal);
  flex-shrink: 0;
}

.hero-visual-card {
  position: relative;
}

.hero-image-frame {
  border-radius: var(--radius-glass);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 48px -16px rgba(92, 53, 36, 0.2);
  position: relative;
}

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

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

.hero-floating-stat {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--glass-frosted-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-glass-alt);
  box-shadow: var(--glass-shadow);
  max-width: 260px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

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

/* Feature & Service Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-img {
  height: 200px;
  border-radius: 16px 6px 16px 6px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border);
}

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

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

.service-card-tagline {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-teal);
  margin-bottom: 0.5rem;
}

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

.service-card-summary {
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.service-meta-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(217, 119, 54, 0.15);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Flagship Banner */
.flagship-banner {
  background: linear-gradient(135deg, rgba(200, 100, 70, 0.08), rgba(78, 125, 122, 0.08));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-glass);
  padding: 3rem;
  margin-bottom: 3.5rem;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.flagship-features {
  list-style: none;
  margin-block: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.flagship-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--dark-brown);
}

.flagship-features li svg {
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Roadmap Timeline */
.timeline-track {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  padding-left: 2.5rem;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 2px;
  background: linear-gradient(180deg, var(--terracotta), var(--muted-teal));
}

.timeline-node {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 1.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sand-cream);
  border: 2px solid var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(200, 100, 70, 0.15);
}

/* Testimonial & Case Study Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(217, 119, 54, 0.15);
}

.author-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dusty-orange-soft);
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: var(--dark-brown);
  font-size: 0.95rem;
}

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

/* Case Study Blocks */
.case-study-card {
  margin-bottom: 2.5rem;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.case-col h4 {
  font-size: 1rem;
  color: var(--terracotta-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--terracotta);
  box-shadow: 0 20px 40px -8px rgba(200, 100, 70, 0.22);
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-rate {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-brown);
  margin-block: 0.75rem 0.25rem;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-block: 1.5rem;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark-brown);
}

.pricing-features-list li svg {
  color: var(--muted-teal);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Blog & Journal Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-thumb {
  height: 220px;
  border-radius: 16px 6px 16px 6px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--glass-border);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.05);
}

.post-category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}

.post-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.post-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Contact & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-brown);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: var(--transition-glass);
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(200, 100, 70, 0.15);
}

.form-feedback {
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

.form-feedback.is-error {
  display: block;
  color: #C0392B;
}

.form-status-alert {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  display: none;
}

.form-status-alert.is-success {
  display: block;
  background: rgba(78, 125, 122, 0.15);
  border: 1px solid var(--muted-teal);
  color: var(--muted-teal-dark);
}

.form-status-alert.is-error {
  display: block;
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid #C0392B;
  color: #962D22;
}

/* Legal Pages & Tables */
.legal-content {
  max-width: 820px;
  margin-inline: auto;
}

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

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

.legal-content ul, .legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.data-table-wrapper {
  overflow-x: auto;
  margin-block: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(217, 119, 54, 0.15);
}

.data-table th {
  background: var(--sand-cream-warm);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--dark-brown);
}

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

/* Cookie Banner Island */
.cookie-banner-island {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 680px;
  margin-inline: auto;
  z-index: 1000;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner-island.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.cookie-banner-glass {
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--terracotta);
  border-radius: var(--radius-glass);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 40px -10px rgba(36, 24, 20, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-banner-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-title {
  font-size: 1.05rem;
  color: var(--dark-brown);
  margin-bottom: 0.25rem;
}

.cookie-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.cookie-error-inline {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  background: #FDEDEC;
  color: #C0392B;
  border-radius: var(--radius-sm);
}

.cookie-error-inline.hidden {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--dark-brown);
  color: var(--sand-cream);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(217, 119, 54, 0.3);
  position: relative;
  z-index: 2;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sand-cream);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: #CDBEB5;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.registered-entity {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.entity-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dusty-orange);
  margin-bottom: 0.2rem;
}

.entity-name {
  font-size: 0.85rem;
  color: #E2D6CF;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sand-cream);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  color: #CDBEB5;
  font-size: 0.9rem;
}

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

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  color: #CDBEB5;
  line-height: 1.6;
  display: grid;
  gap: 0.75rem;
}

.footer-address a {
  color: #EFE6DF;
}

.verbatim-address, .verbatim-phone, .verbatim-email {
  word-break: break-word;
}

.response-time {
  font-size: 0.8rem;
  color: #A8958B;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #A8958B;
}

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

.footer-legal-links a {
  color: #CDBEB5;
}

.footer-legal-links a:hover {
  color: var(--dusty-orange);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .flagship-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
  
  .primary-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 246, 240, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-glass);
    box-shadow: 0 16px 32px rgba(36, 24, 20, 0.15);
  }
  
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .primary-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .nav-cta-item {
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .nav-cta-item .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner-island {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
