/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  /* Professional navy + gold palette */
  --navy-900: #0c1a2e;
  --navy-800: #112742;
  --navy-700: #1a3556;
  --navy-600: #24425f;
  --gold: #c2a04c;
  --gold-dark: #a8862f;
  --gold-soft: rgba(194, 160, 76, 0.14);

  --bg: #ffffff;
  --bg-soft: #f7f6f1;      /* warm off-white */
  --bg-alt: #eef1f4;       /* cool light */
  --surface: #ffffff;
  --border: #e4e2da;
  --border-strong: #d3d0c6;

  --text: #16233a;
  --text-dim: #4c5a70;
  --text-faint: #7d8798;
  --text-on-navy: #eef2f8;
  --text-on-navy-dim: #a9b7cc;

  --radius: 14px;
  --radius-sm: 9px;
  --font: Cambria, "Cambria Math", Georgia, "Times New Roman", serif;
  --max-w: 1160px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.18; letter-spacing: -0.005em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 6px; font-weight: 700; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; font-family: var(--font);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(168,134,47,0.6); }
.btn-ghost { background: transparent; color: var(--text-on-navy); border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.3rem; color: var(--navy-900); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--navy-900); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--text-dim); font-size: 1.02rem; font-weight: 600; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--navy-900); }
.nav-cta {
  background: var(--navy-900); color: #fff !important; padding: 9px 20px; border-radius: 6px;
}
.nav-cta:hover { background: var(--navy-700); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 96px 0 80px; color: var(--text-on-navy);
  background: radial-gradient(1200px 600px at 80% -10%, #1c3a5e 0%, transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-800) 70%, var(--navy-700));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; color: var(--gold);
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 22px;
  background: var(--gold-soft); padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(194,160,76,0.3);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(194,160,76,0.25); }

.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.7rem); margin-bottom: 22px; color: #fff; }
.hero-sub { color: var(--text-on-navy-dim); font-size: 1.14rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 52px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; gap: 3px; }
.stat-num { font-size: 1.55rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 0.88rem; color: var(--text-on-navy-dim); max-width: 150px; }

.hero-visual { position: relative; height: 420px; }
.hero-panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(6px);
}
.panel-row { display: flex; justify-content: space-between; align-items: baseline; color: var(--text-on-navy-dim); font-size: 0.9rem; margin-bottom: 6px; }
.panel-row strong { color: #fff; font-size: 1.05rem; }
.panel-bar { height: 8px; background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden; margin: 4px 0 18px; }
.panel-bar span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }

.orbit-card {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 20px 40px -22px rgba(0,0,0,0.7); z-index: 2; backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.card-label { font-size: 0.78rem; color: var(--text-on-navy-dim); font-weight: 600; }
.card-status { font-size: 0.92rem; font-weight: 700; }
.card-status.ok { color: #7fd6a0; }
.card-status.pending { color: var(--gold); }
.card-1 { top: 4%; left: 2%; animation-delay: 0s; }
.card-2 { top: 40%; right: 0%; animation-delay: 1.5s; }
.card-3 { bottom: 4%; left: 8%; animation-delay: 3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--border); background: var(--bg-soft); padding: 22px 0; }
.trust-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--text-faint); font-size: 0.92rem; font-style: italic; }
.trust-tags { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-tags span { background: #fff; border: 1px solid var(--border); padding: 6px 15px; border-radius: 999px; color: var(--text-dim); font-weight: 600; font-style: normal; font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }
.section-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--text-on-navy); }
.section-eyebrow { color: var(--gold-dark); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.section-eyebrow.light { color: var(--gold); }
.section-title { font-size: clamp(1.8rem, 3.1vw, 2.5rem); margin-bottom: 14px; max-width: 740px; color: var(--navy-900); }
.section-title.light { color: #fff; }
.section-sub { color: var(--text-dim); max-width: 600px; margin-bottom: 52px; font-size: 1.1rem; }

/* ---------- Solutions / services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(12,26,46,0.35); }
.service-icon {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center; color: var(--gold-dark);
  background: var(--gold-soft); border-radius: 9px; letter-spacing: 0.02em;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--navy-900); }
.service-card p { color: var(--text-dim); font-size: 1rem; }

/* ---------- Products / work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { border-color: var(--navy-700); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(12,26,46,0.35); }
.work-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-700); background: var(--bg-alt); padding: 5px 12px; border-radius: 5px; margin-bottom: 16px; }
.work-card h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--navy-900); }
.work-card p { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 18px; }
.work-stack { display: flex; gap: 8px; flex-wrap: wrap; }
.work-stack li { font-size: 0.8rem; color: var(--text-faint); border: 1px solid var(--border-strong); padding: 4px 11px; border-radius: 5px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 60px; align-items: center; }
.about-frame {
  position: relative; aspect-ratio: 1; border-radius: 18px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.about-frame::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(194,160,76,0.25), transparent 60%);
}
.about-initial { font-size: 6rem; font-weight: 700; color: var(--gold); position: relative; z-index: 1; }
.about-copy p { color: var(--text-dim); margin-bottom: 18px; font-size: 1.06rem; }
.about-highlights { display: grid; gap: 22px; margin-top: 30px; }
.highlight { padding-left: 18px; border-left: 3px solid var(--gold); }
.highlight h4 { font-size: 1.08rem; margin-bottom: 6px; color: var(--navy-900); }
.highlight p { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 0; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-step { padding-top: 18px; border-top: 2px solid rgba(194,160,76,0.4); }
.process-num { font-size: 1.7rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 12px; }
.process-step h3 { font-size: 1.12rem; margin-bottom: 8px; color: #fff; }
.process-step p { color: var(--text-on-navy-dim); font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-details { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 13px; color: var(--text-dim); font-size: 1.05rem; transition: color 0.15s ease; }
a.contact-item:hover { color: var(--gold-dark); }
.contact-icon { width: 40px; height: 40px; border-radius: 9px; background: var(--bg-alt); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy-700); font-weight: 700; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 20px 50px -30px rgba(12,26,46,0.4); }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; color: var(--text-dim); font-weight: 700; }
.contact-form input, .contact-form textarea {
  background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 1rem; resize: vertical;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-note { font-size: 0.9rem; color: var(--gold-dark); min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-on-navy-dim); padding: 34px 0; }
.site-footer .brand { color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner p { color: var(--text-on-navy-dim); font-size: 0.92rem; }
.footer-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-contacts a { color: var(--text-on-navy-dim); font-size: 0.92rem; }
.footer-contacts a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; max-width: 300px; margin: 0 auto; }
  .services-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { height: 340px; margin-top: 24px; }
}
@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease; box-shadow: 0 12px 24px -12px rgba(0,0,0,0.2);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 24px; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-cta { border-radius: 0; }
  .nav-toggle { display: flex; }
  .services-grid, .work-grid, .process-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .section { padding: 68px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
