/* ==========================================================================
   FLOW ORBIT CORE — THEME: DESERT GLASS
   Wind-shaped glass objects, frosted translucent surfaces, sun-bleached cream,
   terracotta, dusty orange, muted teal, dark earth, and architectural typography.
   ========================================================================== */

:root {
  /* Desert Glass Palette */
  --color-cream: #FAF6EE;
  --color-cream-soft: #F4EFE2;
  --color-cream-muted: #E8DECC;
  --color-sand: #DFCEB5;
  --color-terracotta: #C85A32;
  --color-terracotta-dark: #A84522;
  --color-terracotta-glow: rgba(200, 90, 50, 0.35);
  --color-dusty-orange: #E07A48;
  --color-dusty-orange-soft: rgba(224, 122, 72, 0.15);
  --color-muted-teal: #3A6B6E;
  --color-muted-teal-light: #52898D;
  --color-muted-teal-soft: rgba(58, 107, 110, 0.18);
  --color-earth-dark: #221610;
  --color-earth-card: #2E1F18;
  --color-earth-elevated: #3C2920;
  --color-earth-border: rgba(223, 206, 181, 0.14);
  --color-earth-border-bright: rgba(250, 246, 238, 0.28);
  
  /* Text colors */
  --text-primary: #FAF6EE;
  --text-secondary: #D4C5B0;
  --text-muted: #A3927D;
  --text-on-light: #221610;
  --text-on-light-muted: #5C4A3E;

  /* Glass Effects */
  --glass-bg-dark: rgba(46, 31, 24, 0.72);
  --glass-bg-deep: rgba(34, 22, 16, 0.88);
  --glass-bg-hover: rgba(60, 41, 32, 0.85);
  --glass-bg-light: rgba(250, 246, 238, 0.92);
  --glass-border: 1px solid rgba(250, 246, 238, 0.12);
  --glass-border-amber: 1px solid rgba(224, 122, 72, 0.35);
  --glass-border-teal: 1px solid rgba(58, 107, 110, 0.4);
  --glass-blur: blur(14px);
  --glass-shadow: 0 12px 36px -4px rgba(15, 8, 4, 0.45), inset 0 1px 1px rgba(250, 246, 238, 0.2);
  --glass-shadow-soft: 0 6px 20px -2px rgba(15, 8, 4, 0.3), inset 0 1px 1px rgba(250, 246, 238, 0.15);

  /* Typography */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-warped: 28px 18px 32px 14px;
  --radius-warped-alt: 18px 32px 14px 28px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-glass: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--color-earth-dark);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(circle at 15% 10%, rgba(200, 90, 50, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(58, 107, 110, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(224, 122, 72, 0.1) 0%, transparent 60%),
    var(--color-earth-dark);
  background-attachment: fixed;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

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

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

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

.text-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-sand);
}

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

.text-highlight {
  color: var(--color-dusty-orange);
}

.text-teal {
  color: var(--color-muted-teal-light);
}

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

.section {
  padding: 5rem 0;
  position: relative;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

/* Desert Glass Card Components */
.glass-panel {
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-warped);
  box-shadow: var(--glass-shadow);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 246, 238, 0.4), transparent);
}

.glass-panel:hover {
  border-color: rgba(250, 246, 238, 0.25);
  box-shadow: 0 18px 42px -6px rgba(10, 5, 2, 0.6), inset 0 1px 1px rgba(250, 246, 238, 0.3);
}

.glass-panel-alt {
  border-radius: var(--radius-warped-alt);
}

.glass-panel-light {
  background: var(--glass-bg-light);
  color: var(--text-on-light);
  border: 1px solid rgba(200, 90, 50, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(34, 22, 16, 0.15);
}

.glass-panel-light h1,
.glass-panel-light h2,
.glass-panel-light h3,
.glass-panel-light h4 {
  color: var(--text-on-light);
}

.glass-panel-light p {
  color: var(--text-on-light-muted);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: rgba(200, 90, 50, 0.18);
  color: var(--color-dusty-orange);
  border: 1px solid rgba(224, 122, 72, 0.3);
}

.badge-teal {
  background: rgba(58, 107, 110, 0.22);
  color: var(--color-muted-teal-light);
  border-color: rgba(82, 137, 141, 0.4);
}

.badge-sand {
  background: rgba(223, 206, 181, 0.12);
  color: var(--color-sand);
  border-color: rgba(223, 206, 181, 0.25);
}

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

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.5s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
  transform: scale(1);
}

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

.btn-primary:hover {
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(200, 90, 50, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  filter: brightness(1.06);
}

.btn-glass {
  background: rgba(250, 246, 238, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-cream);
  border: 1px solid rgba(250, 246, 238, 0.22);
  box-shadow: var(--glass-shadow-soft);
}

.btn-glass:hover {
  background: rgba(250, 246, 238, 0.16);
  color: var(--color-cream);
  border-color: rgba(250, 246, 238, 0.45);
  transform: translateY(-2px);
}

.btn-teal {
  background: linear-gradient(135deg, var(--color-muted-teal) 0%, var(--color-muted-teal-light) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(58, 107, 110, 0.4);
}

.btn-teal:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(58, 107, 110, 0.6);
}

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

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(34, 22, 16, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(250, 246, 238, 0.08);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

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

.brand-logo:hover {
  color: var(--color-cream);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(200, 90, 50, 0.25) 0%, rgba(58, 107, 110, 0.25) 100%);
  border: 1px solid rgba(250, 246, 238, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-sand);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link:hover {
  color: var(--color-cream);
}

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

.nav-link.active {
  color: var(--color-cream);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(250, 246, 238, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--color-cream);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-menu {
  display: none;
  background: var(--color-earth-dark);
  border-bottom: 1px solid rgba(250, 246, 238, 0.1);
  padding: 1.5rem;
}

.mobile-nav-menu.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-sand);
  padding: 0.5rem 0;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

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

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--color-sand);
  margin-bottom: 2.25rem;
  max-width: 620px;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 246, 238, 0.1);
}

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

.hero-meta-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-cream);
}

.hero-meta-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Visual Box / RRG Simulated Interactive Widget */
.hero-visual-card {
  position: relative;
}

.rrg-visualizer {
  background: var(--glass-bg-deep);
  border: 1px solid rgba(224, 122, 72, 0.3);
  border-radius: var(--radius-warped);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(250, 246, 238, 0.25);
  position: relative;
}

.rrg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(250, 246, 238, 0.08);
  margin-bottom: 1.25rem;
}

.rrg-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rrg-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 260px;
  position: relative;
  background: rgba(20, 12, 8, 0.5);
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(250, 246, 238, 0.05);
}

.rrg-quadrant {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}

.quadrant-improving {
  background: rgba(58, 107, 110, 0.15);
  border: 1px dashed rgba(82, 137, 141, 0.4);
  color: #79B8BC;
}

.quadrant-leading {
  background: rgba(200, 90, 50, 0.18);
  border: 1px solid rgba(224, 122, 72, 0.5);
  color: #F79C6F;
}

.quadrant-lagging {
  background: rgba(46, 31, 24, 0.35);
  border: 1px dashed rgba(223, 206, 181, 0.15);
  color: var(--text-muted);
}

.quadrant-weakening {
  background: rgba(224, 122, 72, 0.1);
  border: 1px dashed rgba(200, 90, 50, 0.3);
  color: #DE936F;
}

.sector-chip {
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
}

.rrg-crosshairs {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.rrg-crosshairs::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(250, 246, 238, 0.15);
}

.rrg-crosshairs::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(250, 246, 238, 0.15);
}

.rrg-footer-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

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

.service-card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

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

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

.service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

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

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

.service-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(250, 246, 238, 0.08);
  border-bottom: 1px solid rgba(250, 246, 238, 0.08);
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

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

.service-card-meta-label {
  color: var(--text-muted);
}

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

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

/* Flagship Feature Card */
.flagship-banner {
  background: linear-gradient(135deg, rgba(200, 90, 50, 0.15) 0%, rgba(46, 31, 24, 0.85) 60%, rgba(58, 107, 110, 0.2) 100%);
  border: 1px solid rgba(224, 122, 72, 0.4);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  margin-bottom: 4rem;
}

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

.flagship-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem 0;
}

.flagship-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-sand);
}

.flagship-icon {
  color: var(--color-dusty-orange);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Blog / Post Card */
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-image {
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

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

.post-card:hover .post-card-image img {
  transform: scale(1.04);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--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-cream);
}

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

.post-card-excerpt {
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Reviews / Testimonials */
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

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

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

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 246, 238, 0.08);
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(224, 122, 72, 0.4);
}

.review-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-cream);
}

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

.review-service-tag {
  font-size: 0.75rem;
  color: var(--color-dusty-orange);
  margin-top: 0.2rem;
}

/* Pricing Table */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(224, 122, 72, 0.5);
  background: linear-gradient(180deg, rgba(60, 41, 32, 0.9) 0%, rgba(34, 22, 16, 0.95) 100%);
  transform: scale(1.02);
}

.pricing-card.featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-dusty-orange));
}

.pricing-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(250, 246, 238, 0.08);
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-cream);
  margin: 0.75rem 0 0.25rem 0;
}

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

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

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--color-sand);
}

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

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

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-cream);
  background: rgba(20, 12, 8, 0.6);
  border: 1px solid rgba(250, 246, 238, 0.15);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-dusty-orange);
  box-shadow: 0 0 0 3px rgba(224, 122, 72, 0.2);
}

.form-control.is-invalid {
  border-color: #E65A5A;
  box-shadow: 0 0 0 3px rgba(230, 90, 90, 0.2);
}

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

.form-error-msg.is-visible {
  display: block;
}

.form-response-box {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.form-response-box.is-success {
  display: block;
  background: rgba(58, 107, 110, 0.3);
  border: 1px solid rgba(82, 137, 141, 0.6);
  color: #B2E5E8;
}

.form-response-box.is-error {
  display: block;
  background: rgba(180, 50, 50, 0.25);
  border: 1px solid rgba(230, 90, 90, 0.5);
  color: #FFB8B8;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 580px;
  z-index: 9999;
  background: var(--glass-bg-deep);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(224, 122, 72, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(250, 246, 238, 0.3);
  padding: 1.5rem 1.75rem;
  display: none;
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-content {
  font-size: 0.9rem;
  color: var(--color-sand);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

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

/* Footer */
.site-footer {
  background: rgba(22, 14, 10, 0.95);
  border-top: 1px solid rgba(250, 246, 238, 0.08);
  padding: 5rem 0 2.5rem 0;
  margin-top: 5rem;
  position: relative;
}

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

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem 0;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--color-sand);
  transition: color var(--transition-fast);
}

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

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 246, 238, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

/* Prose / Article Content Styling */
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-sand);
}

.prose h2, .prose h3, .prose h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-cream);
}

.prose p {
  margin-bottom: 1.4rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

.prose code {
  background: rgba(250, 246, 238, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--color-dusty-orange);
}

.prose blockquote {
  border-left: 3px solid var(--color-terracotta);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--color-cream);
}

/* Tables for Cookies / Legal / Curriculum */
.table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(250, 246, 238, 0.1);
}

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

.data-table th,
.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(250, 246, 238, 0.08);
}

.data-table th {
  background: rgba(30, 18, 12, 0.9);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-cream);
}

.data-table tr:hover td {
  background: rgba(250, 246, 238, 0.03);
}

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

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

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

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

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
