/* ==========================================================
   PK Solutions — site theme
   Colours are taken from the logo: pink → violet → blue.
   ========================================================== */

:root {
  --ink: #0d0f1c;
  --ink-2: #3a3e55;
  --muted: #6b7088;
  --bg: #fbfaff;
  --surface: #ffffff;
  --soft: #f3f1fb;
  --line: #e7e4f2;

  --pink: #ff2d87;
  --violet: #6a2cf5;
  --blue: #1f7bff;
  --grad: linear-gradient(120deg, var(--pink) 0%, var(--violet) 55%, var(--blue) 100%);

  --dark: #0d0f1c;
  --dark-2: #161a2e;
  --dark-line: rgba(255, 255, 255, 0.1);

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 15, 28, 0.04), 0 8px 24px rgba(13, 15, 28, 0.06);
  --shadow-lg: 0 20px 50px rgba(73, 30, 180, 0.15);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --wrap: 1180px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 16px; }
.section-head p { font-size: 18px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn ion-icon { font-size: 18px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(106, 44, 245, .28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(106, 44, 245, .36); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }

/* ---------- Hiring bar ---------- */
.topbar {
  background: var(--dark); color: #fff; font-size: 14px; text-align: center;
  padding: 9px 16px;
}
.topbar a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.topbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin-right: 8px; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(251, 250, 255, .8);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(13, 15, 28, .05); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { flex: none; }
.header__logo img { height: 68px; width: auto; min-width: 140px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav a:not(.btn):hover, .nav a.is-active { background: var(--soft); color: var(--violet); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center; font-size: 24px; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; z-index: -1;
}
.hero::before { width: 520px; height: 520px; background: var(--pink); top: -160px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: var(--blue); bottom: -220px; left: -160px; opacity: .22; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow);
}
.badge b { background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); margin: 22px 0 20px; }
.hero__typing { font-size: 20px; color: var(--ink-2); margin-bottom: 14px; min-height: 32px; }
.hero__typing b { color: var(--ink); }
.hero__typing .typing_text { color: var(--violet); font-weight: 700; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 38px; font-size: 14px; color: var(--muted); }
.hero__trust .stars { color: #ffb400; font-size: 18px; letter-spacing: 2px; }
.hero__art { position: relative; aspect-ratio: 1; }
.hero__art::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--soft)); border: 1px solid var(--line);
}
#animation-container { position: relative; width: 100%; height: 100%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); font-size: 14px; animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 18px; line-height: 1.1; }
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 20px; background: var(--grad); }
.float-card--a { top: 12%; left: -4%; }
.float-card--b { bottom: 10%; right: -2%; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Logo strip ---------- */
.strip { padding: 34px 0; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.strip__track { display: flex; gap: 80px; width: max-content; animation: marquee 28s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip img { height: 46px; width: auto; filter: grayscale(1); opacity: .65; transition: .25s; }
.strip img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; color: var(--violet); background: var(--soft); margin-bottom: 22px;
  transition: background .25s, color .25s;
}
.card:hover .card__icon { background: var(--grad); color: #fff; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--violet); }
.card__more ion-icon { transition: transform .2s; }
.card:hover .card__more ion-icon { transform: translateX(4px); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .2s, transform .2s;
}
.industry:hover { border-color: var(--violet); transform: translateY(-3px); }
.industry ion-icon { flex: none; font-size: 22px; color: var(--pink); background: #fff0f6; padding: 10px; border-radius: 12px; }
.industry h4 { font-size: 16px; margin-bottom: 4px; }
.industry p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-size: 44px; font-weight: 700; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 18px;
}
.step h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.step p { color: rgba(255, 255, 255, .62); font-size: 15px; }

.dark { background: var(--dark); color: rgba(255, 255, 255, .72); position: relative; overflow: hidden; }
.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: rgba(255, 255, 255, .62); }
.dark .eyebrow { color: #ff7ab5; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 54px; }
.platforms span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--dark-line); color: #fff; font-weight: 600; font-size: 14px; background: rgba(255,255,255,.03);
}
.platforms ion-icon { font-size: 18px; color: #ff7ab5; }

/* ---------- Portfolio ---------- */
.work { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-bottom: 90px; }
.work:last-child { margin-bottom: 0; }
.work--flip .work__img { order: 2; }
.work__img {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--soft);
  box-shadow: var(--shadow-lg); aspect-ratio: 16 / 11;
}
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work:hover .work__img img { transform: scale(1.04); }
.work__num { font-family: var(--font-head); font-weight: 700; color: var(--violet); font-size: 14px; letter-spacing: .12em; }
.work h3 { font-size: clamp(26px, 3vw, 34px); margin: 10px 0 14px; }
.work h3 a:hover { color: var(--violet); }
.work p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tags span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--pink); padding-bottom: 2px; }
.link-arrow:hover { color: var(--violet); }

/* ---------- Stats + Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.why .section-head { margin-bottom: 30px; }
.checks li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--ink-2); font-weight: 600; }
.checks ion-icon { flex: none; font-size: 22px; color: var(--violet); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.stat:nth-child(1) { background: var(--grad); border: 0; }
.stat:nth-child(1) .stat__num, .stat:nth-child(1) p { color: #fff; }
.stat__num { font-family: var(--font-head); font-size: 46px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.stat p { color: var(--muted); font-weight: 600; }

/* ---------- Tech chips ---------- */
.tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tech span {
  padding: 14px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; color: var(--ink); transition: .2s;
}
.tech span:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-3px); }

/* ---------- Partnership cards ---------- */
.partner { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.partner__card { border-radius: 24px; padding: 48px 42px; position: relative; overflow: hidden; }
.partner__card h3 { font-size: clamp(24px, 2.6vw, 30px); margin: 12px 0 14px; }
.partner__card p { margin-bottom: 28px; }
.partner__card--a { background: var(--dark); color: rgba(255,255,255,.7); }
.partner__card--a h3 { color: #fff; }
.partner__card--a .eyebrow { color: #ff7ab5; }
.partner__card--b { background: var(--grad); color: rgba(255,255,255,.88); }
.partner__card--b h3 { color: #fff; }
.partner__card--b .eyebrow { color: #fff; }
.partner__card--b .eyebrow::before { background: #fff; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(32px, 4vw, 48px); margin: 14px 0 18px; }
.contact__lead { font-size: 18px; color: var(--muted); margin-bottom: 34px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact__list .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--violet); font-size: 21px; }
.contact__list small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact__list a, .contact__list span { color: var(--ink); font-weight: 600; }
.contact__list a:hover { color: var(--violet); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); }
.form h3 { font-size: 24px; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(106, 44, 245, .12); background: #fff; }
.form .btn { width: 100%; margin-top: 6px; }
.form .btn[disabled] { opacity: .7; cursor: wait; }
.form__msg { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; display: none; }
.form__msg.ok { display: block; background: #e9f9ef; color: #146c3a; }
.form__msg.err { display: block; background: #fdecef; color: #a1203a; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.62); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--dark-line); font-size: 18px; color: #fff; transition: .2s; }
.social a:hover { background: var(--grad); border-color: transparent; }
.footer__bottom { border-top: 1px solid var(--dark-line); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.footer__bottom div { display: flex; gap: 22px; }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.2); transition: transform .2s, opacity .2s; }
.fab:hover { transform: scale(1.08); }
.fab--wa { bottom: 22px; background: #25d366; }
.fab--top { bottom: 88px; width: 44px; height: 44px; right: 27px; font-size: 20px; background: var(--ink); opacity: 0; pointer-events: none; }
.fab--top.show { opacity: 1; pointer-events: auto; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip__track, .float-card, .topbar .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Info bar (top) ---------- */
.infobar { background: var(--dark); color: rgba(255,255,255,.75); font-size: 13.5px; }
.infobar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.infobar__left, .infobar__right { display: flex; align-items: center; gap: 20px; }
.infobar a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.infobar a:hover { color: #fff; }
.infobar ion-icon { font-size: 15px; color: #ff7ab5; }
.infobar .hire { color: #fff; font-weight: 700; }
.infobar .hire .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: pulse 1.6s infinite; }
.infobar__social { display: flex; gap: 12px; padding-left: 18px; border-left: 1px solid var(--dark-line); }
.infobar__social ion-icon { color: rgba(255,255,255,.75); font-size: 16px; }

/* ---------- Dropdown menu ---------- */
.has-drop { position: relative; }
.has-drop > a { display: inline-flex; align-items: center; gap: 4px; }
.has-drop > a ion-icon { font-size: 14px; transition: transform .2s; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: 560px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: .2s ease;
}
.drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover > a ion-icon { transform: rotate(180deg); }
.drop a { display: flex !important; gap: 12px; align-items: center; padding: 10px 12px !important; border-radius: 10px !important; font-size: 14px !important; }
.drop a ion-icon { flex: none; font-size: 18px; color: var(--violet); background: var(--soft); padding: 8px; border-radius: 9px; }
.drop a:hover ion-icon { background: var(--grad); color: #fff; }

/* ---------- Hero taglines ---------- */
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: -14px 0 30px; }
.hero__points li { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.hero__points ion-icon { color: var(--pink); font-size: 19px; }

/* ---------- About / intro ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: 24px; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; box-shadow: var(--shadow-lg); }
.about__badge {
  position: absolute; right: -18px; bottom: 34px; background: var(--grad); color: #fff;
  padding: 22px 26px; border-radius: 18px; box-shadow: var(--shadow-lg); text-align: center;
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 40px; line-height: 1; }
.about__badge span { font-size: 13px; font-weight: 600; opacity: .9; }
.about__media::before {
  content: ""; position: absolute; inset: -18px auto auto -18px; width: 140px; height: 140px; z-index: -1;
  background-image: radial-gradient(var(--violet) 2px, transparent 2px); background-size: 16px 16px; opacity: .35;
}
.about h3 { font-size: 20px; margin: 26px 0 8px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 32px; }
.check-grid li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.check-grid ion-icon { flex: none; font-size: 20px; color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; }

/* ---------- Software products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--grad); margin-bottom: 18px; }
.product:nth-child(3n+2) .product__icon { background: linear-gradient(135deg, #6a2cf5, #1f7bff); }
.product:nth-child(3n) .product__icon { background: linear-gradient(135deg, #ff2d87, #ff7a59); }
.product h3 { font-size: 17px; margin-bottom: 6px; }
.product p { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }
.product button {
  align-self: flex-start; margin-top: 16px; border: 0; background: none; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--violet);
}
.product button:hover { color: var(--pink); }

/* ---------- Marketing banner ---------- */
.banner { position: relative; border-radius: 28px; overflow: hidden; color: #fff; }
.banner__bg { position: absolute; inset: 0; background: url("../images/banner.jpeg") center / cover; }
.banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(13,15,28,.95) 30%, rgba(106,44,245,.75) 75%, rgba(255,45,135,.6)); }
.banner__inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding: 64px 56px; }
.banner h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 16px; }
.banner p { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 24px; max-width: 620px; }
.banner .eyebrow { color: #ff9ac6; }
.banner__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.banner__chips span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-weight: 600; font-size: 14px; }
.banner__stat { text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 36px 24px; backdrop-filter: blur(6px); }
.banner__stat strong { display: block; font-family: var(--font-head); font-size: 64px; line-height: 1; margin-bottom: 10px; }
.banner__stat span { color: rgba(255,255,255,.8); font-weight: 600; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.filters button {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer;
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: .2s;
}
.filters button:hover { border-color: var(--violet); color: var(--violet); }
.filters button.active { background: var(--grad); color: #fff; border-color: transparent; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; }
.gallery__item { position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--soft); border: 0; padding: 0; }
.gallery__item:nth-child(6n+1) { grid-row: span 2; }
.gallery__item:nth-child(6n+4) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,15,28,.75), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.gallery__cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  transform: translateY(10px); opacity: 0; transition: .3s;
}
.gallery__cap span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; }
.gallery__cap ion-icon { font-size: 22px; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { transform: none; opacity: 1; }
.gallery__item.hide { display: none; }
.gallery-more { text-align: center; margin-top: 36px; }
.gallery-empty { text-align: center; color: var(--muted); padding: 40px; border: 2px dashed var(--line); border-radius: 18px; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8,9,18,.92); display: none;
  align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 24px; display: grid; place-items: center; transition: background .2s;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; }

/* ---------- Enquiry modal ---------- */
.modal { position: fixed; inset: 0; z-index: 250; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(13,15,28,.6); backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal__box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; animation: pop .25s ease; }
.modal__box .form { box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; font-size: 20px; display: grid; place-items: center; color: var(--ink); }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
body.no-scroll { overflow: hidden; }

.fab--call { bottom: 88px; background: var(--grad); display: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 80px 0 60px; text-align: center; background: var(--soft); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); margin: 14px 0 12px; }
.page-hero p { color: var(--muted); font-size: 18px; }
.crumbs { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 18px; }
.crumbs a { color: var(--violet); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(13,15,28,.1);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 13px 14px; font-size: 16px; }
  .nav .btn { margin: 10px 0 0; }
  .hero { padding: 40px 0 70px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; width: 100%; margin: 10px auto 0; }
  .work, .why, .contact, .partner { grid-template-columns: 1fr; gap: 36px; }
  .work--flip .work__img { order: 0; }
  .work { margin-bottom: 70px; }
  .industries { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head p, .hero__lead { font-size: 16px; }
  .header__logo img { height: 54px; min-width: 112px; }
  :root { --header-h: 76px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cards, .industries, .process, .stats, .footer__grid { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .partner__card { padding: 36px 26px; }
  .float-card { display: none; }
  .footer__bottom { flex-direction: column; }
  .strip__track { gap: 48px; }
  .strip img { height: 36px; }
}

@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .infobar__left .hide-md { display: none; }
}
@media (max-width: 900px) {
  .infobar__social, .infobar__right .hide-sm { display: none; }
  .drop { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px 10px; grid-template-columns: 1fr; display: none; }
  .has-drop.open .drop { display: grid; }
  .has-drop:hover .drop { transform: none; }
  .has-drop > a { justify-content: space-between; width: 100%; }
  .nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .about, .banner__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__badge { right: 14px; }
  .banner__inner { padding: 44px 30px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .fab--call { display: grid; }
  .fab--top { bottom: 154px; }
}
@media (max-width: 600px) {
  .infobar { font-size: 12.5px; }
  .infobar__left a:not(:first-child) { display: none; }
  .check-grid, .products { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .gallery__item:nth-child(6n+4) { grid-column: span 2; }
  .gallery__cap { opacity: 1; transform: none; }
  .gallery__item::after { opacity: .7; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .banner__inner { padding: 36px 22px; }
  .banner__stat strong { font-size: 48px; }
}

/* ---------- Footer (5 columns) ---------- */
.footer__grid--5 { grid-template-columns: 1.5fr 1fr 1.1fr 1fr 1.4fr; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact ion-icon { flex: none; font-size: 17px; color: #ff7ab5; margin-top: 4px; }
@media (max-width: 1080px) { .footer__grid--5 { grid-template-columns: 1fr 1fr 1fr; } .footer__grid--5 .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer__grid--5 { grid-template-columns: 1fr 1fr; } .footer__grid--5 > div:last-child { grid-column: 1 / -1; } }

/* ---------- Legal pages (Terms, Privacy) ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }

/* Table of contents */
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 16px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.legal-toc h2 { font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px 8px; }
.legal-toc ol { list-style: none; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.legal-toc a::before { content: counter(toc) "."; flex: none; min-width: 20px; color: var(--muted); }
.legal-toc a:hover, .legal-toc a.is-active { background: var(--soft); color: var(--violet); }
.legal-toc a.is-active::before { color: var(--violet); }

/* Document */
.legal-doc { max-width: 780px; counter-reset: sec; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.legal-doc header { padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.legal-meta span { display: inline-flex; align-items: center; gap: 6px; }
.legal-meta ion-icon { color: var(--violet); font-size: 16px; }
.legal-lead { font-size: 18px; color: var(--ink-2); }
.legal-lead a, .legal-doc a { color: var(--violet); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(106,44,245,.3); text-underline-offset: 3px; }
.legal-lead a:hover, .legal-doc a:hover { text-decoration-color: var(--violet); }

.legal-section { counter-increment: sec; counter-reset: clause; padding-top: 36px; }
.legal-section + .legal-section { border-top: 1px solid var(--line); margin-top: 8px; }
.legal-section > h2 { display: flex; align-items: center; gap: 14px; font-size: 23px; margin-bottom: 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-section > h2::before {
  content: counter(sec); flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700;
}
.legal-section > p { margin-bottom: 14px; }
.legal-doc strong { color: var(--ink); font-weight: 700; }

/* Numbered clauses: 1.1, 1.2 … */
ol.clauses { list-style: none; margin: 0 0 6px; }
ol.clauses > li { counter-increment: clause; position: relative; padding-left: 52px; margin-bottom: 16px; }
ol.clauses > li::before {
  content: counter(sec) "." counter(clause); position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--violet); font-variant-numeric: tabular-nums;
}
ol.clauses > li > h3 { font-size: 17px; margin: 0 0 4px; line-height: 1.5; }
ol.clauses > li > p { margin-bottom: 8px; }

/* Bullet lists inside clauses */
.legal-doc ul { list-style: none; margin: 8px 0 12px; }
.legal-doc ul > li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.legal-doc ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* Definitions */
dl.terms { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 10px 0 16px; padding: 18px 20px; background: var(--soft); border-radius: 14px; }
dl.terms dt { font-weight: 700; color: var(--ink); }
dl.terms dd { margin: 0; }

.legal-note { display: flex; gap: 12px; background: var(--soft); border-left: 4px solid var(--violet); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 12px 0 16px; }
.legal-note ion-icon { flex: none; font-size: 20px; color: var(--violet); margin-top: 3px; }

/* Contact card */
.legal-contact { margin-top: 48px; padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.legal-contact::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.legal-contact h2 { font-size: 21px; margin-bottom: 6px; }
.legal-contact > p { color: var(--muted); margin-bottom: 20px; }
.legal-contact address { font-style: normal; display: grid; gap: 14px; }
.legal-contact .row { display: flex; gap: 14px; align-items: flex-start; }
.legal-contact .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--violet); font-size: 20px; }
.legal-contact small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.legal-contact .company { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.legal-contact a { color: var(--ink); font-weight: 600; text-decoration: none; }
.legal-contact a:hover { color: var(--violet); }
.legal-contact .btn { margin-top: 22px; color: #fff; text-decoration: none; }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; max-height: none; }
}
@media (max-width: 600px) {
  .legal-doc { font-size: 16px; }
  ol.clauses > li { padding-left: 40px; }
  dl.terms { grid-template-columns: 1fr; gap: 2px; }
  dl.terms dd { margin-bottom: 10px; }
  .legal-contact { padding: 24px 20px; }
}

/* ---------- Portfolio cards ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project--wide { grid-column: span 2; }
.project__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.project--wide .project__media { aspect-ratio: 16 / 8.2; }
.project__bar { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: var(--muted); }
.project__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.project__bar i:nth-child(2) { background: #febc2e; }
.project__bar i:nth-child(3) { background: #28c840; }
.project__bar span { margin-left: 10px; padding: 2px 12px; background: var(--soft); border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project__media img { position: absolute; inset: 30px 0 0 0; width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top; transition: transform .6s ease; }
.project:hover .project__media img { transform: scale(1.04); }
.project__mock { position: absolute; inset: 30px 0 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-align: center; padding: 20px; }
.project__mock::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.25), transparent 45%), radial-gradient(circle at 10% 90%, rgba(0,0,0,.18), transparent 50%); }
.project__mock ion-icon { position: relative; font-size: 44px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 14px; border-radius: 18px; margin-bottom: 6px; transition: transform .4s ease; }
.project:hover .project__mock ion-icon { transform: translateY(-4px) rotate(-4deg); }
.project__mock strong { position: relative; font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
.project__mock em { position: relative; font-style: normal; font-size: 14px; font-weight: 600; opacity: .85; }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.project__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.project__type { font-size: 13px; font-weight: 600; color: var(--muted); }
.project h3 { font-size: 22px; margin-bottom: 10px; }
.project h3 a:hover { color: var(--violet); }
.project p { color: var(--muted); margin-bottom: 18px; flex: 1; }
.project .tags { margin-bottom: 20px; }
.project .link-arrow { align-self: flex-start; }
@media (max-width: 1080px) { .projects { grid-template-columns: repeat(2, 1fr); } .project--wide { grid-column: span 2; } }
@media (max-width: 640px) { .projects { grid-template-columns: 1fr; } .project--wide { grid-column: auto; } .project--wide .project__media { aspect-ratio: 16 / 10; } }
