/* ==========================================================================
   VEYRONIX TECHNOLOGY — DESIGN SYSTEM & COMPONENT STYLING
   Direction: Premium Liquid Glass + Light Caramel + Sunlight + Champagne Gold
   ========================================================================== */

:root {
  /* Core Palette: Default Light Theme (Champagne Sunlight & Liquid Glass) */
  --bg: #FFFDF8;
  --bg-subtle: #FFF9EF;
  --bg-warm: #FAF5EB;
  --bg-alt: #F5EFE1;
  
  --surface-glass: rgba(255, 255, 255, 0.68);
  --surface-glass-strong: rgba(255, 255, 255, 0.88);
  --surface-card: rgba(255, 250, 240, 0.60);
  --surface-hover: rgba(255, 255, 255, 0.96);
  --surface-elevated: #FFFFFF;
  
  --ink: #201A14;
  --ink-heading: #18120B;
  --ink-secondary: #4A3C2E;
  --muted: #756858;
  --muted-light: #8A7966;
  
  --gold: #B9853F;
  --gold-light: #D8AC61;
  --gold-dark: #8C5F24;
  --gold-glow: rgba(216, 172, 97, 0.25);
  --gold-soft: rgba(185, 133, 63, 0.08);
  
  --caramel: #A96F35;
  --caramel-light: #C28A50;
  --champagne: #E8D4AE;
  --champagne-light: #F3E7D2;
  
  --line: rgba(127, 92, 48, 0.14);
  --line-subtle: rgba(127, 92, 48, 0.08);
  --line-focus: rgba(185, 133, 63, 0.50);
  
  --shadow-sm: 0 4px 12px rgba(120, 80, 20, 0.04);
  --shadow-md: 0 12px 32px rgba(120, 80, 20, 0.07);
  --shadow-glass: 0 20px 48px rgba(120, 80, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-lg: 0 28px 64px rgba(120, 80, 20, 0.12);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --max-width: 1200px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

/* Optional Dark Theme (Secondary Mode for visitor preference) */
[data-theme="dark"] {
  --bg: #0C0F14;
  --bg-subtle: #121720;
  --bg-warm: #181F2B;
  --bg-alt: #1F2736;
  
  --surface-glass: rgba(22, 28, 38, 0.72);
  --surface-glass-strong: rgba(26, 34, 48, 0.90);
  --surface-card: rgba(18, 24, 34, 0.65);
  --surface-hover: rgba(32, 42, 58, 0.92);
  --surface-elevated: #161D27;
  
  --ink: #F3EDE3;
  --ink-heading: #FFFFFF;
  --ink-secondary: #C8BFB3;
  --muted: #958B7E;
  --muted-light: #AAA093;
  
  --gold: #D8AC61;
  --gold-light: #F2D296;
  --gold-dark: #A97A35;
  --gold-glow: rgba(216, 172, 97, 0.22);
  --gold-soft: rgba(216, 172, 97, 0.12);
  
  --caramel: #C28A50;
  --caramel-light: #DBA46B;
  --champagne: #D4BE96;
  --champagne-light: #2A3342;
  
  --line: rgba(216, 172, 97, 0.18);
  --line-subtle: rgba(255, 255, 255, 0.07);
  --line-focus: rgba(216, 172, 97, 0.55);
  
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-glass: 0 20px 48px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.70);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  
  /* Sunlight Directional Treatment (Warm Amber Top-Right Glow) */
  background-image:
    radial-gradient(circle at 88% 0%, rgba(244, 218, 162, 0.38) 0%, rgba(244, 218, 162, 0) 45%),
    radial-gradient(circle at 10% 25%, rgba(232, 212, 174, 0.22) 0%, rgba(232, 212, 174, 0) 38%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 40%, var(--bg-warm) 100%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, border-color 0.2s ease;
}

ul, ol {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

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

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--ink-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.goldtext {
  background: linear-gradient(120deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--caramel) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel);
  background: var(--gold-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  box-shadow: 0 0 0 3px var(--gold-soft);
}

/* ==========================================================================
   LIQUID GLASS MATERIAL SYSTEM
   ========================================================================== */
.glass {
  background: var(--surface-glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.glass:hover {
  border-color: rgba(185, 133, 63, 0.32);
}

.glass-card {
  background: var(--surface-glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  background: var(--surface-hover);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
  color: #FFFDF8;
  box-shadow: 0 8px 24px var(--gold-glow);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(185, 133, 63, 0.35);
  filter: brightness(1.04);
}

.btn-soft {
  background: var(--surface-glass-strong);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-soft:hover {
  background: var(--surface-elevated);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-secondary);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.84rem;
  border-radius: 9px;
}

/* ==========================================================================
   NAVIGATION BAR & BRANDING
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  background: var(--surface-glass-strong);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(32, 26, 20, 0.25)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.40));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 12px rgba(185, 133, 63, 0.35)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.50));
}

.brand-mark-sm {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--ink-heading);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--ink-secondary);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--caramel);
  background: var(--gold-soft);
}

.dropdown-arrow {
  font-size: 0.60rem;
  transition: transform 0.25s ease;
}

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

/* Mega Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface-glass-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

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

.dropdown-mega-solutions {
  width: 620px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dropdown-mega-services {
  width: 580px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.dropdown-item:hover {
  background: var(--surface-hover);
  transform: translateX(3px);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.dropdown-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-heading);
}

.dropdown-desc {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--surface-glass);
  border: 1px solid var(--line);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
}

/* Mobile Hamburger & Drawer */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink-heading);
  cursor: pointer;
  padding: 6px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(32, 26, 20, 0.45);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 85vw);
  height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--line);
  padding: 24px 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-subtle);
}

.mobile-drawer-close {
  background: var(--surface-glass);
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 6px;
}

.mobile-nav-link {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding-left: 12px;
  margin-top: 4px;
}

.mobile-submenu.open {
  display: flex;
}

.mobile-submenu a {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 4px 0;
}

/* ==========================================================================
   HERO SECTION & ANIMATED AUTOMATION MAP
   ========================================================================== */
.hero {
  padding: 72px 0 54px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  letter-spacing: -0.04em;
  margin: 14px 0 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Business Automation Map */
.automation-map-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glass);
  position: relative;
}

.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-subtle);
}

.map-card-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel);
}

.map-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.map-workflow {
  display: grid;
  gap: 10px;
}

.map-node {
  background: var(--surface-glass-strong);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.map-node:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  background: var(--surface-elevated);
}

.node-text b {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-heading);
}

.node-text small {
  font-size: 0.74rem;
  color: var(--muted);
}

.node-pill {
  font-size: 0.70rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--caramel);
  border: 1px solid var(--line);
}

/* Connector Line with Pulse Signal */
.map-connector {
  width: 2px;
  height: 12px;
  background: var(--line);
  margin-left: 24px;
  position: relative;
}

.map-connector::after {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: flowSignal 2.4s infinite linear;
}

@keyframes flowSignal {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================================
   CAPABILITY STRIP
   ========================================================================== */
.capability-strip {
  padding: 24px 0 60px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-item {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--line-subtle);
  transition: all 0.2s ease;
}

.capability-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.capability-label {
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 4px;
}

.capability-tech {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-heading);
}

/* ==========================================================================
   PROBLEM / CONTRAST SECTION
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 40px;
}

.problem-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--line-subtle);
  border-left: 3px solid #D97706;
}

.problem-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.problem-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.bridge-banner {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-glass-strong) 0%, var(--bg-warm) 100%);
  border: 1px solid var(--line);
  text-align: center;
}

/* ==========================================================================
   SECTION LAYOUTS & GRIDS
   ========================================================================== */
.section {
  padding: 84px 0;
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  border-block: 1px solid var(--line-subtle);
}

.section-header {
  margin-bottom: 42px;
}

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

.section-header.center .lead {
  margin-inline: auto;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

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

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

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

/* ==========================================================================
   BACK NAVIGATION CONTROL (Detail / Internal Pages)
   ========================================================================== */
.back-nav-container {
  margin-bottom: 22px;
}

.back-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface-glass);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  min-height: 44px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.back-nav-link:hover {
  background: var(--surface-hover);
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateX(-3px);
  box-shadow: var(--shadow-md);
}

.back-nav-link svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.back-nav-link:hover svg {
  transform: translateX(-2px);
}

[data-theme="dark"] .back-nav-link {
  color: var(--ink);
  background: var(--surface-glass-strong);
  border-color: var(--line);
}

[data-theme="dark"] .back-nav-link:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ==========================================================================
   EDITORIAL SOLUTION & SERVICE CARDS (Prominent Sizing & High Contrast)
   ========================================================================== */
.editorial-card {
  padding: 34px 30px;
  min-height: 320px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-glass);
  border: 1px solid rgba(127, 92, 48, 0.18);
  box-shadow: var(--shadow-glass);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: var(--surface-hover);
  box-shadow: var(--shadow-md);
}

.editorial-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.editorial-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.editorial-card .card-problem {
  font-size: 0.88rem;
  color: #92400E;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.editorial-card .card-solution {
  font-size: 0.94rem;
  color: #2E261D;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.editorial-card .card-integrations {
  font-size: 0.80rem;
  color: #5C4E3E;
  font-weight: 500;
  border-top: 1px solid var(--line-subtle);
  padding-top: 14px;
  margin-bottom: 20px;
}

.editorial-card .btn-outline {
  background: rgba(185, 133, 63, 0.08);
  border: 1px solid rgba(185, 133, 63, 0.35);
  color: #1F1912;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  width: fit-content;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.editorial-card .btn-outline:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #FFFDF8;
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--gold-glow);
}

[data-theme="dark"] .editorial-card .card-problem {
  color: #FBBF24;
}

[data-theme="dark"] .editorial-card .card-solution {
  color: #E2D9CD;
}

[data-theme="dark"] .editorial-card .card-integrations {
  color: #B0A596;
}

[data-theme="dark"] .editorial-card .btn-outline {
  background: rgba(216, 172, 97, 0.12);
  border: 1px solid rgba(216, 172, 97, 0.35);
  color: #FFFDF8;
}

/* ==========================================================================
   GOHIGHLEVEL (GHL) DEDICATED FEATURE SECTION
   ========================================================================== */
.ghl-section {
  padding: 84px 0;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-subtle) 100%);
  border-block: 1px solid var(--line);
}

.ghl-architecture-diagram {
  background: var(--surface-glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-glass);
  margin: 36px 0;
}

.ghl-diagram-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ghl-diagram-step {
  flex: 1;
  min-width: 140px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--line-subtle);
  text-align: center;
  transition: all 0.2s ease;
}

.ghl-diagram-step:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.ghl-diagram-step b {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-heading);
  margin-bottom: 4px;
}

.ghl-diagram-step small {
  font-size: 0.74rem;
  color: var(--muted);
}

.ghl-arrow {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.1rem;
}

.ghl-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.ghl-pill {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-elevated);
  border: 1px solid var(--line-subtle);
  color: var(--ink-secondary);
}

/* ==========================================================================
   INDUSTRY VERTICAL CARDS
   ========================================================================== */
.industry-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--line-subtle);
  transition: all 0.2s ease;
}

.industry-card:hover {
  border-color: var(--gold);
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.industry-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.industry-card ul {
  display: grid;
  gap: 6px;
  font-size: 0.80rem;
  color: var(--ink-secondary);
}

.industry-card li::before {
  content: "• ";
  color: var(--gold);
  font-weight: 800;
}

/* ==========================================================================
   CASE STUDY SHOWCASE
   ========================================================================== */
.case-card-featured {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass-strong);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-glass);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.case-metric-box {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--line-subtle);
}

.case-metric-box b {
  display: block;
  font-size: 1.35rem;
  color: var(--gold-dark);
}

.case-metric-box span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ==========================================================================
   FORMS & PROJECT INQUIRY
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--ink-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  outline: none;
  font-size: 0.90rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-field input.has-error,
.form-field select.has-error,
.form-field textarea.has-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  line-height: 1.4;
}

.char-counter {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--muted-light);
  font-family: var(--font-main);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.char-counter.valid {
  color: #15803D;
}

.field-error-msg {
  font-size: 0.78rem;
  color: #DC2626;
  font-weight: 600;
  margin-top: 4px;
  display: none;
  line-height: 1.4;
}

.field-error-msg.visible {
  display: block;
}

.form-notice {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--gold-soft);
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 14px;
}

/* ==========================================================================
   CTA BANNER & FOOTER
   ========================================================================== */
.cta-banner {
  padding: 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--surface-glass-strong) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glass);
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 28px;
  align-items: center;
}

/* ==========================================================================
   DARK LUXURY BRAND FOOTER
   ========================================================================== */
.site-footer {
  padding: 72px 0 36px;
  background: #0D1017;
  color: #F3EDE3;
  border-top: 1px solid rgba(216, 172, 97, 0.22);
  position: relative;
  overflow: hidden;
  background-image: 
    radial-gradient(circle at 15% 0%, rgba(216, 172, 97, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 100%, rgba(194, 138, 80, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #0B0E14 0%, #07090D 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  max-width: 210px;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-company-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #FFFDF8;
}

.footer-positioning {
  font-size: 0.84rem;
  color: #C8BFB3;
  line-height: 1.6;
}

.footer-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(216, 172, 97, 0.10);
  border: 1px solid rgba(216, 172, 97, 0.24);
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}

.footer-col h4 {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFDF8;
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 0.84rem;
  color: #9C9182;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover {
  color: var(--gold-light);
  transform: translateX(2px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #D6CCC0;
}

.footer-contact-item a {
  color: var(--gold-light);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #8C8274;
}

/* Contact Page Grid & Panel */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: start;
}

.contact-info-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-channel-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--line-subtle);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.2s ease;
}

.contact-channel-card:hover {
  border-color: var(--gold);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.contact-channel-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.contact-channel-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 4px;
}

.contact-channel-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-heading);
  word-break: break-all;
}

.contact-scope-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.contact-scope-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-elevated);
  border: 1px solid var(--line-subtle);
  color: var(--ink-secondary);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--surface-elevated);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.25s forwards ease;
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1440, 1024, 768, 430, 390, 360)
   ========================================================================== */
@media (max-width: 1024px) {
  .dropdown-mega-solutions, .dropdown-mega-services {
    width: 500px;
  }
  .grid-4, .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid, .cta-banner, .case-card-featured, .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .grid-3, .problem-grid {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .ghl-diagram-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .ghl-arrow {
    transform: rotate(90deg);
    text-align: center;
    margin: 4px 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .hero {
    padding: 48px 0 36px;
  }
  .cta-banner {
    padding: 32px 20px;
  }
}

@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;
  }
}
