/* =========================================================
   INNOVIX — "Business Beyond Boundaries"
   A distinct identity for the trading/services side of the
   business: warm paper background, serif display type for
   trading-house gravitas, gold as the primary signature color
   rather than a minor accent — deliberately different from the
   IT site's cool navy/teal, tech-forward look.
   ========================================================= */
:root {
  --navy: #011D55;
  --navy-deep: #010F30;
  --gold: #D5A132;
  --bronze: #825C0F;
  --paper: #FBF9F5;
  --paper-line: #E8E1D3;
  --card-line: #E3DBC9;
  --ink: #2B2620;
  --ink-soft: #6B6255;
  --cream-soft: #F5EFE2;

  --display: 'Fraunces', serif;
  --body: 'Work Sans', sans-serif;

  --container: 1180px;
  --radius: 4px;
}

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

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

h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); text-align: justify; text-justify: inter-word; }
.section-head--center p, .tl-caption, .closing p { text-align: center; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy-deep);
  font-family: var(--body); font-weight: 600; padding: 12px 22px; z-index: 1000; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

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

.eyebrow {
  display: inline-block; font-family: var(--body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px;
}

.section { padding: 120px 0; }
.section--tight { padding: 88px 0; }
.section--soft { background: var(--cream-soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #C9D2E3; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head--center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.01em; }
.section-head p { margin-top: 16px; font-size: 17px; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: var(--radius);
  font-family: var(--body); font-weight: 600; font-size: 15px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #c4922a; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1fb757; }
.btn--whatsapp img { width: 20px; height: 20px; }

/* ---------------- Nav ---------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 10px 0;
  background: rgba(251,249,245,0.97); box-shadow: 0 2px 18px rgba(1,15,48,0.08); transition: padding 0.25s ease, box-shadow 0.25s ease; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { height: 68px; }
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a { font-family: var(--body); font-size: 14.5px; font-weight: 500; color: var(--navy); position: relative; padding-bottom: 4px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right 0.22s ease; }
.nav__links a:hover::after { right: 0; }
.nav__links a:hover { color: var(--bronze); }
.nav .btn--outline { padding: 10px 20px; font-size: 14px; }
.nav.is-scrolled { padding: 8px 0; box-shadow: 0 6px 24px rgba(1,15,48,0.14); }
.nav__toggle { display: none; }
@media (max-width: 900px) {
  .nav__links { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--paper); box-shadow: -8px 0 30px rgba(1,15,48,0.12);
    flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px; transition: right 0.3s ease; gap: 26px; }
  .nav__links.is-open { right: 0; }
  .nav__toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 110; padding: 6px; }
  .nav__toggle span { width: 24px; height: 2px; background: var(--navy); display: block; }
}

/* ---------------- Hero: light, warm, serif-led ---------------- */
.hero {
  position: relative; padding: 190px 0 70px; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 78% 35%, rgba(213,161,50,0.14) 0%, transparent 62%),
    linear-gradient(160deg, #FDFBF6 0%, var(--paper) 55%, var(--cream-soft) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  right: -160px; top: 4%;
  border-radius: 50%;
  border: 1.5px solid rgba(1,29,85,0.10);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 468px; height: 468px;
  right: -44px; top: 14%;
  border-radius: 50%;
  border: 1.5px dashed rgba(213,161,50,0.35);
  z-index: 0;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero__eyebrow { color: var(--bronze); }
.hero h1 { font-size: clamp(42px, 5.2vw, 68px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 26px; color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { color: var(--ink-soft); font-size: 19px; max-width: 560px; margin-bottom: 40px; text-align: left; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero__orbit-stage {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 0;
}
.hero__orbit { position: relative; width: 540px; height: 540px; animation: orbit-spin 44s linear infinite; }
.hero__orbit-icon {
  position: absolute; top: 50%; left: 50%; width: 78px; height: 78px; margin: -39px;
}
.hero__orbit-icon > div {
  width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 1.5px solid var(--card-line);
  box-shadow: 0 10px 26px rgba(1,29,85,0.16); display: flex; align-items: center; justify-content: center;
  animation: orbit-counter-spin 44s linear infinite;
}
.hero__orbit-icon img { width: 38px; height: 38px; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-counter-spin { to { transform: rotate(-360deg); } }
@media (max-width: 900px) {
  .hero__orbit-stage { display: none; }
}
.hero__mark {
  position: relative; z-index: 2;
  width: 100%; max-width: 400px;
  opacity: 0; transform: scale(0.92) translateY(8px);
  animation: hero-mark-in 0.9s cubic-bezier(.22,1,.36,1) 0.2s forwards;
  filter: drop-shadow(0 30px 60px rgba(1,29,85,0.22));
}
@keyframes hero-mark-in { to { opacity: 1; transform: scale(1) translateY(0); } }

/* quick capability strip — fills the hero-to-content transition with real
   content instead of empty padding, and doubles as the "show our activities"
   preview without resorting to an image slider */
.capability-strip { padding: 34px 0; border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.capability-strip__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.capability-strip__item { display: flex; align-items: center; gap: 14px; }
.capability-strip__item img { width: 34px; height: 34px; flex-shrink: 0; }
.capability-strip__item span { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 220px; margin: 0 auto; order: -1; }
  .capability-strip__inner { justify-content: center; }
  .hero::before, .hero::after { display: none; }
}

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- About / fact strip ---------------- */
.fact-strip { display: flex; flex-wrap: wrap; border: 1px solid var(--card-line); border-radius: var(--radius); overflow: hidden; margin-bottom: 56px; }
.fact { flex: 1 1 220px; padding: 26px 24px; border-right: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.fact:last-child { border-right: none; }
.fact__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 4px; }
.fact__value { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy); }
.about__body { max-width: 760px; }
.about__body p { font-size: 16.5px; }

/* ---------------- Activity panels (full-width, alternating) ---------------- */
.activity {
  display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 42px 0;
  border-bottom: 1px solid var(--card-line); align-items: start;
}
.activity:first-child { padding-top: 0; }
.activity__icon-wrap {
  width: 74px; height: 74px; border-radius: 50%; background: var(--cream-soft);
  border: 1.5px solid var(--card-line); display: flex; align-items: center; justify-content: center;
}
.activity__icon-wrap img { width: 38px; height: 38px; }
.activity h3 { font-size: 24px; margin-bottom: 10px; }
.activity p { font-size: 16px; margin-bottom: 14px; }
.activity__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.activity__tag { font-family: var(--body); font-size: 13.5px; font-weight: 500; color: var(--navy); background: var(--cream-soft); border: 1px solid var(--card-line); border-radius: 20px; padding: 7px 16px; }
.sub-activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.sub-activity { background: #fff; border: 1px solid var(--card-line); border-top: 3px solid var(--gold); border-radius: 6px; padding: 20px 22px; }
.sub-activity h4 { font-size: 16.5px; color: var(--navy); margin-bottom: 8px; font-family: var(--display); }
.sub-activity p { font-size: 14px; margin: 0; }

@media (max-width: 700px) {
  .activity { grid-template-columns: 1fr; }
  .sub-activities { grid-template-columns: 1fr; }
}

/* ---------------- Why choose (value cards) ---------------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--card-line); padding: 30px 26px; border-radius: var(--radius); border-top: 3px solid var(--gold); }
.value-card__icon { width: 42px; height: 42px; margin-bottom: 16px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; font-family: var(--display); }
.value-card p { font-size: 14px; margin: 0; }

/* ---------------- Closing / CTA ---------------- */
.closing { text-align: center; padding: 150px 0; }
.closing h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.closing__rule { width: 64px; height: 3px; background: var(--gold); margin: 0 auto 22px; }
.closing p { color: #C9D2E3; font-size: 18px; max-width: 560px; margin: 0 auto 44px; }
.closing__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.closing__legal { margin-top: 40px; font-size: 13px; color: #8B96AC; }

/* ---------------- Footer ---------------- */
.footer { background: var(--navy-deep); color: #A9A297; padding: 56px 0 30px; }
.footer__top { display: flex; justify-content: flex-start; gap: 100px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 26px; }
.footer__col h5 { color: #fff; font-family: var(--display); font-size: 14px; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer__col ul li { margin-bottom: 10px; font-size: 14.5px; }
.footer__col a:hover { color: var(--gold); }
.footer__map-col { flex: 1 1 260px; max-width: 300px; }
.footer__map { width: 100%; height: 140px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); filter: sepia(0.15) brightness(0.9); }
.footer__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer__map-caption { font-size: 13px; color: #A9A297; margin: 12px 0 0; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ---------------- WhatsApp float ---------------- */
.whatsapp-float {
  position: fixed; right: 26px; bottom: 26px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(1,15,48,0.35); z-index: 90; transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float img { width: 32px; height: 32px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .hero { padding: 170px 0 110px; }
  .fact-strip { flex-direction: column; }
  .fact { border-right: none; }
  .whatsapp-float { right: 18px; bottom: 18px; width: 52px; height: 52px; }
  .whatsapp-float img { width: 28px; height: 28px; }
}
