/* =========================================================
   VaxiOmics one-pager — stylesheet
   Brand colors extracted from official logo / deck / flyer:
   #67B4B7 (primary teal), #00A99D (deep teal accent),
   #A4CDCF (light mint), #779396 (slate teal)
   Font: Avenir (licensed Apple/Linotype font) with system fallbacks.
   ========================================================= */

:root {
  --teal-300: #A4CDCF;
  --teal-400: #8AC2C4;
  --teal-500: #67B4B7;
  --teal-600: #3D9598;
  --teal-700: #2A7274;
  --teal-800: #1B4E50;
  --deep-teal: #00A99D;
  --slate: #5C7477;
  --slate-dark: #3A4B4D;

  --ink: #16211F;
  --ink-soft: #46595A;
  --paper: #FFFFFF;
  --paper-alt: #F3F8F8;
  --paper-line: #DCEAEA;

  --dark-bg: #0D2B2C;
  --dark-bg-alt: #123738;
  --dark-line: rgba(255, 255, 255, 0.12);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 40, 40, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 40, 40, 0.12);
  --container: 1180px;

  --font-body: "Avenir Next", Avenir, "Nunito Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Avenir Next", Avenir, "Nunito Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0 0 0.5em; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--teal-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  border-color: var(--teal-600);
  color: var(--teal-700);
}
.btn-ghost:hover { background: var(--teal-300); border-color: var(--teal-300); }
.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(15, 40, 40, 0.08);
  border-bottom-color: var(--paper-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo { height: 34px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav ul { display: flex; gap: 28px; }
.primary-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.primary-nav a:not(.btn):hover { color: var(--ink); }
.primary-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #EFF7F7 0%, #FFFFFF 65%);
  padding: 72px 0 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 64px;
  position: relative;
  z-index: 2;
}
.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal-700);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-powered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
}
.hero-powered-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.hero-powered-logos {
  display: flex;
  align-items: center;
  gap: 22px;
}
.partner-logo {
  height: 22px;
  width: auto;
  opacity: 0.88;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none; }
.hero-hex {
  position: absolute;
  top: -60px;
  right: -120px;
  width: 520px;
  height: 520px;
  stroke: var(--teal-300);
  stroke-width: 1.4;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-visual { position: relative; z-index: 1; height: 340px; }
.hex-cluster { position: relative; width: 100%; height: 100%; }
.hex {
  position: absolute;
  width: 150px;
  height: 173px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-1 { background: var(--teal-300); top: 0; left: 90px; opacity: 0.9; }
.hex-2 { background: var(--teal-500); top: 78px; left: 10px; opacity: 0.95; }
.hex-3 { background: var(--deep-teal); top: 78px; left: 170px; opacity: 0.85; }
.hex-4 { background: var(--teal-300); top: 156px; left: 90px; opacity: 0.7; }
.hex-5 { background: var(--teal-600); top: 156px; left: 250px; opacity: 0.55; }
.hex-6 { background: var(--slate); top: 8px; left: 250px; opacity: 0.35; }

.triangle-strip {
  height: 16px;
  width: 100%;
  background:
    linear-gradient(135deg, var(--teal-500) 25%, transparent 25%) -8px 0 / 16px 16px,
    linear-gradient(225deg, var(--teal-500) 25%, transparent 25%) -8px 0 / 16px 16px,
    linear-gradient(135deg, var(--teal-300) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(225deg, var(--teal-300) 25%, transparent 25%) 0 0 / 16px 16px;
  background-color: var(--teal-700);
}

/* ---------- Sections (generic) ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--dark-bg); color: #EAF4F4; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }
.section-head-light .section-sub { color: #B9D6D6; }
.section-head-light .section-eyebrow { color: var(--teal-300); }
.section-dark h2 { color: #fff; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 64px;
}
.about-copy h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.about-copy p { color: var(--ink-soft); font-size: 1.02rem; }
.about-copy strong { color: var(--ink); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--paper-alt);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--teal-700); }
.stat-label { font-size: 0.88rem; color: var(--ink-soft); }

.trusted-strip { background: var(--teal-300); padding: 28px 0; }
.trusted-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; text-align: center; }
.trusted-inner p { margin: 0; font-weight: 700; color: var(--teal-800); font-size: 0.92rem; }
.trusted-list { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.trusted-list li { font-weight: 800; letter-spacing: 0.03em; color: var(--ink); font-size: 0.98rem; }

/* ---------- Technology ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.tech-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.tech-badge {
  display: inline-block;
  background: var(--teal-800);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tech-badge-alt { background: var(--deep-teal); }
.tech-card h3 { font-size: 1.4rem; margin-bottom: 4px; line-height: 1; }
.tech-logo { height: 32px; width: auto; display: block; }
.tech-tagline { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 20px; }
.tech-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.tech-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-500);
}
.tech-note {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.98rem;
  padding-top: 12px;
  border-top: 1px solid var(--paper-line);
}
.tech-note em { color: var(--teal-700); font-style: normal; font-weight: 700; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-300); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--teal-700);
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.service-card-highlight { border-color: var(--teal-500); background: linear-gradient(180deg, #F1FAFA, #fff); }
.service-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--deep-teal);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
}

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.why-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-bg);
  background: var(--teal-300);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.why-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.why-card p { color: #C7DEDE; font-size: 0.94rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-intro h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.contact-card {
  background: var(--paper-alt);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 28px;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.contact-card p { margin: 0 0 6px; color: var(--ink-soft); font-size: 0.96rem; }
.contact-card a { color: var(--teal-700); font-weight: 700; }

.contact-person { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--paper-line); }
.contact-person-name { font-weight: 800; margin-bottom: 2px; color: var(--ink); }
.contact-person-role { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 10px; }
.contact-person a { color: var(--teal-700); font-weight: 700; }

.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.form-row input, .form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--paper-line);
  background: #fff;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(103, 180, 183, 0.25);
}
.form-note { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin: 0; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-success {
  background: var(--paper);
  border: 1.5px solid var(--teal-500);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}
.form-success h3 { color: var(--teal-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-bg); color: #B9D6D6; padding: 48px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dark-line);
  margin-bottom: 20px;
}
.footer-logo { height: 30px; margin-bottom: 10px; }
.footer-brand p { font-size: 0.86rem; margin: 0; color: #8FB6B6; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.92rem; color: #C7DEDE; }
.footer-nav a:hover { color: #fff; }
.footer-meta { font-size: 0.82rem; color: #7FA6A6; text-align: right; }
.footer-meta p { margin: 0 0 6px; }

@media (max-width: 900px) {
  .footer-meta { text-align: left; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 220px; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .primary-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .primary-nav ul { flex-direction: column; gap: 4px; margin-bottom: 16px; }
  .primary-nav ul a { display: block; padding: 12px 4px; }
  .nav-cta { align-self: flex-start; }

  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-meta { text-align: left; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
