/* ============================================================
   HOMEPAGE — Editorial layout
   Split hero, bento services, timeline process
   Loaded only on index.html; other pages use main.css alone
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --v1-teal: #2A9B8C;
  --v1-navy: #102033;
  --v1-ink: #15202B;
  --v1-muted: #5B6B78;
  --v1-line: rgba(16, 32, 51, 0.1);
  --v1-paper: #FBFCFD;
  --v1-mist: #F3F6F8;
  --v1-tint: #ECF6F4;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--v1-paper);
  color: var(--v1-ink);
}

.navbar {
  background: rgba(11, 28, 46, 0.97) !important;
  border-bottom: 1px solid rgba(42, 155, 140, 0.2) !important;
}
.navbar.scrolled {
  background: rgba(11, 28, 46, 1) !important;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.22) !important;
  border-bottom-color: rgba(42, 155, 140, 0.3) !important;
}
.nav-link { color: rgba(214, 228, 238, 0.85); font-weight: 500; }
.nav-link:hover { color: #fff; background: rgba(42, 155, 140, 0.14); }
.nav-link.active { color: var(--v1-teal); }
.btn-nav-cta { background: var(--v1-teal) !important; color: var(--v1-navy) !important; border-radius: 999px; font-weight: 700; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.v1-hero {
  padding: 128px 0 72px;
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(42,155,140,0.12), transparent 60%),
    var(--v1-paper);
}
.v1-hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.v1-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v1-teal);
  margin-bottom: 20px;
}
.v1-hero h1 {
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 24px;
}
.v1-hero h1 span { color: var(--v1-teal); }
.v1-lead {
  font-size: 1.15rem;
  color: var(--v1-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.v1-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.v1-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}
.v1-btn-solid { background: var(--v1-teal); color: #fff; }
.v1-btn-solid:hover { background: #1E7A6E; }
.v1-btn-ghost { border: 1.5px solid var(--v1-teal); color: var(--v1-teal); background: #fff; }

.v1-ops {
  background: #fff;
  border: 1px solid var(--v1-line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(16,32,51,0.06);
}
.v1-ops p {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v1-muted);
  margin-bottom: 18px;
}
.v1-flow { display: grid; gap: 10px; }
.v1-flow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--v1-mist);
  font-weight: 700;
}
.v1-flow-row i { color: var(--v1-teal); width: 20px; }
.v1-flow-row.hi {
  background: var(--v1-tint);
  border: 1px solid rgba(42,155,140,0.25);
}

.v1-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 32px 64px;
  gap: 16px;
}
.v1-metric {
  padding: 8px 0 0;
  border-top: 2px solid var(--v1-teal);
}
.v1-metric strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.v1-metric span { font-size: 0.78rem; color: var(--v1-muted); }

.v1-section { padding: 88px 0; }
.v1-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.v1-head { max-width: 640px; margin-bottom: 48px; }
.v1-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 10px 0 16px;
}
.v1-head p { color: var(--v1-muted); font-size: 1.05rem; }

.v1-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.v1-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--v1-line);
  border-radius: 22px;
  padding: 28px 28px 32px;
  min-height: 200px;
  text-decoration: none;
  color: var(--v1-ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.v1-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42,155,140,0.45);
  box-shadow: 0 16px 40px rgba(16,32,51,0.09);
}
.v1-card.mid { grid-column: span 2; }
.v1-card.wide { grid-column: span 2; }
.v1-card h3 { font-size: 1.3rem; font-weight: 800; margin: 14px 0 10px; color: var(--v1-ink); }
.v1-card ul { display: grid; gap: 6px; font-size: 0.9rem; color: var(--v1-muted); list-style: none; padding: 0; margin: 0; }
.v1-card .v1-link-hint {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--v1-teal);
  letter-spacing: 0.01em;
}
.v1-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--v1-tint);
  color: var(--v1-teal);
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.v1-models {
  background: var(--v1-tint);
}
.v1-model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.v1-model {
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid transparent;
}
.v1-model.featured { border-color: var(--v1-teal); box-shadow: 0 12px 32px rgba(42,155,140,0.12); }
.v1-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v1-teal);
  margin-bottom: 12px;
  display: block;
}
.v1-model h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
.v1-model p { color: var(--v1-muted); }

.v1-why { background: #fff; }
.v1-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.v1-why-grid em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: var(--v1-teal);
}
.v1-why-grid h3 { margin: 8px 0 8px; font-size: 1.2rem; }
.v1-why-grid p { color: var(--v1-muted); font-size: 0.95rem; }

.v1-process { background: var(--v1-mist); }
.v1-steps { display: grid; gap: 0; }
.v1-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--v1-line);
}
.v1-step:last-child { border-bottom: 1px solid var(--v1-line); }
.v1-step strong { font-size: 1.5rem; color: var(--v1-teal); }
.v1-step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.v1-step p { color: var(--v1-muted); }

.v1-proof-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.v1-big-stat {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--v1-navy);
}
.v1-big-stat span { color: var(--v1-teal); }

.v1-clients { display: flex; flex-wrap: wrap; gap: 8px; }
.v1-clients span {
  border: 1px solid var(--v1-line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.v1-cta {
  background: var(--v1-navy);
  color: #fff;
  padding: 96px 0;
  text-align: left;
}
.v1-cta h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; margin: 12px 0 16px; color: #fff; }
.v1-cta p { color: rgba(255,255,255,0.68); max-width: 560px; margin-bottom: 28px; }
.v1-cta .v1-btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); background: transparent; }

.v1-testimonials { background: #fff; }
.v1-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.v1-quote {
  margin: 0;
  background: var(--v1-mist);
  border: 1px solid var(--v1-line);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.v1-quote p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--v1-ink);
  margin: 0;
}
.v1-quote footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--v1-line);
}
.v1-quote strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--v1-navy);
}
.v1-quote footer span {
  font-size: 0.85rem;
  color: var(--v1-muted);
  line-height: 1.45;
}
.v1-quote-meta {
  color: var(--v1-teal) !important;
  font-weight: 700;
  font-size: 0.75rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer { background: #0B1C2E; }

@media (max-width: 980px) {
  .v1-hero-grid, .v1-bento, .v1-model-grid, .v1-why-grid, .v1-metrics, .v1-proof-row, .v1-quote-grid {
    grid-template-columns: 1fr;
  }
  .v1-card.wide, .v1-card.mid { grid-column: span 1; }
  .v1-ops { display: none; }
}

@media (max-width: 768px) {
  .v1-wrap { padding: 0 20px; }
  .v1-section { padding: 60px 0; }
  .v1-hero  { padding: 100px 0 48px; }
  .v1-head  { margin-bottom: 32px; }
  .v1-metrics { padding: 8px 20px 48px; }

  .v1-step {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 20px 0;
  }
  .v1-step strong { font-size: 1.2rem; }

  .v1-cta { padding: 64px 0; }

  .v1-big-stat { font-size: clamp(3rem, 12vw, 5rem); }

  .v1-bento { gap: 12px; }
  .v1-card  { padding: 20px 20px 24px; min-height: 170px; }
}

@media (max-width: 480px) {
  .v1-wrap { padding: 0 16px; }
  .v1-section { padding: 48px 0; }
  .v1-hero  { padding: 88px 0 40px; }

  .v1-step { grid-template-columns: 44px 1fr; gap: 12px; }
  .v1-step strong { font-size: 1.05rem; }

  .v1-why-grid { gap: 28px 0; }
  .v1-cta { padding: 48px 0; }

  .v1-actions { flex-direction: column; align-items: stretch; }
  .v1-btn { justify-content: center; }

  .v1-metric strong { font-size: 1.6rem; }
}
