/* ==========================================================================
   OmniByte Technologies Limited — Site Styles
   ========================================================================== */

:root {
  --red: #d62828;
  --red-dark: #a81f1f;
  --red-light: #ff5a5a;
  --black: #131417;
  --charcoal: #1c1e22;
  --gray-900: #2a2c31;
  --gray-600: #5a5e66;
  --gray-300: #d8dadf;
  --gray-100: #f4f5f7;
  --white: #ffffff;
  --font-head: 'Sora', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 20, 23, 0.08);
  --container: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-head); color: var(--black); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
h2.light, h3.light { color: var(--white); }

p { color: var(--gray-600); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.eyebrow--light { color: var(--red-light); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
}
.js .reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }
.section-head { margin-bottom: 1rem; }

/* ---------- Hero entrance ---------- */
.hero__inner > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroUp 0.8s cubic-bezier(.22,1,.36,1) forwards;
}
.hero__inner > .eyebrow { animation-delay: 0.1s; }
.hero__inner > h1 { animation-delay: 0.22s; }
.hero__inner > .hero__lead { animation-delay: 0.38s; }
.hero__inner > .hero__actions { animation-delay: 0.54s; }
@keyframes heroUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__bg { animation: heroDrift 24s ease-in-out infinite alternate; }
@keyframes heroDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-1.5%, 1.5%) scale(1.035); }
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .hero__inner > *, .hero__bg, .process__line-fill, .nav__indicator {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.section { padding: 88px 0; }
.section--tint { background: var(--gray-100); }
.section--dark { background: var(--black); }
.section--dark p { color: #b6b8bd; }
.section__lead { max-width: 640px; margin-bottom: 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(214, 40, 40, 0.35);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn:active { transform: scale(0.96); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn--full { width: 100%; margin-top: 0.5rem; }
.btn__arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.25s cubic-bezier(.22,1,.36,1);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--black); color: #d8dadf; font-size: 0.8rem; }
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 12px;
}
.topbar__loc { color: var(--red-light); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Header ---------- */
.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(--gray-300);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(19,20,23,0.08); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.brand__logo { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; position: relative; }
.nav a {
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--red); }
.nav a.active:not(.nav__cta) { color: var(--red); }

.nav__indicator {
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  border-radius: 2px;
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(.65,0,.35,1), width 0.35s cubic-bezier(.65,0,.35,1), opacity 0.2s ease;
  pointer-events: none;
}
.nav__indicator.visible { opacity: 1; }
.nav__cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--black) 0%, var(--charcoal) 55%, var(--red-dark) 130%);
  padding: 130px 0 100px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(214,40,40,0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(214,40,40,0.2), transparent 40%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.hero__lead {
  color: #d8dadf;
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 2.25rem;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Promise strip ---------- */
.promise { background: var(--red); }
.promise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.promise__item {
  padding: 26px 24px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.25);
}
.promise__item:last-child { border-right: none; }
.promise__tag {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.promise__item p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.95rem; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
}
.about__grid p { margin-bottom: 1rem; }
.about__card {
  background: var(--gray-100);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 32px;
}
.about__card p { margin: 0; }

.vmv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vmv__card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.vmv__card--values ul { list-style: none; }
.vmv__card--values li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
  color: var(--gray-600);
}
.vmv__card--values li:last-child { border-bottom: none; }
.vmv__card--values strong { color: var(--black); }

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
.pillar {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(214,40,40,0.5); }
.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(214,40,40,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.pillar:hover::before { opacity: 1; }
.pillar > * { position: relative; }
.pillar__num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--red-light);
  background: rgba(214,40,40,0.15);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pillar h3 { color: var(--white); margin-bottom: 10px; }
.pillar__lead { color: #b6b8bd; margin-bottom: 16px; font-size: 0.95rem; }
.pillar ul { list-style: none; }
.pillar li {
  color: #c8cad0;
  font-size: 0.88rem;
  padding: 6px 0 6px 20px;
  position: relative;
}
.pillar li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* ---------- Industries ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.industry-card:hover { box-shadow: var(--shadow); border-color: var(--red); }
.industry-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Why ---------- */
.why__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.why__intro p { max-width: 320px; }
.why__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border-left: 3px solid var(--red);
  box-shadow: var(--shadow);
}
.why__item p { font-size: 0.9rem; margin: 0; }

/* ---------- Process ---------- */
.process {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 3rem;
  position: relative;
  flex-wrap: wrap;
}
.process__line {
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--gray-300);
  z-index: 0;
  overflow: hidden;
}
.process__line-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--red);
  transform: scaleX(1);
  transform-origin: left;
}
.js .process__line-fill {
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1) 0.15s;
}
.js .process.in-view .process__line-fill { transform: scaleX(1); }
.process__step {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 140px;
  text-align: center;
}
.process__step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(214,40,40,0.3);
}
.process__step h3 { font-size: 1rem; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact__lead { max-width: 480px; margin-bottom: 2rem; }
.contact__details { list-style: none; }
.contact__details li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #d8dadf;
  font-size: 0.95rem;
}
.contact__details strong { color: var(--white); }

.contact__form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-row textarea { resize: vertical; }
.form-note { text-align: center; font-size: 0.88rem; margin-top: 12px; color: var(--red); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { background: var(--black); padding-top: 56px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__brand img {
  height: 34px;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 8px;
}
.footer__brand p { color: #9a9da3; font-size: 0.88rem; margin: 0; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { color: #d8dadf; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.footer__nav a:hover { color: var(--red-light); }
.footer__bottom { padding: 20px 24px; text-align: center; }
.footer__bottom p { color: #6f727a; font-size: 0.82rem; margin: 0; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(214,40,40,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__grid,
  .why__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .pillars,
  .industries { grid-template-columns: 1fr 1fr; }
  .vmv__grid { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar__inner { font-size: 0.72rem; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-300);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .promise__grid { grid-template-columns: 1fr; }
  .promise__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
  .promise__item:last-child { border-bottom: none; }

  .pillars,
  .industries { grid-template-columns: 1fr; }

  .process { flex-direction: column; gap: 28px; }
  .process__line { display: none; }
}
