/* ==========================================================================
   LVision v2 — Shared Stylesheet
   Premium B2B AI Systems Authority
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted Inter font (no Google Fonts dependency)
   -------------------------------------------------------------------------- */
@font-face { font-family: 'Inter'; src: url('fonts/Inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Palette — Precision Dark + Cobalt + Gold */
  --bg-base: #07111f;           /* Deepest — hero, CTA band */
  --bg-s1: #0a1929;             /* Surface 1 — alternate sections */
  --bg-s2: #0f2040;             /* Surface 2 — card backgrounds (cobalt depth) */
  --bg-s3: #193352;             /* Surface 3 — hover states, elevated */

  /* Brand cobalt (from logo) */
  --cobalt: #003c64;
  --cobalt-light: #005a96;
  --cobalt-dim: rgba(0, 60, 100, 0.15);

  /* Light surfaces (for content pages) */
  --white: #ffffff;
  --off-white: #f8f9fa;

  /* Gold accent — matched to logo */
  --gold: #e8c547;
  --gold-hover: #f0d060;
  --gold-dim: rgba(232, 197, 71, 0.12);
  --gold-border: rgba(232, 197, 71, 0.20);
  --gold-glow: rgba(232, 197, 71, 0.08);
  --header-shadow: rgba(7, 17, 31, 0.5);

  /* Text hierarchy — 4 levels */
  --text-1: #edf1f8;            /* Primary — headlines, key content */
  --text-2: #8ba5c2;            /* Secondary — body text */
  --text-3: #4d6a87;            /* Tertiary — captions */
  --text-4: #2a4060;            /* Quaternary — muted dividers */

  /* Light mode text (for off-white sections) */
  --text-dark: #1a1a2e;

  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-s: rgba(255,255,255,0.10);
  --border-gold: var(--gold-border);

  /* Spacing scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-11: 48px;
  --space-12: 56px;
  --space-13: 64px;
  --space-14: 80px;
  --space-15: 96px;
  --space-16: 112px;
  --space-17: 128px;
  --space-18: 160px;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'Inter', 'SF Mono', 'Fira Code', monospace;

  /* Transitions */
  --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.25s;
  --duration-slow: 0.65s;

  /* Container */
  --container-max: 1200px;
  --content-max: 720px;
  --header-height: 76px;
}

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

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

body {
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
  background-color: var(--bg-base);
  overflow-x: hidden;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-1);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: var(--space-5);
}

h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: var(--space-4);
}

h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

p {
  margin-bottom: var(--space-5);
  max-width: var(--content-max);
}

a {
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

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

/* Gradient text utility (hero keywords) */
.gradient-text {
  background: linear-gradient(135deg, #e8c547 0%, #f0d060 50%, #e8c547 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section label (gold, uppercase, with left border bar) */
.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-5);
  position: relative;
  padding-left: var(--space-7);
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background: var(--gold);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-11);
}

@media (max-width: 900px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* Content copy container (max width 720px) */
.copy-container {
  max-width: var(--content-max);
}

/* --------------------------------------------------------------------------
   Layout & Grid
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-7);
}

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

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

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

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

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

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

/* Split layout (2-column: content 55%, visual 45%) */
.split-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-11);
}

@media (max-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr;
  }
}

/* Stack spacing */
.stack > * + * {
  margin-top: var(--space-5);
}

/* --------------------------------------------------------------------------
   Components: Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: all var(--duration-fast) ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-base);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  box-shadow: 0 0 0 6px var(--gold-glow);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-secondary {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-s);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232, 197, 71, 0.06);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Components: Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-s2);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  border-radius: 12px;
  padding: var(--space-10);
  transition: all var(--duration-normal) var(--ease-snappy);
}

.card:hover {
  border-top-color: var(--gold);
  background: var(--bg-s3);
  box-shadow: 0 0 0 8px var(--gold-glow);
}

/* Light card variant (for solutions/industries) */
.card-light {
  background: var(--white);
  border-color: rgba(0,0,0,0.06);
  color: var(--text-dark);
}

.card-light:hover {
  border-top-color: var(--gold);
  background: var(--off-white);
  box-shadow: 0 0 0 8px rgba(232, 197, 71, 0.08);
}

.card-light h3 {
  color: var(--text-dark);
}

.card-light p {
  color: var(--text-dark);
  opacity: 0.85;
}

/* Outcome tag (gold badge) */
.outcome-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--bg-base);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   Components: Stat Strip
   -------------------------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  background: var(--gold-dim);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: var(--space-8) var(--space-6);
  margin-top: var(--space-8);
}

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

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  color: var(--text-3);
  margin-top: var(--space-2);
}

@media (max-width: 640px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

/* --------------------------------------------------------------------------
   Components: Timeline (How It Works)
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--gold-dim);
}

.timeline-step {
  position: relative;
  padding-left: 72px;
  margin-bottom: var(--space-12);
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-marker {
  position: absolute;
  left: 0;
  top: 4px;
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  background: var(--bg-base);
  z-index: 1;
}

.step-marker:focus-visible {
  outline: 2px solid var(--text-1);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Components: Industry/Solutions Grid Cards
   -------------------------------------------------------------------------- */
.use-case-list {
  list-style: none;
}

.use-case-list li {
  position: relative;
  padding-left: var(--space-7);
  margin-bottom: var(--space-3);
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

.use-case-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* Light variants */
.card-light .use-case-list li,
section.light .use-case-list li {
  color: var(--text-dark);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Components: Process Steps (Homepage teaser)
   -------------------------------------------------------------------------- */
.process-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.process-line {
  position: absolute;
  top: 50%;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  z-index: 0;
  transform: translateY(-50%);
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: var(--space-2);
  display: block;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .process-teaser {
    flex-direction: column;
    gap: var(--space-6);
  }
  .process-line {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Header & Navigation - IMPROVED
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(8, 13, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: box-shadow var(--duration-normal) var(--ease-snappy);
}

/* Scroll-based shadow effect */
.site-header.scrolled {
  box-shadow: 0 4px 24px var(--header-shadow);
  background: rgba(8, 13, 22, 0.96);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 var(--space-11);
}

@media (max-width: 900px) {
  .header-content {
    padding: 0 var(--space-6);
  }
}

@media (max-width: 640px) {
  .header-content {
    padding: 0 var(--space-4);
  }
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}


.logo-tagline {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}

.logo-img {
  display: block;
  height: 58px;
  width: auto;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-text span {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-9);
}

.nav-links {
  display: flex;
  gap: var(--space-7);
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--duration-fast) ease;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transition: all var(--duration-fast) ease;
}

.nav-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.hamburger {
  display: none;
  background: none;
  border: 2px solid transparent;
  color: var(--text-1);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all var(--duration-fast) ease;
}

.hamburger:hover {
  color: var(--gold);
}

.hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hamburger:active {
  transform: scale(0.95);
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-base);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--space-14);
    gap: var(--space-6);
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-snappy);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
    padding: 8px 16px;
  }

  .nav-link:focus-visible {
    outline-offset: 6px;
  }

  .hamburger {
    display: block;
  }

  .hamburger[aria-expanded="true"] {
    color: var(--gold);
  }

  .nav-menu .btn {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Footer — 4-column
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-s1);
  border-top: 1px solid var(--border);
  margin-top: var(--space-17);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-14);
  padding: var(--space-17) var(--space-11) var(--space-14);
}

.footer-brand {
  padding-right: var(--space-8);
}

.footer-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  max-width: 100%;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: var(--space-7);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 6px;
  transition: all var(--duration-fast) ease;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: var(--space-6);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-3);
  transition: color var(--duration-fast) ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-location,
.footer-response {
  font-size: 14px;
  color: var(--text-3);
}

.footer-response {
  font-size: 12px;
  opacity: 0.6;
}

.footer-cta {
  display: inline-flex;
  margin-top: var(--space-7);
  font-size: 13px;
  padding: 10px 20px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) var(--space-11);
  font-size: 13px;
  color: var(--text-3);
}

.footer-services-tag {
  font-size: 12px;
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-11);
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-desc {
    max-width: 500px;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-9);
    padding: var(--space-12) var(--space-4) var(--space-10);
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
    padding: var(--space-5) var(--space-4);
  }
  .footer-services-tag {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Section Spacing & Backgrounds
   -------------------------------------------------------------------------- */
section {
  padding: var(--space-17) 0;
}

section.dark {
  background: var(--bg-base);
  color: var(--text-2);
}

section.light {
  background: var(--white);
  color: var(--text-dark);
}

section.light h1,
section.light h2,
section.light h3,
section.light h4,
section.light h5,
section.light h6 {
  color: var(--text-dark);
}

section.light p,
section.light li,
section.light strong {
  color: var(--text-dark);
}

section.light a:not(.nav-link):not(.btn) {
  color: var(--text-dark);
}

section.light a:not(.nav-link):not(.btn):hover {
  color: var(--gold);
}

section.surface {
  background: var(--bg-s1);
  color: var(--text-2);
}

/* Noise texture overlay for depth */
.noise-overlay {
  position: relative;
}

.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.noise-overlay > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Page-specific Hero Styles
   -------------------------------------------------------------------------- */
.hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-base);
}

/* Hero gradient — cobalt atmosphere + gold warm point */
.hero-gradient {
  background: radial-gradient(ellipse at 25% 15%, rgba(0, 92, 150, 0.18) 0%, transparent 45%),
              radial-gradient(ellipse at 75% 75%, rgba(232, 197, 71, 0.06) 0%, transparent 40%),
              linear-gradient(180deg, var(--bg-base) 0%, var(--bg-s1) 100%);
}

.hero-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-11);
}

.hero-label {
  composes: section-label;
}

/* Hero eyebrow label — positioned above H1 */
.hero-eyebrow .elementor-heading-title {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: var(--space-4);
}

.hero-title {
  composes: h1;
  margin-bottom: var(--space-6);
}

.hero-subtext {
  font-size: 20px;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: var(--space-9);
}

.hero-ctas {
  display: flex;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.hero-divider {
  width: 100px;
  height: 2px;
  background: var(--gold-border);
  margin: var(--space-8) 0;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-gold { color: var(--gold); }
.text-light { color: var(--text-1); }
.text-muted { color: var(--text-3); }

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Animation: Reveal on Scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slow) var(--ease-snappy),
              transform var(--duration-slow) var(--ease-snappy);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay */
.reveal[data-stagger="1"] { transition-delay: 80ms; }
.reveal[data-stagger="2"] { transition-delay: 160ms; }
.reveal[data-stagger="3"] { transition-delay: 240ms; }
.reveal[data-stagger="4"] { transition-delay: 320ms; }
.reveal[data-stagger="5"] { transition-delay: 400ms; }

/* Stat counter */
.stat-number.counting {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Contact Page — Process Steps Block
   -------------------------------------------------------------------------- */
.contact-process {
  display: flex;
  flex-direction: column;
  gap: var(--space-9);
}

.cp-step {
  display: flex;
  gap: var(--space-7);
  align-items: flex-start;
}

.cp-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  background: var(--cobalt-dim);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.cp-content strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.cp-content p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
  max-width: 100%;
}

/* Contact trust note below form */
.contact-trust-note {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}

.contact-trust-note a {
  color: var(--gold);
}

.contact-trust-note a:hover {
  color: var(--gold-hover);
}

/* --------------------------------------------------------------------------
   Contact Form 7 — styled to match LVision design system
   -------------------------------------------------------------------------- */
.contact-form-wrap .wpcf7 {
  max-width: 680px;
}

.contact-form-wrap .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.contact-form-wrap .wpcf7-form p {
  margin: 0;
  max-width: 100%;
}

.contact-form-wrap .wpcf7-form p:nth-child(3),
.contact-form-wrap .wpcf7-form p:nth-child(4) {
  grid-column: 1 / -1;
}

.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  background: var(--bg-s2);
  border: 1px solid var(--border-s);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-1);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  appearance: none;
}

.contact-form-wrap .wpcf7-form input[type="text"]::placeholder,
.contact-form-wrap .wpcf7-form input[type="email"]::placeholder,
.contact-form-wrap .wpcf7-form textarea::placeholder {
  color: var(--text-3);
}

.contact-form-wrap .wpcf7-form input[type="text"]:focus,
.contact-form-wrap .wpcf7-form input[type="email"]:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.contact-form-wrap .wpcf7-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-wrap .wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  background: var(--gold);
  color: var(--bg-base);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
  font-family: var(--font-main);
}

.contact-form-wrap .wpcf7-form input[type="submit"]:hover {
  background: var(--gold-hover);
}

.contact-form-wrap .wpcf7-response-output {
  grid-column: 1 / -1;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid var(--border-s);
  color: var(--text-2);
}

.contact-form-wrap .wpcf7-mail-sent-ok {
  border-color: #4ade80;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
}

.contact-form-wrap .wpcf7-mail-sent-ng,
.contact-form-wrap .wpcf7-validation-errors {
  border-color: #f87171;
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

.contact-form-wrap .wpcf7-not-valid-tip {
  color: #f87171;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

@media (max-width: 640px) {
  .contact-form-wrap .wpcf7-form {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Blog / Article Single Post
   -------------------------------------------------------------------------- */
section.light .article-intro {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-dark);
  font-weight: 500;
  border-left: 3px solid var(--gold);
  padding-left: var(--space-7);
  margin-bottom: var(--space-10);
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Print Styles (optional for now)
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .btn, .hamburger {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  section {
    page-break-inside: avoid;
  }
}

/* --------------------------------------------------------------------------
   Hero Geometric Shapes
   -------------------------------------------------------------------------- */

/* Shapes are moved to section level via inline JS so inset:0 fills the section */
#hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.lv-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(0,212,255,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(139,92,246,0.07) 0%, transparent 55%);
}

@keyframes lvShapeEnter {
  from {
    opacity: 0;
    transform: rotate(calc(var(--lv-rotate, 0deg) - 15deg)) translateY(-120px);
  }
  60% { opacity: 1; }
  to   {
    opacity: 1;
    transform: rotate(var(--lv-rotate, 0deg)) translateY(0);
  }
}

@keyframes lvShapeFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(14px); }
}

.lv-shape {
  position: absolute;
  pointer-events: none;
  animation: lvShapeEnter 2s var(--lv-delay, 0s) cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
}

.lv-shape-float {
  animation: lvShapeFloat 10s calc(var(--lv-delay, 0s) + 2s) ease-in-out infinite;
}

.lv-shape-pill {
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--lv-color, rgba(0,212,255,0.25)), transparent);
  border: 2px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 40px 0 rgba(0, 212, 255, 0.08);
  position: relative;
}

.lv-shape-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.18), transparent 70%);
}

@media (max-width: 900px) {
  .lv-shape { display: none; }
  .lv-glow  { display: none; }
}

.hero-content-layer {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-section {
  background: var(--bg-s1);
  padding: 96px 0;
}
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-1);
  font-size: 17px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-align: left;
  gap: 16px;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Testimonial Grid (3-col)
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
.testimonial-card {
  background: var(--bg-s2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-quote {
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-name {
  color: var(--text-1);
  font-weight: 700;
  font-size: 14px;
}
.testimonial-role {
  color: var(--text-2);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   CTA Section — scoped pulse animation
   -------------------------------------------------------------------------- */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(201,168,76,0); }
}
.cta-primary-pulse {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Risk Reversal Strip
   -------------------------------------------------------------------------- */
.risk-reversal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 12px;
}
.risk-reversal svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Services page — dark section overrides + diagram styling
   -------------------------------------------------------------------------- */

/* Fix text colours for sections converted from white → dark */
.elementor-36 .elementor-element-sec-svc1 .elementor-heading-title,
.elementor-36 .elementor-element-sec-svc3 .elementor-heading-title,
.elementor-36 .elementor-element-sec-svc5 .elementor-heading-title {
  color: #edf1f8 !important;
}
.elementor-36 .elementor-element-sec-svc1 p,
.elementor-36 .elementor-element-sec-svc1 .elementor-text-editor,
.elementor-36 .elementor-element-sec-svc3 p,
.elementor-36 .elementor-element-sec-svc3 .elementor-text-editor,
.elementor-36 .elementor-element-sec-svc5 p,
.elementor-36 .elementor-element-sec-svc5 .elementor-text-editor {
  color: #8ba5c2 !important;
}
.elementor-36 .elementor-element-il-svc1-il .elementor-icon-list-text,
.elementor-36 .elementor-element-il-svc3-il .elementor-icon-list-text,
.elementor-36 .elementor-element-il-svc5-il .elementor-icon-list-text {
  color: #8ba5c2 !important;
}

/* SVG diagram container */
.svc-diagram-wrap {
  width: 100%;
}
.svc-diagram-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
