/* =========================================================
   RNG Technologies Pvt Ltd — stylesheet
   ========================================================= */

:root {
  --navy-950: #050a1a;
  --navy-900: #071026;
  --navy-800: #0c1a3a;
  --navy-700: #122653;

  --brand: #1257ff;
  --brand-dark: #0b3fd1;
  --brand-soft: #e8efff;
  --cyan: #06b6d4;
  --violet: #7c5cff;
  --amber: #f59e0b;
  --green: #16a34a;

  --ink: #0e1730;
  --ink-soft: #33415f;
  --muted: #64748b;
  --line: #e4e9f2;
  --bg: #f6f8fc;
  --card: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(10, 26, 60, .06);
  --shadow: 0 14px 40px rgba(10, 26, 60, .10);
  --shadow-lg: 0 30px 70px rgba(6, 18, 45, .22);

  --font-head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.18rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1rem; }
section { position: relative; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.center { text-align: center; margin-top: 36px; }
.muted { color: var(--muted); }
.accent { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(18, 87, 255, .32);
}
.btn--primary:hover { box-shadow: 0 16px 34px rgba(18, 87, 255, .42); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn--sm { padding: .6rem 1.1rem; font-size: .87rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-950);
  color: #b7c3dd;
  font-size: .8rem;
  padding: .5rem 0;
}
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar__items { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; transition: color .18s; }
.topbar__item:hover { color: #fff; }
.topbar__item svg { width: 14px; height: 14px; fill: currentColor; }
.topbar__item--muted { color: #8494b5; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 8px 26px rgba(9, 22, 52, .10); }
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--brand) 0%, var(--cyan) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(18, 87, 255, .3);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-head); font-size: 1.18rem; letter-spacing: -.02em; color: var(--ink); }
.brand__text span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text span { color: #93a2c0; }

.nav { display: flex; align-items: center; gap: .4rem; }
.nav__link {
  padding: .55rem .95rem;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .18s, background .18s;
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.nav__cta { margin-left: .6rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--brand); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 78% 18%, rgba(6, 182, 212, .18), transparent 60%),
    radial-gradient(760px 520px at 12% 78%, rgba(18, 87, 255, .22), transparent 62%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, #0a1738 100%);
  color: #d7dffa;
  padding: clamp(60px, 8vw, 104px) 0 clamp(52px, 6vw, 84px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .lead { font-size: clamp(1rem, 1.3vw, 1.1rem); color: #a9b7d6; max-width: 60ch; margin-bottom: 1.8rem; }

.badge {
  display: inline-block;
  padding: .45rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  color: #cdd8f2;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.9rem; }
.hero .btn--ghost { color: #e4ebff; border-color: rgba(255,255,255,.3); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.hero__points { display: grid; gap: .55rem; }
.hero__points li { display: flex; align-items: center; gap: .6rem; font-size: .93rem; color: #b9c6e4; }
.hero__points svg { width: 17px; height: 17px; fill: var(--cyan); flex: none; }

/* Hero panel */
.hero__panel { position: relative; min-height: 340px; }
.panel {
  background: linear-gradient(150deg, rgba(16, 32, 68, .95), rgba(8, 17, 40, .95));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.panel--main { backdrop-filter: blur(6px); }
.panel__head {
  display: flex; align-items: center; gap: .45rem;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: #ff5f57; }
.dot--amber { background: #febc2e; }
.dot--green { background: #28c840; }
.panel__title { margin-left: auto; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #7d8db1; }
.panel__body { padding: 1.2rem 1.2rem 1.4rem; display: grid; gap: 1.1rem; }

.metric { display: grid; gap: .35rem; }
.metric__label { font-size: .78rem; color: #8b9bbd; text-transform: uppercase; letter-spacing: .06em; }
.metric__value { font-family: var(--font-head); font-size: 1.5rem; color: #fff; font-weight: 600; }
.metric__value em { font-style: normal; font-size: .8rem; color: #93a3c6; font-family: var(--font-body); font-weight: 500; }
.metric__value.ok { color: #4ade80; }
.bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--cyan)); }
.bar--amber i { background: linear-gradient(90deg, var(--amber), #fde68a); }

.panel--float {
  position: absolute;
  left: -26px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.panel--float strong { display: block; font-size: .92rem; }
.panel--float span:not(.chip-icon) { font-size: .78rem; color: var(--muted); }
.chip-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
}
.chip-icon svg { width: 20px; height: 20px; fill: #fff; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__stats {
  position: relative;
  margin: clamp(48px, 6vw, 76px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
}
.hero__stats > div { background: rgba(8, 17, 40, .72); padding: 1.3rem 1.4rem; }
.hero__stats dt { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--cyan); line-height: 1; }
.hero__stats dd { margin: .45rem 0 0; font-size: .85rem; color: #a6b4d4; line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 7vw, 100px) 0; }
.section--tight { padding: clamp(46px, 5vw, 68px) 0; }
.section--alt { background: #fff; border-block: 1px solid var(--line); }
.section--dark {
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(6,182,212,.16), transparent 60%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: #cbd5f0;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head p { color: var(--muted); font-size: 1.03rem; }
.section__head--light p { color: #9fadd0; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .8rem;
}
.eyebrow--light { color: var(--cyan); }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d4dded; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .93rem; }

.icon-wrap {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 15px;
  margin-bottom: 1.1rem;
}
.icon-wrap svg { width: 26px; height: 26px; fill: #fff; }
.icon-wrap--violet { background: linear-gradient(135deg, var(--violet), #a855f7); box-shadow: 0 10px 22px rgba(124, 92, 255, .3); }
.icon-wrap--blue { background: linear-gradient(135deg, var(--brand), #3b82f6); box-shadow: 0 10px 22px rgba(18, 87, 255, .3); }
.icon-wrap--cyan { background: linear-gradient(135deg, var(--cyan), #0ea5e9); box-shadow: 0 10px 22px rgba(6, 182, 212, .3); }
.icon-wrap--amber { background: linear-gradient(135deg, var(--amber), #f97316); box-shadow: 0 10px 22px rgba(245, 158, 11, .3); }

.ticks { display: grid; gap: .5rem; margin: .4rem 0 1.2rem; }
.ticks li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .89rem;
  color: var(--ink-soft);
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .42em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231257ff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/9px no-repeat;
}

.card__link {
  margin-top: auto;
  font-weight: 600;
  font-size: .9rem;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s;
}
.card__link:hover { gap: .7rem; }

/* ---------- Why / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature-list { display: grid; gap: 1.15rem; margin: 1.8rem 0 2rem; }
.feature-list li { display: flex; gap: 1rem; }
.feature-list__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--cyan);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
}
.feature-list strong { display: block; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: .15rem; }
.feature-list span { color: var(--muted); font-size: .92rem; }

.stack-cards { display: grid; gap: 18px; position: relative; }
.stack-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .3rem 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.stack-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.stack-card h4 { grid-column: 1; margin: 0; font-size: 1.05rem; }
.stack-card span { grid-column: 1; font-size: .8rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.stack-card--1 { border-left: 4px solid var(--violet); }
.stack-card--2 { border-left: 4px solid var(--brand); }
.stack-card--3 { border-left: 4px solid var(--amber); }

.mini-bars { grid-row: 1 / span 2; grid-column: 2; display: flex; align-items: flex-end; gap: 5px; height: 52px; }
.mini-bars i { width: 9px; border-radius: 3px; background: linear-gradient(180deg, var(--violet), var(--brand)); }
.ring {
  grid-row: 1 / span 2; grid-column: 2;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--brand) 0 82%, #e6ecf7 0);
  position: relative;
}
.ring::after {
  content: "";
  position: absolute; inset: 7px;
  background: #fff; border-radius: 50%;
}
.ring span {
  position: relative; z-index: 1;
  font-size: .55rem; line-height: 1.15;
  text-align: center; font-weight: 700;
  color: var(--brand);
  text-transform: uppercase; letter-spacing: .04em;
}
.solar-dots { grid-row: 1 / span 2; grid-column: 2; display: grid; grid-template-columns: repeat(4, 10px); gap: 5px; }
.solar-dots i { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--amber), #fbbf24); }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process__step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  position: relative;
  transition: transform .22s, box-shadow .22s;
}
.process__step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -14px;
  width: 12px; height: 2px;
  background: var(--line);
}
.process__num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--brand);
  display: block;
  margin-bottom: .6rem;
}
.process__step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.process__step p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ---------- Case studies ---------- */
.case {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform .22s, background .22s, border-color .22s;
}
.case:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.case h3 { font-size: 1.1rem; }
.case p { font-size: .92rem; color: #a7b5d6; }
.case__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.case__tag--cyan { background: rgba(6,182,212,.18); color: #67e8f9; border: 1px solid rgba(103,232,249,.4); }
.case__tag--amber { background: rgba(245,158,11,.18); color: #fcd34d; border: 1px solid rgba(252,211,77,.4); }
.case__tag--blue { background: rgba(18,87,255,.2); color: #93b4ff; border: 1px solid rgba(147,180,255,.4); }
.case__tag--violet { background: rgba(124,92,255,.2); color: #c4b5fd; border: 1px solid rgba(196,181,253,.4); }
.case__tag--green { background: rgba(22,163,74,.2); color: #86efac; border: 1px solid rgba(134,239,172,.4); }
.case__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.case__meta li {
  font-size: .72rem;
  color: #9fb0d4;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: .25rem .6rem;
  border-radius: 999px;
}

/* light-background variant used on projects page */
.case--light {
  background: var(--card);
  border-color: var(--line);
}
.case--light:hover { background: #fff; border-color: #d4dded; }
.case--light h3 { color: var(--ink); }
.case--light p { color: var(--muted); }
.case--light .case__meta li { background: #f2f5fb; color: var(--muted); border-color: var(--line); }
.case--light .case__meta li strong { color: var(--ink); }

/* ---------- Chips / industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.chips li {
  padding: .6rem 1.15rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .2s;
}
.chips li:hover { border-color: var(--brand); color: var(--brand); box-shadow: 0 8px 20px rgba(18,87,255,.12); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 20% 20%, rgba(6,182,212,.25), transparent 65%),
    linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 55%, #0a1a44 100%);
  color: #eaf0ff;
  padding: clamp(52px, 6vw, 76px) 0;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: #c6d3f5; max-width: 56ch; margin: 0; }
.cta-band__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.cta-band .btn--primary { background: #fff; color: var(--brand-dark); box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.cta-band .btn--primary:hover { color: var(--brand); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 82% 24%, rgba(6,182,212,.18), transparent 62%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: #cdd8f2;
  padding: clamp(56px, 7vw, 88px) 0 clamp(44px, 5vw, 66px);
}
.page-hero h1 { color: #fff; margin-bottom: .8rem; }
.page-hero p { color: #a6b4d4; max-width: 68ch; font-size: 1.05rem; margin: 0; }
.crumbs { display: flex; gap: .5rem; font-size: .82rem; color: #8494b5; margin-bottom: 1.1rem; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .6; }

/* ---------- Service detail blocks ---------- */
.service-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 3.4vw, 44px);
  margin-bottom: 28px;
  scroll-margin-top: 100px;
}
.service-block__head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.service-block__head .icon-wrap { margin-bottom: 0; flex: none; }
.service-block__head h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-bottom: .3rem; }
.service-block__head p { color: var(--muted); margin: 0; }
.service-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2rem; }
.service-col h4 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .8rem;
}
.service-col ul { display: grid; gap: .55rem; }
.service-col li { position: relative; padding-left: 1.5rem; font-size: .93rem; color: var(--ink-soft); }
.service-col li::before {
  content: "";
  position: absolute; left: 0; top: .4em;
  width: 15px; height: 15px; border-radius: 5px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231257ff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/10px no-repeat;
}
.service-note {
  margin-top: 1.5rem;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  padding: .9rem 1.1rem;
  font-size: .9rem;
  color: var(--ink-soft);
}
.service-note strong { color: var(--ink); }
.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--line);
}
.service-foot span { font-size: .87rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { color: var(--brand); }
.faq__q::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brand);
  transition: transform .2s;
  flex: none;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq__a p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink-soft); }
.field label span { color: #e11d48; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font: inherit;
  font-size: .94rem;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 87, 255, .12);
}
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: #e11d48; }
.field__error { display: none; font-size: .78rem; color: #e11d48; margin-top: .3rem; }
.field.is-error .field__error { display: block; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .9rem; }
.form-success {
  display: none;
  align-items: center;
  gap: .7rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  font-size: .92rem;
  margin-bottom: 1.2rem;
}
.form-success.is-visible { display: flex; }

.form-failure {
  display: none;
  align-items: center;
  gap: .7rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  font-size: .92rem;
  margin-bottom: 1.2rem;
}
.form-failure.is-visible { display: flex; }

/* Spam-trap honeypot: out of view, still present in the HTML */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.contact-side { display: grid; gap: 18px; }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}
.info-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.info-card h3 svg { width: 20px; height: 20px; fill: var(--brand); }
.info-list { display: grid; gap: .8rem; font-size: .93rem; color: var(--ink-soft); }
.info-list li { display: flex; gap: .7rem; align-items: flex-start; }
.info-list li svg { width: 17px; height: 17px; fill: var(--muted); flex: none; margin-top: .25rem; }
.info-list a:hover { color: var(--brand); }
.info-list strong { display: block; color: var(--ink); font-size: .95rem; }

.info-card--dark {
  background: linear-gradient(140deg, var(--navy-900), var(--navy-800));
  border-color: rgba(255,255,255,.08);
  color: #cbd5f0;
}
.info-card--dark h3 { color: #fff; }
.info-card--dark h3 svg { fill: var(--cyan); }
.info-card--dark .info-list { color: #a7b5d6; }
.info-card--dark .info-list strong { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #93a2c0; padding-top: clamp(52px, 6vw, 72px); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 40px;
}
.footer__brand p { font-size: .9rem; margin: 1.1rem 0 1.3rem; max-width: 42ch; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: all .2s;
}
.footer__social a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; fill: #cbd5f0; }
.footer__social a:hover svg { fill: #fff; }

.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links, .footer__contact { display: grid; gap: .6rem; font-size: .9rem; }
.footer__links a, .footer__contact a { transition: color .18s, padding-left .18s; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; padding-left: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #6f7fa3;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process__step:not(:last-child)::after { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  .topbar__items--right { display: none; }
  .hero__inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__panel { min-height: auto; margin-top: 8px; }
  .panel--float { left: auto; right: 8px; bottom: -18px; }
  .grid--3 { grid-template-columns: 1fr; }
  .nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 24px 1.4rem;
    box-shadow: 0 20px 40px rgba(9,22,52,.14);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: .8rem 1rem; border-radius: 12px; }
  .nav__cta { margin: .6rem 0 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .grid--4, .grid--2, .service-cols, .form-row, .process { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; }
  .topbar { display: none; }
  .hero__actions .btn { width: 100%; }
}
