/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
  /* Brand colors (overridden by config-loader.js) */
  --color-primary: #009B8D;
  --color-primary-dark: #007A6E;
  --color-primary-rgb: 0, 155, 141;
  --color-accent: #F07B6E;
  --color-accent-light: #F9A89F;
  --color-text: #1A1A1A;
  --color-text-muted: #666666;
  --color-border: #E8E8E8;
  --color-surface: #FFFFFF;
  --color-background: #FAFAF5;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 24px;

  /* Z-index scale */
  --z-dropdown: 100;
  --z-modal: 500;
  --z-overlay: 400;
  --z-toast: 999;
  --z-auth: 99999;

  /* Primary palette — modern, approachable */
  --primary: #008A6C;
  --primary-container: #b2dfdb;
  --on-primary: #ffffff;
  --on-primary-container: #00382b;
  --primary-fixed: #e0f2ef;
  --primary-fixed-dim: #80cbc4;

  /* Secondary palette — warm coral for CTAs */
  --secondary: #FF5A5F;
  --secondary-container: #ffe0e1;
  --on-secondary: #ffffff;
  --secondary-fixed: #ffe0e1;
  --secondary-fixed-dim: #ffb3b5;

  /* Tertiary */
  --tertiary: #008A6C;
  --tertiary-container: #b2dfdb;

  /* Surfaces — clean whites */
  --surface: #ffffff;
  --surface-dim: #e8e8e8;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f7f7f7;
  --surface-container: #f2f2f2;
  --surface-container-high: #ebebeb;
  --surface-container-highest: #e0e0e0;

  /* On-surface — dark charcoal, not black */
  --on-surface: #222222;
  --on-surface-variant: #484848;
  --on-background: #222222;

  /* Outline */
  --outline: #717171;
  --outline-variant: #dddddd;

  /* Inverse */
  --inverse-surface: #222222;
  --inverse-on-surface: #f5f5f5;
  --inverse-primary: #80cbc4;

  /* Error */
  --error: #d93025;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Typography — single clean font */
  --font-headline: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --container-wide: 1440px;
  --section-pad: clamp(4rem, 8vw, 8rem);
  --content-pad: clamp(1.5rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageIn 0.6s ease;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  box-sizing: border-box;
}

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

em {
  font-family: var(--font-headline);
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

::selection {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.heading-xl {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

.heading-lg {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.heading-md {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
}

.heading-sm {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
}

.heading-xs {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 400;
}

.body-text {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  line-height: 1.8;
  font-weight: 300;
}

.body-text-sm {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  font-weight: 300;
}

.label-tag {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.label-tag-muted {
  color: var(--outline);
  opacity: 0.5;
}

.label-tag-light {
  color: var(--on-primary);
  opacity: 0.7;
}

.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.text-white-muted { color: rgba(255,255,255,0.8); }
.text-muted { color: var(--primary-container); }
.bold { font-weight: 700; }
.opacity-90 { opacity: 0.9; }

/* ============================================
   LAYOUT & NAV
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--surface-container-low);
}

.center {
  text-align: center;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-dropdown);
  background: rgba(250, 250, 245, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--content-pad);
}

.logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 400;
  transition: letter-spacing 0.4s ease;
}

.logo:hover {
  letter-spacing: 0.3em;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link-cta {
  opacity: 1;
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.125rem;
  transition: background 0.3s;
}

.nav-link-cta:hover {
  background: var(--primary-container);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* Nav Link Underline Animation */
.nav-link:not(.nav-link-cta) {
  position: relative;
}

.nav-link:not(.nav-link-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:not(.nav-link-cta):hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--surface);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-menu-link {
  font-family: var(--font-headline);
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.mobile-menu-link:hover { opacity: 1; }

.mobile-menu-cta {
  opacity: 1;
  font-size: 1rem;
  background: var(--primary);
  color: var(--on-primary);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--surface) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  padding: 0 var(--content-pad);
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1.5rem 0 2rem;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--on-surface-variant);
  font-weight: 300;
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto;
}

.hero-scroll {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-line {
  width: 1px;
  height: 5rem;
  background: var(--outline-variant);
  opacity: 0.3;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Hero Staggered Entrance */
.hero-content .label-tag {
  animation: heroIn 0.8s ease 0.2s both;
}

.hero-content .hero-title {
  animation: heroIn 0.8s ease 0.4s both;
}

.hero-content .hero-subtitle {
  animation: heroIn 0.8s ease 0.6s both;
}

.hero-content .hero-scroll {
  animation: heroIn 0.8s ease 0.9s both;
}

/* --- Mission Section --- */
.grid-mission {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .grid-mission {
    grid-template-columns: 7fr 5fr;
  }
}

.mission-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mission-visual {
  position: relative;
}

.mission-img-wrap {
  aspect-ratio: 3/4;
  border-radius: 0.125rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.mission-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}

.mission-img-wrap:hover .mission-img {
  transform: scale(1.05);
}

.floating-quote {
  display: none;
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--surface-container-lowest);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 16rem;
  animation: floatBreathe 4s ease-in-out infinite;
}

@media (min-width: 768px) {
  .floating-quote { display: block; }
}

.quote-text {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* --- Three Pillars --- */
.grid-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .grid-pillars {
    grid-template-columns: 1fr 2fr;
    gap: 8rem;
  }
}

.pillars-heading {
  position: relative;
}

@media (min-width: 768px) {
  .pillars-heading {
    position: sticky;
    top: 8rem;
    align-self: start;
  }
}

.heading-rule {
  width: 3rem;
  height: 1px;
  background: var(--outline-variant);
  margin-top: 2rem;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.pillar-number {
  font-size: 0.875rem;
  color: var(--primary);
  display: block;
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  transition: font-style 0.3s;
}

.pillar:hover .pillar-title {
  font-style: italic;
}

.pillar {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid transparent;
  transition: border-color 0.4s ease;
}

.pillar:hover {
  border-left-color: var(--primary);
}

/* ============================================
   DASHBOARD
   ============================================ */

/* --- Bento Grid --- */
.section-header {
  margin-bottom: 4rem;
}

.section-header-desc {
  max-width: 40rem;
  margin-top: 1.5rem;
}

.section-header.center .section-header-desc {
  margin-left: auto;
  margin-right: auto;
}

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

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

.bento-card {
  padding: 2.5rem;
  border-radius: 0.125rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.bento-large {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .bento-large { grid-column: span 2; }
  .bento-two-col { grid-column: span 2; }
}

.bento-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.bento-surface {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(198, 200, 184, 0.15);
}

.bento-surface-high {
  background: var(--surface-container-high);
}

.bento-dark {
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
}

.bento-image-card {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.bento-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.bento-image-card:hover .bento-bg-img {
  transform: scale(1.05);
}

.bento-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}

.bento-image-content {
  position: relative;
  z-index: 10;
  margin-top: auto;
}

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.bento-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  font-weight: 300;
}

.bento-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(198, 200, 184, 0.1);
}

.bento-rule {
  width: 3rem;
  height: 1px;
  background: var(--primary);
  margin-bottom: 0.75rem;
}

.bento-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  height: 100%;
}

@media (min-width: 768px) {
  .bento-split {
    grid-template-columns: 1fr 1fr;
  }
}

.bento-square-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  border-radius: 0.125rem;
}

.bento-split-text {
  padding: 1rem 0;
}

/* --- Metrics / Intelligence Hub --- */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

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

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

.metric-card {
  background: var(--surface-container-low);
  border: 1px solid rgba(198, 200, 184, 0.15);
  border-radius: 0.125rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.metric-card-highlight {
  background: var(--primary);
  color: var(--on-primary);
  border-color: transparent;
}

.metric-value {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 400;
}

.metric-value[data-count] {
  font-variant-numeric: tabular-nums;
}

.metric-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.metric-card:not(.metric-card-highlight) .metric-label {
  color: var(--outline);
}

.metric-card-highlight .metric-label {
  opacity: 0.8;
}

.metric-desc {
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 300;
  opacity: 0.7;
}

/* Dashboard Preview */
.dashboard-preview {
  background: var(--surface-container);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(198, 200, 184, 0.15);
}

.dashboard-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--surface-container-high);
  border-bottom: 1px solid rgba(198, 200, 184, 0.15);
}

.dashboard-dots {
  display: flex;
  gap: 0.375rem;
}

.dashboard-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--outline-variant);
}

.dashboard-body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 360px;
}

@media (min-width: 768px) {
  .dashboard-body {
    grid-template-columns: 200px 1fr;
  }
}

.dashboard-sidebar {
  display: none;
  background: var(--surface);
  border-right: 1px solid rgba(198, 200, 184, 0.15);
  padding: 1.5rem 1rem;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .dashboard-sidebar { display: flex; }
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.125rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s;
}

.dashboard-nav-item:hover {
  opacity: 0.8;
  background: rgba(143, 150, 130, 0.05);
}

.dashboard-nav-item.active {
  opacity: 1;
  color: var(--primary);
  font-weight: 600;
  background: rgba(143, 150, 130, 0.1);
}

.dashboard-nav-item .material-symbols-outlined {
  font-size: 1rem;
}

.dashboard-main {
  padding: 2rem;
  background: var(--surface-container-lowest);
}

.dashboard-stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.dashboard-stat {
  background: var(--surface-container-low);
  border: 1px solid rgba(198, 200, 184, 0.1);
  border-radius: 0.125rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dashboard-stat-value {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  color: var(--primary);
}

.dashboard-stat-label {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--outline);
}

.dashboard-stat-trend {
  font-size: 0.6875rem;
  font-weight: 500;
}

.dashboard-stat-trend.positive {
  color: var(--tertiary);
}

.dashboard-chart-placeholder {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 120px;
  padding: 1rem;
  background: rgba(143, 150, 130, 0.03);
  border-radius: 0.125rem;
  border: 1px solid rgba(198, 200, 184, 0.1);
}

.chart-bar {
  flex: 1;
  background: var(--primary-fixed);
  border-radius: 0.125rem 0.125rem 0 0;
  transition: height 0.6s ease;
}

.chart-bar.highlight {
  background: var(--primary);
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

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

.pricing-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(198, 200, 184, 0.2);
  border-radius: 0.25rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.pricing-card-dark {
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  border-color: transparent;
}

.pricing-header {
  margin-bottom: 2rem;
  min-height: 8rem;
}

.pricing-header .label-tag {
  margin-bottom: 0.75rem;
  display: block;
}

.pricing-title {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.pricing-card:not(.pricing-card-dark) .pricing-title {
  color: var(--primary);
}

.pricing-subtitle {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  font-weight: 300;
}

.pricing-model {
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(198, 200, 184, 0.15);
  border-bottom: 1px solid rgba(198, 200, 184, 0.15);
}

.pricing-card-dark .pricing-model {
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-value {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 300;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-card:not(.pricing-card-dark) .pricing-value {
  color: var(--primary);
}

.pricing-value-desc {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
}

.pricing-card:not(.pricing-card-dark) .pricing-features li {
  color: var(--on-surface-variant);
}

.pricing-features .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--tertiary);
}

.pricing-card-dark .pricing-features .material-symbols-outlined {
  color: var(--tertiary-fixed-dim);
}

.pricing-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.pricing-note {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  text-align: center;
}

/* ============================================
   PARTNER DASHBOARD
   ============================================ */

/* --- Partnership Section --- */
.partnership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

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

.partner-card {
  border-radius: 0.5rem;
  padding: 2.5rem;
}

.partner-card-main {
  background: var(--surface-container-lowest);
}

.partner-card-side {
  background: var(--surface-container-low);
  border: 1px solid rgba(198, 200, 184, 0.15);
}

.split-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  margin-bottom: 2.5rem;
  height: 200px;
}

.split-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border-radius: 0.125rem 0.125rem 0 0;
}

.split-bar-yours {
  flex: 1;
  height: 100%;
  background: var(--primary);
  color: var(--on-primary);
}

.split-bar-ours {
  width: 30%;
  height: 50%;
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.split-value {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.5rem);
  display: block;
}

.split-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  display: block;
}

.partner-card-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partner-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--secondary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.partner-breakdown {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(198, 200, 184, 0.2);
}

.breakdown-row-total {
  border-bottom: none;
  font-weight: 700;
}

.partner-quote {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--surface-container-lowest);
  border-left: 2px solid var(--primary);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

/* Value Pillars */
.value-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 5rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .value-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.value-number {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 2.25rem;
  color: var(--primary-container);
  display: block;
  margin-bottom: 1rem;
}

.value-pillar .heading-xs {
  margin-bottom: 0.75rem;
}

/* Partner Profile Edit */
.profile-photo-wrap {
  position: relative;
  display: inline-block;
}
.photo-upload-btn {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.photo-upload-btn:hover { background: var(--color-primary-dark); }
.profile-field {
  border: 1.5px solid transparent;
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 15px;
  width: 100%;
}
.profile-field.editing {
  border-color: var(--color-primary);
  background: #fff;
}
.profile-field[readonly] { cursor: default; }
.profile-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-primary);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.profile-edit-btn.saving {
  background: var(--color-primary);
  color: #fff;
}
.nav-ai-item {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-md);
  color: #fff;
  margin: 4px 0;
}
.nav-ai-item:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0f2d1d 100%);
}
.nav-ai-item .material-symbols-outlined {
  color: #fff;
}
.nav-ai-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  background: #fff;
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.4;
}
.nav-pulse {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-ring 1.8s ease-out infinite;
}

/* ============================================
   COMPONENTS
   ============================================ */

/* --- Quote Section --- */
.quote-section {
  padding: var(--section-pad) 0;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 2rem;
}

.quote-large {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--on-surface-variant);
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.quote-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.quote-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-avatar .material-symbols-outlined {
  color: var(--primary);
}

/* --- CTA Section --- */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cta-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.cta-visual {
  position: relative;
  display: none;
}

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

.cta-img-wrap {
  aspect-ratio: 4/5;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 2s;
}

.cta-img-wrap:hover .cta-img {
  transform: scale(1.05);
}

.cta-floating {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--surface-container-lowest);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 13rem;
  animation: floatIn 0.8s ease 1s both;
}

.quote-text-sm {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge-line {
  width: 2rem;
  height: 1px;
  background: var(--primary);
}

.cta-content {
  max-width: 36rem;
}

.cta-content .heading-xl {
  margin-bottom: 1.5rem;
}

.cta-content .body-text {
  margin-bottom: 3rem;
}

.cta-form {
  margin-bottom: 2rem;
}

.cta-input-group {
  position: relative;
  margin-bottom: 2rem;
}

.cta-label {
  position: absolute;
  top: -0.75rem;
  left: 0;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 600;
}

.cta-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(198, 200, 184, 0.4);
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--on-surface);
  outline: none;
  transition: border-color 0.3s;
}

.cta-input::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.2;
}

.cta-input:focus {
  border-color: var(--primary);
}

.cta-input-icon {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  color: var(--outline);
  opacity: 0.4;
}

.cta-input-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease, left 0.3s ease;
}

.cta-input-group:focus-within::after {
  left: 0;
  width: 100%;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.trust-badges {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  opacity: 0.35;
  transition: opacity 0.5s;
}

.trust-badges:hover {
  opacity: 0.8;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-badge .material-symbols-outlined {
  font-size: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  cursor: pointer;
  border: none;
  border-radius: 0.125rem;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  padding: 1.125rem 2.5rem;
  box-shadow: 0 4px 16px rgba(90, 97, 79, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-container);
}

.btn-primary:hover::after {
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary:active {
  transform: scale(0.98);
  transition: transform 0.1s;
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 0.75rem;
}

.btn-text {
  background: none;
  color: var(--on-surface-variant);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(198, 200, 184, 0.2);
}

.btn-text:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-white {
  background: var(--surface);
  color: var(--on-surface);
  padding: 1.25rem 2.5rem;
}

.btn-white:hover {
  background: var(--surface-container-high);
}

.btn-ghost-white {
  background: transparent;
  color: #fff;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.btn-ghost-white:hover {
  border-color: #fff;
}

/* --- Banner --- */
.banner {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: 0;
}

.banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 28, 25, 0.45);
}

.banner-content {
  position: relative;
  z-index: 10;
  padding: 0 var(--content-pad);
}

.banner-content .heading-lg {
  margin-bottom: 2.5rem;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* --- Footer --- */
.footer {
  background: var(--surface-dim);
  padding: 5rem 0 3rem;
}

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

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

.footer-logo {
  font-family: var(--font-headline);
  font-size: 2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  opacity: 0.8;
  max-width: 20rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  opacity: 0.7;
  transition: all 0.3s;
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(198, 200, 184, 0.1);
}

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

.footer-copyright {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
  opacity: 0.4;
}

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

.footer-socials a,
.footer-socials .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--primary);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s;
}

.footer-socials a:hover,
.footer-socials .material-symbols-outlined:hover {
  opacity: 1;
}

/* --- Notification Bell Widget --- */
.notif-wrap { position: relative; display: inline-block; }
.notif-bell {
  background: none; border: none; cursor: pointer; position: relative;
  padding: 6px; display: flex; align-items: center; color: #444;
  border-radius: var(--radius-md); transition: background 0.15s;
}
.notif-bell:hover { background: #f3f4f6; }
.notif-bell .material-symbols-outlined { font-size: 22px; }
.notif-badge {
  position: absolute; top: 2px; right: 2px; background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 700; min-width: 16px; height: 16px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 2px solid #fff;
}
.notif-panel {
  position: absolute; top: calc(100% + 8px); right: 0; width: 340px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  z-index: var(--z-toast); overflow: hidden; border: 1px solid #f0f0f0;
}
.notif-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #f0f0f0;
}
.notif-panel-title { font-size: 15px; font-weight: 600; color: var(--color-text); }
.notif-mark-all {
  background: none; border: none; font-size: 12px; color: var(--color-primary);
  cursor: pointer; padding: 0; font-family: inherit;
}
.notif-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px;
  cursor: pointer; transition: background 0.12s; position: relative;
  border-bottom: 1px solid #fafafa;
}
.notif-item:hover { background: #f9fafb; }
.notif-item.read { opacity: 0.6; }
.notif-icon-wrap {
  width: 36px; height: 36px; border-radius: var(--radius-md); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.notif-icon-wrap .material-symbols-outlined { font-size: 18px; }
.notif-icon-wrap.type-booking { background: #dbeafe; color: #1d4ed8; }
.notif-icon-wrap.type-partner { background: #fef3c7; color: #92400e; }
.notif-icon-wrap.type-review { background: #d1fae5; color: #065f46; }
.notif-icon-wrap.type-checkin { background: #f3f4f6; color: #374151; }
.notif-content { flex: 1; min-width: 0; }
.notif-message { font-size: 13.5px; color: var(--color-text); line-height: 1.4; }
.notif-time { font-size: 12px; color: #aaa; margin-top: 2px; }
.notif-dot {
  width: 8px; height: 8px; background: var(--color-primary); border-radius: 50%;
  flex-shrink: 0; margin-top: 4px;
}
.notif-empty {
  flex-direction: column; align-items: center; justify-content: center;
  padding: 36px 24px; color: #bbb; gap: 8px; display: none;
}
.notif-empty .material-symbols-outlined { font-size: 36px; }
.notif-empty p { font-size: 14px; margin: 0; }
@media (max-width: 480px) {
  .notif-panel { width: calc(100vw - 32px); right: -8px; }
}

/* --- Arrivals Widget --- */
.arrivals-widget {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 0 0 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}
.widget-title .material-symbols-outlined { font-size: 20px; color: var(--color-primary); }
.arrivals-count {
  font-size: 13px;
  font-weight: 700;
  background: #f3f4f6;
  color: #666;
  padding: 2px 10px;
  border-radius: var(--radius-lg);
}
.arrivals-count.has-arrivals {
  background: #d1fae5;
  color: #065f46;
}
.arrivals-list { display: flex; flex-direction: column; gap: 8px; }
.arrivals-loading, .arrivals-empty, .arrivals-error {
  text-align: center;
  padding: 24px;
  color: #999;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.arrivals-error { color: #c45a3a; }
/* No-PMS empty state — Tier 0 onboarding (no PMS connected yet).
   See wiki/business/onboarding-philosophy.md */
.arrivals-no-pms {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  gap: 14px;
  background: linear-gradient(135deg, rgba(0,155,141,0.04), rgba(0,155,141,0.08));
  border: 1px dashed rgba(0,155,141,0.25);
  border-radius: var(--radius-md);
}
.arrivals-no-pms .arrivals-no-pms-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,155,141,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary, #009B8D);
}
.arrivals-no-pms .arrivals-no-pms-icon .material-symbols-outlined { font-size: 24px; }
.arrivals-no-pms .arrivals-no-pms-title {
  font-size: 14px; font-weight: 600; color: #111;
}
.arrivals-no-pms .arrivals-no-pms-desc {
  font-size: 12.5px; color: #666; line-height: 1.5; max-width: 260px;
}
.arrivals-no-pms .arrivals-no-pms-cta {
  font-size: 13px; font-weight: 600;
  color: var(--color-primary, #009B8D);
  background: #fff;
  border: 1.5px solid rgba(0,155,141,0.4);
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.arrivals-no-pms .arrivals-no-pms-cta:hover {
  background: rgba(0,155,141,0.06);
  border-color: var(--color-primary, #009B8D);
}
.rotating { animation: spin 1.2s linear infinite; }
.arrival-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #fafafa;
  transition: background 0.12s;
}
.arrival-card:hover { background: #f3f4f6; }
.arrival-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.arrival-info { flex: 1; min-width: 0; }
.arrival-name { font-size: 14px; font-weight: 600; color: var(--color-text); }
.arrival-meta { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.arrival-source { font-size: 11px; color: #aaa; margin-top: 1px; }
.arrival-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: capitalize;
  flex-shrink: 0;
}
.arrival-status.status-confirmed { background: #dbeafe; color: #1d4ed8; }
.arrival-status.status-checked_in { background: #d1fae5; color: #065f46; }

/* --- Bookings Table (Cloudbeds) --- */
.bookings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.bookings-filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.booking-filter-btn {
  padding: 6px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  color: #555;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.booking-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.bookings-refresh-btn {
  background: none;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 6px 8px;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.bookings-refresh-btn:hover { background: #f3f4f6; }
.bookings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.bookings-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-bottom: 2px solid #f0f0f0;
}
.bookings-table td {
  padding: 12px;
  border-bottom: 1px solid #f8f8f8;
  color: #222;
  vertical-align: middle;
}
.booking-row:hover td { background: #fafafa; }
.booking-guest-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.booking-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.booking-guest-name { font-weight: 500; color: var(--color-text); }
.booking-guest-email { font-size: 12px; color: #aaa; margin-top: 1px; }
.booking-status-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.booking-status-badge.status-inhouse   { background: #d1fae5; color: #065f46; }
.booking-status-badge.status-confirmed { background: #dbeafe; color: #1d4ed8; }
.booking-status-badge.status-checkedout{ background: #f3f4f6; color: #6b7280; }
.booking-status-badge.status-cancelled { background: #fee2e2; color: #991b1b; }
.bookings-loading,
.bookings-error {
  text-align: center;
  padding: 32px;
  color: #aaa;
  font-size: 14px;
}
.bookings-error { color: #ef4444; }
.bookings-empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: #bbb;
  gap: 8px;
  text-align: center;
}
.bookings-empty .material-symbols-outlined { font-size: 36px; }
.bookings-empty p { font-size: 14px; margin: 0; }
@media (max-width: 768px) {
  .bookings-table th:nth-child(5),
  .bookings-table td:nth-child(5),
  .bookings-table th:nth-child(6),
  .bookings-table td:nth-child(6) { display: none; }
}

/* --- How It Works --- */
.how-it-works {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.how-it-works h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--color-text);
}
.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.hiw-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 24px;
}
.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hiw-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.hiw-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.hiw-step strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}
.hiw-step p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .how-it-works h2 {
    font-size: 26px;
  }
}

/* --- Skip Navigation Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: var(--z-toast);
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.125rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* --- Focus Visible Indicators --- */
/* NOTE on color contrast: The primary color #5a614f on white #fafaf5 yields
   approximately 3.9:1 contrast, which passes WCAG AA for large text (18px+)
   but falls just short of the 4.5:1 ratio for normal text. Brand colors are
   preserved per project requirements. */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Remove the default outline only when :focus-visible is supported */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--primary);
  z-index: 200;
  width: 0%;
  transition: width 0.05s linear;
}

/* --- Mobile sidebar hamburger (dashboard + partner-dashboard) --- */
.mobile-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: #1a1a1a;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .mobile-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- Mobile sidebar overlay --- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
}

.sidebar-overlay.open {
  display: block;
}

@media (max-width: 768px) {
  .sidebar.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 95;
    width: 280px;
  }
}

/* ============================================
   UTILITIES
   ============================================ */

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.reveal.visible .pillar,
.reveal.visible .bento-card,
.reveal.visible .metric-card,
.reveal.visible .value-pillar {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
}

.reveal.visible .pillar:nth-child(1),
.reveal.visible .bento-card:nth-child(1),
.reveal.visible .metric-card:nth-child(1),
.reveal.visible .value-pillar:nth-child(1) { animation-delay: 0.1s; }

.reveal.visible .pillar:nth-child(2),
.reveal.visible .bento-card:nth-child(2),
.reveal.visible .metric-card:nth-child(2),
.reveal.visible .value-pillar:nth-child(2) { animation-delay: 0.2s; }

.reveal.visible .pillar:nth-child(3),
.reveal.visible .bento-card:nth-child(3),
.reveal.visible .metric-card:nth-child(3),
.reveal.visible .value-pillar:nth-child(3) { animation-delay: 0.3s; }

.reveal.visible .bento-card:nth-child(4),
.reveal.visible .metric-card:nth-child(4) { animation-delay: 0.4s; }

.reveal.visible .bento-card:nth-child(5) { animation-delay: 0.5s; }
.reveal.visible .bento-card:nth-child(6) { animation-delay: 0.6s; }

/* --- Conversation cards grid --- */
.convo-cards-grid {
  grid-template-columns: 1fr;
}

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

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

/* --- Footer links grid --- */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

/* --- Steps grid (for-hotels how-it-works) --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

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

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

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

/* --- Preview cards grid --- */
.preview-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

/* --- Marketplace search bar --- */
@media (max-width: 480px) {
  .marketplace-search-bar {
    flex-direction: column;
  }
  .marketplace-search-bar input,
  .marketplace-search-bar button {
    width: 100%;
  }
}

/* --- Pricing card padding on mobile --- */
@media (max-width: 480px) {
  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .bento-card {
    padding: 1.75rem;
    min-height: 220px;
  }
}

/* --- Keyframes --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 5rem; }
  50% { opacity: 0.6; height: 6rem; }
}

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

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

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

/* --- Prefer Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-progress { display: none; }
}
