/* ========================================
   NEXUS VENTURES — Global Stylesheet
   ======================================== */

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

/* Tokens */
:root {
  --bg: #0E0E0E;
  --text: #F0EDE8;
  --text-muted: rgba(240, 237, 232, 0.5);
  --text-inverse: #0E0E0E;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --card-bg: #141414;
  --card-bg-hover: #1A1A1A;
  --accent: #C4915C;
  --accent-hover: #D4A06A;
  --brand: #DAC5A7;
  --primary: #C4915C;
  --primary-hover: #D4A06A;
  --radius: 12px;
  --section-gap: 160px;
  --body-pad: 48px;
  --max-w: 1400px;
  --font-body: 'Satoshi', sans-serif;
  --font-heading: 'Gambetta', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.3s;
}

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

/* ========================================
   TYPOGRAPHY
   ======================================== */

.label {
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.35);
  margin-bottom: 14px;
}

.heading-lg {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.heading-md {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
}

.heading-sm {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
}

.subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--body-pad);
}

.section {
  padding: var(--section-gap) 0;
}

.section + .section {
  padding-top: 0;
}

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

/* ========================================
   NAV
   ======================================== */

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 8px;
  height: 48px;
  background: rgba(14, 14, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-radius: 2px;
  white-space: nowrap;
}

.nav-logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0 16px 0 12px;
  margin-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 0;
  align-items: center;
  height: 100%;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(240, 237, 232, 0.45);
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 150ms ease;
}

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

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 0 16px;
  height: 32px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 150ms ease;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

.nav-cta:hover {
  background: #fff;
  opacity: 1;
}

.mobile-cta {
  display: none;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  font-family: var(--font-body);
  padding: 11px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-outline {
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 237, 232, 0.8);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 1;
}

.btn-filled {
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow:
    0 0 0 1px rgba(196, 145, 92, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-filled:hover {
  background: var(--accent-hover);
  box-shadow:
    0 0 0 1px rgba(196, 145, 92, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  text-align: center;
  padding: 200px var(--body-pad) 120px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero .label {
  margin-bottom: 24px;
}

.hero .heading-lg {
  margin-bottom: 24px;
}

.hero .subtitle {
  margin: 0 auto 48px;
}

.scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  cursor: pointer;
}

.scroll-btn:hover {
  color: var(--text);
  opacity: 1;
}

.scroll-btn .arrow {
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ========================================
   SERVICE CARDS (Home)
   ======================================== */

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.15s, background 0.3s;
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--card-bg-hover);
}

.service-card .number {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 400;
  opacity: 0.5;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.02em;
  text-transform: none;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  flex-grow: 1;
}

.service-card .btn {
  align-self: flex-start;
  padding: 12px 24px;
}

/* ========================================
   PROCESS (Zigzag)
   ======================================== */

.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.process-step:last-child {
  border-bottom: 1px solid var(--border);
}

.process-step:nth-child(even) .process-content {
  order: 2;
}

.process-step:nth-child(even) .process-info {
  order: 1;
}

.process-number {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 72px;
  color: rgba(240, 237, 232, 0.08);
  line-height: 1;
  margin-bottom: 16px;
}

.process-content h3 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 6px;
}

.process-content .timeline {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(240, 237, 232, 0.3);
  margin-bottom: 16px;
}

.process-info p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.process-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-info ul li {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.process-info ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ========================================
   ABOUT SECTION (Home)
   ======================================== */

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-left .location {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-left h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.about-right .tagline {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text);
}

.about-right p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  text-align: center;
  padding: var(--section-gap) var(--body-pad);
  border-top: 1px solid var(--border);
}

.cta-section .label {
  margin-bottom: 16px;
}

.cta-section .heading-md {
  margin-bottom: 24px;
}

.cta-section .subtitle {
  margin: 0 auto 48px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px var(--body-pad);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-align: center;
  margin-top: 48px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   STATS BAR
   ======================================== */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 32px;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ========================================
   SERVICES PAGE — Detail Sections
   ======================================== */

.service-detail {
  padding-bottom: var(--section-gap);
}

.service-detail-header {
  margin-bottom: 48px;
}

.service-detail-header .label {
  margin-bottom: 12px;
}

.service-sub-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sub-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  transition: border-color 0.15s;
}

.sub-card:hover {
  border-color: var(--border-hover);
}

.sub-card h4 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 10px;
}

.sub-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ========================================
   CAPABILITY GRID (About)
   ======================================== */

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

.cap-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  transition: border-color 0.15s;
}

.cap-card:hover {
  border-color: var(--border-hover);
}

.cap-card h4 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 10px;
}

.cap-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ========================================
   PRICING CARDS
   ======================================== */

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.pricing-card.featured {
  border: 1px solid var(--border);
}

.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.pricing-card .card-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.pricing-card .card-price {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
}

.pricing-card .card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pricing-features li {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-features li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-align: left;
  padding: 24px 40px 24px 0;
  cursor: pointer;
  position: relative;
  transition: opacity 0.3s;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ========================================
   CONTACT
   ======================================== */

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-block h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.contact-block a {
  color: var(--text);
  border-bottom: 1px solid var(--border-hover);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}

.contact-block a:hover {
  border-color: var(--text);
  opacity: 1;
}

/* ========================================
   DIVIDER LINE
   ======================================== */

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  :root {
    --body-pad: 32px;
    --section-gap: 120px;
  }

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

  .process-step {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --body-pad: 24px;
    --section-gap: 80px;
  }

  /* Nav mobile */
  .nav {
    width: calc(100% - 32px);
    justify-content: space-between;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    height: auto;
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 14px;
    gap: 2px;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    height: auto;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    text-align: left;
    border-radius: 10px;
    transition: background 150ms ease;
  }

  .nav-links a:active {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    display: none;
  }

  .nav-links .mobile-cta {
    display: block;
    margin-top: 10px;
    padding: 14px 20px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    border: none;
    box-shadow: none;
  }

  .nav-links .mobile-cta:active {
    transform: scale(0.97);
    filter: brightness(0.9);
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 160px var(--body-pad) 80px;
  }

  /* Stacks */
  .service-cards,
  .service-sub-cards,
  .cap-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-step:nth-child(even) .process-content,
  .process-step:nth-child(even) .process-info {
    order: unset;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .stat:nth-child(2) {
    border-right: none;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
