/* ==========================================================================
   REMOTANCY LLC — Dark Cybersecurity Executive Theme
   Colors harmonized with the Remotancy Gold & Forest/Emerald Brand Identity
   ========================================================================== */

:root {
  --bg-deep: #060b0e;
  --bg-alt: #091116;
  --surface-glass: rgba(14, 24, 31, 0.72);
  --surface-glass-hover: rgba(19, 33, 42, 0.88);
  --surface-elevated: #0f1b22;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 183, 39, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.32);

  --text-primary: #f3f6f8;
  --text-secondary: #9fb0be;
  --text-muted: #687b8c;

  --gold-primary: #f5b727;
  --gold-bright: #ffd25a;
  --gold-deep: #d9880f;

  --emerald-primary: #10b981;
  --emerald-bright: #34d399;
  --emerald-deep: #059669;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.45);
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-deep);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* ==========================================================================
   Ambient Background Effects
   ========================================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.32;
}

.glow-gold {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(245, 183, 39, 0.26) 0%, transparent 70%);
  top: -160px;
  right: -100px;
}

.glow-emerald {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
  bottom: -200px;
  left: -160px;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 25%, black 30%, transparent 80%);
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 104px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: linear-gradient(180deg, rgba(11, 21, 27, 0.75) 0%, rgba(7, 13, 17, 0.9) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

/* ==========================================================================
   Typography & Common Components
   ========================================================================== */
.section-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(245, 183, 39, 0.1);
  border: 1px solid rgba(245, 183, 39, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 55%, var(--emerald-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 60%, var(--gold-deep) 100%);
  color: #080d11;
  box-shadow: 0 8px 25px rgba(245, 183, 39, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 183, 39, 0.4);
  filter: brightness(1.05);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-primary);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 14, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 38px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(245, 183, 39, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  margin-top: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--gold-bright);
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

.mobile-nav-drawer {
  display: none;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px 28px;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-cta {
  margin-top: 10px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 76px 0 96px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-bright);
  box-shadow: 0 0 10px var(--emerald-bright);
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.88); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.3vw, 3.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.14rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 32px;
  max-width: 610px;
}

.hero-lead strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.pillar-item strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Hero Visual Stack Card */
.stack-card {
  padding: 26px;
  border-color: rgba(245, 183, 39, 0.24);
  background: linear-gradient(160deg, rgba(16, 29, 37, 0.88) 0%, rgba(9, 17, 22, 0.94) 100%);
}

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

.stack-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-logo {
  width: 22px;
  height: auto;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.badge-live {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold-bright);
  background: rgba(245, 183, 39, 0.12);
  border: 1px solid rgba(245, 183, 39, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}

.stack-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.matrix-tile {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: var(--transition);
}

.matrix-tile:hover {
  border-color: var(--border-gold);
  background: rgba(245, 183, 39, 0.04);
}

.matrix-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.matrix-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.matrix-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.matrix-dot.gold {
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.matrix-dot.emerald {
  background-color: var(--emerald-primary);
  box-shadow: 0 0 8px var(--emerald-primary);
}

.matrix-tile h3 {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.matrix-tile p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Terminal Preview */
.terminal-preview {
  background: #05090c;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.term-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.term-dot.red { background: #ef4444; }
.term-dot.yellow { background: #f59e0b; }
.term-dot.green { background: #10b981; }

.term-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.terminal-code {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.65;
  color: #d5e2ec;
  overflow-x: auto;
}

.code-comment { color: #5c7386; }
.code-kw { color: var(--gold-bright); font-weight: 600; }
.code-fn { color: var(--emerald-bright); }
.code-var { color: #7dd3fc; }
.code-str { color: #fcd34d; }

/* ==========================================================================
   Section 01: Expertise Grid
   ========================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.expertise-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

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

.card-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon-wrap.gold {
  background: rgba(245, 183, 39, 0.12);
  color: var(--gold-bright);
  border: 1px solid rgba(245, 183, 39, 0.28);
}

.card-icon-wrap.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-bright);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.expertise-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.expertise-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: 6px;
}

.inline-code-link {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--gold-bright);
  background: rgba(245, 183, 39, 0.1);
  border: 1px solid rgba(245, 183, 39, 0.28);
  padding: 1px 6px;
  border-radius: 4px;
  text-decoration: none;
}

.inline-code-link:hover {
  color: var(--emerald-bright);
  border-color: var(--border-emerald);
}

/* ==========================================================================
   Section 02: Pragmatic AI & Local AI Sovereignty
   ========================================================================== */
.ai-highlight-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  border-top: 1px solid var(--border-subtle);
}

.ai-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ai-feature-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  border-color: rgba(255, 255, 255, 0.11);
}

.ai-feature-card:hover {
  border-color: var(--border-gold);
}

.ai-card-header {
  margin-bottom: 16px;
}

.ai-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.ai-pill.gold {
  color: var(--gold-bright);
  background: rgba(245, 183, 39, 0.12);
  border: 1px solid var(--border-gold);
}

.ai-pill.emerald {
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
}

.ai-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
}

.ai-feature-card p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 22px;
}

.ai-feature-card p strong,
.ai-feature-card .check-list strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Section 02: Services List
   ========================================================================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-row {
  display: grid;
  grid-template-columns: 64px 1.5fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
}

.service-row:hover {
  border-color: var(--border-gold);
  background: var(--surface-glass-hover);
}

.service-index {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: rgba(245, 183, 39, 0.08);
  border: 1px solid rgba(245, 183, 39, 0.22);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-main h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.service-main p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.service-deliverables {
  list-style: none;
  border-left: 1px solid var(--border-subtle);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-deliverables li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--emerald-bright);
  position: relative;
  padding-left: 16px;
}

.service-deliverables li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: 700;
}

/* ==========================================================================
   Section 03: Who We Serve
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}

.audience-card.featured-card {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(245, 183, 39, 0.07) 0%, rgba(14, 24, 31, 0.85) 100%);
}

.audience-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.audience-badge.gold {
  color: var(--gold-bright);
  background: rgba(245, 183, 39, 0.12);
  border-color: var(--border-gold);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.audience-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.check-list li {
  font-size: 0.9rem;
  color: var(--text-primary);
  padding-left: 24px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald-bright);
  font-weight: 700;
}

.card-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  color: var(--emerald-bright);
}

/* ==========================================================================
   Section 04: Partner / Subcontracting Callout Band
   ========================================================================== */
.partner-band-section {
  padding-top: 20px;
}

.partner-banner {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 40px;
  padding: 48px;
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(16, 32, 36, 0.92) 0%, rgba(12, 20, 27, 0.95) 100%);
  align-items: center;
}

.partner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.partner-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 14px;
}

.partner-content strong {
  color: var(--text-primary);
}

.partner-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 999px;
}

.guarantee-pill svg {
  color: var(--gold-primary);
}

.partner-cta-box {
  background: rgba(6, 11, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.partner-stat {
  margin-bottom: 16px;
}

.stat-big {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
}

.stat-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-bright);
}

.partner-cta-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

/* ==========================================================================
   Section 05: Delivery Methodology
   ========================================================================== */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.method-step {
  padding: 28px 24px;
  position: relative;
}

.method-step:hover {
  border-color: var(--border-emerald);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--emerald-bright);
  margin-bottom: 14px;
}

.method-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.method-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Section 06: About Remotancy & Principal Profile
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.about-lead {
  font-size: 1.18rem;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.65;
}

.about-narrative p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1rem;
}

.about-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cv-projects-box {
  margin-top: 24px;
  padding: 20px;
  background: rgba(6, 11, 14, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.cv-projects-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.cv-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.repo-card {
  display: block;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.repo-card:hover {
  border-color: var(--border-gold);
  background: rgba(245, 183, 39, 0.05);
  transform: translateY(-2px);
}

.repo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.repo-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-bright);
}

.repo-card p {
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
  color: var(--text-secondary);
  margin-bottom: 0 !important;
}

.meta-links-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

.about-profile-card {
  padding: 32px;
  border-color: rgba(245, 183, 39, 0.25);
}

.profile-logo-banner {
  display: flex;
  justify-content: center;
  padding: 20px;
  margin-bottom: 24px;
  background: radial-gradient(circle, rgba(16, 68, 42, 0.45) 0%, rgba(6, 12, 15, 0.85) 100%);
  border: 1px solid rgba(245, 183, 39, 0.2);
  border-radius: var(--radius-sm);
}

.profile-emblem {
  max-height: 170px;
  width: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}

.profile-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.spec-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

/* ==========================================================================
   Section 07: Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-meta-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.meta-item {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.link-gold {
  color: var(--gold-bright);
}

.link-gold:hover {
  color: var(--emerald-bright);
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
  padding: 36px;
}

.inquiry-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(6, 11, 14, 0.75);
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 26px;
}

.inquiry-tab {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.inquiry-tab.active {
  background: linear-gradient(135deg, rgba(245, 183, 39, 0.22) 0%, rgba(16, 185, 129, 0.18) 100%);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.req {
  color: var(--gold-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(6, 11, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(245, 183, 39, 0.15);
}

.form-group select option {
  background: #0c151c;
  color: var(--text-primary);
}

.form-feedback {
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  display: none;
  padding: 14px 16px;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-bright);
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #04080a;
  padding: 48px 0 36px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .partner-banner,
  .ai-split-grid {
    grid-template-columns: 1fr;
  }

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

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

  .service-row {
    grid-template-columns: 52px 1fr;
  }

  .service-deliverables {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 14px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .nav-actions .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .section {
    padding: 72px 0;
  }

  .hero-pillars,
  .stack-matrix,
  .expertise-grid,
  .audience-grid,
  .methodology-grid,
  .cv-projects-grid,
  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .partner-banner {
    padding: 30px 24px;
  }

  .contact-form-wrapper {
    padding: 24px 20px;
  }

  .spec-row {
    flex-direction: column;
    gap: 4px;
  }

  .spec-value {
    text-align: left;
  }
}
