/* ============================================================
   GYVSOLVE — global stylesheet (dark / cyber-blue theme)
   ============================================================ */

:root {
  --bg: #0D1117;
  --panel: #16202C;
  --accent: #2E6FB7;
  --ice: #C9DAEE;
  --text: #E9EFF5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

p {
  color: var(--text);
}

/* ------------------------------------------------------------
   FIXED LEFT SIDEBAR NAVIGATION
   ------------------------------------------------------------ */

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background-color: var(--panel);
  border-right: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  padding: 34px 22px 26px;
  z-index: 120;
  overflow-y: auto;
}

.side-brand {
  display: block;
  color: var(--ice);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  text-decoration: none;
}

.side-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 14px;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.side-link .diamond {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  transform: rotate(45deg);
  flex: none;
}

.side-link:hover {
  color: var(--ice);
  background-color: var(--bg);
}

.side-link.active {
  color: var(--ice);
  border-left-color: var(--accent);
  background-color: var(--bg);
}

.side-contact {
  margin-top: auto;
  padding-top: 28px;
  color: var(--text);
  font-size: 14px;
  word-break: break-all;
}

/* ------------------------------------------------------------
   MOBILE HAMBURGER
   ------------------------------------------------------------ */

.nav-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 130;
  width: 46px;
  height: 46px;
  background-color: var(--accent);
  border: none;
  border-radius: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ------------------------------------------------------------
   MAIN CONTENT OFFSET
   ------------------------------------------------------------ */

.page-main {
  margin-left: 240px;
}

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text);
}

.btn-primary:hover {
  background-color: #265e9c;
}

.btn-outline {
  background-color: transparent;
  color: var(--ice);
  border: 2px solid var(--ice);
}

.btn-outline:hover {
  background-color: var(--panel);
}

.btn-cta {
  background-color: var(--accent);
  color: var(--text);
}

.btn-cta:hover {
  background-color: #265e9c;
}

/* ------------------------------------------------------------
   EYEBROWS AND HEADINGS
   ------------------------------------------------------------ */

.eyebrow {
  color: var(--ice);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-chip {
  display: inline-block;
  background-color: var(--accent);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 3px;
}

.section-title {
  font-size: 40px;
  line-height: 1.2;
  color: var(--text);
  margin-top: 12px;
  margin-bottom: 20px;
}

.section-lead {
  max-width: 900px;
  font-size: 17px;
  margin-bottom: 36px;
}

/* ------------------------------------------------------------
   GIANT BACKGROUND-WORD HERO
   ------------------------------------------------------------ */

.word-hero {
  position: relative;
  background-color: var(--bg);
  overflow: hidden;
  min-height: 620px;
  border-bottom: 2px solid var(--accent);
}

.word-hero-back {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -70px;
  text-align: center;
  color: var(--accent);
  font-size: 260px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.02em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  padding: 120px 48px 240px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 26px;
}

.hero-sub {
  max-width: 760px;
  font-size: 18px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ------------------------------------------------------------
   LEDGER TABLE SECTION
   ------------------------------------------------------------ */

.home-section {
  padding: 96px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.ledger-head {
  max-width: 980px;
  margin-bottom: 48px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  padding: 34px 0;
  border-top: 1px solid var(--accent);
}

.ledger-row:last-child {
  border-bottom: 1px solid var(--accent);
}

.ledger-cell-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.ledger-cell-title .diamond {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  transform: rotate(45deg);
  margin-top: 12px;
  flex: none;
}

.ledger-cell-text p {
  font-size: 16px;
}

.ledger-close {
  margin-top: 44px;
  max-width: 900px;
  font-size: 17px;
}

/* ------------------------------------------------------------
   METRIC BAND
   ------------------------------------------------------------ */

.metric-band {
  background-color: var(--accent);
  display: flex;
  flex-wrap: wrap;
}

.metric-item {
  flex: 1;
  min-width: 220px;
  text-align: center;
  padding: 60px 20px;
  border-right: 1px solid var(--bg);
}

.metric-item:last-child {
  border-right: none;
}

.metric-num {
  display: block;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  color: var(--ice);
}

.metric-label {
  display: block;
  margin-top: 14px;
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   CTA BAND
   ------------------------------------------------------------ */

.cta-band {
  background-color: var(--ice);
  text-align: center;
  padding: 96px 32px;
}

.cta-title {
  font-size: 44px;
  line-height: 1.2;
  color: var(--bg);
  margin-bottom: 18px;
}

.cta-sub {
  max-width: 780px;
  margin: 0 auto 38px;
  font-size: 17px;
  color: var(--bg);
}

/* ------------------------------------------------------------
   TWO-TONE BAND FOOTER
   ------------------------------------------------------------ */

.footer-band-top {
  background-color: var(--accent);
  text-align: center;
  padding: 48px 32px;
}

.footer-brand {
  color: var(--ice);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.footer-links {
  margin-top: 16px;
  font-size: 16px;
}

.footer-links a {
  color: var(--text);
  padding: 0 12px;
  text-decoration: none;
}

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

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

.footer-band-bottom {
  background-color: var(--panel);
  text-align: center;
  padding: 18px 24px;
  font-size: 14px;
  color: var(--text);
}

.footer-band-bottom a {
  color: var(--ice);
  text-decoration: none;
}

/* ------------------------------------------------------------
   SECONDARY PAGE HERO (services / contact)
   ------------------------------------------------------------ */

.page-hero {
  background-color: var(--bg);
  padding: 100px 48px 80px;
  border-bottom: 2px solid var(--accent);
}

.page-title {
  font-size: 46px;
  line-height: 1.18;
  color: var(--text);
  max-width: 1000px;
  margin-top: 24px;
  margin-bottom: 22px;
}

.page-lead {
  max-width: 820px;
  font-size: 18px;
}

/* ------------------------------------------------------------
   SERVICES LIST
   ------------------------------------------------------------ */

.services-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 48px;
}

.service-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid var(--accent);
}

.service-block:last-child {
  border-bottom: 1px solid var(--accent);
}

.service-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--ice);
  line-height: 1.2;
}

.service-body h2 {
  font-size: 28px;
  color: var(--text);
  margin-bottom: 14px;
}

.service-body p {
  font-size: 16px;
  max-width: 860px;
}

/* ------------------------------------------------------------
   PROCESS BAND
   ------------------------------------------------------------ */

.process-band {
  background-color: var(--panel);
  padding: 90px 48px;
}

.process-head {
  max-width: 1180px;
  margin: 0 auto 48px;
}

.process-steps {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  border-top: 3px solid var(--accent);
  padding-top: 22px;
}

.step-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--ice);
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 15px;
}

/* ------------------------------------------------------------
   CONTACT PAGE
   ------------------------------------------------------------ */

.contact-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info h2 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 18px;
}

.info-block {
  padding: 16px 0;
  border-bottom: 1px solid var(--accent);
  margin-bottom: 6px;
}

.info-label {
  display: block;
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-value {
  color: var(--text);
  font-size: 16px;
}

.contact-note {
  margin-top: 24px;
  font-size: 15px;
}

.contact-form-wrap {
  background-color: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 34px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  color: var(--ice);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--ice);
}

.form-status {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ice);
  min-height: 24px;
}

/* ------------------------------------------------------------
   FAQ ACCORDION
   ------------------------------------------------------------ */

.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 48px 110px;
}

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

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  padding: 22px 0;
  cursor: pointer;
}

.faq-q:hover {
  color: var(--ice);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 600px;
}

.faq-a p {
  padding-bottom: 22px;
  font-size: 16px;
}

/* ------------------------------------------------------------
   SCROLL REVEAL
   ------------------------------------------------------------ */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 900px) {
  .side-nav {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

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

  .nav-toggle {
    display: flex;
  }

  .page-main {
    margin-left: 0;
  }

  .hero-title {
    font-size: 38px;
  }

  .word-hero-back {
    font-size: 150px;
    bottom: -40px;
  }

  .hero-inner {
    padding: 100px 24px 190px;
  }

  .home-section,
  .services-list,
  .contact-grid,
  .faq-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-title {
    font-size: 34px;
  }

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .metric-item {
    min-width: 50%;
    border-bottom: 1px solid var(--bg);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 72px 24px;
  }

  .cta-title {
    font-size: 34px;
  }
}
