/* Vertex Digital Ventures - static clone (sprint-01) */
:root {
  --navy: #02235B;
  --navy-deep: #011835;
  --red: #c20000;
  --mint: #02e49b;
  --ink: #1e1e1e;
  --muted: #5b6470;
  --line: #e6e8ec;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.5px;
  color: var(--navy);
}
.brand a { color: inherit; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: #c20000;
  color: #ffffff;
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-deep);
  color: #ffffff;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero .lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media img {
  border-radius: 10px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-media .mint-bar {
  height: 6px;
  width: 90px;
  background: var(--mint);
  border-radius: 3px;
  margin-bottom: 18px;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-light { background: #ffffff; }
.section-tint { background: #f6f8fb; }
.section-dark {
  background: var(--navy);
  color: #ffffff;
}
.section-dark .muted { color: rgba(255,255,255,0.82); }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); line-height: 1.15; margin: 0 0 16px; font-weight: 800; }
h3 { font-size: 1.2rem; margin: 0 0 10px; font-weight: 700; }
.muted { color: var(--muted); }

/* Services grid */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(2,35,91,0.10); }
.card .ico {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .ico span { color: var(--mint); font-weight: 800; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Split media rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: 10px; width: 100%; object-fit: cover; max-height: 460px; }
.split p { color: inherit; }
.section-light .split p { color: var(--muted); }
.split .stack p { margin: 0 0 16px; }

/* Value proposition pills */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.value-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 18px 20px;
}
.value-item .dot {
  flex: 0 0 auto;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--mint);
  margin-top: 7px;
}
.value-item strong { font-weight: 700; }

/* Closing CTA */
.closing {
  background: var(--navy-deep);
  color: #ffffff;
  text-align: center;
}
.closing .container { padding: 90px 24px; }
.closing h2 { margin-bottom: 22px; }
.closing .mint-line {
  width: 80px; height: 5px; background: var(--mint);
  border-radius: 3px; margin: 0 auto 26px;
}
.closing .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer h2.brand { color: #fff; font-size: 1.4rem; margin-bottom: 14px; }
.footer-about { font-size: 0.92rem; color: rgba(255,255,255,0.7); max-width: 320px; }
.footer-col h3 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--mint);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 0.93rem;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Placeholder pages ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 14px; }
.page-hero .mint-bar { width: 80px; height: 5px; background: var(--mint); border-radius: 3px; margin-bottom: 20px; }
.page-body { padding: 70px 0; }
.page-body p { max-width: 720px; color: var(--muted); }

/* ---------- Legal policy content ---------- */
.legal-content { max-width: 760px; }
.legal-content h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 34px 0 10px;
}
.legal-content p { max-width: 760px; color: var(--muted); margin: 0 0 14px; }
.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
  max-width: 760px;
  color: var(--muted);
}
.legal-content li { margin: 0 0 8px; }

/* ---------- Contact form (sprint-03) ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 720px;
}
.contact-form { width: 100%; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 7px;
}
.field .req { color: var(--red); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(2,35,91,0.12);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
}
.field-error {
  display: none;
  color: var(--red);
  font-size: 0.84rem;
  margin-top: 6px;
}
.field-error.show { display: block; }
/* visually-hidden honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-submit {
  border: none;
  font-family: inherit;
}
.form-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-status {
  margin-top: 4px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.form-status[hidden] { display: none; }
.form-status.is-success {
  background: rgba(2,228,155,0.12);
  border: 1px solid var(--mint);
  color: var(--navy-deep);
}
.form-status.is-error,
.form-status.is-notice {
  background: rgba(194,0,0,0.07);
  border: 1px solid rgba(194,0,0,0.35);
  color: #7a0000;
}
.form-status h3 { margin: 0 0 6px; color: inherit; }
.form-status p { margin: 0; color: inherit; max-width: none; }

/* 404 */
.notfound { text-align: center; padding: 120px 24px; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); color: var(--navy); margin: 0; }
.notfound h2 { color: var(--red); }
.notfound .mint-bar { width: 80px; height: 5px; background: var(--mint); margin: 18px auto 24px; border-radius: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero-media { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav ul { gap: 18px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .brand { font-size: 1.3rem; }
  .main-nav a { font-size: 0.9rem; }
  .section { padding: 56px 0; }
}
