/* Innocentrex website — colours, type, spacing and corners come from the Innocentrex design system */
:root {
  --surface-100: #f6f8fb;
  --surface-200: #ffffff;
  --line: #dde3ec;
  --ink: #0b1a33;
  --ink-muted: #51607a;
  --brand: #0057d9;
  --brand-deep: #003f9e;
  --brand-soft: #e3eeff;
  --accent: #f28c0f;
  --danger: #c2372b;

  --space-1: 4px;
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-full: 999px;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface-100); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 22px; }
a { color: var(--brand); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--space-6); }

/* ---------- Type ---------- */
.display { font-size: 60px; line-height: 64px; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.heading-1 { font-size: 38px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.heading-2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0; }
.small { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
.label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.muted { color: var(--ink-muted); }
.lead { font-size: 18px; line-height: 28px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .3s, border-color .3s, color .3s; border-bottom: 1px solid transparent; color: #ffffff; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: inherit; text-decoration: none; }
.nav { display: flex; gap: var(--space-6); align-items: center; }
.nav a { color: inherit; opacity: .85; text-decoration: none; font-weight: 500; position: relative; }
.nav a:hover { opacity: 1; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-header.scrolled { background: rgba(246, 248, 251, .94); backdrop-filter: blur(8px); border-color: var(--line); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 12px 20px; border-radius: var(--radius-md); font: inherit; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 14px; }
.btn-primary { background: var(--brand); color: #ffffff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-light { background: #ffffff; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #ffffff; }
.btn-ghost:hover { border-color: #ffffff; }
.site-header .btn { opacity: 1; }
.site-header:not(.scrolled) .btn-primary { background: #ffffff; color: var(--brand); }
.site-header.scrolled .btn-primary { color: #ffffff; }

/* ---------- Hero (full-colour, like a poster) ---------- */
.hero { background: linear-gradient(135deg, #0047b8 0%, #0060f0 60%, #0a8be8 100%); color: #ffffff; padding: 148px 0 96px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 2px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .label { color: var(--accent); display: block; margin-bottom: var(--space-6); }
.hero .lead { color: #d6e6ff; max-width: 560px; margin: var(--space-6) 0 32px; }
.actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* word-by-word reveal */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); }
.words.in .w > span { transform: none; }

/* ---------- Live network-check card ---------- */
.live { background: #ffffff; color: var(--ink); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); overflow: hidden; font-size: 13px; line-height: 18px; }
.live-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.live-head b { font-weight: 700; }
.pulse { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); font-size: 12px; }
.pulse::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--brand); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 87, 217, .5); } 70% { box-shadow: 0 0 0 8px rgba(0, 87, 217, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 87, 217, 0); } }
.live-score { display: flex; align-items: center; gap: 16px; padding: 16px; }
.ring { --p: 0; width: 64px; height: 64px; border-radius: var(--radius-full); background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--brand-soft) 0); display: grid; place-items: center; flex: none; }
.ring span { width: 50px; height: 50px; border-radius: var(--radius-full); background: #ffffff; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.live-score small { display: block; color: var(--ink-muted); }
.live-score strong { font-size: 16px; }
.devices { list-style: none; margin: 0; padding: 0 16px 16px; display: grid; gap: 6px; }
.devices li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.st { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-full); background: var(--surface-100); color: var(--ink-muted); transition: background .3s, color .3s; }
.st.ok { background: var(--brand-soft); color: var(--brand); }
.st.warn { background: #fff1e0; color: #8a4600; }
.live-note { margin: 10px 0 0; font-size: 12px; color: #bcd3fa; text-align: right; }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand-deep); color: #e6f0ff; overflow: hidden; padding: 18px 0; }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: slide 32s linear infinite; }
.marquee span { font-weight: 700; font-size: 18px; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .label { color: var(--brand); display: block; margin-bottom: var(--space-4); }
.section-head p { color: var(--ink-muted); margin: var(--space-4) 0 0; }
.alt { background: var(--surface-200); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--ink); color: #f2f5fa; }
.dark .label { color: var(--accent); }
.dark .muted { color: #b5c1d6; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.service { background: var(--surface-200); border: 1px solid var(--line); border-radius: 14px; padding: var(--space-6); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(20, 32, 43, .35); border-color: var(--brand); }
.service p { color: var(--ink-muted); margin: var(--space-2) 0 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: var(--space-6); }
.icon svg { width: 24px; height: 24px; }
.service:hover .icon { background: var(--brand); color: #ffffff; }
.badges { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); }
.badge { padding: var(--space-1) 10px; border-radius: var(--radius-sm); background: var(--accent); color: var(--ink); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.step { position: relative; padding-top: var(--space-6); }
.step::before { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: rgba(255, 255, 255, .15); }
.step::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.step.in::after { transform: scaleX(1); }
.step .n { font-size: 14px; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 22px; line-height: 28px; margin: var(--space-2) 0; }
.step p { margin: 0; }

/* ---------- About + rolling numbers ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about p { color: var(--ink-muted); margin: 0 0 var(--space-4); }
.facts { display: grid; gap: var(--space-6); }
.fact { border-top: 2px solid var(--brand); padding-top: var(--space-4); }
.roll { display: flex; font-size: 56px; line-height: 60px; font-weight: 800; letter-spacing: -0.03em; height: 60px; overflow: hidden; }
.roll .col { display: flex; flex-direction: column; transition: transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.roll .col span { height: 60px; }
.fact small { display: block; color: var(--ink-muted); font-size: 14px; margin-top: var(--space-2); }

/* ---------- Contact ---------- */
.contact-band { background: var(--brand); color: #ffffff; border-radius: 20px; padding: 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.contact-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: var(--radius-full); border: 40px solid rgba(255, 255, 255, .08); }
.contact-band p { color: #d6e6ff; }
.contact-band dl { margin: 0; position: relative; z-index: 1; }
.contact-band dt { color: var(--accent); margin-top: var(--space-4); }
.contact-band dt:first-child { margin-top: 0; }
.contact-band dd { margin: var(--space-1) 0 0; }
.contact-band dd a { color: #ffffff; }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0 40px; }
.site-footer .container { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 112px 0 64px; }
  .hero .container, .about, .contact-band, .steps { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .display { font-size: 40px; line-height: 46px; }
  .heading-1 { font-size: 30px; line-height: 36px; }
  section { padding: 64px 0; }
  .contact-band { padding: 32px; }
}
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* People who prefer less motion get the finished state straight away */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .words .w > span { opacity: 1; transform: none; }
}

/* ---------- Logo in header ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { width: 32px; height: auto; display: block; }

/* ---------- Products ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.pcard { background: var(--surface-200); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(20, 32, 43, .35); border-color: var(--brand); }
.pcard .brand { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; }
.pcard h3 { font-size: 22px; line-height: 28px; margin: 6px 0 var(--space-4); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-4); }
.sizes span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); background: var(--brand-soft); color: var(--brand); }
.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-muted); }
.specs li { padding-left: 18px; position: relative; }
.specs li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: var(--radius-full); background: var(--accent); }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; margin: 64px 0 var(--space-6); }
.sub-head h3 { font-size: 24px; line-height: 30px; margin: 0; }
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.acard { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; background: var(--surface-100); }
.acard strong { display: block; font-size: 15px; }
.acard span { color: var(--ink-muted); font-size: 13px; }
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.bgroup { border-top: 2px solid var(--brand); padding-top: var(--space-4); }
.bgroup small { display: block; color: var(--ink-muted); font-weight: 600; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--surface-200); font-weight: 600; transition: border-color .2s, color .2s; }
.chips span:hover { border-color: var(--brand); color: var(--brand); }
.fine { margin-top: var(--space-6); font-size: 12px; color: var(--ink-muted); }

/* ---------- Services list ---------- */
.service ul { margin: var(--space-2) 0 0; padding-left: 18px; color: var(--ink-muted); display: grid; gap: 4px; }

/* ---------- Projects ---------- */
.ptable { width: 100%; border-collapse: collapse; background: var(--surface-200); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ptable th { text-align: left; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-100); }
.ptable td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td small { display: block; color: var(--ink-muted); }
.done { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-full); background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.clients { margin-top: 48px; }
.clients h3 { font-size: 20px; margin: 0 0 var(--space-4); }

/* ---------- WhatsApp ---------- */
.btn-wa { background: #ffffff; color: var(--ink); }
.btn-wa svg, .wa-float svg { width: 20px; height: 20px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--radius-full); background: #1f9d55; color: #ffffff; font-weight: 700; text-decoration: none; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4); transition: transform .2s var(--ease); animation: wa-in .6s var(--ease) 1.2s both; }
.wa-float:hover { transform: translateY(-3px); }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .pgrid, .agrid { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr 1fr; }
  .ptable th:nth-child(1), .ptable td:nth-child(1) { display: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}

/* ---------- Full logo ---------- */
.about-logo { display: flex; align-items: center; gap: 14px; margin-bottom: var(--space-6); }
.about-logo img { width: 56px; height: auto; }
.about-logo b { display: block; font-size: 26px; line-height: 28px; font-weight: 800; letter-spacing: .02em; color: #0060f0; }
.about-logo b span { color: #001030; }
.about-logo small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: #8a94a6; margin-top: 2px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { width: 24px; height: auto; }
.btn svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 640px) {
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable thead { display: none; }
  .ptable tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ptable tr:last-child { border-bottom: 0; }
  .ptable td { padding: 2px 0; border: 0; }
  .ptable td:nth-child(1) { display: block; font-size: 12px; font-weight: 700; color: var(--brand); }
  .ptable td:nth-child(4) { margin-top: 8px; }
}
