/*
 * Pico X Health Static Pages CSS Framework
 * Extracted from index.css and tailwind.config.ts
 * For pure HTML/CSS pages (no JavaScript required)
 */

/* ============================================
   FONTS
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap");

/* ============================================
   CSS VARIABLES (Light Mode)
   ============================================ */
:root {
  /* Colors */
  --background: 60 4% 95%;
  --foreground: 24 9% 10%;
  --card: 60 9% 97%;
  --card-foreground: 24 9% 10%;
  --popover: 20 5% 90%;
  --popover-foreground: 24 9% 10%;
  --primary: 37 92% 50%;
  --primary-foreground: 47 100% 96%;
  --primary-glow: 187 85% 50%;
  --secondary: 24 5% 44%;
  --secondary-foreground: 60 9% 97%;
  --muted: 23 5% 82%;
  --muted-foreground: 24 9% 10%;
  --accent: 47 100% 96%;
  --accent-foreground: 37 92% 50%;
  --destructive: 0 72% 50%;
  --destructive-foreground: 0 85% 97%;
  --border: 23 5% 82%;
  --input: 23 5% 82%;
  --ring: 37 92% 50%;
  --aira: 25 95% 47%;
  --aira-foreground: 24 95% 18%;
  --aira-surface: 30 100% 96%;
  --aira-border: 25 90% 78%;
  --radius: 1rem;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(187 85% 35%), hsl(187 85% 50%));
  --gradient-hero: linear-gradient(135deg, hsl(210 100% 6% / 0.4), hsl(187 85% 35% / 0.3));
  --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%), hsl(210 20% 98%));

  /* Shadows */
  --shadow-elegant: 0 10px 40px -10px hsl(187 85% 35% / 0.2);
  --shadow-glow: 0 0 60px hsl(187 85% 50% / 0.15);
  --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);

  /* Typography */
  --font-sans: 'Source Sans Pro', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --font-serif: 'Source Serif Pro', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-mono: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  /* Transition */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   DARK MODE
   ============================================ */
.dark {
  --background: 24 9% 10%;
  --foreground: 60 9% 97%;
  --card: 12 6% 15%;
  --card-foreground: 60 9% 97%;
  --popover: 30 6% 25%;
  --popover-foreground: 60 9% 97%;
  --primary: 43 96% 56%;
  --primary-foreground: 20 91% 14%;
  --primary-glow: 187 85% 60%;
  --secondary: 24 5% 44%;
  --secondary-foreground: 60 9% 97%;
  --muted: 24 5% 44%;
  --muted-foreground: 60 9% 97%;
  --accent: 25 83% 14%;
  --accent-foreground: 47 95% 53%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 85% 97%;
  --border: 33 5% 32%;
  --input: 33 5% 32%;
  --ring: 43 96% 56%;
  --gradient-primary: linear-gradient(135deg, hsl(187 85% 45%), hsl(187 85% 60%));
  --gradient-hero: linear-gradient(135deg, hsl(210 100% 6% / 0.5), hsl(187 85% 35% / 0.4));
  --gradient-subtle: linear-gradient(180deg, hsl(210 100% 6%), hsl(210 100% 8%));
  --shadow-elegant: 0 10px 40px -10px hsl(187 85% 50% / 0.3);
  --shadow-glow: 0 0 60px hsl(187 85% 60% / 0.25);
}

/* ============================================
   BASE RESET & STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

.text-primary { color: hsl(var(--primary)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-secondary { color: hsl(var(--secondary-foreground)); }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  box-shadow: var(--shadow-sm);
}

.nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, hsl(var(--primary) / 0.3), transparent);
}

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

@media (min-width: 640px) {
  .nav-container { height: 8rem; }
}

@media (min-width: 768px) {
  .nav-container { height: 11rem; }
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo img {
  height: 5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .nav-logo img { height: 7rem; }
}

@media (min-width: 768px) {
  .nav-logo img { height: 10rem; }
}

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

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.6);
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--primary) / 0.05);
}

.nav-link.active {
  color: hsl(var(--foreground));
  background: hsl(var(--primary) / 0.1);
  font-weight: 600;
}

/* CSS-only dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.6);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-dropdown-trigger:hover {
  color: hsl(var(--foreground));
}

.nav-dropdown-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: calc(var(--radius) - 2px);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.7);
  border-radius: calc(var(--radius) - 4px);
  transition: var(--transition-smooth);
}

.nav-dropdown-item:hover {
  color: hsl(var(--foreground));
  background: linear-gradient(to right, hsl(var(--primary) / 0.05), transparent);
}

.nav-dropdown-item svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary) / 0.6);
}

.nav-dropdown-item:hover svg {
  color: hsl(var(--primary));
}

/* Nav CTA Buttons */
.nav-cta {
  display: none;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-cta { display: flex; }
}

/* Mobile menu toggle (CSS checkbox hack) */
.nav-toggle {
  display: block;
  padding: 0.75rem;
  min-height: 44px;
  min-width: 44px;
  color: hsl(var(--foreground));
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle:hover {
  background: hsl(var(--muted) / 0.5);
}

/* Icon-free mobile toggle: text labels swap with the open state. */
.nav-toggle .nav-toggle-label-close { display: none; }

.nav-toggle-checkbox:checked + .nav-toggle .nav-toggle-label-menu { display: none; }
.nav-toggle-checkbox:checked + .nav-toggle .nav-toggle-label-close { display: inline; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.nav-toggle-checkbox {
  display: none;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.nav-toggle-checkbox:checked ~ .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  animation: fadeIn 0.3s ease;
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* Older twin markup: direct .mobile-menu-link children (no wrapper) */
.mobile-menu > .mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 0.625rem 0.5rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
}

.mobile-menu > .mobile-cta { margin-top: 0.5rem; }

.mobile-dropdown-content > a {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  min-height: 40px;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.7);
}

/* Mobile menu fills its own wrapped row below the nav bar */
@media (max-width: 1023px) {
  .nav-container { flex-wrap: wrap; height: auto; min-height: 6rem; }
  .mobile-menu { flex: 0 0 100%; max-width: 100%; order: 99; background: hsl(var(--background)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .nav-container { min-height: 8rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-container { min-height: 11rem; }
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  padding: 0.625rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.5);
}

/* Mobile dropdown using details/summary */
.mobile-dropdown > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  padding: 0.625rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

.mobile-dropdown > summary::-webkit-details-marker {
  display: none;
}

.mobile-dropdown > summary::after {
  content: '▼';
  font-size: 0.625rem;
  transition: transform 0.2s ease;
}

.mobile-dropdown[open] > summary::after {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  padding-left: 0.75rem;
  padding-top: 0.5rem;
  margin-left: 0.5rem;
  border-left: 2px solid hsl(var(--primary) / 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: calc(var(--radius) - 2px);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--primary) / 0.8));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg), 0 0 20px hsl(var(--primary) / 0.2);
  transform: scale(1.05);
}

.btn-secondary {
  background: hsl(var(--primary) / 0.05);
  color: hsl(var(--primary));
  border: 2px solid hsl(var(--primary) / 0.2);
}

/* ============================================
   SERVICE CALLOUT BOX
   ============================================ */
.service-callout {
  background: linear-gradient(135deg, hsl(200 80% 96%) 0%, hsl(200 70% 92%) 100%);
  border-left: 4px solid hsl(200 90% 48%);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}

.service-callout strong {
  color: hsl(200 80% 30%);
}

.service-callout a {
  color: hsl(200 85% 40%);
  font-weight: 600;
  text-decoration: underline;
}

.service-callout a:hover {
  color: hsl(200 80% 30%);
  border-radius: 9999px;
}

.btn-secondary:hover {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border) / 0.5);
}

.btn-outline:hover {
  border-color: hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.05);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border) / 0.5);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

.card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: hsl(var(--muted));
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.25rem;
}

.service-card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border) / 0.5);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card .card-body {
  padding: 1.25rem;
}

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

.service-card p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: hsl(var(--foreground) / 0.8);
}

.service-card p:last-child {
  margin-bottom: 0;
}

.service-card a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.service-card a:hover {
  color: hsl(var(--primary) / 0.8);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.3);
}

.card-content {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  color: white;
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary) / 0.2);
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-title .highlight {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--primary-glow)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Homepage team video */
.home-work-video {
  padding: 3.5rem 0;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}

.home-work-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(20rem, 7fr);
  align-items: center;
  gap: 4rem;
  max-width: 96rem;
  margin: 0 auto;
}

.home-work-video-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.home-work-video-kicker > span {
  width: 2rem;
  height: 1px;
  background: hsl(var(--primary));
}

.home-work-video-eyebrow {
  margin: 0;
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-work-video h2 { margin: 0; color: hsl(var(--background)); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.home-work-video-narrative { max-width: 29rem; margin-top: 1.5rem; padding-left: 1.25rem; border-left: 1px solid hsl(var(--background) / 0.2); color: hsl(var(--background) / 0.7); }
.home-work-video-narrative > p:first-child { margin: 0; line-height: 1.7; }
.home-work-video-note { display: flex; gap: 1.5rem; margin: 1.25rem 0 0; color: hsl(var(--background) / 0.55); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.home-work-video-stage { display: flex; justify-content: flex-end; }
.home-work-video-frame { width: min(100%, 28rem); padding: 0.75rem; border: 1px solid hsl(var(--background) / 0.2); }
.home-work-video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: hsl(var(--foreground)); }
.home-work-video-frame > p { display: flex; justify-content: space-between; margin: 0; padding: 0.75rem 0.25rem 0; color: hsl(var(--background) / 0.5); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 767px) {
  .home-work-video { padding: 2.5rem 0; }
  .home-work-video-grid { grid-template-columns: 1fr; gap: 2rem; }
  .home-work-video-stage { justify-content: center; order: 1; }
  .home-work-video-copy { order: 2; }
  .home-work-video-frame { width: min(100%, 20rem); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

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

.section-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.badge-primary {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.badge-success {
  background: hsl(142 76% 36% / 0.1);
  color: hsl(142 76% 36%);
}

/* ============================================
   FAQ ACCORDION (Details/Summary)
   ============================================ */
.faq-item {
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: hsl(var(--primary) / 0.3);
}

.faq-item > summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  background: hsl(var(--card));
  transition: background 0.2s ease;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: hsl(var(--primary));
  transition: transform 0.2s ease;
}

.faq-item[open] > summary::after {
  content: '−';
}

.faq-item[open] > summary {
  background: hsl(var(--primary) / 0.05);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS GRID (Static)
   ============================================ */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid hsl(var(--border) / 0.5);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
}

.testimonial-quote {
  font-style: italic;
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border) / 0.3);
}

.pricing-table th {
  background: hsl(var(--primary) / 0.1);
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.pricing-table tbody tr:hover {
  background: hsl(var(--primary) / 0.02);
}

.pricing-table td:first-child {
  font-weight: 500;
}

.price-value {
  font-weight: 700;
  color: hsl(var(--primary));
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 3rem 0 1.5rem;
}

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

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(5, 1fr); }
}

.footer-brand p {
  color: hsl(var(--secondary-foreground) / 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 6rem;
  width: auto;
  margin-bottom: 1rem;
  filter: invert(1);
}

@media (min-width: 640px) {
  .footer-logo { height: 8rem; }
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: hsl(var(--secondary-foreground) / 0.7);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: hsl(var(--secondary-foreground));
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--secondary-foreground) / 0.1);
  border-radius: calc(var(--radius) - 4px);
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--secondary-foreground) / 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--secondary-foreground) / 0.6);
}

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

.footer-legal a {
  font-size: 0.875rem;
  color: hsl(var(--secondary-foreground) / 0.6);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: hsl(var(--secondary-foreground));
}

/* ============================================
   ECO BADGES
   ============================================ */
.eco-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.eco-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: hsl(var(--secondary-foreground) / 0.05);
  border: 1px solid hsl(var(--secondary-foreground) / 0.1);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: hsl(var(--secondary-foreground) / 0.7);
}

.eco-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--primary));
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.5);
  transition: var(--transition-smooth);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-category {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  padding: 1rem 0;
}

.breadcrumbs a {
  color: hsl(var(--primary));
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: hsl(var(--foreground));
}

.breadcrumbs span {
  color: hsl(var(--muted-foreground));
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px hsl(var(--primary-glow) / 0.3);
  }
  50% {
    box-shadow: 0 0 40px hsl(var(--primary-glow) / 0.6);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease;
}

.animate-fade-in-up-long {
  animation: fadeInUpLong 0.8s ease;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.hidden { display: none; }

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
}

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.bg-card { background: hsl(var(--card)); }
.bg-primary { background: hsl(var(--primary)); }
.bg-muted { background: hsl(var(--muted)); }

.border { border: 1px solid hsl(var(--border)); }
.border-primary { border-color: hsl(var(--primary)); }

/* Group Divisions Grid (Footer) */
.group-divisions {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
  padding: 1rem 1.5rem;
  background: hsl(var(--secondary-foreground) / 0.05);
  border-radius: var(--radius);
  border: 1px solid hsl(var(--secondary-foreground) / 0.1);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .group-divisions { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .group-divisions { grid-template-columns: repeat(6, 1fr); }
}

.division-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid hsl(var(--secondary-foreground) / 0.1);
  background: hsl(var(--secondary-foreground) / 0.05);
  transition: var(--transition-smooth);
}

.division-link:hover {
  background: hsl(var(--secondary-foreground) / 0.1);
  border-color: hsl(var(--secondary-foreground) / 0.2);
}

.division-link.current {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.division-label {
  font-size: 0.6875rem;
  color: hsl(var(--secondary-foreground) / 0.5);
  margin-bottom: 0.25rem;
}

.division-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--secondary-foreground));
}

/* ============================================
   RESEARCH PHILOSOPHY CARD
   ============================================ */
.philosophy-card {
  margin: 2rem 0;
  padding: 0 1rem;
}

.philosophy-expandable {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05), transparent);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.philosophy-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
}

.philosophy-summary::-webkit-details-marker {
  display: none;
}

.philosophy-icon {
  width: 4rem;
  height: 4rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.philosophy-teaser {
  flex: 1;
  min-width: 200px;
}

.philosophy-teaser h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.philosophy-teaser p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.philosophy-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: calc(var(--radius) - 4px);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .philosophy-toggle {
    width: auto;
    margin-top: 0;
  }
}

.philosophy-summary:hover .philosophy-toggle {
  background: hsl(var(--primary) / 0.1);
}

.philosophy-expandable[open] .philosophy-toggle {
  background: hsl(var(--primary) / 0.1);
}

.philosophy-content {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid hsl(var(--primary) / 0.1);
  animation: fadeIn 0.3s ease;
}

.philosophy-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.philosophy-section:last-child {
  border-bottom: none;
}

.philosophy-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.philosophy-section p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.philosophy-highlight {
  background: hsl(var(--primary) / 0.05);
  border-radius: calc(var(--radius) - 4px);
  padding: 1.5rem !important;
  margin-top: 1rem;
}

.philosophy-list {
  padding-left: 0;
  margin: 1rem 0;
}

.philosophy-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: hsl(var(--muted-foreground));
}

.philosophy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.375rem;
  height: 0.375rem;
  background: hsl(var(--primary));
  border-radius: 50%;
}

.philosophy-quote {
  border-left: 3px solid hsl(var(--primary) / 0.3);
  padding-left: 1rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
}

/* Research Chain */
.research-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: hsl(var(--muted) / 0.3);
  border-radius: calc(var(--radius) - 4px);
  padding: 1rem;
  margin: 1rem 0;
}

.chain-item {
  padding: 0.5rem 0.75rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: calc(var(--radius) - 6px);
  font-size: 0.875rem;
  font-weight: 500;
}

.chain-arrow {
  color: hsl(var(--muted-foreground));
  display: none;
}

@media (min-width: 640px) {
  .chain-arrow { display: block; }
}

/* Domains Grid */
.domains-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
}

.domain-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: calc(var(--radius) - 4px);
  padding: 1.25rem;
  transition: var(--transition-smooth);
}

.domain-card:hover {
  box-shadow: var(--shadow-md);
}

.domain-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.domain-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.domain-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0;
}

/* Methodology Grid */
.methodology-grid {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

@media (min-width: 640px) {
  .methodology-grid { grid-template-columns: repeat(2, 1fr); }
}

.methodology-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: hsl(var(--muted) / 0.3);
  border-radius: calc(var(--radius) - 6px);
  padding: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Services Tags */
.services-tags,
.collab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.service-tag {
  padding: 0.375rem 0.75rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: 9999px;
  font-size: 0.8125rem;
}

.collab-tag {
  padding: 0.375rem 0.75rem;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-radius: 9999px;
  font-size: 0.8125rem;
}

/* Vision Section */
.philosophy-vision {
  background: linear-gradient(to right, hsl(var(--primary) / 0.1), hsl(var(--primary) / 0.05));
  border-radius: calc(var(--radius) - 4px);
  padding: 1.5rem !important;
  text-align: center;
}

.vision-statement {
  color: hsl(var(--primary));
  font-weight: 600;
  margin-top: 1rem;
}

/* Philosophy CTA */
.philosophy-cta {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 4px);
  padding: 1.5rem !important;
  text-align: center;
}

.philosophy-cta .btn {
  margin-top: 1rem;
}

.philosophy-signature {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
}

.text-center {
  text-align: center;
}

/* Scroll margin for smooth scroll target */
.philosophy-content {
  scroll-margin-top: 80px;
}

/* Research Images */
.research-figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
}

.research-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.research-figure figcaption {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  padding: 0.75rem 1rem;
  background: hsl(var(--muted) / 0.3);
}

.research-images-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .research-images-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mt-6 {
  margin-top: 1.5rem;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
}

.product-card .product-image {
  width: 100%;
  max-width: 200px;
  flex-shrink: 0;
  margin: 0 auto;
}

.product-card .product-image img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 0.25rem);
  background: white;
  padding: 0.5rem;
  object-fit: contain;
}

.product-card .product-content {
  flex: 1;
}

.product-card .product-content h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.image-placeholder {
  color: hsl(var(--muted-foreground));
  font-style: italic;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .product-card {
    flex-direction: row;
    padding: 1.5rem;
  }
  
  .product-card .product-image {
    width: 200px;
    margin: 0;
  }
}

/* ============================================
   PRODUCT SHOWCASE
   ============================================ */
.product-showcase {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.product-showcase .product-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  margin-bottom: 1rem;
}

.product-caption {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   4-PILLAR APPROACH
   ============================================ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

.approach-card {
  background: hsl(var(--card));
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.approach-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.approach-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.approach-card p {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* ============================================
   ARTICLE WITH SIDEBAR LAYOUT (Matches React DynamicBlogPost)
   ============================================ */

/* Grid Layout */
.article-with-sidebar {
  padding-top: 13rem; /* Account for fixed nav */
  padding-bottom: 4rem;
}

.article-with-sidebar .breadcrumb {
  margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
  }
}

/* Sidebar */
.article-sidebar {
  display: none; /* Hidden on mobile */
}

@media (min-width: 1024px) {
  .article-sidebar {
    display: block;
    order: -1; /* Sidebar first on desktop */
  }
}

.sidebar-sticky {
  position: sticky;
  top: 13rem;
  max-height: calc(100vh - 14rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Table of Contents */
.toc-sidebar {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  padding: 1rem;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.toc-header h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  color: hsl(var(--foreground));
}

.toc-icon {
  font-size: 1rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin: 0;
}

.toc-list li a {
  display: block;
  padding: 0.375rem 0;
  padding-left: 0.75rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  border-left: 2px solid transparent;
  transition: var(--transition-smooth);
}

.toc-list li a:hover {
  color: hsl(var(--primary));
  border-left-color: hsl(var(--primary));
}

.toc-list li.toc-sub a {
  padding-left: 1.5rem;
  font-size: 0.75rem;
}

/* Sidebar Cards */
.sidebar-card {
  background: hsl(var(--muted) / 0.5);
  border-radius: var(--radius);
  padding: 1rem;
}

.sidebar-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.card-icon {
  font-size: 1rem;
}

.sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.meta-icon {
  font-size: 0.875rem;
}

/* Related Articles List */
.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: hsl(var(--primary));
  transition: var(--transition-smooth);
}

.related-list li a:hover {
  text-decoration: underline;
}

/* Keyword Tags */
.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.keyword-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: calc(var(--radius) - 4px);
}

/* Main Article Area */
.article-main {
  max-width: 900px;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  margin: 1rem 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
}

.full-bleed-hero {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.full-bleed-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.article-excerpt {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1rem;
}

.article-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Bottom CTA Card (Matches React) */
.cta-card {
  background: hsl(var(--primary) / 0.05);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.cta-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.cta-card p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-arrow {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Scroll margin for anchored headings */
.scroll-mt-24 {
  scroll-margin-top: 6rem;
}

.scroll-mt-20 {
  scroll-margin-top: 5rem;
}

/* Prose content enhancements for article pages */
.article-content.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.article-content.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content.prose blockquote {
  border-left: 4px solid hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

/* Abstract Section for Research */
.abstract-section {
  background: hsl(var(--muted) / 0.3);
  border-left: 4px solid hsl(var(--primary));
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.abstract-section h2 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--primary));
}

.abstract-text {
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(var(--foreground));
  margin: 0;
}

/* Citation Box for Research */
.citation-box {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}

.citation-box h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.citation-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: hsl(var(--muted) / 0.5);
  padding: 1rem;
  border-radius: calc(var(--radius) - 4px);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.license-text {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.license-text a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

/* ============================================
   RECOMMENDED SERVICES SECTION
   ============================================ */
.recommended-services {
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.recommended-services h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-recommend-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.service-recommend-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: hsl(var(--primary) / 0.3);
}

.service-recommend-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: calc(var(--radius) - 4px);
  flex-shrink: 0;
}

.service-recommend-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.service-recommend-content {
  flex: 1;
  min-width: 0;
}

.service-recommend-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.service-recommend-card p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-recommend-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.service-price {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--primary));
}

.service-view-link {
  font-size: 0.75rem;
  color: hsl(var(--foreground) / 0.7);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.service-recommend-card:hover .service-view-link {
  color: hsl(var(--primary));
}

.service-view-link svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* ============================================
   SERVICE RELATED LINKS
   ============================================ */
.service-related {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.service-related-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-related-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.service-related-links li a {
  font-size: 0.8125rem;
  color: hsl(var(--primary));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.service-related-links li a:hover {
  text-decoration: underline;
  color: hsl(var(--primary) / 0.8);
}

.service-related-links li a::before {
  content: "→";
  font-size: 0.75rem;
}

/* ============================================
   TOPIC CLUSTER ARCHITECTURE COMPONENTS
   ============================================ */

/* Resource Hub (Pillar Page) */
.resource-hub {
  background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--card)));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3rem 0;
}

.resource-hub h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.resource-hub > p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

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

@media (min-width: 640px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hub-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hub-category {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: calc(var(--radius) - 4px);
  padding: 1.5rem;
}

.hub-category h3 {
  font-size: 1rem;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid hsl(var(--primary) / 0.2);
}

.hub-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-category li a {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  transition: var(--transition-smooth);
}

.hub-category li a:hover {
  color: hsl(var(--primary));
  transform: translateX(4px);
}

.hub-category li a::before {
  content: "→";
  font-size: 0.75rem;
  color: hsl(var(--primary) / 0.6);
}

/* Pillar Reference (All Content Pages) */
.pillar-reference {
  background: linear-gradient(135deg, hsl(200 80% 96%), hsl(200 60% 94%));
  border-left: 4px solid hsl(var(--primary-glow));
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0;
  font-size: 0.95rem;
}

.pillar-reference strong {
  color: hsl(var(--foreground) / 0.7);
  font-weight: 500;
}

.pillar-reference a {
  color: hsl(var(--primary-glow));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pillar-reference a:hover {
  color: hsl(var(--primary));
}

.dark .pillar-reference {
  background: linear-gradient(135deg, hsl(200 50% 15%), hsl(200 40% 12%));
}

/* Research Backed Section (Homepage) */
.research-backed {
  padding: 4rem 0;
  background: linear-gradient(180deg, hsl(var(--background)), hsl(var(--card)));
}

.research-backed h2 {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.research-backed > .container > p {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2.5rem;
}

.research-stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .research-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.research-stats-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.research-stats-grid a:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.research-stats-grid .stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  line-height: 1;
  margin-bottom: 0.5rem;
}

.research-stats-grid .label {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.7);
  text-align: center;
}

.view-all {
  display: block;
  text-align: center;
  font-weight: 600;
  color: hsl(var(--primary));
  text-decoration: none;
  padding: 0.5rem;
}

.view-all:hover {
  text-decoration: underline;
}

/* Related Resources (Research Papers) */
.related-resources {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3rem 0;
}

.related-resources h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

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

@media (min-width: 640px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.resource-category h3 {
  font-size: 1rem;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.resource-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.resource-category li a {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.resource-category li a:hover {
  color: hsl(var(--primary));
}

.resource-category li a::before {
  content: "→";
  font-size: 0.75rem;
  color: hsl(var(--primary) / 0.6);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Evidence Based Section (Service Pages) */
.evidence-based {
  background: linear-gradient(135deg, hsl(var(--card)), hsl(var(--background)));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3rem 0;
}

.evidence-based h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

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

@media (min-width: 640px) {
  .evidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.evidence-card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: calc(var(--radius) - 4px);
  padding: 1.5rem;
}

.evidence-card h3 {
  font-size: 1rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.evidence-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.evidence-card a {
  font-size: 0.875rem;
  color: hsl(var(--primary));
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.evidence-card a:hover {
  text-decoration: underline;
}

.evidence-card a::before {
  content: "📄";
  font-size: 0.75rem;
}

/* Deep Dive Resources (Guide Pages) */
.deep-dive-resources {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3rem 0;
}

.deep-dive-resources h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

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

@media (min-width: 768px) {
  .deep-dive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.deep-dive-category h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.deep-dive-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deep-dive-category li a {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  transition: color 0.2s;
}

.deep-dive-category li a:hover {
  color: hsl(var(--primary));
}

.deep-dive-category li a::before {
  content: "→";
  font-size: 0.75rem;
  color: hsl(var(--primary) / 0.6);
  flex-shrink: 0;
}

/* ============================================
   NO-INSPECTION CTA (site-wide WhatsApp-photo block)
   ============================================ */
.no-inspection-cta {
  margin: 2.5rem auto;
  max-width: 64rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  box-shadow: var(--shadow-elegant);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .no-inspection-cta { padding: 2.5rem; margin: 3rem auto; }
}
.no-inspection-cta__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.no-inspection-cta__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.no-inspection-cta h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 0.5rem 0;
  font-family: 'Space Grotesk', var(--font-sans);
}
@media (min-width: 768px) {
  .no-inspection-cta h2 { font-size: 1.75rem; }
}
.no-inspection-cta p {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
  line-height: 1.55;
}
.no-inspection-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .no-inspection-cta__buttons { flex-direction: row; }
}
.no-inspection-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  flex: 1;
}
.no-inspection-cta__btn--primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}
.no-inspection-cta__btn--primary:hover { filter: brightness(1.08); }
.no-inspection-cta__btn--secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}
.no-inspection-cta__btn--secondary:hover { filter: brightness(1.05); }
.no-inspection-cta__btn--outline {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}
.no-inspection-cta__btn--outline:hover {
  background: hsl(var(--muted));
}
.no-inspection-cta__footnote {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}
.no-inspection-cta__footnote::before {
  content: "✓";
  color: hsl(var(--primary));
  font-weight: 700;
}

/* Quick Answer box for AI Overview / voice search targeting */
.quick-answer-box {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  background: hsl(var(--primary) / 0.06);
}
.quick-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.quick-answer-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.quick-answer-box h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.quick-answer-box p {
  margin: 0;
  line-height: 1.6;
  color: hsl(var(--foreground) / 0.9);
}
@media (min-width: 768px) {
  .quick-answer-box {
    padding: 1.5rem;
  }
}

/* Quick Answer (plain section variant used by generated twins) */
section.quick-answer {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  background: hsl(var(--primary) / 0.06);
}
section.quick-answer h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
section.quick-answer p {
  margin: 0;
  line-height: 1.6;
}
@media (min-width: 768px) {
  section.quick-answer { padding: 1.5rem; }
}

/* Service directory grid */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.service-card {
  display: block;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.25rem;
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px -2px hsl(var(--foreground) / 0.06);
}
.service-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--shadow-elegant);
  transform: translateY(-2px);
}
.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.service-card:hover h3 {
  color: hsl(var(--primary));
}
.service-price {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
}
.service-card p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.75);
  line-height: 1.5;
}
.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
}


/* ---- Area Health profile + area depth blocks ---- */
.ah-score{font-size:1.125rem;margin:1rem 0 1.5rem}
.ah-metric{margin-bottom:1.25rem}
.ah-metric-head{display:flex;justify-content:space-between;gap:1rem;margin:0 0 .35rem}
.ah-bar{background:#e5e7eb;border-radius:999px;height:10px;overflow:hidden}
.ah-bar>span{display:block;height:100%;background:#0ea5e9;border-radius:999px}
.ah-note{color:#4b5563;font-size:.95rem;margin:.5rem 0 0}
.ah-seasonal{display:flex;align-items:flex-end;gap:.35rem;height:150px;list-style:none;margin:1rem 0 2rem;padding:0}
.ah-seasonal li{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;font-size:.7rem;color:#4b5563}
.ah-month-bar{width:100%;background:#0ea5e9;opacity:.55;border-radius:4px 4px 0 0;display:block}
.ah-month-value{order:-1;margin-bottom:.2rem}
.ah-month-label{margin-top:.3rem}
.ah-provenance{background:#f8fafc;border-left:4px solid #0ea5e9;padding:1rem;font-size:.9rem;color:#475569}
.step-list{margin:0 0 1.5rem 1.25rem}
.step-list li{margin-bottom:.65rem}
.price-table{width:100%;border-collapse:collapse;font-size:.95rem;margin-bottom:1.5rem}
.price-table th,.price-table td{border-top:1px solid #e5e7eb;padding:.75rem;text-align:left;vertical-align:top}
.price-table thead th{background:#f1f5f9;border-top:0}
.faq-item{margin-bottom:1.25rem}
.faq-item h3{margin:0 0 .35rem;font-size:1.05rem}

/* Aira Hales secondary-brand areas. Pico X remains the global site brand. */
.aira-brand{width:min(100%,19rem);height:auto;object-fit:contain;object-position:left center;margin:0 0 1rem}
.aira-label{width:max-content;max-width:100%;border-bottom:2px solid hsl(var(--aira));padding:0 0 .25rem;color:hsl(var(--aira-foreground));font-size:.75rem;font-weight:700;text-transform:uppercase}
.aira-section{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:max(1rem,calc((100vw - 52rem)/2));padding-right:max(1rem,calc((100vw - 52rem)/2));background:hsl(var(--aira-surface));border-top:1px solid hsl(var(--aira-border));border-bottom:1px solid hsl(var(--aira-border))}
.btn-aira{background:hsl(var(--aira));border-color:hsl(var(--aira));color:white}
.btn-aira:hover{background:hsl(var(--aira) / .88);border-color:hsl(var(--aira) / .88)}

/* Service-areas hub tables */
.area-compare-table, .area-season-table { width:100%; border-collapse:collapse; margin:0 0 1.5rem; font-size:.9rem; background:hsl(var(--card)); border:1px solid hsl(var(--border)); border-radius:.75rem; overflow:hidden; }
.area-compare-table caption, .area-season-table caption { text-align:left; font-size:.85rem; color:hsl(var(--muted-foreground)); padding:.5rem 0; }
.area-compare-table th, .area-compare-table td, .area-season-table th, .area-season-table td { padding:.65rem .75rem; border-bottom:1px solid hsl(var(--border)); text-align:left; vertical-align:top; }
.area-compare-table thead th, .area-season-table thead th { background:hsl(var(--muted) / .4); font-weight:600; }
.area-compare-table tr:last-child td, .area-compare-table tr:last-child th { border-bottom:none; }
.area-compare-table small, .area-season-table small { color:hsl(var(--muted-foreground)); font-weight:400; }
.area-season-table td { text-align:center; }
.area-season-table td.peak { color:hsl(var(--primary)); font-weight:700; }

/* Live Area Health — layout helpers (added by generate-area-twins-live.py) */
.ah-layers{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;margin:1.5rem 0}
.ah-layers h3{font-family:'Space Grotesk',sans-serif;font-size:1.05rem;margin:0 0 .75rem}
.ah-case{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem 2rem;margin:1rem 0}
.ah-case>div{display:flex;flex-direction:column;background:#f8fafc;border-radius:10px;padding:.85rem 1rem}
.ah-case span{font-size:1.6rem;font-weight:700;color:#0f172a;line-height:1}
.ah-metric-head span{font-weight:600;color:#0f172a}
@media(max-width:680px){.ah-layers,.ah-case{grid-template-columns:1fr}}

/* Icon-free editorial shape system. Preserve data bars and genuine colour swatches. */
.rounded-full,
.badge,
.service-price,
.promo-tag,
.chip,
[style*="border-radius:999"] {
  border-radius: 2px !important;
}
.rounded-full:empty { display: none !important; }
.ah-bar,
.ah-bar > span,
[style*="background-color"][class*="swatch"] {
  border-radius: 9999px !important;
}

/* Icon-free crawler copies: no empty backplates left behind by removed pictograms. */
:is(.no-inspection-cta__icon, .service-icon, .service-icon-lg, .nf-card-icon, .feature-icon, .service-recommend-icon, .value-icon, .property-icon, .section-icon):not(:has(*)) {
  display: none !important;
}
