/* ==========================================================================
   DESERT GLASS THEME - MIND TRAIL BASE
   Atmosphere: Heat, solitude, ancient landscapes, surreal stillness.
   Surfaces: Translucent, frosted glass, warped silhouettes, soft optical shimmer.
   ========================================================================== */

:root {
  /* Color Palette */
  --color-sand-light: #F9F6F0;
  --color-sand-base: #F4EFE6;
  --color-sand-warm: #EBDDCE;
  --color-terracotta: #C86D51;
  --color-terracotta-dark: #A84F36;
  --color-dusty-orange: #E07A5F;
  --color-orange-glow: rgba(224, 122, 95, 0.25);
  --color-muted-teal: #3D7068;
  --color-muted-teal-dark: #2C5E57;
  --color-teal-glow: rgba(61, 112, 104, 0.2);
  --color-desert-dark: #2B1E1A;
  --color-desert-deep: #1E1513;
  --color-desert-charcoal: #150E0C;
  --color-earth-border: rgba(200, 109, 81, 0.25);
  --color-glass-border: rgba(244, 239, 230, 0.2);
  --color-glass-surface: rgba(244, 239, 230, 0.82);
  --color-glass-dark: rgba(30, 21, 19, 0.88);
  --color-text-main: #2B1E1A;
  --color-text-muted: #6E5A53;
  --color-text-light: #F4EFE6;
  --color-text-light-muted: #D2C4BC;

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-accent: 'Syne', sans-serif;

  /* Organic Warped Glass Radii */
  --radius-glass-1: 22px 8px 24px 10px;
  --radius-glass-2: 8px 24px 10px 22px;
  --radius-glass-card: 20px 10px 24px 12px;
  --radius-btn: 14px 4px 16px 6px;
  --radius-pill: 999px;

  /* Shadows and Optical Filters */
  --shadow-glass: 0 12px 36px -8px rgba(43, 30, 26, 0.12), 0 2px 8px rgba(200, 109, 81, 0.08);
  --shadow-glass-hover: 0 20px 48px -10px rgba(43, 30, 26, 0.2), 0 0 20px rgba(224, 122, 95, 0.22);
  --shadow-dark-card: 0 16px 40px -10px rgba(15, 10, 9, 0.45);
  --backdrop-blur: blur(14px);

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad-y: clamp(3.5rem, 8vw, 6.5rem);
}

/* Reset & Box Sizing */
*, *::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(--color-text-main);
  background-color: var(--color-sand-base);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(circle at 15% 10%, rgba(224, 122, 95, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(61, 112, 104, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 95%, rgba(200, 109, 81, 0.1) 0%, transparent 55%),
    var(--color-sand-base);
  background-attachment: fixed;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-terracotta-dark);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--color-dusty-orange);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--color-desert-dark);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-terracotta);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(200, 109, 81, 0.1);
  border: 1px solid rgba(200, 109, 81, 0.2);
  border-radius: var(--radius-pill);
}

.eyebrow-dark {
  color: #E8A590;
  background: rgba(224, 122, 95, 0.15);
  border-color: rgba(224, 122, 95, 0.3);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  position: relative;
}

.section-dark {
  background-color: var(--color-desert-deep);
  color: var(--color-text-light);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(200, 109, 81, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(61, 112, 104, 0.2) 0%, transparent 45%);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-sand-light);
}

.section-dark p {
  color: var(--color-text-light-muted);
}

/* Desert Glass Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--color-earth-border);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-desert-dark);
  letter-spacing: -0.02em;
}

.brand-logo:hover {
  color: var(--color-terracotta);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px 4px 12px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-desert-dark), var(--color-terracotta));
  box-shadow: 0 4px 12px var(--color-orange-glow);
  padding: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-desert-dark);
  position: relative;
  padding: 0.35rem 0;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-terracotta);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-terracotta-dark);
}

.nav-cta-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  background: var(--color-desert-dark);
  color: var(--color-sand-light);
  border-radius: var(--radius-btn);
  border: 1px solid rgba(224, 122, 95, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(43, 30, 26, 0.2);
}

.nav-cta-btn:hover {
  background: var(--color-terracotta);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--color-orange-glow);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-earth-border);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-desert-dark);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 21, 19, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem var(--container-pad);
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-sand-light);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
}

.mobile-nav-link.active {
  color: var(--color-dusty-orange);
}

/* Desert Glass Cards & Surfaces */
.glass-card {
  background: var(--color-glass-surface);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-earth-border);
  border-radius: var(--radius-glass-card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-glass);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.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.85;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass-hover);
  border-color: rgba(224, 122, 95, 0.45);
}

.glass-card-dark {
  background: var(--color-glass-dark);
  border-color: rgba(200, 109, 81, 0.3);
  color: var(--color-text-light);
  box-shadow: var(--shadow-dark-card);
}

.glass-card-dark h3,
.glass-card-dark h4 {
  color: var(--color-sand-light);
}

.glass-card-dark p {
  color: var(--color-text-light-muted);
}

/* Button Component (Heat haze optical distortion vibe) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-dusty-orange));
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px var(--color-orange-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-terracotta-dark), var(--color-terracotta));
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(200, 109, 81, 0.4);
}

.btn-secondary {
  background: rgba(244, 239, 230, 0.7);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  color: var(--color-desert-dark);
  border-color: var(--color-earth-border);
}

.btn-secondary:hover {
  background: var(--color-sand-warm);
  color: var(--color-desert-dark);
  border-color: var(--color-terracotta);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--color-muted-teal);
  color: #FFFFFF;
  box-shadow: 0 6px 20px var(--color-teal-glow);
}

.btn-teal:hover {
  background: var(--color-muted-teal-dark);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 26px rgba(44, 94, 87, 0.4);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-sand-light);
  border-color: rgba(244, 239, 230, 0.3);
}

.btn-outline-dark:hover {
  background: rgba(244, 239, 230, 0.15);
  color: #fff;
  border-color: var(--color-dusty-orange);
}

/* Hero Section (Varying composition) */
.hero-wrapper {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-subhead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  max-width: 38rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-earth-border);
  width: 100%;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-desert-dark);
}

.hero-badge-icon {
  width: 20px;
  height: 20px;
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual-frame {
  border-radius: var(--radius-glass-1);
  overflow: hidden;
  box-shadow: var(--shadow-glass-hover);
  border: 1px solid var(--color-earth-border);
  position: relative;
}

.hero-visual-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-frame:hover img {
  transform: scale(1.03);
}

.hero-overlay-stat {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(30, 21, 19, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(224, 122, 95, 0.35);
  border-radius: 14px 4px 16px 6px;
  padding: 1.25rem 1.5rem;
  color: var(--color-sand-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hero-overlay-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dusty-orange);
  font-weight: 700;
}

.hero-overlay-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Section Header */
.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-center .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Service Card Styles */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-image {
  border-radius: 12px 4px 14px 4px;
  overflow: hidden;
  height: 220px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-earth-border);
}

.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.04);
}

.service-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.84rem;
  color: var(--color-muted-teal-dark);
  font-weight: 600;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card-summary {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-earth-border);
  margin-top: auto;
}

.service-card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-desert-dark);
}

/* Flagship Banner Feature */
.flagship-banner {
  background: linear-gradient(135deg, rgba(43, 30, 26, 0.94), rgba(30, 21, 19, 0.98)),
              url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=1200&q=80') center/cover;
  border-radius: var(--radius-glass-1);
  border: 1px solid rgba(224, 122, 95, 0.35);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-sand-light);
  box-shadow: var(--shadow-dark-card);
  margin-bottom: 3rem;
}

.flagship-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.flagship-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flagship-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-light-muted);
}

.flagship-list-icon {
  width: 18px;
  height: 18px;
  color: var(--color-dusty-orange);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.flagship-side-card {
  background: rgba(244, 239, 230, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(244, 239, 230, 0.15);
  border-radius: 16px 6px 18px 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.flagship-side-stat-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  font-size: 0.9rem;
}

.flagship-side-stat-label {
  color: var(--color-text-light-muted);
}

.flagship-side-stat-val {
  font-weight: 700;
  color: var(--color-sand-light);
  font-family: var(--font-heading);
}

/* Review / Testimonial Cards */
.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-quote-icon {
  width: 32px;
  height: 32px;
  color: var(--color-terracotta);
  opacity: 0.5;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.review-highlight {
  font-weight: 700;
  font-style: normal;
  color: var(--color-desert-dark);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.review-metric-pill {
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(61, 112, 104, 0.12);
  color: var(--color-muted-teal-dark);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border-left: 3px solid var(--color-muted-teal);
  margin-bottom: 1.25rem;
}

.review-author-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-earth-border);
}

.review-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-desert-dark);
}

.review-author-role {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.review-program-tag {
  font-size: 0.78rem;
  color: var(--color-terracotta);
  font-weight: 600;
}

.stars {
  color: #D97742;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* Blog / Journal Cards */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-img {
  border-radius: 12px 4px 14px 4px;
  overflow: hidden;
  height: 200px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-earth-border);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.blog-category-tag {
  font-weight: 700;
  color: var(--color-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Analytical Framework / Method Steps */
.framework-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.framework-step-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.framework-step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-dusty-orange);
  background: rgba(224, 122, 95, 0.12);
  border: 1px solid rgba(224, 122, 95, 0.3);
  border-radius: 16px 4px 18px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  width: 72px;
  flex-shrink: 0;
}

/* FAQ Accordion Component */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-glass-surface);
  border: 1px solid var(--color-earth-border);
  border-radius: 14px 6px 16px 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(224, 122, 95, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-desert-dark);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-terracotta);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-desert-dark);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-desert-dark);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-earth-border);
  border-radius: 10px 4px 12px 4px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px var(--color-orange-glow);
  background: #FFFFFF;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error-msg {
  color: #B83A2E;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  display: none;
}

.form-feedback-box {
  padding: 1.25rem;
  border-radius: 12px;
  margin-top: 1.25rem;
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-feedback-box.success {
  display: block;
  background: rgba(61, 112, 104, 0.15);
  border: 1px solid var(--color-muted-teal);
  color: var(--color-muted-teal-dark);
}

.form-feedback-box.error {
  display: block;
  background: rgba(184, 58, 46, 0.12);
  border: 1px solid #B83A2E;
  color: #8C2218;
}

/* Legal & Article Typography Layout */
.prose-content {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.prose-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.prose-content ul,
.prose-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--color-text-muted);
}

.prose-content li {
  margin-bottom: 0.5rem;
}

.prose-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.92rem;
}

.prose-content th,
.prose-content td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-earth-border);
  text-align: left;
}

.prose-content th {
  background: rgba(200, 109, 81, 0.12);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-desert-dark);
}

/* Footer (Desert Glass Deep Sandstone) */
.site-footer {
  background: var(--color-desert-deep);
  color: var(--color-text-light-muted);
  border-top: 1px solid rgba(200, 109, 81, 0.35);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2.5rem;
  position: relative;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  margin-bottom: 3.5rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-sand-light);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-link {
  color: var(--color-text-light-muted);
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-nav-link:hover {
  color: var(--color-dusty-orange);
  transform: translateX(3px);
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--color-dusty-orange);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
}

.footer-bottom-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-legal a {
  color: var(--color-text-light-muted);
}

.footer-bottom-legal a:hover {
  color: var(--color-dusty-orange);
}

/* Cookie Consent Banner (Desert Glass Island) */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 580px;
  margin-left: auto;
  z-index: 1000;
  background: rgba(30, 21, 19, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(224, 122, 95, 0.4);
  border-radius: 18px 6px 20px 8px;
  padding: 1.5rem;
  color: var(--color-sand-light);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: none;
  animation: slideUpGlass 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpGlass {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-content {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-light-muted);
  margin-bottom: 1.25rem;
}

.cookie-banner-content a {
  color: var(--color-dusty-orange);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  background: var(--color-dusty-orange);
  color: #FFFFFF;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: 8px 3px 9px 4px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cookie-btn-accept:hover {
  background: var(--color-terracotta);
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--color-sand-light);
  border: 1px solid rgba(244, 239, 230, 0.3);
  padding: 0.55rem 1.25rem;
  border-radius: 8px 3px 9px 4px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cookie-btn-reject:hover {
  background: rgba(244, 239, 230, 0.1);
  border-color: var(--color-sand-light);
}

.cookie-error-notice {
  color: #FF8F82;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid,
  .flagship-banner-grid {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-nav,
  .nav-cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
  .framework-step-card {
    grid-template-columns: 1fr;
  }
}
