/* ============================================================
   ODUEX -- Shared Design System
   style.css -- Complete shared stylesheet for all pages
   Brand: Premium web design + AI automation agency
   Aesthetic: Dark luxury tech
   Last updated: 2026-04-06
   ============================================================ */


/* ============================================================
   SECTION 1 -- GOOGLE FONTS IMPORT
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&display=swap');


/* ============================================================
   SECTION 2 -- CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */

:root {

  /* Backgrounds -- white luxury theme */
  --bg-base:        #ffffff;
  --bg-elevated:    #fafaf8;
  --bg-card:        #f5f3ef;
  --bg-border-area: #eeebe4;

  /* Text */
  --text-heading: #111111;
  --text-body:    #333333;
  --text-muted:   #666666;
  --text-faint:   #999999;

  /* Accent -- gold */
  --accent:         #C9A84C;
  --accent-hover:   #b8922e;
  --accent-subtle:  rgba(201, 168, 76, 0.10);
  --accent-subtle2: rgba(201, 168, 76, 0.20);
  --accent-subtle3: rgba(201, 168, 76, 0.35);

  /* Borders */
  --border:          #e0ddd6;
  --border-elevated: #d4d0c8;

  /* Semantic colours */
  --success: #22c55e;
  --error:   #ef4444;
  --warning: #f59e0b;
  --info:    #3b82f6;

  /* Semantic background tints */
  --success-bg: rgba(34, 197, 94, 0.08);
  --error-bg:   rgba(239, 68, 68, 0.08);

  /* Typography -- Font families */
  --font-display: 'Syne', 'Helvetica Neue', sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  /* Typography -- Font sizes (fluid clamp scale) */
  --fs-xs:   clamp(0.75rem,  1.5vw, 0.8rem);
  --fs-sm:   clamp(0.85rem,  1.8vw, 0.9rem);
  --fs-base: clamp(0.95rem,  2vw,   1rem);
  --fs-lg:   clamp(1.05rem,  2.2vw, 1.15rem);
  --fs-xl:   clamp(1.2rem,   2.5vw, 1.35rem);
  --fs-2xl:  clamp(1.4rem,   3vw,   1.75rem);
  --fs-3xl:  clamp(1.8rem,   4vw,   2.5rem);
  --fs-4xl:  clamp(2.2rem,   5vw,   3.5rem);
  --fs-5xl:  clamp(2.8rem,   6vw,   5rem);
  --fs-hero: clamp(3.5rem,   8vw,   7rem);

  /* Typography -- Line heights */
  --lh-tight:  1.15;
  --lh-snug:   1.3;
  --lh-normal: 1.6;
  --lh-loose:  1.8;

  /* Typography -- Letter spacing */
  --ls-tight:   -0.03em;
  --ls-normal:  -0.01em;
  --ls-wide:     0.04em;
  --ls-wider:    0.08em;
  --ls-widest:   0.14em;

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --container-max:  1280px;
  --container-wide: 1440px;
  --container-pad:  clamp(1.25rem, 5vw, 3rem);

  /* Sections */
  --section-pad-y:        100px;
  --section-pad-y-mobile: 64px;

  /* Cards */
  --card-pad:        32px;
  --card-pad-mobile: 24px;
  --card-radius:     16px;
  --card-radius-sm:  10px;

  /* Border radius */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md:  0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg:  0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-xl:  0 16px 64px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 8px 40px rgba(201, 168, 76, 0.18);
  --shadow-gold-sm: 0 4px 20px rgba(201, 168, 76, 0.12);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.6s ease-out;

  /* Z-index scale */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:    10;
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
  --z-toast:     500;
  --z-chatbot:   600;

  /* Navigation */
  --nav-height:        72px;
  --nav-height-mobile: 64px;
}


/* ============================================================
   SECTION 3 -- CSS RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-normal);
  color: var(--text-body);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

fieldset {
  border: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-8) 0;
}

address {
  font-style: normal;
}

/* Remove animations for users who 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-behavior: auto !important;
  }
}


/* ============================================================
   SECTION 4 -- CUSTOM SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--border-elevated);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-elevated) var(--bg-base);
}


/* ============================================================
   SECTION 5 -- SELECTION COLOUR
   ============================================================ */

::selection {
  background-color: var(--accent);
  color: var(--bg-base);
}

::-moz-selection {
  background-color: var(--accent);
  color: var(--bg-base);
}


/* ============================================================
   SECTION 6 -- FOCUS STATES
   ============================================================ */

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--accent);
  color: var(--bg-base);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  z-index: var(--z-toast);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}


/* ============================================================
   SECTION 7 -- TYPOGRAPHY SYSTEM
   ============================================================ */

/* Headings -- all use Syne display font */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  font-weight: 700;
}

h1 {
  font-size: var(--fs-5xl);
  font-weight: 800;
}

h2 {
  font-size: var(--fs-4xl);
  font-weight: 700;
}

h3 {
  font-size: var(--fs-3xl);
  font-weight: 700;
}

h4 {
  font-size: var(--fs-2xl);
  font-weight: 600;
}

h5 {
  font-size: var(--fs-xl);
  font-weight: 600;
}

h6 {
  font-size: var(--fs-lg);
  font-weight: 600;
}

/* Body text variants */
p {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-body);
}

.text-lg {
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
}

.text-sm {
  font-size: var(--fs-sm);
}

.text-xs {
  font-size: var(--fs-xs);
}

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

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

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

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

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

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

/* Section overline label -- small gold uppercase label above section titles */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Section heading + intro layout */
.section-header {
  max-width: 680px;
  margin-bottom: var(--space-16);
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header.centered .section-label {
  justify-content: center;
}

.section-header.centered .section-label::before {
  display: none;
}

.section-title {
  font-size: var(--fs-4xl);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-heading);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: var(--lh-loose);
  max-width: 600px;
}

/* Gold highlight span for use inside headings */
.highlight {
  color: var(--accent);
}

/* Lead paragraph */
.lead {
  font-size: var(--fs-xl);
  line-height: var(--lh-loose);
  color: var(--text-body);
  font-weight: 300;
}

/* Strong inline */
strong,
b {
  font-weight: 600;
  color: var(--text-heading);
}

/* Inline code */
code {
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 0.875em;
  background: var(--bg-border-area);
  color: var(--accent);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* Blockquote */
blockquote {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-6);
  color: var(--text-muted);
  font-size: var(--fs-lg);
  font-style: italic;
  margin: var(--space-8) 0;
}


/* ============================================================
   SECTION 8 -- LAYOUT UTILITIES
   ============================================================ */

/* Main container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

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

.container--narrow {
  max-width: 860px;
}

/* Section wrapper */
.section {
  padding-top: var(--section-pad-y-mobile);
  padding-bottom: var(--section-pad-y-mobile);
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

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

.items-end {
  align-items: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

/* Grid utilities */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

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

/* Spacing helpers */
.mt-auto  { margin-top: auto; }
.mb-4     { margin-bottom: var(--space-4); }
.mb-6     { margin-bottom: var(--space-6); }
.mb-8     { margin-bottom: var(--space-8); }
.mb-12    { margin-bottom: var(--space-12); }
.mb-16    { margin-bottom: var(--space-16); }
.mt-4     { margin-top: var(--space-4); }
.mt-6     { margin-top: var(--space-6); }
.mt-8     { margin-top: var(--space-8); }

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: var(--space-8) 0;
}

.divider--gold {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}


/* ============================================================
   SECTION 9 -- NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height-mobile);
  z-index: var(--z-sticky);
  transition: background var(--transition-base),
              backdrop-filter var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
  border-bottom: 1px solid transparent;
}

/* Scrolled state -- applied via JS */
.nav.scrolled {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  max-width: var(--container-wide);
  margin: 0 auto;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
  z-index: var(--z-overlay);
}

.nav__logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: var(--ls-tight);
  color: var(--text-heading);
  transition: color var(--transition-base);
}

.nav__logo-wordmark span {
  color: var(--accent);
}

.nav__logo:hover .nav__logo-wordmark {
  color: var(--accent);
}

/* Nav links -- hidden on mobile, shown on desktop */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: var(--ls-wide);
  transition: color var(--transition-base);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-heading);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

/* Nav right -- CTA button + hamburger */
.nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Nav CTA button */
.nav__cta {
  display: none;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent);
  color: var(--bg-base);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-gold-sm);
  transform: translateY(-1px);
}

/* Hamburger button */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: var(--z-overlay);
  flex-shrink: 0;
}

.nav__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base),
              width var(--transition-base);
  transform-origin: center;
}

/* Hamburger open state */
.nav__hamburger.open .nav__hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav__hamburger.open .nav__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.open .nav__hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile overlay nav */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

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

.nav__overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.nav__overlay-link {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: var(--ls-tight);
  transition: color var(--transition-base);
}

.nav__overlay-link:hover,
.nav__overlay-link.active {
  color: var(--accent);
}

.nav__overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent);
  color: var(--bg-base);
  font-size: var(--fs-base);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-base), box-shadow var(--transition-base);
  margin-top: var(--space-4);
}

.nav__overlay-cta:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-gold-sm);
}

/* Page offset for fixed nav */
.page-content {
  padding-top: var(--nav-height-mobile);
}


/* ============================================================
   SECTION 10 -- BUTTON SYSTEM
   ============================================================ */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-8);
  white-space: nowrap;
  transition: background var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

/* Primary -- gold filled */
.btn--primary {
  background: var(--accent);
  color: var(--bg-base);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.35);
  transform: translateY(-2px);
}

/* Secondary -- outlined gold */
.btn--secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--secondary:hover {
  background: var(--accent-subtle);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
  transform: translateY(-2px);
}

/* Ghost -- transparent */
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-elevated);
}

.btn--ghost:hover {
  background: var(--bg-border-area);
  color: var(--text-heading);
  border-color: var(--border-elevated);
  transform: translateY(-2px);
}

/* Danger */
.btn--danger {
  background: var(--error);
  color: #ffffff;
  border-color: var(--error);
}

.btn--danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  box-shadow: 0 6px 28px rgba(239, 68, 68, 0.3);
  transform: translateY(-2px);
}

/* Size variants */
.btn--sm {
  font-size: var(--fs-xs);
  padding: var(--space-2) var(--space-6);
}

.btn--lg {
  font-size: var(--fs-base);
  padding: var(--space-4) var(--space-12);
}

.btn--xl {
  font-size: var(--fs-lg);
  padding: var(--space-6) var(--space-16);
}

/* Icon only */
.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* Full width */
.btn--full {
  width: 100%;
}

/* Disabled state */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* Loading state */
.btn.loading {
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Button group */
.btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}


/* ============================================================
   SECTION 11 -- CARD SYSTEM
   ============================================================ */

/* Base card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad-mobile);
  transition: transform var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Hover lift effect */
.card--hover:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

/* Featured card -- gold border top */
.card--featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 168, 76, 0.04) 100%);
}

.card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

/* Elevated card */
.card--elevated {
  background: var(--bg-elevated);
  border-color: var(--border-elevated);
}

/* Transparent card */
.card--glass {
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

/* Card inner elements */
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent-subtle);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.card--hover:hover .card__icon {
  background: var(--accent-subtle2);
  border-color: rgba(201, 168, 76, 0.4);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
  line-height: var(--lh-snug);
}

.card__body {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

.card__footer {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-2);
}


/* ============================================================
   SECTION 12 -- BADGE AND TAG SYSTEM
   ============================================================ */

/* Base badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge--gold {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.badge--success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge--error {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge--neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge--new {
  background: var(--accent);
  color: var(--bg-base);
}

/* Status dot */
.badge--dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Tag -- slightly larger than badge */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--bg-border-area);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  cursor: default;
}

.tag--active,
.tag:hover {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: rgba(201, 168, 76, 0.3);
}

/* Tag group */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}


/* ============================================================
   SECTION 13 -- SECTION LAYOUT PATTERNS
   ============================================================ */

/* Dark base section */
.section--dark {
  background: var(--bg-base);
}

/* Elevated section */
.section--elevated {
  background: var(--bg-elevated);
}

/* Card-toned section */
.section--card {
  background: var(--bg-card);
}

/* Section with subtle gold tint */
.section--gold-tint {
  background: linear-gradient(180deg, var(--bg-base) 0%, rgba(201, 168, 76, 0.03) 50%, var(--bg-base) 100%);
}

/* Section with top border line */
.section--bordered-top {
  border-top: 1px solid var(--border);
}

/* Section with bottom border line */
.section--bordered-bottom {
  border-bottom: 1px solid var(--border);
}

/* Two-column split -- content left, visual right */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.split__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.split__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ============================================================
   SECTION 14 -- HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height-mobile);
}

/* Hero background -- can contain a bg image or gradient */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-below);
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 76, 0.07) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
              var(--bg-base);
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.5) 0%,
    rgba(8, 8, 8, 0.3) 50%,
    rgba(8, 8, 8, 0.9) 100%
  );
}

/* Noise texture overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Hero inner content */
.hero__content {
  position: relative;
  z-index: var(--z-raised);
  width: 100%;
}

/* Centered hero layout */
.hero--centered .hero__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Split hero layout */
.hero--split .hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  color: var(--text-heading);
  line-height: var(--lh-tight);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
}

.hero__title .highlight {
  color: var(--accent);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: var(--lh-loose);
  max-width: 560px;
  margin-bottom: var(--space-10);
}

.hero--centered .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero--centered .hero__actions {
  justify-content: center;
}

/* Hero scroll indicator */
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-faint);
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2.4s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Social proof / logos strip below hero */
.hero__logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-top: var(--space-12);
  border-top: 1px solid var(--border);
}

.hero--centered .hero__logos {
  justify-content: center;
}

.hero__logos-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}


/* ============================================================
   SECTION 15 -- SERVICES GRID
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad-mobile);
  transition: transform var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--accent-subtle2);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: var(--ls-tight);
  user-select: none;
  -webkit-user-select: none;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent-subtle);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: var(--space-6);
  transition: background var(--transition-base), transform var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: var(--accent-subtle2);
  transform: scale(1.05);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
  line-height: var(--lh-snug);
}

.service-card__desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-normal);
  flex: 1;
}

.service-card__list {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.service-card__list-item::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='2.5' fill='%23C9A84C'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card__footer {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}


/* ============================================================
   SECTION 16 -- STATS / METRICS STRIP
   ============================================================ */

.stats-strip {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-12) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
}

.stat-item.centered {
  align-items: center;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: var(--ls-tight);
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 400;
}

.stat-sublabel {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}


/* ============================================================
   SECTION 17 -- PROCESS STEPS -- NUMBERED VERTICAL TIMELINE
   ============================================================ */

.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Connecting line down the left */
.process-list::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), transparent);
  z-index: 0;
}

.process-step {
  display: flex;
  gap: var(--space-6);
  position: relative;
  padding-bottom: var(--space-12);
}

.process-step:last-child {
  padding-bottom: 0;
}

/* Step number circle */
.process-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  z-index: var(--z-raised);
  position: relative;
}

.process-step__body {
  flex: 1;
  padding-top: var(--space-2);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
}

.process-step__desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}


/* ============================================================
   SECTION 18 -- FAQ ACCORDION
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.open {
  border-color: var(--accent);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
  padding: var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-item__question {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-heading);
  line-height: var(--lh-snug);
  flex: 1;
}

.faq-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-border-area);
  border: 1px solid var(--border);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background var(--transition-base),
              color var(--transition-base),
              transform var(--transition-base);
}

.faq-item.open .faq-item__icon {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: rgba(201, 168, 76, 0.3);
  transform: rotate(45deg);
}

/* Accordion answer panel */
.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.faq-item.open .faq-item__panel {
  max-height: 600px;
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}


/* ============================================================
   SECTION 19 -- PORTFOLIO GRID
   ============================================================ */

/* Filter buttons */
.portfolio-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.portfolio-filter-btn {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
  transition: color var(--transition-base),
              background var(--transition-base),
              border-color var(--transition-base);
  white-space: nowrap;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
  color: var(--accent);
  background: var(--accent-subtle);
  border-color: rgba(201, 168, 76, 0.3);
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

/* Portfolio card */
.portfolio-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

/* Hide filtered out cards */
.portfolio-card[data-hidden] {
  display: none;
}

.portfolio-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.04);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 8, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 1;
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-1);
}

.portfolio-card__cat {
  font-size: var(--fs-xs);
  color: var(--accent);
  letter-spacing: var(--ls-wide);
}

.portfolio-card__cta {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--accent);
  color: var(--bg-base);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.portfolio-card:hover .portfolio-card__cta {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   SECTION 20 -- FORM STYLES
   ============================================================ */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: var(--ls-wide);
}

.form-label .required {
  color: var(--accent);
  margin-left: 3px;
}

/* Base input styles */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--transition-base),
              background var(--transition-base),
              box-shadow var(--transition-base);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-faint);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--border-elevated);
  background: var(--bg-card);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

/* Select custom arrow */
.form-select-wrapper {
  position: relative;
}

.form-select-wrapper::after {
  content: '';
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.form-select {
  padding-right: var(--space-12);
  cursor: pointer;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-heading);
}

/* Textarea */
.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: var(--lh-normal);
}

/* Validation states */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px var(--error-bg);
}

.form-input.success,
.form-select.success,
.form-textarea.success {
  border-color: var(--success);
  box-shadow: 0 0 0 3px var(--success-bg);
}

.form-hint {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--error);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.form-success {
  font-size: var(--fs-xs);
  color: var(--success);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* Checkbox / radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check-input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  margin-top: 1px;
  position: relative;
}

.form-check-input[type="radio"] {
  border-radius: var(--radius-full);
}

.form-check-input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.form-check-input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--bg-base);
}

.form-check-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}

/* Form success state -- full form feedback */
.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-12) var(--space-8);
  background: var(--success-bg);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--card-radius);
}

.form-success-state__icon {
  font-size: 2.5rem;
  color: var(--success);
}

.form-success-state__title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text-heading);
}

.form-success-state__desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
}


/* ============================================================
   SECTION 21 -- AUTOMATION CARDS
   ============================================================ */

.automation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.automation-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

/* Visual mockup area at top of card */
.automation-card__mockup {
  position: relative;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: var(--space-8) var(--space-6);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Faint grid pattern inside mockup */
.automation-card__mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}

.automation-card__mockup-inner {
  position: relative;
  z-index: var(--z-raised);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 280px;
}

/* Simulated UI row inside mockup */
.automation-card__ui-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--bg-card);
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}

.automation-card__ui-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.automation-card__ui-dot--gold   { background: var(--accent); }
.automation-card__ui-dot--green  { background: var(--success); }
.automation-card__ui-dot--muted  { background: var(--text-faint); }

.automation-card__ui-line {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-elevated);
  flex: 1;
}

.automation-card__ui-line--short { max-width: 40%; }

/* Status badge on mockup */
.automation-card__status {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: var(--ls-wide);
}

.automation-card__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease infinite;
}

/* Card body */
.automation-card__body {
  padding: var(--card-pad-mobile);
}

.automation-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
  line-height: var(--lh-snug);
}

.automation-card__desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-6);
}

.automation-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}


/* ============================================================
   SECTION 22 -- CHATBOT WIDGET
   ============================================================ */

/* Fixed launcher button */
.chatbot {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-chatbot);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.chatbot__launcher {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: background var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
  flex-shrink: 0;
  position: relative;
}

.chatbot__launcher:hover {
  background: var(--accent-hover);
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}

.chatbot__launcher-icon {
  width: 22px;
  height: 22px;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.chatbot__launcher-icon--close {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: rotate(-90deg);
}

.chatbot.open .chatbot__launcher-icon--open {
  opacity: 0;
  transform: rotate(90deg);
}

.chatbot.open .chatbot__launcher-icon--close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Unread badge on launcher */
.chatbot__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--error);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-base);
}

/* Chat panel -- slide up */
.chatbot__panel {
  width: min(360px, calc(100vw - 2 * var(--space-6)));
  background: var(--bg-card);
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.25s ease;
  transform-origin: bottom right;
}

.chatbot.open .chatbot__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Chat header */
.chatbot__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.chatbot__avatar {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--bg-base);
  flex-shrink: 0;
}

.chatbot__header-info {
  flex: 1;
  min-width: 0;
}

.chatbot__header-name {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chatbot__header-status {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-xs);
  color: var(--success);
}

.chatbot__header-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease infinite;
}

.chatbot__header-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-border-area);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.chatbot__header-close:hover {
  background: var(--border);
  color: var(--text-heading);
}

/* Messages area */
.chatbot__messages {
  height: 300px;
  overflow-y: auto;
  padding: var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  scroll-behavior: smooth;
}

/* Message bubble */
.chatbot__bubble {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  max-width: 82%;
}

.chatbot__bubble--bot {
  align-self: flex-start;
}

.chatbot__bubble--user {
  align-self: flex-end;
  align-items: flex-end;
}

.chatbot__bubble-text {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
}

.chatbot__bubble--bot .chatbot__bubble-text {
  background: var(--bg-elevated);
  color: var(--text-body);
  border-bottom-left-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.chatbot__bubble--user .chatbot__bubble-text {
  background: var(--accent);
  color: var(--bg-base);
  border-bottom-right-radius: var(--radius-sm);
  font-weight: 500;
}

.chatbot__bubble-time {
  font-size: 10px;
  color: var(--text-faint);
}

/* Typing indicator */
.chatbot__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-sm);
  width: fit-content;
  align-self: flex-start;
}

.chatbot__typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  animation: typingDot 1.2s ease infinite;
}

.chatbot__typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* Chat input row */
.chatbot__input-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.chatbot__input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  padding: var(--space-2) var(--space-4);
  transition: border-color var(--transition-base);
  min-width: 0;
}

.chatbot__input::placeholder { color: var(--text-faint); }

.chatbot__input:focus {
  outline: none;
  border-color: var(--accent);
}

.chatbot__send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--bg-base);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.chatbot__send:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}


/* ============================================================
   SECTION 23 -- FOOTER
   ============================================================ */

.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: var(--ls-tight);
  text-decoration: none;
}

.footer__logo span {
  color: var(--accent);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-normal);
  max-width: 280px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-border-area);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base);
}

.footer__social-link:hover {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-2px);
}

/* Footer nav columns */
.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__nav-heading {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__nav-link {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__nav-link:hover {
  color: var(--accent);
}

/* Footer contact info */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__contact-item:hover {
  color: var(--accent);
}

.footer__contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Footer bottom bar */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer__legal-link {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

.footer__legal-sep {
  width: 1px;
  height: 12px;
  background: var(--border);
  display: inline-block;
}


/* ============================================================
   SECTION 24 -- SCROLL TO TOP BUTTON
   ============================================================ */

.scroll-top {
  position: fixed;
  bottom: var(--space-20);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  z-index: var(--z-raised);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition-base),
              transform var(--transition-base),
              background var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: rgba(201, 168, 76, 0.3);
}


/* ============================================================
   SECTION 25 -- MOBILE STICKY CTA BAR
   ============================================================ */

.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: var(--space-3) var(--container-pad);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.mobile-cta-bar.visible {
  transform: translateY(0);
}

.mobile-cta-bar__text {
  flex: 1;
  min-width: 0;
}

.mobile-cta-bar__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-cta-bar__cta {
  flex-shrink: 0;
}


/* ============================================================
   SECTION 26 -- SCROLL REVEAL ANIMATIONS
   ============================================================ */

/* Initial hidden state -- applied by JS on load */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow),
              transform var(--transition-slow);
}

/* Active visible state -- toggled by IntersectionObserver */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay variants */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}


/* ============================================================
   SECTION 27 -- PAGE TRANSITION FADE
   ============================================================ */

/* Applied to body on page load */
.page-transition {
  animation: pageFadeIn 0.5s ease forwards;
}

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

/* Outgoing page transition -- add via JS on link click */
.page-transition-out {
  animation: pageFadeOut 0.3s ease forwards;
}

@keyframes pageFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}


/* ============================================================
   SECTION 28 -- SHARED ANIMATIONS / KEYFRAMES
   ============================================================ */

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

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

/* Loading skeleton shimmer */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-elevated) 0%,
    var(--bg-border-area) 50%,
    var(--bg-elevated) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: var(--radius-sm);
}

/* Floating animation helper */
.float {
  animation: float 4s ease-in-out infinite;
}

/* Pulse animation helper */
.pulse {
  animation: pulse 2s ease infinite;
}


/* ============================================================
   SECTION 29 -- TESTIMONIALS
   ============================================================ */

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad-mobile);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: transform var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-gold-sm);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
  font-size: 0.9rem;
}

.testimonial-card__quote {
  font-size: var(--fs-base);
  color: var(--text-body);
  line-height: var(--lh-loose);
  font-style: italic;
  flex: 1;
}

.testimonial-card__quote::before {
  content: open-quote;
  color: var(--accent);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 3px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--bg-border-area);
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-heading);
}

.testimonial-card__role {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}


/* ============================================================
   SECTION 30 -- PRICING CARDS
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad-mobile);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: transform var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
}

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

.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 168, 76, 0.05) 100%);
  box-shadow: var(--shadow-gold-sm);
  position: relative;
}

.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.pricing-card--featured:hover {
  box-shadow: var(--shadow-gold);
}

.pricing-card__plan {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--accent);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
}

.pricing-card__currency {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  letter-spacing: var(--ls-tight);
}

.pricing-card__period {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pricing-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-body);
}

.pricing-card__feature-icon {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 1rem;
}

.pricing-card__feature-icon--no {
  color: var(--text-faint);
}

.pricing-card__feature-icon--no ~ span {
  color: var(--text-faint);
}


/* ============================================================
   SECTION 31 -- UTILITY COMPONENTS
   ============================================================ */

/* Gold line separator */
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  margin: var(--space-4) 0;
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* Tooltip */
.tooltip-wrapper {
  position: relative;
  display: inline-flex;
}

.tooltip {
  position: absolute;
  bottom: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-xs);
  color: var(--text-body);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: var(--z-dropdown);
  box-shadow: var(--shadow-md);
  transition: opacity var(--transition-fast);
}

.tooltip-wrapper:hover .tooltip {
  opacity: 1;
}

/* Notification toast */
.toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg-card);
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-6);
  font-size: var(--fs-sm);
  color: var(--text-body);
  z-index: var(--z-toast);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.toast--success {
  border-color: rgba(34, 197, 94, 0.3);
  background: var(--success-bg);
  color: var(--success);
}

.toast--error {
  border-color: rgba(239, 68, 68, 0.3);
  background: var(--error-bg);
  color: var(--error);
}

/* Pill counter */
.counter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--accent);
  color: var(--bg-base);
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Aspect ratio boxes */
.aspect-video    { aspect-ratio: 16 / 9; }
.aspect-square   { aspect-ratio: 1 / 1; }
.aspect-portrait { aspect-ratio: 3 / 4; }
.aspect-wide     { aspect-ratio: 21 / 9; }

/* Image cover fill */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overflow helpers */
.overflow-hidden  { overflow: hidden; }
.overflow-x-auto  { overflow-x: auto; }

/* Position helpers */
.relative { position: relative; }
.absolute { position: absolute; }

/* Width / height */
.w-full { width: 100%; }
.h-full { height: 100%; }


/* ============================================================
   SECTION 32 -- RESPONSIVE: 480px AND UP
   ============================================================ */

@media (min-width: 480px) {

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

  .hero__title {
    font-size: clamp(3rem, 10vw, 7rem);
  }

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

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

}


/* ============================================================
   SECTION 33 -- RESPONSIVE: 768px AND UP (TABLET)
   ============================================================ */

@media (min-width: 768px) {

  /* Nav */
  .nav {
    height: var(--nav-height);
  }

  .nav__links {
    display: flex;
  }

  .nav__cta {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .page-content {
    padding-top: var(--nav-height);
  }

  /* Section padding */
  .section {
    padding-top: var(--section-pad-y);
    padding-bottom: var(--section-pad-y);
  }

  /* Card padding */
  .card,
  .service-card,
  .automation-card__body,
  .testimonial-card,
  .pricing-card {
    padding: var(--card-pad);
  }

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

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

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

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

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

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

  /* Split layout */
  .split {
    grid-template-columns: 1fr 1fr;
  }

  /* Hero split */
  .hero--split .hero__content {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1.5fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Mobile CTA bar -- hide on tablet and up */
  .mobile-cta-bar {
    display: none;
  }

  /* Scroll top -- reposition above chatbot */
  .scroll-top {
    bottom: calc(var(--space-6) + 56px + var(--space-3));
  }

  /* Process list -- wider gap */
  .process-list::before {
    left: 19px;
  }

}


/* ============================================================
   SECTION 34 -- RESPONSIVE: 1024px AND UP (SMALL DESKTOP)
   ============================================================ */

@media (min-width: 1024px) {

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

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

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

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

  .split {
    gap: var(--space-20);
  }

  .section-header {
    margin-bottom: var(--space-20);
  }

  /* Footer nav */
  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__top {
    grid-template-columns: 2fr 1fr;
    gap: var(--space-20);
  }

}


/* ============================================================
   SECTION 35 -- RESPONSIVE: 1200px AND UP (DESKTOP)
   ============================================================ */

@media (min-width: 1200px) {

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

  .footer__top {
    grid-template-columns: 2fr 3fr;
    gap: var(--space-24);
  }

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

  /* Split layout wider gap */
  .split {
    gap: var(--space-24);
  }

}


/* ============================================================
   SECTION 36 -- PRINT STYLES
   ============================================================ */

@media print {

  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  .nav,
  .nav__overlay,
  .chatbot,
  .scroll-top,
  .mobile-cta-bar,
  .hero__scroll {
    display: none !important;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
    color: #555;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: '';
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  p, blockquote {
    orphans: 3;
    widows: 3;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  .card,
  .service-card,
  .pricing-card {
    page-break-inside: avoid;
    border: 1px solid #ccc !important;
  }

}

