/* =========================================================
   VIRTUAL technologies — Temporary site stylesheet
   Single shared CSS for all pages. Edit tokens in :root below.
   ========================================================= */

:root {
  /* Brand — from official logo palette */
  --brand: #00858A;
  --brand-600: #006B70;
  --brand-500: #199196;
  --brand-400: #26979C;
  --brand-300: #40A3A7;
  --brand-100: #E1F1F2;
  --accent: #8C944D;  /* olive from "technologies" wordmark */

  /* Neutrals */
  --ink: #0F2A2E;
  --body: #4A5A60;
  --muted: #7A8A90;
  --line: #E5EBEC;
  --surface: #F6F9F9;
  --bg: #FFFFFF;

  /* Shape */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 10px rgba(15, 42, 46, 0.06);
  --shadow-lg: 0 8px 30px rgba(15, 42, 46, 0.08);

  /* Layout */
  --maxw: 1140px;
  --gap: 24px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* =========================================================
   TOPBAR (contact strip above header) — brand-teal style
   ========================================================= */
.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem;
  padding: 9px 0;
  letter-spacing: 0.01em;
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
}
.topbar-contact {
  display: flex;
  gap: 26px;
  align-items: center;
}
.topbar-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s ease;
}
.topbar-contact a:hover { opacity: 0.8; color: #fff; }
.topbar-contact .icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
}
.topbar-contact .sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}
.topbar-hours {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  font-size: 0.83rem;
}
@media (max-width: 700px) {
  .topbar { font-size: 0.82rem; padding: 8px 0; }
  .topbar-inner { justify-content: center; gap: 14px; }
  .topbar-contact { gap: 14px; }
  .topbar-contact .sep { display: none; }
  .topbar-hours { display: none; }
  .topbar-contact a.email { display: none; }
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 500px) {
  .brand-logo { height: 34px; }
}

.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.nav a:hover { color: var(--brand); }
.nav a.active { color: var(--brand); }
.nav .btn { margin-left: 8px; }

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav.open { max-height: 600px; }
  .nav a {
    padding: 14px 24px;
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .nav .btn { margin: 12px 24px; width: calc(100% - 48px); justify-content: center; }
  .menu-toggle { display: block; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost {
  background: transparent;
  color: var(--brand);
  padding: 8px 0;
}
.btn-ghost:hover { color: var(--brand-600); }
.btn-arrow::after { content: "→"; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 80px 0 70px;
  background: linear-gradient(180deg, var(--brand-100) 0%, #fff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--body);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.stat {
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.stat .num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.stat .label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 860px) {
  .hero { padding: 50px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--brand-100) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--body); max-width: 700px; font-size: 1.05rem; }
.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 70px 0; }
section.tight { padding: 50px 0; }
section.alt { background: var(--surface); }

.section-head {
  text-align: center;
  margin-bottom: 50px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--body); font-size: 1.05rem; }

/* =========================================================
   CARDS / GRIDS
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s ease;
}
.card:hover {
  border-color: var(--brand-500);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-100);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--body); }
.card .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
}
.card .more::after { content: " →"; }

/* Feature row */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.feature { padding: 0; }
.feature .icon-wrap {
  width: 40px; height: 40px;
  background: var(--brand-100);
  color: var(--brand);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-weight: 700;
}
.feature h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature p { font-size: 0.95rem; }

@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* =========================================================
   TRUST STRIP / LOGOS
   ========================================================= */
.trust {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 50px;
}
.logo-chip {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 8px 0;
  opacity: 0.85;
}

/* =========================================================
   SPLIT (text + list)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split h2 { margin-bottom: 16px; }
.split .list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.list ul { list-style: none; }
.list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  color: var(--ink);
}
.list li:last-child { border-bottom: none; }
.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* =========================================================
   CTA BLOCK
   ========================================================= */
.cta-block {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 50px;
  text-align: center;
}
.cta-block h2 { color: #fff; margin-bottom: 14px; }
.cta-block p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.cta-block .btn-primary {
  background: #fff;
  color: var(--brand);
}
.cta-block .btn-primary:hover { background: var(--surface); }
.cta-block .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.cta-block .btn-outline:hover { border-color: #fff; color: #fff; }
.cta-block .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .cta-block { padding: 32px 24px; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}
.contact-info .info-block {
  margin-bottom: 28px;
}
.contact-info h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-info p { font-size: 1.05rem; color: var(--ink); }
.contact-info a { color: var(--ink); font-weight: 500; }
.contact-info a:hover { color: var(--brand); }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field textarea { min-height: 130px; resize: vertical; }

/* Disabled form state (temporary — until backend is wired) */
.form-disabled .field input,
.form-disabled .field textarea,
.form-disabled .field select,
.field input:disabled,
.field textarea:disabled,
.field select:disabled {
  background: #EEF2F2;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}
.form-disabled .field label { color: var(--muted); }
.form-disabled .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.notice {
  background: #FFF7E6;
  border: 1px solid #F5D67A;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #6B4A00;
  margin-bottom: 18px;
  line-height: 1.5;
}
.notice a { color: #6B4A00; text-decoration: underline; font-weight: 600; }
.notice a:hover { color: #4A3300; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0F2A2E;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-logo { height: 42px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.tagline {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--brand-500);
  margin-top: 6px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* Industry tag pill */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-600);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 4px 6px 0;
}
