/* ==========================================================
   Sendra Infotech — Premium Light Theme
   ========================================================== */

:root {
  /* Palette */
  --bg: #FBFBF8;
  --bg-tint: #F2F6FA;
  --surface: #FFFFFF;
  --ink: #0C1A33;
  --ink-2: #1F2F4D;
  --muted: #5A6780;
  --line: #E6E8F0;
  --line-2: #EEF0F6;

  --brand: #1E5BD8;
  --brand-2: #0FB3C8;
  --brand-soft: #E7F3FB;
  --gold: #C99A3E;
  --green: #12A672;

  --grad: linear-gradient(135deg, #12306E 0%, var(--brand) 52%, var(--brand-2) 100%);
  --grad-text: linear-gradient(110deg, var(--brand) 10%, var(--brand-2) 90%);
  --navy: #0F2244;
  --silver: #C9D1DC;

  /* Type */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 51, .04), 0 2px 8px rgba(12, 26, 51, .04);
  --shadow: 0 2px 4px rgba(12, 26, 51, .03), 0 12px 32px -8px rgba(12, 26, 51, .10);
  --shadow-lg: 0 4px 8px rgba(12, 26, 51, .03), 0 30px 60px -20px rgba(13, 40, 90, .22);
  --shadow-brand: 0 10px 30px -10px rgba(30, 91, 216, .55);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

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

em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
h1 em, h2 em {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(30, 91, 216, .65); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #CDD2E4; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .3); }
.btn--outline-white { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-white:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18, 166, 114, .15); }
.eyebrow--plain {
  padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.eyebrow--plain::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(251, 251, 248, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line-2);
  box-shadow: 0 6px 24px -12px rgba(12, 26, 51, .12);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 48px; height: 48px; flex: none;
  filter: drop-shadow(0 4px 10px rgba(15, 179, 200, .28));
  transition: transform .6s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: "Orbitron", var(--font-sans);
  font-size: 17px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--navy);
  white-space: nowrap;
}
.logo__tag {
  margin-top: 6px;
  font-size: 9px; font-weight: 600; letter-spacing: .27em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .25s, background .25s;
}
.nav__link:hover { color: var(--ink); background: rgba(12, 26, 51, .04); }
.nav__link.is-active { color: var(--brand); background: var(--brand-soft); }
.nav__cta { padding: 11px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 100px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: #BFDDF6; top: -160px; right: -80px; animation: drift 18s ease-in-out infinite; }
.blob--2 { width: 420px; height: 420px; background: #C4F0F3; top: 220px; right: 260px; animation: drift 22s ease-in-out infinite reverse; }
.blob--3 { width: 380px; height: 380px; background: #F4E6C8; bottom: -120px; left: -120px; opacity: .5; animation: drift 26s ease-in-out infinite; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(12, 26, 51, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 26, 51, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.08); }
}

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero__title {
  margin: 24px 0 22px;
  font-size: clamp(40px, 4.9vw, 64px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero__title em { font-size: 1.08em; letter-spacing: -.01em; }
.hero__text { max-width: 540px; font-size: 18px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats { display: flex; gap: 40px; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero__stats strong { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero__stats span { font-size: 14px; color: var(--muted); }

/* Hero dashboard visual */
.hero__visual { position: relative; padding: 30px 10px 40px; }
.dash {
  position: relative;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transition: transform .8s var(--ease);
}
.hero__visual:hover .dash { transform: perspective(1400px) rotateY(-3deg) rotateX(2deg); }
.dash__top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); background: #FCFCFE; }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3E5EE; }
.dash__dots i:nth-child(1) { background: #FF8A7A; }
.dash__dots i:nth-child(2) { background: #FFCB5C; }
.dash__dots i:nth-child(3) { background: #5ED39A; }
.dash__url { flex: 1; font-size: 12px; color: var(--muted); background: var(--bg-tint); border-radius: 8px; padding: 5px 12px; text-align: center; }
.dash__body { padding: 26px; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; }
.dash__head small { display: block; font-size: 13px; color: var(--muted); }
.dash__head b { font-size: 32px; letter-spacing: -.03em; }
.chip { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.chip--green { color: var(--green); background: rgba(18, 166, 114, .1); }

.dash__chart {
  display: flex; align-items: flex-end; gap: 10px;
  height: 170px; margin: 22px 0 24px; padding: 0 2px;
  background-image: linear-gradient(to bottom, var(--line-2) 1px, transparent 1px);
  background-size: 100% 42px;
}
.dash__chart span {
  flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #C3DCF6, #E9F2FC);
  transform-origin: bottom; animation: grow 1.2s var(--ease) both;
}
.dash__chart span:nth-child(even) { background: linear-gradient(180deg, #BDECF1, #E8F9FA); }
.dash__chart span:last-child { background: var(--grad); box-shadow: 0 8px 18px -6px rgba(30, 91, 216, .5); }
.dash__chart span:nth-child(1) { animation-delay: .1s; } .dash__chart span:nth-child(2) { animation-delay: .17s; }
.dash__chart span:nth-child(3) { animation-delay: .24s; } .dash__chart span:nth-child(4) { animation-delay: .31s; }
.dash__chart span:nth-child(5) { animation-delay: .38s; } .dash__chart span:nth-child(6) { animation-delay: .45s; }
.dash__chart span:nth-child(7) { animation-delay: .52s; } .dash__chart span:nth-child(8) { animation-delay: .59s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.dash__rows { display: grid; gap: 12px; }
.dash__row { display: grid; grid-template-columns: 10px 110px 1fr; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dash__row i { width: 10px; height: 10px; border-radius: 3px; }
.dash__row .c1 { background: var(--brand); } .dash__row .c2 { background: var(--brand-2); } .dash__row .c3 { background: var(--gold); }
.dash__row em { height: 8px; border-radius: 8px; background: var(--bg-tint); position: relative; overflow: hidden; }
.dash__row em::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--grad); opacity: .85; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px;
  background: #fff; border-radius: 16px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 15px; line-height: 1.2; }
.float-card small { font-size: 12px; color: var(--muted); }
.float-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #FFF4DF; }
.float-card__icon svg { width: 20px; height: 20px; fill: var(--gold); }
.float-card__icon--alt { background: rgba(18, 166, 114, .12); }
.float-card__icon--alt svg { fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.float-card--a { top: 0; left: -24px; }
.float-card--b { bottom: 6px; right: -10px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Marquee ---------- */
.marquee { padding: 34px 0 44px; border-block: 1px solid var(--line-2); background: var(--surface); }
.marquee__label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee__track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row { display: flex; gap: 64px; width: max-content; animation: scroll 36s linear infinite; }
.marquee__row span { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #A3AAB9; transition: color .3s; }
.marquee__row span:hover { color: var(--ink); }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section__head .eyebrow--plain { justify-content: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; text-align: left; }
.section__title {
  margin: 16px 0 18px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1; letter-spacing: -.03em; font-weight: 800;
}
.section__title em { font-size: 1.08em; letter-spacing: -.01em; }
.section__text { font-size: 17px; color: var(--muted); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; padding: 32px 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px;
  border-radius: 16px; background: var(--brand-soft); color: var(--brand);
  transition: background .4s, color .4s;
}
.service:hover .service__icon { background: var(--grad); color: #fff; }
.service__icon svg, .features__icon svg, .contact__icon svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.service { display: flex; flex-direction: column; }
.service h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 10px; }
.service p { flex: 1; color: var(--muted); font-size: 15px; }
.service__link { align-self: flex-start; }
.service__link { display: inline-flex; gap: 6px; margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--brand); }
.service__link span { transition: transform .3s var(--ease); }
.service__link:hover span { transform: translateX(4px); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 40px 60px 0; }
.about__card { border-radius: var(--radius-lg); }
.about__card--main {
  position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 50% 36%, rgba(15, 179, 200, .20), transparent 46%),
    radial-gradient(circle at 12% 96%, rgba(201, 154, 62, .16), transparent 40%),
    linear-gradient(165deg, #FFFFFF 0%, #EEF5FB 100%);
  border: 1px solid #fff;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2);
}
/* thin silver-gold inner frame, echoing the logo's metallic edges */
.about__card--main::after {
  content: ""; position: absolute; inset: 14px; z-index: -1;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--silver), rgba(201, 154, 62, .55), var(--silver)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  opacity: .8;
}
.about__pattern {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(30, 91, 216, .16) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 36%, transparent 22%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 36%, transparent 22%, #000 40%, transparent 75%);
}
.about__emblem {
  position: absolute; top: 7%; left: 50%; width: 56%; aspect-ratio: 1;
  transform: translateX(-50%);
}
.about__emblem img {
  position: relative; width: 100%; height: 100%;
  filter: drop-shadow(0 18px 30px rgba(15, 34, 68, .18));
  animation: float 7s ease-in-out infinite;
}
.ring {
  position: absolute; inset: 4%; border-radius: 50%;
  border: 1px solid rgba(15, 179, 200, .35);
  animation: pulse 4s ease-out infinite;
}
.ring--2 { animation-delay: 2s; }
@keyframes pulse {
  0% { transform: scale(.92); opacity: .9; }
  100% { transform: scale(1.32); opacity: 0; }
}
.about__badge { position: absolute; left: 36px; bottom: 36px; z-index: 1; color: var(--navy); }
.about__badge strong {
  display: block; font-size: 76px; line-height: 1; font-weight: 800; letter-spacing: -.05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__badge span { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.about__card--mini {
  position: absolute; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; background: #fff;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  border-radius: 20px;
}
.about__card--mini p { font-size: 15px; line-height: 1.35; }
.about__card--mini small { color: var(--muted); font-size: 13px; }
.avatars { display: flex; }
.avatars i { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; }
.avatars i:first-child { margin-left: 0; background: linear-gradient(135deg, #FFD3A5, #FD6585); }
.avatars i:nth-child(2) { background: linear-gradient(135deg, #A1C4FD, #1E5BD8); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, #D4FC79, #12A672); }
.avatars i:nth-child(4) { background: linear-gradient(135deg, #A5E9F0, #0FB3C8); }

.about__content .section__title { margin-top: 16px; }
.features { display: grid; gap: 22px; margin: 34px 0 40px; }
.features li { display: flex; gap: 18px; align-items: flex-start; }
.features__icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; background: #fff; color: var(--brand);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.features__icon svg { width: 22px; height: 22px; }
.features h4 { font-size: 17px; margin-bottom: 2px; letter-spacing: -.01em; }
.features p { color: var(--muted); font-size: 15px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, #C9CEE6 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num {
  position: relative; display: grid; place-items: center;
  width: 68px; height: 68px; margin: 0 auto 26px;
  border-radius: 50%; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  font-weight: 800; font-size: 18px; color: var(--brand);
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.step:hover .step__num { background: var(--grad); color: #fff; transform: scale(1.08); border-color: transparent; }
.step h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Work ---------- */
.work { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.project {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.project--lg { grid-row: span 2; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project__cover { position: relative; flex: 1; min-height: 220px; display: grid; place-items: center; overflow: hidden; }
.project--lg .project__cover { min-height: 380px; }
.project__cover--1 { background: linear-gradient(140deg, #E5EFFB 0%, #D3E5F8 50%, #DAF4F6 100%); }
.project__cover--2 { background: linear-gradient(140deg, #FFF1DC 0%, #FFE2C2 100%); }
.project__cover--3 { background: linear-gradient(140deg, #DEF7EC 0%, #CDEFE4 100%); }
.project__cover--4 { background: linear-gradient(140deg, #F6F1E6 0%, #E4ECF6 100%); }
.project__cover--5 { background: linear-gradient(140deg, #E0F2FE 0%, #DBE4FF 100%); }
.project__info { padding: 26px 28px 30px; }
.project__info h3 { font-size: 22px; letter-spacing: -.02em; margin: 12px 0 6px; }
.project__info p { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }

/* Abstract mockups */
.mock { transition: transform .7s var(--ease); }
.project:hover .mock { transform: scale(1.05) translateY(-6px); }
.mock--web {
  width: 76%; aspect-ratio: 16 / 10; background: #fff; border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(30, 91, 216, .35);
  padding: 34px 22px 22px; position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto 1fr; gap: 12px;
}
.mock--web::before { content: ""; position: absolute; top: 13px; left: 16px; width: 40px; height: 8px; border-radius: 6px; background: #E3E6F3; }
.mock--web b:first-of-type { grid-column: 1 / -1; height: 56px; border-radius: 10px; background: var(--grad); opacity: .9; }
.mock--web i { border-radius: 10px; background: #F1F2F9; min-height: 70px; }
.mock--web b:last-of-type { display: none; }
.mock--web i:nth-child(1) { order: 2; } .mock--web i:nth-child(2) { order: 3; } .mock--web i:nth-child(3) { order: 4; }

.mock--phone {
  width: 120px; height: 200px; background: #fff; border-radius: 22px; padding: 26px 12px 12px;
  box-shadow: 0 26px 50px -18px rgba(201, 154, 62, .55); display: grid; gap: 8px; align-content: start;
  transform: rotate(-6deg);
}
.mock--phone i { height: 34px; border-radius: 10px; background: #FFF4E4; }
.mock--phone i:first-child { height: 60px; background: linear-gradient(135deg, #FFB65C, #F58A3C); }
.project:hover .mock--phone { transform: rotate(-2deg) scale(1.05); }

.mock--chart {
  width: 70%; height: 140px; background: #fff; border-radius: 16px; padding: 20px;
  box-shadow: 0 26px 50px -18px rgba(18, 166, 114, .45);
  display: flex; align-items: flex-end; gap: 10px;
}
.mock--chart i { flex: 1; border-radius: 6px; background: #D5F2E6; }
.mock--chart i:nth-child(1) { height: 40%; } .mock--chart i:nth-child(2) { height: 65%; }
.mock--chart i:nth-child(3) { height: 50%; } .mock--chart i:nth-child(4) { height: 80%; }
.mock--chart i:nth-child(5) { height: 100%; background: linear-gradient(180deg, #2BC48A, #12A672); }

/* AI assistant mock */
.mock--ai {
  width: 72%; max-width: 340px; background: #fff; border-radius: 16px; padding: 16px;
  box-shadow: 0 26px 50px -18px rgba(15, 179, 200, .45);
  display: grid; gap: 9px;
}
.mock__ai-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.mock__ai-orb {
  width: 22px; height: 22px; border-radius: 50%;
  background: conic-gradient(from 120deg, #0FB3C8, #7FE7DC, #1E5BD8, #0FB3C8);
  animation: spin 6s linear infinite;
}
.mock__ai-head b { width: 64px; height: 8px; border-radius: 6px; background: #E1ECF5; }
.mock--ai i { height: 20px; width: 78%; border-radius: 8px 8px 8px 3px; background: #EAF5FA; }
.mock--ai i:nth-of-type(2) { justify-self: end; width: 58%; border-radius: 8px 8px 3px 8px; background: linear-gradient(135deg, #5ED8E6, #0FB3C8); }
.mock--ai i:nth-of-type(3) { width: 66%; }
.mock__ai-input {
  position: relative; height: 28px; margin-top: 3px;
  border: 1px solid var(--line); border-radius: 999px;
}
.mock__ai-input::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; background: var(--grad);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Infrastructure server-rack mock */
.mock--infra { width: 64%; max-width: 300px; display: grid; gap: 8px; }
.mock--infra i {
  position: relative; height: 34px; border-radius: 10px; background: #fff;
  box-shadow: 0 10px 24px -12px rgba(30, 91, 216, .45);
}
.mock--infra i::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--green);
  box-shadow: 14px 0 0 #1E5BD8, 28px 0 0 #E2E8F0;
}
.mock--infra i:nth-child(2)::before { animation: blink 1.6s ease-in-out infinite; }
.mock--infra i:nth-child(4)::before { animation: blink 2.2s ease-in-out infinite .4s; }
.mock--infra i::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 45%; height: 4px; margin-top: -2px;
  border-radius: 4px; background: repeating-linear-gradient(90deg, #DCE3F0 0 6px, transparent 6px 10px);
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.quote {
  margin: 0; padding: 34px 30px 30px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote--featured {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-lg);
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.quote blockquote { margin: 0; flex: 1; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption small { color: var(--muted); font-size: 13px; }
.quote__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.quote--featured .quote__avatar { background: var(--grad); color: #fff; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 0 0 120px; }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 80px 40px; border-radius: 32px; text-align: center; color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, .18), transparent 35%),
    radial-gradient(circle at 90% 100%, rgba(201, 154, 62, .4), transparent 40%),
    var(--grad);
  box-shadow: 0 40px 80px -30px rgba(30, 91, 216, .55);
}
.cta__glow {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.cta h2 { max-width: 760px; margin: 0 auto 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.cta h2 em { background: none; color: #A5F3FC; -webkit-text-fill-color: #A5F3FC; }
.cta p { max-width: 560px; margin: 0 auto; font-size: 18px; opacity: .9; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact__list { display: grid; gap: 18px; margin-top: 36px; }
.contact__list li {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .3s, box-shadow .3s;
}
.contact__list li:hover { border-color: #CDD2E4; box-shadow: var(--shadow); }
.contact__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.contact__icon svg { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: 13px; color: var(--muted); }
.contact__list a, .contact__list span { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--brand); }

.form {
  padding: 40px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 20px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6678' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: #A3AAB9; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 91, 216, .12);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }
.form__status { min-height: 1.4em; font-size: 14px; font-weight: 600; text-align: center; }
.form__status:empty { display: none; }

/* Spam trap — kept off-screen rather than display:none so naive bots still fill it */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Sending state */
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.form.is-sending .spinner { display: inline-block; }
.form.is-sending #formSubmit svg { display: none; }
.form.is-sending #formSubmit { pointer-events: none; opacity: .85; }

/* Success panel */
.form__success { display: none; }
.form.is-sent > *:not(.form__success) { display: none; }
.form.is-sent .form__success {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: 36px 8px; outline: none;
  animation: pop .6s var(--ease) both;
}
.form__success-icon {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--grad); color: #fff;
  box-shadow: 0 0 0 10px rgba(15, 179, 200, .12), var(--shadow-brand);
}
.form__success-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.form__success h3 { margin-top: 10px; font-size: 28px; letter-spacing: -.03em; }
.form__success p { max-width: 400px; color: var(--muted); }
.form__success p b { color: var(--ink); overflow-wrap: anywhere; }
.form__success .btn { margin-top: 8px; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
.form__status.is-success { color: var(--green); }
.form__status.is-error { color: #E5484D; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line-2); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer__brand p { margin: 20px 0 24px; max-width: 320px; color: var(--muted); font-size: 15px; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.socials a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__col h5 { font-size: 15px; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { font-size: 15px; color: var(--muted); transition: color .25s; }
.footer__col a:hover { color: var(--brand); }
.footer__col > p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.newsletter { display: flex; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; transition: border-color .25s, box-shadow .25s; }
.newsletter:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 91, 216, .12); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: none; padding: 8px 14px; font-size: 14px; outline: none; }
.newsletter button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; }
.newsletter button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.footer__bottom div { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--brand); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav__link { padding: 8px 10px; font-size: 14px; }
  .hero__inner { gap: 40px; }
  .about { gap: 56px; }
  .services { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 20px 20px 28px;
    background: rgba(251, 251, 248, .98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(12, 26, 51, .2);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { padding: 12px 14px; font-size: 16px; border-radius: 12px; }
  .nav__cta { padding: 14px 20px; font-size: 15px; }
  .header.menu-open { background: rgba(251, 251, 248, .98); }

  .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__text { margin: 0 auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .dash { transform: none; }
  .hero__visual:hover .dash { transform: none; }

  .section { padding: 88px 0; }
  .services, .testimonials { grid-template-columns: 1fr 1fr; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; margin: 0 auto; width: 100%; padding: 0; }
  .about__badge { bottom: 56px; }
  .about__card--mini { position: relative; right: auto; bottom: auto; width: fit-content; margin: -36px 16px 0 auto; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process::before { display: none; }
  .work { grid-template-columns: 1fr; }
  .project--lg { grid-row: auto; }
  .project--lg .project__cover { min-height: 280px; }
  .testimonials .quote:last-child { grid-column: 1 / -1; }
  .cta-wrap { padding-bottom: 88px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 38px; }
  .hero__text { font-size: 16.5px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 20px; justify-content: space-between; }
  .hero__stats strong { font-size: 26px; }
  .hero__stats span { font-size: 12.5px; line-height: 1.4; display: block; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .float-card { padding: 10px 14px 10px 10px; }
  .float-card__icon { width: 34px; height: 34px; }
  .dash__body { padding: 20px; }
  .dash__chart { height: 130px; gap: 7px; }
  .dash__row { grid-template-columns: 10px 90px 1fr; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 44px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .services, .testimonials, .process { grid-template-columns: 1fr; }
  .testimonials .quote:last-child { grid-column: auto; }
  .service, .quote { padding: 28px 24px 24px; }
  .about__badge { left: 26px; bottom: 52px; }
  .about__badge strong { font-size: 56px; }
  .about__badge span { font-size: 14.5px; }
  .about__emblem { width: 54%; }
  .about__card--mini { margin-right: 10px; }
  .logo__mark { width: 42px; height: 42px; }
  .logo__name { font-size: 14.5px; }
  .logo__tag { font-size: 7.5px; letter-spacing: .24em; }

  .cta { padding: 56px 22px; border-radius: 24px; }
  .cta__actions .btn { width: 100%; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .footer { padding-top: 60px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
