/* ==========================================================================
   DESERT GLASS THEME - APPBRIDGE BASE
   Wind-shaped glass objects, translucent frosted surfaces, mineral desert tones
   ========================================================================== */

:root {
  /* Desert Glass Palette */
  --color-sand-light: #fbf7f0;
  --color-sand-cream: #f4ece1;
  --color-sand-warm: #eadbc8;
  --color-terracotta: #c86446;
  --color-terracotta-dark: #a94e33;
  --color-dusty-orange: #dd7a53;
  --color-orange-glow: rgba(221, 122, 83, 0.22);
  --color-muted-teal: #3e6e6f;
  --color-muted-teal-light: #528b8c;
  --color-teal-glow: rgba(62, 110, 111, 0.18);
  --color-mineral-dark: #241b16;
  --color-mineral-surface: #342720;
  --color-mineral-muted: #5c473c;
  --color-text-main: #241b16;
  --color-text-muted: #67564c;
  --color-text-light: #fbf7f0;

  /* Frosted Glass Properties */
  --glass-bg: rgba(251, 247, 240, 0.72);
  --glass-bg-hover: rgba(251, 247, 240, 0.88);
  --glass-dark-bg: rgba(36, 27, 22, 0.82);
  --glass-border: rgba(200, 100, 70, 0.24);
  --glass-border-light: rgba(255, 255, 255, 0.45);
  --glass-blur: blur(14px);
  --glass-blur-heavy: blur(24px);
  --glass-shadow: 0 16px 36px -12px rgba(36, 27, 22, 0.12), 0 0 1px 1px rgba(255, 255, 255, 0.6) inset;
  --glass-shadow-dark: 0 20px 40px -15px rgba(0, 0, 0, 0.45), 0 0 1px 1px rgba(221, 122, 83, 0.3) inset;

  /* Architectural Typography */
  --font-display: 'Syne', 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing and Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --container-max: 1200px;
  --container-narrow: 840px;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-heat: 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background-color: var(--color-sand-light);
  background-image:
    radial-gradient(ellipse at 15% 10%, rgba(221, 122, 83, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 80%, rgba(62, 110, 111, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(234, 219, 200, 0.25) 0%, transparent 100%);
  background-attachment: fixed;
  color: var(--color-text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Atmosphere background optical facet effect */
.desert-ambient-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
  background:
    radial-gradient(circle at 10% 25%, rgba(200, 100, 70, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 75%, rgba(62, 110, 111, 0.07) 0%, transparent 45%);
}

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

h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

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

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

a:hover {
  color: var(--color-terracotta-dark);
}

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

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

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.section-hero {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.section-tint {
  background: linear-gradient(180deg, rgba(234, 219, 200, 0.35) 0%, rgba(244, 236, 225, 0.6) 100%);
  border-top: 1px solid rgba(200, 100, 70, 0.12);
  border-bottom: 1px solid rgba(200, 100, 70, 0.12);
}

.section-dark {
  background: var(--color-mineral-dark);
  color: var(--color-text-light);
  border-top: 1px solid rgba(221, 122, 83, 0.2);
  border-bottom: 1px solid rgba(221, 122, 83, 0.2);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-sand-light);
}

.section-dark p {
  color: rgba(251, 247, 240, 0.75);
}

/* Site Header & Shared Chrome */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(200, 100, 70, 0.18);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-mineral-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-mineral-dark), var(--color-terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(200, 100, 70, 0.25);
  padding: 4px;
}

.brand-logo-mark svg {
  width: 100%;
  height: 100%;
}

.brand-logo span {
  display: inline-block;
}

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

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

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  transition: color var(--transition-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-terracotta);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(200, 100, 70, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-mineral-dark);
}

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

/* Desert Glass Buttons with Heat Shimmer Refraction */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all var(--transition-heat);
  text-transform: uppercase;
  font-size: 0.88rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-dusty-orange));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px -6px rgba(200, 100, 70, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px -4px rgba(200, 100, 70, 0.55), 0 0 16px rgba(221, 122, 83, 0.4) inset;
  filter: contrast(105%);
}

/* Heated air shimmer optical effect on hover */
.btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 220%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.btn:hover::before {
  opacity: 1;
  transform: rotate(25deg) translate(30%, 30%);
}

.btn-secondary {
  background: rgba(251, 247, 240, 0.65);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--color-mineral-dark);
  border-color: rgba(200, 100, 70, 0.35);
  box-shadow: 0 8px 20px -8px rgba(36, 27, 22, 0.1);
}

.btn-secondary:hover {
  background: rgba(251, 247, 240, 0.92);
  border-color: var(--color-terracotta);
  color: var(--color-terracotta-dark);
  transform: translateY(-2px);
}

.btn-teal {
  background: linear-gradient(135deg, var(--color-muted-teal), var(--color-muted-teal-light));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 24px -6px rgba(62, 110, 111, 0.4);
}

.btn-teal:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(62, 110, 111, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--color-mineral-dark);
  border: 1px solid var(--color-terracotta);
}

.btn-outline:hover {
  background: var(--color-terracotta);
  color: #ffffff;
}

/* Frosted Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-dusty-orange), var(--color-muted-teal));
  opacity: 0.8;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px -12px rgba(36, 27, 22, 0.18), 0 0 1px 1px rgba(255, 255, 255, 0.8) inset;
  border-color: rgba(200, 100, 70, 0.45);
}

.glass-card-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(221, 122, 83, 0.28);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow-dark);
  padding: 2.25rem;
  color: var(--color-sand-light);
}

.glass-card-dark h3,
.glass-card-dark h4 {
  color: var(--color-sand-light);
}

.glass-card-dark p {
  color: rgba(251, 247, 240, 0.8);
}

/* Badges and Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(200, 100, 70, 0.12);
  color: var(--color-terracotta-dark);
  border: 1px solid rgba(200, 100, 70, 0.25);
}

.badge-teal {
  background: rgba(62, 110, 111, 0.12);
  color: var(--color-muted-teal);
  border-color: rgba(62, 110, 111, 0.3);
}

.badge-sand {
  background: rgba(234, 219, 200, 0.45);
  color: var(--color-mineral-dark);
  border-color: rgba(92, 71, 60, 0.2);
}

/* Section Header Component */
.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-header.text-left {
  text-align: left;
}

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

.section-title {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-left .section-title {
  margin-left: 0;
  margin-right: 0;
}

.section-subtitle {
  font-size: 1.15rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

.section-header.text-left .section-subtitle {
  margin-left: 0;
  margin-right: 0;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

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

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

.hero-meta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 100, 70, 0.2);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
  font-weight: 700;
}

.hero-meta-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-mineral-dark);
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200, 100, 70, 0.3);
  box-shadow: 0 25px 50px -12px rgba(36, 27, 22, 0.22);
}

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

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

.hero-glass-floating {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(200, 100, 70, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--glass-shadow);
  max-width: 280px;
}

.floating-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-terracotta);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.floating-stat-label {
  font-size: 0.85rem;
  color: var(--color-mineral-muted);
  line-height: 1.35;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card-media {
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

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

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

.service-card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.service-meta-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 1rem;
  background: rgba(234, 219, 200, 0.3);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200, 100, 70, 0.15);
  font-size: 0.85rem;
}

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

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-terracotta);
  font-weight: 700;
}

.spec-val {
  font-weight: 600;
  color: var(--color-mineral-dark);
}

.service-card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(200, 100, 70, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-price-basis {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-mineral-dark);
}

/* Flagship Detail Component */
.flagship-banner {
  background: linear-gradient(135deg, rgba(200, 100, 70, 0.08), rgba(62, 110, 111, 0.08));
  border: 1px solid rgba(200, 100, 70, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 3.5rem;
}

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

.flagship-image-holder {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px -12px rgba(36, 27, 22, 0.2);
  border: 1px solid rgba(200, 100, 70, 0.25);
}

.flagship-image-holder img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Modules & Accordion Lists */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.module-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-terracotta);
}

.module-header {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-mineral-dark);
  margin-bottom: 0.5rem;
}

.module-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Inclusions / Exclusions Comparison */
.scope-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.scope-box {
  padding: 1.75rem;
  border-radius: var(--radius-md);
}

.scope-box.included {
  background: rgba(62, 110, 111, 0.08);
  border: 1px solid rgba(62, 110, 111, 0.25);
}

.scope-box.excluded {
  background: rgba(200, 100, 70, 0.08);
  border: 1px solid rgba(200, 100, 70, 0.25);
}

.scope-box h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.scope-box.included h4 {
  color: var(--color-muted-teal);
}

.scope-box.excluded h4 {
  color: var(--color-terracotta);
}

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

.scope-list li {
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-mineral-dark);
}

.scope-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-muted-teal);
  font-weight: bold;
}

.scope-box.excluded .scope-list li::before {
  content: '✕';
  color: var(--color-terracotta);
}

/* Framework Matrix / Thematic Grid */
.confluence-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(200, 100, 70, 0.2);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  margin: 2rem 0;
}

.confluence-matrix-table th,
.confluence-matrix-table td {
  padding: 1.15rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(200, 100, 70, 0.12);
}

.confluence-matrix-table th {
  background: rgba(234, 219, 200, 0.65);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-mineral-dark);
}

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

.confluence-matrix-table tr:hover td {
  background: rgba(251, 247, 240, 0.95);
}

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

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

.review-quote {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-mineral-dark);
  margin-bottom: 1.5rem;
  position: relative;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(200, 100, 70, 0.15);
}

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

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-mineral-dark);
}

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

.review-badge-context {
  margin-bottom: 0.75rem;
}

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

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

.post-card-media {
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.post-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.post-card-title a {
  color: var(--color-mineral-dark);
}

.post-card-title a:hover {
  color: var(--color-terracotta);
}

.post-card-summary {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.post-full-header {
  margin-bottom: 3rem;
}

.post-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200, 100, 70, 0.25);
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 40px -10px rgba(36, 27, 22, 0.18);
}

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

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-mineral-dark);
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  margin-bottom: 1.5rem;
  color: #3b2e27;
}

.article-body ul, .article-body ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
  color: #3b2e27;
}

.article-body li {
  margin-bottom: 0.5rem;
}

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

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

.pricing-card.featured {
  border-color: var(--color-terracotta);
  border-width: 2px;
  box-shadow: 0 20px 45px -10px rgba(200, 100, 70, 0.28);
}

.price-display {
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(200, 100, 70, 0.15);
  border-bottom: 1px solid rgba(200, 100, 70, 0.15);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-mineral-dark);
  line-height: 1;
}

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

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.92rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-mineral-dark);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-terracotta);
  font-weight: bold;
}

/* Contact & Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.contact-detail-item {
  margin-bottom: 1.25rem;
}

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-detail-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-detail-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-mineral-dark);
  line-height: 1.4;
}

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

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-mineral-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200, 100, 70, 0.3);
  background: rgba(251, 247, 240, 0.85);
  color: var(--color-mineral-dark);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.form-error-msg {
  display: none;
  font-size: 0.82rem;
  color: #b91c1c;
  margin-top: 0.35rem;
  font-weight: 600;
}

.form-control.is-invalid {
  border-color: #b91c1c;
  background: rgba(254, 242, 242, 0.9);
}

.form-control.is-invalid + .form-error-msg {
  display: block;
}

.form-status-alert {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status-alert.success {
  display: block;
  background: rgba(62, 110, 111, 0.15);
  border: 1px solid var(--color-muted-teal);
  color: #1a4d4e;
}

.form-status-alert.error {
  display: block;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid #b91c1c;
  color: #991b1b;
}

/* Legal Pages & Tables */
.legal-content {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(200, 100, 70, 0.15);
  padding-bottom: 0.5rem;
}

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

.legal-content p, .legal-content li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table th, .legal-table td {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(200, 100, 70, 0.2);
  text-align: left;
}

.legal-table th {
  background: rgba(234, 219, 200, 0.5);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-mineral-dark);
}

/* Cookie Consent Banner Island */
.cookie-banner-island {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 600px;
  z-index: 999;
  background: rgba(36, 27, 22, 0.92);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(221, 122, 83, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(221, 122, 83, 0.3) inset;
  padding: 1.5rem 1.75rem;
  color: var(--color-sand-light);
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner-island.is-visible {
  transform: translateY(0);
}

.cookie-banner-content p {
  font-size: 0.88rem;
  color: rgba(251, 247, 240, 0.85);
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.cookie-banner-content a {
  color: var(--color-dusty-orange);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-banner-actions .btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.8rem;
}

/* Site Footer */
.site-footer {
  background: var(--color-mineral-dark);
  color: var(--color-sand-light);
  border-top: 1px solid rgba(221, 122, 83, 0.25);
  margin-top: auto;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  position: relative;
}

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

.footer-brand-summary p {
  color: rgba(251, 247, 240, 0.7);
  font-size: 0.92rem;
  margin-top: 1rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dusty-orange);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: rgba(251, 247, 240, 0.75);
  font-size: 0.9rem;
  transition: color var(--transition-normal);
}

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

.footer-contact-item {
  margin-bottom: 1rem;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-dusty-orange);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.footer-contact-value {
  font-size: 0.9rem;
  color: rgba(251, 247, 240, 0.9);
  line-height: 1.45;
}

.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: 1rem;
  font-size: 0.82rem;
  color: rgba(251, 247, 240, 0.55);
}

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

.footer-legal-links a {
  color: rgba(251, 247, 240, 0.6);
  text-decoration: none;
}

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

/* 404 Page Styling */
.error-page-wrap {
  text-align: center;
  padding: 6rem 1.5rem;
}

.error-code-badge {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-terracotta);
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  text-shadow: 0 10px 30px rgba(200, 100, 70, 0.25);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid,
  .flagship-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .scope-comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(251, 247, 240, 0.97);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border-bottom: 1px solid rgba(200, 100, 70, 0.25);
    padding: 1.75rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    box-shadow: 0 20px 40px rgba(36, 27, 22, 0.15);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }

  .header-cta-wrap {
    width: 100%;
  }

  .header-cta-wrap .btn {
    width: 100%;
  }

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

  .legal-content {
    padding: 1.75rem 1.25rem;
  }

  .flagship-banner {
    padding: 1.75rem 1.25rem;
  }
}
