/* ============================================================
   Zynergia Infratech Solutions — Shared stylesheet
   ============================================================ */

:root {
  --navy-950: #0b1526;
  --navy-900: #12203d;
  --navy-800: #1a2c4f;
  --slate-600: #3d4a5c;
  --slate-400: #6b7889;
  --fog-100: #eef1f4;
  --fog-50: #f7f8fa;
  --white: #ffffff;
  --copper-500: #b0703a;
  --copper-400: #c68a55;
  --amber-500: #e2a33d;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(18, 32, 61, 0.12);

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --max-w: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--fog-50);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

a { color: inherit; }

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

/* ---------- Blueprint corner ticks (technical-drawing motif) ---------- */
.tick-frame {
  position: fixed;
  inset: 18px;
  pointer-events: none;
  z-index: 5;
}
.tick-frame span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(255, 255, 255, 0.55);
}
body.on-light .tick-frame span { border-color: rgba(18, 32, 61, 0.28); }
.tick-frame span.tl { top: 0; left: 0; border-top: 1.5px solid; border-left: 1.5px solid; }
.tick-frame span.tr { top: 0; right: 0; border-top: 1.5px solid; border-right: 1.5px solid; }
.tick-frame span.bl { bottom: 0; left: 0; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.tick-frame span.br { bottom: 0; right: 0; border-bottom: 1.5px solid; border-right: 1.5px solid; }

/* ============================================================
   HERO / COMING SOON
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  overflow: hidden;
}

.carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease, transform 8s linear;
}
.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.carousel-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 21, 38, 0.88) 0%, rgba(11, 21, 38, 0.72) 32%, rgba(11, 21, 38, 0.82) 78%, rgba(11, 21, 38, 0.94) 100%),
    linear-gradient(100deg, rgba(11, 21, 38, 0.55) 0%, rgba(11, 21, 38, 0.15) 55%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 0;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 46px;
  width: auto;
  border-radius: 4px;
  background: var(--white);
  padding: 3px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.brand-name strong { display: block; font-size: 17px; }
.brand-name span { color: rgba(255,255,255,0.68); font-size: 12.5px; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.04);
}
.status-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(226, 163, 61, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 64px 0 48px;
}
.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--copper-400);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.eyebrow-line::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: var(--copper-400);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  max-width: 15ch;
}

.hero-lede {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
  margin: 0 0 34px;
}

.discipline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.discipline-tag {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.03);
}

.founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 46ch;
}
.founder-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  margin: 0 0 3px;
}
.founder-role {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-strip a:hover {
  color: var(--amber-500);
  border-color: var(--amber-500);
}
.contact-strip svg { flex-shrink: 0; opacity: 0.85; }

/* ---------- Contact card ---------- */
.contact-card {
  background: rgba(11, 21, 38, 0.62);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 28px 28px;
}
.contact-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  margin: 0 0 6px;
}
.contact-card .sub {
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
  margin: 0 0 22px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.68);
  margin-bottom: 7px;
  font-family: var(--font-mono);
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper-400);
  background: rgba(255,255,255,0.1);
}
.field textarea { resize: vertical; min-height: 90px; }

.field-hint {
  font-size: 11.5px;
  color: rgba(255,255,255,0.42);
  margin-top: 6px;
}
.field-error {
  font-size: 12px;
  color: #f2a3a3;
  margin-top: 6px;
  display: none;
}
.field.has-error input,
.field.has-error textarea { border-color: #d9736f; }
.field.has-error .field-error { display: block; }

/* honeypot - hidden from real users, visible to bots that fill every field */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 13px;
  margin-bottom: 18px;
}
.captcha-row .captcha-label {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
}
.captcha-row input {
  width: 64px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: center;
}
.captcha-refresh {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}
.captcha-refresh:hover { color: var(--amber-500); }

.submit-btn {
  width: 100%;
  background: var(--copper-500);
  color: var(--white);
  border: none;
  border-radius: 7px;
  padding: 13px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.submit-btn:hover { background: var(--copper-400); }
.submit-btn:active { transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  padding: 11px 13px;
  border-radius: 7px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok {
  background: rgba(88, 176, 122, 0.14);
  border: 1px solid rgba(88, 176, 122, 0.4);
  color: #bfe8cd;
}
.form-status.err {
  background: rgba(217, 115, 111, 0.14);
  border: 1px solid rgba(217, 115, 111, 0.4);
  color: #f2c2c0;
}

.privacy-note {
  font-size: 11.5px;
  color: rgba(255,255,255,0.42);
  margin-top: 14px;
  line-height: 1.5;
}
.privacy-note a { color: rgba(255,255,255,0.65); text-decoration: underline; }

/* ---------- Carousel dots ---------- */
.carousel-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}
.carousel-dots button.is-active { background: var(--amber-500); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.68);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--amber-500); }

/* ============================================================
   LEGAL PAGES (Privacy / Terms)
   ============================================================ */
.legal-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 34px 0 30px;
}
.legal-header .brand img {
  height: 40px;
  border-radius: 4px;
  background: var(--white);
  padding: 3px;
}
.legal-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 20px;
}
.legal-header .back-link:hover { color: var(--amber-500); }
.legal-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 18px 0 6px;
}
.legal-header .updated {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 52px 28px 90px;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin: 42px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 8px; }
.legal-body p, .legal-body li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-600);
}
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--copper-500); }
.legal-body strong { color: var(--navy-900); }
.legal-toc {
  background: var(--fog-100);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 28px 0 8px;
}
.legal-toc p { margin: 0 0 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--slate-400); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; }
.legal-toc a { text-decoration: none; font-size: 14px; }
.legal-toc a:hover { text-decoration: underline; }

.legal-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.55);
  font-size: 12.5px;
  padding: 22px 0;
}
.legal-footer .footer-inner { color: inherit; }
.legal-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.legal-footer a:hover { color: var(--amber-500); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .founders { max-width: 100%; }
  .legal-toc ol { columns: 1; }
}

@media (max-width: 620px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 22px; }
  .hero-main { padding: 36px 0 32px; }
  .hero-grid { padding: 0 20px; }
  .field-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .tick-frame { display: none; }
  .discipline-row { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: opacity 1s ease; transform: none !important; }
  .status-chip .dot { animation: none; }
}
