/*
 * Solvix Digital — Main Stylesheet
 * Theme: solvix-theme
 * Version: 1.0.0
 * Author: Solvix Digital (SMC-Private) Limited
 * SECP: 0353646
 *
 * Table of Contents:
 *  1.  Custom Properties (tokens)
 *  2.  Dark Theme Overrides
 *  3.  Base Reset
 *  4.  Layout Primitives
 *  5.  Typography Scale
 *  6.  Announcement Bar
 *  7.  Navigation
 *  8.  Hero Section
 *  9.  Buttons
 * 10.  Cards (glass, service, portfolio, blog, testimonial)
 * 11.  Service Grid
 * 12.  Stats Bar
 * 13.  Page Hero
 * 14.  Blog
 * 15.  Portfolio Grid
 * 16.  Contact
 * 17.  Document Pages (Privacy, Terms, etc.)
 * 18.  Footer
 * 19.  Breadcrumb
 * 20.  Scroll Progress Bar
 * 21.  Animations & Keyframes
 * 22.  Mobile / Hamburger
 * 23.  Utilities
 * 24.  WordPress Core Classes
 */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* — Brand Colors — */
  --gold:           #C9A84C;
  --gold-light:     #FFD700;
  --gold-dim:       #a8883a;
  --blue:           #00D4FF;
  --blue-dim:       #009ec0;
  --purple:         #7B2FFF;
  --purple-dim:     #5c22c4;
  --green:          #00FF88;
  --red:            #FF4D6A;

  /* — Backgrounds — */
  --bg-primary:     #0A0E1A;
  --bg-secondary:   #0D1B2A;
  --bg-tertiary:    #111827;
  --bg-card:        rgba(13, 27, 42, 0.72);
  --bg-card-hover:  rgba(18, 36, 58, 0.90);
  --bg-glass:       rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.07);
  --bg-overlay:     rgba(10, 14, 26, 0.80);
  --section-light-bg: #F0F4FF;

  /* — Text — */
  --t1:             #E8E8F0;
  --t2:             #8892A4;
  --t3:             #545e6f;
  --t-light:        #1a2035;
  --t-light-2:      #4a5568;

  /* — Borders — */
  --border:         rgba(201, 168, 76, 0.18);
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-strong:  rgba(201, 168, 76, 0.45);

  /* — Spacing — */
  --space-xs:       0.25rem;
  --space-sm:       0.5rem;
  --space-md:       1rem;
  --space-lg:       1.5rem;
  --space-xl:       2rem;
  --space-2xl:      3rem;
  --space-3xl:      5rem;
  --space-section:  5rem;

  /* — Border Radius — */
  --br-sm:          6px;
  --br:             12px;
  --br-lg:          20px;
  --br-xl:          32px;
  --br-full:        9999px;

  /* — Shadows — */
  --shadow-sm:      0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow:         0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg:      0 8px 48px rgba(0, 0, 0, 0.55);
  --shadow-gold:    0 0 32px rgba(201, 168, 76, 0.22);
  --shadow-blue:    0 0 32px rgba(0, 212, 255, 0.18);
  --shadow-card:    0 2px 16px rgba(0, 0, 0, 0.40),
                    0 0 0 1px rgba(201, 168, 76, 0.08);

  /* — Transitions — */
  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:         160ms var(--ease);
  --t-base:         280ms var(--ease);
  --t-slow:         480ms var(--ease);

  /* — Gradients — */
  --grad-gold:      linear-gradient(135deg, #C9A84C 0%, #FFD700 50%, #C9A84C 100%);
  --grad-blue-purple: linear-gradient(135deg, #00D4FF 0%, #7B2FFF 100%);
  --grad-hero:      radial-gradient(ellipse 80% 60% at 60% 30%,
                      rgba(123, 47, 255, 0.22) 0%,
                      rgba(0, 212, 255, 0.10) 50%,
                      transparent 100%);
  --grad-card:      linear-gradient(145deg,
                      rgba(201, 168, 76, 0.06) 0%,
                      rgba(13, 27, 42, 0.5) 100%);

  /* — Z-Index Scale — */
  --z-base:         1;
  --z-card:         10;
  --z-nav:          100;
  --z-overlay:      200;
  --z-modal:        300;
  --z-toast:        400;

  /* — Container — */
  --container-max:  1280px;
  --container-pad:  1.5rem;

  /* — Nav height (used for offset anchors) — */
  --nav-h:          72px;
}

/* ============================================================
   2. DARK THEME OVERRIDES
   (system dark + explicit dark toggle)
   ============================================================ */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* already dark-first — tokens unchanged, just explicit */
    --bg-primary:     #0A0E1A;
    --bg-secondary:   #0D1B2A;
    --bg-tertiary:    #111827;
    --t1:             #E8E8F0;
    --t2:             #8892A4;
    --border:         rgba(201, 168, 76, 0.18);
    --border-subtle:  rgba(255, 255, 255, 0.06);
  }
}

:root[data-theme="dark"] {
  --bg-primary:     #0A0E1A;
  --bg-secondary:   #0D1B2A;
  --bg-tertiary:    #111827;
  --t1:             #E8E8F0;
  --t2:             #8892A4;
  --border:         rgba(201, 168, 76, 0.18);
  --border-subtle:  rgba(255, 255, 255, 0.06);
}

/* Light theme — genuine inversion for editorial light sections */
:root[data-theme="light"] {
  --bg-primary:     #F4F6FB;
  --bg-secondary:   #EAEEF7;
  --bg-tertiary:    #FFFFFF;
  --bg-card:        rgba(255, 255, 255, 0.90);
  --bg-glass:       rgba(10, 14, 26, 0.04);
  --t1:             #1a2035;
  --t2:             #4a5568;
  --t3:             #8892A4;
  --border:         rgba(201, 168, 76, 0.25);
  --border-subtle:  rgba(10, 14, 26, 0.08);
  --shadow-card:    0 2px 16px rgba(0, 0, 0, 0.10),
                    0 0 0 1px rgba(201, 168, 76, 0.12);
}

/* ============================================================
   3. BASE RESET
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--t1);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--t-fast), opacity var(--t-fast);
}

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

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
}

p { max-width: 68ch; }

table { border-collapse: collapse; }

/* ============================================================
   4. LAYOUT PRIMITIVES
   ============================================================ */

.container {
  width: min(var(--container-max), 100% - (var(--container-pad) * 2));
  margin-inline: auto;
}

.container--narrow  { width: min(860px,  100% - (var(--container-pad) * 2)); margin-inline: auto; }
.container--wide    { width: min(1440px, 100% - (var(--container-pad) * 2)); margin-inline: auto; }

/* Section base */
.section {
  padding-block: var(--space-section);
}

.section--sm  { padding-block: 3rem; }
.section--lg  { padding-block: 7rem; }

.section--dark   { background: var(--bg-primary); }
.section--alt    { background: var(--bg-secondary); }
.section--light  {
  background: var(--section-light-bg);
  color: var(--t-light);
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

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

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

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

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

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

/* Flex helpers */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-col    { display: flex; flex-direction: column; }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }
.gap-lg      { gap: var(--space-lg); }
.gap-xl      { gap: var(--space-xl); }

/* Overflow-safe scroll wrappers */
.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   5. TYPOGRAPHY SCALE
   ============================================================ */

h1, .h1 {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--t1);
}

h2, .h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--t1);
}

h3, .h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--t1);
}

h4, .h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--t1);
}

h5, .h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--t2);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h6, .h6 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Section labels — the eyebrow above headings */
.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--grad-gold);
  vertical-align: middle;
  margin-right: 0.5rem;
  border-radius: 2px;
}

/* Section header block */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header p {
  margin-inline: auto;
  margin-top: 1rem;
  color: var(--t2);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* Lead text */
.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--t2);
}

/* Monospace / code */
code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.875em;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-light);
  padding: 0.15em 0.45em;
  border-radius: var(--br-sm);
}

pre {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br);
  padding: 1.5rem;
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--t1);
}

/* ============================================================
   6. ANNOUNCEMENT BAR
   ============================================================ */

.solvix-ann {
  background: var(--grad-gold);
  padding: 0.45rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: calc(var(--z-nav) + 1);
}

.solvix-ann p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0A0E1A;
  letter-spacing: 0.02em;
  margin: 0;
  max-width: 100%;
}

.solvix-ann a {
  color: #0A0E1A;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.solvix-ann a:hover { opacity: 0.75; }

.solvix-ann__close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #0A0E1A;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity var(--t-fast);
}

.solvix-ann__close:hover { opacity: 1; }

/* ============================================================
   7. NAVIGATION
   ============================================================ */

.solvix-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-base), box-shadow var(--t-base);
}

.solvix-nav.scrolled {
  background: rgba(10, 14, 26, 0.96);
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
}

.solvix-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.solvix-nav .lw {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.lw__icon {
  width: 38px;
  height: 38px;
  background: var(--grad-gold);
  border-radius: var(--br-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: #0A0E1A;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}

.lw__wordmark {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--t1);
  letter-spacing: 0.08em;
  line-height: 1;
}

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

.lw__sub {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--t2);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav menu wrapper */
.nm {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

/* Nav links list */
.nl {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nl li { position: relative; }

.nl a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--t2);
  padding: 0.5rem 0.75rem;
  border-radius: var(--br-sm);
  transition: color var(--t-fast), background var(--t-fast);
  display: block;
  white-space: nowrap;
}

.nl a:hover,
.nl a.active {
  color: var(--t1);
  background: var(--bg-glass);
}

.nl a.active {
  color: var(--gold);
}

/* Dropdown */
.nl .has-dropdown { position: relative; }

.nl .has-dropdown > a::after {
  content: '▾';
  margin-left: 0.35rem;
  font-size: 0.7em;
  opacity: 0.6;
  display: inline-block;
  transition: transform var(--t-fast);
}

.nl .has-dropdown:hover > a::after { transform: rotate(-180deg); }

.nl .dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--br);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast);
  z-index: var(--z-overlay);
}

.nl .has-dropdown:hover .dropdown,
.nl .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nl .dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--br-sm);
  font-size: 0.84rem;
}

.nl .dropdown a:hover {
  background: var(--bg-glass);
  color: var(--gold);
}

.nl .dropdown .dd-icon {
  width: 28px;
  height: 28px;
  background: var(--bg-glass);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Nav CTA */
.nm .btn-primary {
  font-size: 0.84rem;
  padding: 0.55rem 1.3rem;
  flex-shrink: 0;
}

/* Hamburger */
.hbg {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  border-radius: var(--br-sm);
  transition: background var(--t-fast);
  padding: 0 8px;
}

.hbg:hover { background: var(--bg-glass); }

.hbg span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--t1);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast), width var(--t-base);
  transform-origin: center;
}

.hbg.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hbg.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hbg.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Canvas layer for Three.js / particles */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Gradient overlay on canvas */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 1;
  pointer-events: none;
}

/* Radial vignette at bottom */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 40% at 50% 110%,
    var(--bg-primary) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-block: 5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--br-full);
  background: rgba(201, 168, 76, 0.06);
}

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

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__typewriter {
  display: inline-block;
  color: var(--blue);
}

.hero__cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--blue);
  margin-left: 2px;
  vertical-align: text-bottom;
  border-radius: 2px;
  animation: blink 1.1s step-end infinite;
}

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

.hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--t2);
  line-height: 1.7;
  max-width: 56ch;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero__badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--t2);
}

.hero__badge .badge-icon {
  color: var(--gold);
  font-size: 1rem;
}

/* ============================================================
   9. BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0A0E1A;
  background: var(--grad-gold);
  background-size: 200% 200%;
  background-position: 0% 50%;
  border: none;
  border-radius: var(--br-full);
  padding: 0.8rem 2rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    background-position var(--t-slow);
  white-space: nowrap;
}

.btn-primary:hover {
  color: #0A0E1A;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.42);
  background-position: 100% 50%;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
}

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

/* Icon inside button */
.btn-primary .btn-icon {
  font-size: 1.05em;
  transition: transform var(--t-base);
}
.btn-primary:hover .btn-icon { transform: translateX(3px); }

/* Outline variant */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold);
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--br-full);
  padding: 0.75rem 2rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--t-base),
    border-color var(--t-base),
    color var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base);
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.18);
}

/* Ghost variant */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t2);
  background: transparent;
  border: none;
  padding: 0.6rem 0.85rem;
  border-radius: var(--br-sm);
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
}

.btn-ghost:hover {
  color: var(--t1);
  background: var(--bg-glass);
}

/* Blue accent button */
.btn-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  color: #fff;
}

.btn-blue:hover {
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.32);
}

/* Size modifiers */
.btn-sm { font-size: 0.8125rem; padding: 0.5rem 1.25rem; }
.btn-lg { font-size: 1rem; padding: 1rem 2.5rem; }

/* Loading state */
.btn-primary.loading,
.btn-outline.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-primary.loading::after,
.btn-outline.loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}

/* ============================================================
   10. CARDS
   ============================================================ */

/* --- Glass base card --- */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--br-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.card-glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border-color: var(--border-strong);
}

/* --- Service card --- */
.service-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--br-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity var(--t-base);
  border-radius: var(--br-lg) var(--br-lg) 0 0;
}

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

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

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--br);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: background var(--t-base), box-shadow var(--t-base);
}

.service-card:hover .service-card__icon {
  background: rgba(201, 168, 76, 0.18);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.2);
}

.service-card__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
}

.service-card__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--t2);
  margin-bottom: 1.5rem;
}

.service-card__link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--t-base), color var(--t-fast);
}

.service-card:hover .service-card__link {
  gap: 0.7rem;
  color: var(--gold-light);
}

/* --- Portfolio card --- */
.portfolio-card {
  border-radius: var(--br-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.portfolio-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tertiary);
  position: relative;
}

.portfolio-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.portfolio-card:hover .portfolio-card__thumb img {
  transform: scale(1.05);
}

/* Placeholder when no image */
.portfolio-card__thumb .thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  /* REPLACE WITH AI IMAGE: dark tech office with Pakistani team working on healthcare software — Generated via Midjourney */
  background: linear-gradient(135deg,
    rgba(123, 47, 255, 0.18) 0%,
    rgba(0, 212, 255, 0.10) 100%);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base);
}

.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__body {
  padding: 1.35rem;
}

.portfolio-card__cat {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.portfolio-card__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.portfolio-card__excerpt {
  font-size: 0.875rem;
  color: var(--t2);
  line-height: 1.6;
}

/* --- Blog card --- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

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

.blog-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }

.blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__cats {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.blog-card__cat {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: var(--br-full);
  padding: 0.2rem 0.65rem;
}

.blog-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 0.65rem;
  line-height: 1.45;
}

.blog-card:hover .blog-card__title { color: var(--gold); }

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--t2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.blog-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #0A0E1A;
  flex-shrink: 0;
}

.blog-card__author-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--t2);
}

.blog-card__date {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: var(--t3);
}

/* --- Testimonial card --- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--br-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
}

.testimonial-card__quote {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.12;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--t2);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-blue-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.testimonial-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--t1);
  line-height: 1.2;
}

.testimonial-card__role {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: var(--t3);
  margin-top: 2px;
}

/* ============================================================
   11. SERVICE GRID
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

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

/* Service filter tabs */
.service-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.service-tab {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t2);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br-full);
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: all var(--t-fast);
}

.service-tab:hover,
.service-tab.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--border);
}

/* ============================================================
   12. STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border-subtle);
  padding-block: 3rem;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--t2);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stat-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  color: var(--t3);
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item + .stat-item::before { display: none; }
}

@media (max-width: 420px) {
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   13. PAGE HERO
   ============================================================ */

.page-hero {
  background: var(--bg-secondary);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 15% 50%,
    rgba(201, 168, 76, 0.07) 0%,
    transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 85% 30%,
    rgba(0, 212, 255, 0.06) 0%,
    transparent 65%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.page-hero__desc {
  font-size: 1.05rem;
  color: var(--t2);
  max-width: 60ch;
  line-height: 1.7;
}

.page-hero__meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.page-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--t3);
}

.page-hero__meta-item span { color: var(--gold); }

/* ============================================================
   14. BLOG
   ============================================================ */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

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

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

.blog-grid.blog-grid--1col { grid-template-columns: 1fr; }

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

/* Blog sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br-lg);
  padding: 1.5rem;
}

.sidebar-widget__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--t1);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-cats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-cats li:last-child { border-bottom: none; }

.sidebar-cats a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--t2);
  transition: color var(--t-fast);
}

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

.sidebar-cats .count {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--t3);
  background: var(--bg-glass);
  border-radius: var(--br-full);
  padding: 0.1rem 0.55rem;
}

/* Blog post search */
.sidebar-search {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--br);
  overflow: hidden;
}

.sidebar-search input {
  flex: 1;
  background: var(--bg-primary);
  border: none;
  padding: 0.65rem 1rem;
  color: var(--t1);
  font-size: 0.875rem;
  outline: none;
}

.sidebar-search input::placeholder { color: var(--t3); }

.sidebar-search button {
  background: var(--gold);
  border: none;
  padding: 0.65rem 1rem;
  color: #0A0E1A;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--t-fast);
}

.sidebar-search button:hover { background: var(--gold-light); }

/* Recent posts widget */
.recent-post-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.recent-post-item:last-child { border-bottom: none; }

.recent-post-item__thumb {
  width: 56px;
  height: 42px;
  border-radius: var(--br-sm);
  background: var(--bg-tertiary);
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-item__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--t1);
  line-height: 1.4;
  transition: color var(--t-fast);
  display: block;
}

.recent-post-item:hover .recent-post-item__title { color: var(--gold); }

.recent-post-item__date {
  font-size: 0.72rem;
  color: var(--t3);
  margin-top: 0.3rem;
}

/* Tags cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-cloud a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--t2);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br-sm);
  padding: 0.3rem 0.7rem;
  transition: all var(--t-fast);
}

.tag-cloud a:hover {
  color: var(--gold);
  border-color: var(--border);
  background: rgba(201, 168, 76, 0.06);
}

/* Single post */
.post-content {
  max-width: 68ch;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.post-content p { margin-bottom: 1.25rem; }

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: revert;
}

.post-content li { margin-bottom: 0.4rem; color: var(--t2); }

.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin-block: 1.75rem;
  color: var(--t2);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
}

.post-content img {
  border-radius: var(--br);
  margin-block: 1.5rem;
  max-width: 100%;
}

/* ============================================================
   15. PORTFOLIO GRID
   ============================================================ */

.portfolio-layout { }

/* Isotope filter buttons */
.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.portfolio-filter-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t2);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br-full);
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: all var(--t-fast);
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.is-checked {
  color: var(--gold);
  border-color: var(--border);
  background: rgba(201, 168, 76, 0.08);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

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

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

/* Featured portfolio item (spans 2 cols) */
.portfolio-card--featured {
  grid-column: span 2;
}

.portfolio-card--featured .portfolio-card__thumb {
  aspect-ratio: 21 / 9;
}

@media (max-width: 960px) {
  .portfolio-card--featured { grid-column: span 1; }
  .portfolio-card--featured .portfolio-card__thumb { aspect-ratio: 16 / 9; }
}

/* ============================================================
   16. CONTACT
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

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

/* Contact form */
.contact-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br-xl);
  padding: 2.5rem;
}

.contact-form__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  color: var(--t1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t2);
  letter-spacing: 0.03em;
}

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

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br);
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--t1);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  width: 100%;
  outline: none;
  appearance: none;
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
  background: rgba(201, 168, 76, 0.03);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 77, 106, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892A4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-error {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 0.3rem;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: var(--t2);
  line-height: 1.55;
  cursor: pointer;
}

.form-checkbox-label a { color: var(--gold); }

.form-submit {
  margin-top: 1.75rem;
}

/* reCAPTCHA note */
.recaptcha-note {
  font-size: 0.72rem;
  color: var(--t3);
  margin-top: 0.75rem;
  line-height: 1.55;
}

.recaptcha-note a { color: var(--t2); }

/* Contact info panel */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info__heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 0.25rem;
}

.contact-info__sub {
  font-size: 0.9rem;
  color: var(--t2);
  line-height: 1.65;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--br);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-item__label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--t3);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-item__value {
  font-size: 0.9rem;
  color: var(--t1);
  font-weight: 500;
}

.contact-item__value a {
  color: var(--t1);
  transition: color var(--t-fast);
}

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

/* Success / error message after form submit */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--br);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--gold);
  display: block;
}

.form-message.error-msg {
  background: rgba(255, 77, 106, 0.08);
  border: 1px solid rgba(255, 77, 106, 0.2);
  color: var(--red);
  display: block;
}

/* ============================================================
   17. DOCUMENT PAGES (Privacy, Terms, Impressum)
   ============================================================ */

.doc-layout {
  max-width: 860px;
  margin-inline: auto;
  padding-block: 4rem;
}

.doc-layout h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.doc-layout h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--t1);
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.doc-layout p {
  color: var(--t2);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  font-size: 0.9375rem;
}

.doc-layout ul {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1.25rem;
}

.doc-layout li {
  color: var(--t2);
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.doc-layout a { color: var(--gold); }
.doc-layout a:hover { color: var(--gold-light); }

/* SECP registration box */
.secp-box {
  border: 1.5px solid var(--gold-dim);
  border-radius: var(--br-lg);
  padding: 1.5rem 1.75rem;
  margin-block: 2rem;
  background: rgba(201, 168, 76, 0.04);
  position: relative;
}

.secp-box::before {
  content: 'SECP Registered Entity';
  position: absolute;
  top: -0.65rem;
  left: 1.25rem;
  background: var(--bg-primary);
  padding: 0 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.secp-box p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--t2);
}

.secp-box strong {
  color: var(--t1);
  font-weight: 600;
}

/* Effective date chip */
.doc-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--t3);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--br-full);
  padding: 0.3rem 0.85rem;
  margin-bottom: 2rem;
}

/* ============================================================
   18. FOOTER
   ============================================================ */

.solvix-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
}

/* Decorative top gradient */
.solvix-footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold) 30%,
    var(--blue) 70%,
    transparent 100%);
  margin-bottom: -2px;
  position: relative;
  z-index: 1;
}

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

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

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Footer brand column */
.footer-brand .lw { margin-bottom: 1.25rem; }

.footer-brand__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--t2);
  max-width: 32ch;
  margin-bottom: 1.5rem;
}

.footer-brand__cert {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--br-full);
  padding: 0.3rem 0.85rem;
  background: rgba(201, 168, 76, 0.04);
}

/* Footer column headers */
.footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t1);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--t2);
  transition: color var(--t-fast), padding-left var(--t-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--br-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.footer-social-btn:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--border);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Footer contact details in footer */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--t2);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.footer-contact-item svg,
.footer-contact-item .icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.9rem;
}

.footer-contact-item a {
  color: var(--t2);
  transition: color var(--t-fast);
}

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

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: var(--t3);
  line-height: 1.5;
}

.footer-bottom strong { color: var(--t2); }

.footer-bottom .secp-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: var(--t3);
  transition: color var(--t-fast);
}

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

/* ============================================================
   19. BREADCRUMB
   ============================================================ */

.breadcrumb {
  margin-bottom: 1.5rem;
}

.breadcrumb nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.breadcrumb a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t3);
  transition: color var(--t-fast);
}

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

.breadcrumb .separator {
  color: var(--t3);
  font-size: 0.7rem;
  user-select: none;
  margin-inline: 0.1rem;
}

.breadcrumb .current {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t2);
}

/* ============================================================
   20. SCROLL PROGRESS BAR
   ============================================================ */

.sp-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 100%);
  z-index: calc(var(--z-nav) + 10);
  transition: width 0.08s linear;
  border-radius: 0 var(--br-full) var(--br-full) 0;
}

/* ============================================================
   21. ANIMATIONS & KEYFRAMES
   ============================================================ */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.65; transform: scale(0.85); }
}

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

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

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.25); }
  50%       { box-shadow: 0 0 40px rgba(201, 168, 76, 0.5); }
}

/* Animation trigger classes */
.animate-in {
  animation: fadeInUp 0.6s var(--ease) both;
}

.animate-in--left  { animation-name: fadeInLeft; }
.animate-in--fade  { animation-name: fadeIn; }

.animate-in--d1 { animation-delay: 0.1s; }
.animate-in--d2 { animation-delay: 0.2s; }
.animate-in--d3 { animation-delay: 0.3s; }
.animate-in--d4 { animation-delay: 0.4s; }
.animate-in--d5 { animation-delay: 0.5s; }
.animate-in--d6 { animation-delay: 0.6s; }

/* Skeleton loader shimmer */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-secondary) 25%,
    var(--bg-tertiary) 50%,
    var(--bg-secondary) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--br);
}

/* Float animation for decorative elements */
.float-anim {
  animation: floatY 5s ease-in-out infinite;
}

/* ============================================================
   22. MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 1024px) {
  .hbg { display: flex; }

  /* Mobile menu panel */
  .nm {
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-base), visibility var(--t-base);
    visibility: hidden;
    z-index: calc(var(--z-nav) - 1);
  }

  .nm.open {
    transform: translateX(0);
    visibility: visible;
  }

  /* Prevent scroll when nav open */
  body.nav-open { overflow: hidden; }

  /* Mobile nav list */
  .nl {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nl li { width: 100%; }

  .nl a {
    font-size: 1rem;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nl a:hover {
    background: transparent;
    color: var(--gold);
    border-bottom-color: var(--border-subtle);
  }

  /* Mobile dropdown */
  .nl .has-dropdown > a::after { content: '+'; font-style: normal; }
  .nl .has-dropdown.open > a::after { content: '−'; }

  .nl .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0;
    padding: 0;
    display: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nl .has-dropdown.open .dropdown { display: block; }

  .nl .dropdown a {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: none;
  }

  /* Nav CTA in mobile menu */
  .nm .btn-primary {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .solvix-nav { height: var(--nav-h); }

  .lw__wordmark { font-size: 0.95rem; }
  .lw__icon { width: 34px; height: 34px; font-size: 0.875rem; }
}

/* ============================================================
   23. UTILITIES
   ============================================================ */

/* Screen reader only */
.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;
}

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

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blue-text  { color: var(--blue); }
.green-text { color: var(--gold); }
.red-text   { color: var(--red); }
.muted-text { color: var(--t2); }
.dim-text   { color: var(--t3); }

/* Display helpers */
.hidden      { display: none !important; }
.block       { display: block; }
.inline      { display: inline; }

/* Spacing helpers */
.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Divider */
.divider {
  height: 1px;
  background: var(--border-subtle);
  border: none;
  margin-block: var(--space-xl);
}

.divider--gold {
  background: linear-gradient(90deg,
    transparent 0%,
    var(--border-strong) 50%,
    transparent 100%);
}

/* Badge / pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--br-full);
  padding: 0.22rem 0.7rem;
}

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

.badge--blue {
  color: var(--blue);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.18);
}

.badge--purple {
  color: var(--purple);
  background: rgba(123, 47, 255, 0.1);
  border: 1px solid rgba(123, 47, 255, 0.2);
}

.badge--green {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.18);
}

.badge--red {
  color: var(--red);
  background: rgba(255, 77, 106, 0.08);
  border: 1px solid rgba(255, 77, 106, 0.18);
}

/* Chip (same as badge, alias) */
.chip { display: inline-flex; align-items: center; }

/* Wide overflow wrapper (for tables, code) */
.overflow-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--br);
}

/* Aspect ratios */
.aspect-16-9  { aspect-ratio: 16 / 9; }
.aspect-4-3   { aspect-ratio: 4 / 3; }
.aspect-1-1   { aspect-ratio: 1; }

/* Icon size helpers */
.icon-sm { font-size: 0.9rem; }
.icon-md { font-size: 1.2rem; }
.icon-lg { font-size: 1.6rem; }
.icon-xl { font-size: 2rem; }

/* Gradient border trick */
.grad-border {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--grad-gold) border-box;
  border-radius: var(--br-lg);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg,
    var(--bg-secondary) 0%,
    rgba(123, 47, 255, 0.12) 50%,
    var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--br-xl);
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%,
    rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner { position: relative; z-index: 1; }

.cta-banner h2 { margin-bottom: 1rem; }

.cta-banner p {
  color: var(--t2);
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 55ch;
}

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

/* Preloader (minimal overlay while JS/Three boots) */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preloader__bar {
  width: 180px;
  height: 2px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader__bar::after {
  content: '';
  position: absolute;
  left: -60%;
  top: 0;
  width: 60%;
  height: 100%;
  background: var(--grad-gold);
  border-radius: 2px;
  animation: loading 1.4s ease-in-out infinite;
}

@keyframes loading {
  0%   { left: -60%; }
  100% { left: 120%; }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: var(--br);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-base);
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: #0A0E1A;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--br-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--t2);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all var(--t-fast);
  font-variant-numeric: tabular-nums;
}

.page-numbers:hover,
.page-numbers.current {
  color: var(--gold);
  border-color: var(--border);
  background: rgba(201, 168, 76, 0.08);
}

.page-numbers.current {
  pointer-events: none;
}

/* Swiper overrides for testimonial carousel */
.swiper-pagination-bullet {
  background: var(--t3);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ============================================================
   24. WORDPRESS CORE CLASSES
   ============================================================ */

/* Alignment */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide  { max-width: 100%; }
.alignfull  { width: 100vw; margin-left: 50%; transform: translateX(-50%); }

/* Captions */
.wp-caption {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: var(--t3);
  text-align: center;
  margin-top: 0.5rem;
}

/* Galleries */
.gallery { display: grid; gap: 0.75rem; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item img { border-radius: var(--br-sm); width: 100%; }

/* WP block styles */
.wp-block-quote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--t2);
  margin-block: 1.75rem;
}

/* Sticky post badge */
.sticky-post-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Custom WP Search Form */
.search-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--br);
  overflow: hidden;
}

.search-field {
  flex: 1;
  background: var(--bg-primary);
  border: none;
  padding: 0.75rem 1rem;
  color: var(--t1);
  font-size: 0.9375rem;
  outline: none;
}

.search-field::placeholder { color: var(--t3); }

.search-submit {
  background: var(--gold);
  color: #0A0E1A;
  border: none;
  padding: 0.75rem 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--t-fast);
}

.search-submit:hover { background: var(--gold-light); }

/* Comment form */
.comment-form .form-submit .submit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0A0E1A;
  background: var(--grad-gold);
  border: none;
  border-radius: var(--br-full);
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.comment-form .form-submit .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: #0A0E1A;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  border-radius: 0 0 var(--br) 0;
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus { top: 0; }

/* ============================================================
   25. SOLVIX-PREFIX BRIDGE
   Aliases for front-page.php solvix- namespaced classes
   mapping to the established CSS design system above.
   ============================================================ */

/* Layout */
.solvix-container {
  width: min(var(--container-max), 100% - (var(--container-pad) * 2));
  margin-inline: auto;
}

/* Sections */
.solvix-services-hub,
.solvix-solutions-strip,
.solvix-about-home,
.solvix-testimonials,
.solvix-blog-home {
  padding-block: var(--space-section);
}

.solvix-services-hub  { background: var(--bg-primary); }
.solvix-solutions-strip { background: var(--bg-secondary); }
.solvix-about-home    { background: var(--bg-primary); }
.solvix-testimonials  { background: var(--bg-secondary); }
.solvix-blog-home     { background: var(--bg-primary); }

/* Section header */
.solvix-section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.solvix-section-header--compact { margin-bottom: var(--space-xl); }
.solvix-section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  margin-bottom: var(--space-2xl);
}

/* Eyebrow label */
.solvix-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.solvix-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--grad-gold);
  vertical-align: middle;
  margin-right: 0.5rem;
  border-radius: 2px;
}

/* Section title + desc */
.solvix-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--t1);
  text-wrap: balance;
  margin-bottom: 0.75rem;
}
.solvix-section-desc {
  font-size: 1.05rem;
  color: var(--t2);
  max-width: 56ch;
  margin-inline: auto;
}

/* Buttons */
.solvix-btn               { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: 'Poppins', sans-serif; font-weight: 600; border-radius: var(--br-full); text-decoration: none; cursor: pointer; transition: transform var(--t-base), box-shadow var(--t-base); white-space: nowrap; }
.solvix-btn--primary      { font-size: 0.9375rem; font-weight: 700; color: #0A0E1A; background: var(--grad-gold); background-size: 200% 200%; background-position: 0% 50%; border: none; padding: 0.8rem 2rem; transition: transform var(--t-base), box-shadow var(--t-base), background-position var(--t-slow); }
.solvix-btn--primary:hover { color: #0A0E1A; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.42); background-position: 100% 50%; }
.solvix-btn--outline      { font-size: 0.9375rem; color: var(--gold); background: transparent; border: 1.5px solid var(--border-strong); padding: 0.75rem 2rem; }
.solvix-btn--outline:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.solvix-btn--ghost        { font-size: 0.875rem; color: var(--t2); background: transparent; border: none; padding: 0.6rem 0.85rem; }
.solvix-btn--ghost:hover  { color: var(--t1); background: var(--bg-glass); }

/* Services grid */
.solvix-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}
.solvix-section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* Industry chips */
.solvix-industry-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}
.solvix-industry-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--br-lg);
  text-decoration: none;
  color: var(--t1);
  transition: border-color var(--t-base), background var(--t-base), transform var(--t-base);
}
.solvix-industry-chip:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  color: var(--t1);
}
.solvix-industry-chip__icon { font-size: 1.75rem; flex-shrink: 0; }
.solvix-industry-chip__body { flex: 1; }
.solvix-industry-chip__label { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; color: var(--t1); margin-bottom: 0.2rem; }
.solvix-industry-chip__desc { font-size: 0.82rem; color: var(--t2); line-height: 1.5; }
.solvix-industry-chip__arrow { color: var(--gold); flex-shrink: 0; opacity: 0; transition: opacity var(--t-fast), transform var(--t-fast); }
.solvix-industry-chip:hover .solvix-industry-chip__arrow { opacity: 1; transform: translateX(4px); }

/* About home section */
.solvix-about-home__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.solvix-secp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--border);
  border-radius: var(--br-full);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}
.solvix-about-home__lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--t2);
  margin: 1rem 0;
  max-width: 100%;
}
.solvix-about-home__body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--t2);
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.solvix-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}
.solvix-about-stats__row { display: contents; }
.solvix-about-stats__label { font-family: 'Poppins', sans-serif; font-size: 0.8rem; color: var(--t2); align-self: center; }
.solvix-about-stats__value { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--gold); text-align: right; }
.solvix-about-home__visual { border-radius: var(--br-lg); overflow: hidden; background: var(--bg-secondary); min-height: 400px; display: flex; align-items: center; justify-content: center; }
.solvix-about-home__visual canvas { width: 100%; height: 100%; }

/* Hero stat counters */
.solvix-hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.solvix-stat { display: flex; flex-direction: column; align-items: flex-start; }
.solvix-stat__num { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.solvix-stat__suffix { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--gold); }
.solvix-stat__label { font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 500; color: var(--t2); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 0.2rem; }

/* Testimonials swiper */
.solvix-testimonials-swiper { padding-bottom: 3rem; }
.solvix-testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--br-lg);
  padding: 2rem;
  height: 100%;
}
.solvix-testimonial-card__stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; }
.solvix-testimonial-card__content { font-size: 1rem; line-height: 1.75; color: var(--t1); margin-bottom: 1.5rem; font-style: italic; }
.solvix-testimonial-card__footer { display: flex; align-items: center; gap: 1rem; }
.solvix-testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--bg-glass); flex-shrink: 0; }
.solvix-testimonial-card__author { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--t1); font-style: normal; }
.solvix-testimonial-card__position { font-size: 0.8rem; color: var(--t2); }
.solvix-swiper-btn { color: var(--gold); }
.solvix-swiper-pagination .swiper-pagination-bullet-active { background: var(--gold); }
.solvix-avatar-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: 'Orbitron', sans-serif; font-weight: 700; color: var(--gold); font-size: 1rem; }

/* Blog grid */
.solvix-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}
.solvix-blog-empty {
  text-align: center;
  color: var(--t2);
  padding: var(--space-3xl) 0;
}

/* Hero section */
.solvix-hero {
  position: relative;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}
.solvix-hero__inner {
  position: relative;
  z-index: 3;
  padding-block: 5rem;
  width: min(var(--container-max), 100% - (var(--container-pad) * 2));
  margin-inline: auto;
}
.solvix-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--br-full);
  background: rgba(201,168,76,0.06);
}
.solvix-hero__heading {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--t1);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.solvix-gold { background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.solvix-hero__sub { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--t2); line-height: 1.7; max-width: 56ch; margin-bottom: 1rem; }
.solvix-hero__typewriter { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--t2); margin-bottom: 2.5rem; display: block; }
.solvix-cursor { display: inline-block; width: 3px; height: 1.1em; background: var(--blue); margin-left: 2px; vertical-align: text-bottom; border-radius: 2px; animation: blink 1.1s step-end infinite; }
.solvix-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.solvix-hero__scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.solvix-hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
.solvix-hero__scroll-text { font-family: 'Poppins', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; color: var(--t2); text-transform: uppercase; }

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Responsive bridge overrides */
@media (max-width: 1024px) {
  .solvix-about-home__inner { grid-template-columns: 1fr; }
  .solvix-about-home__visual { display: none; }
}
@media (max-width: 768px) {
  .solvix-services-grid,
  .solvix-industry-chips,
  .solvix-blog-grid { grid-template-columns: 1fr; }
  .solvix-section-header--row { flex-direction: column; align-items: flex-start; }
  .solvix-hero__stats { gap: 1.5rem; }
}

/* Print styles */
@media print {
  .solvix-nav,
  .solvix-ann,
  .solvix-footer,
  .sp-bar,
  .back-to-top,
  .hero__canvas,
  .hero__overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a { color: #000; text-decoration: underline; }

  .container { max-width: 100%; }
}
