:root {
  --ink: #111827;
  --muted: #5b6472;
  --paper: #fffaf0;
  --cream: #fff7e6;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --amber: #f59e0b;
  --coral: #ef4444;
  --violet: #7c3aed;
  --white: #ffffff;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 18px 18px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: clamp(0.9rem, 2.2vw, 1.02rem);
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 14px;
  color: #273241;
  font-weight: 750;
}

.nav-links a:hover {
  background: rgba(15, 118, 110, 0.12);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 4px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 124px 24px 54px;
  background:
    radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.28), transparent 26%),
    radial-gradient(circle at 85% 36%, rgba(20, 184, 166, 0.26), transparent 30%),
    linear-gradient(135deg, #fff3cd 0%, #f7fffb 46%, #ffe5df 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 42px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin: 0 auto 22px;
  font-size: clamp(2.7rem, 7.1vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 0 auto 30px;
  color: #394353;
  font-size: clamp(1.02rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
}

.btn svg,
.contact-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.btn.primary {
  background: var(--ink);
  color: var(--white);
}

.btn.secondary {
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.64;
  pointer-events: none;
}

.compliance-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(94vw, 1100px);
  transform: translate(-50%, -46%);
}

.orbit {
  fill: none;
  stroke: rgba(17, 24, 39, 0.15);
  stroke-width: 3;
  stroke-dasharray: 16 22;
  animation: dashMove 22s linear infinite;
}

.orbit-two {
  stroke: rgba(15, 118, 110, 0.16);
  animation-duration: 28s;
  animation-direction: reverse;
}

.float-doc {
  transform-origin: center;
  animation: floatDoc 6s ease-in-out infinite;
}

.doc-back {
  animation-delay: -1.2s;
}

.doc-main {
  animation-delay: -0.4s;
}

.tick-line {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: tickDraw 2.8s ease-in-out infinite;
}

.stamp {
  transform-origin: 633px 442px;
  animation: stampPulse 3.6s ease-in-out infinite;
}

.spark {
  transform-origin: center;
  animation: twinkle 3.5s ease-in-out infinite;
}

.spark-b {
  animation-delay: -1.2s;
}

.spark-c {
  animation-delay: -2s;
}

.service-band,
.process-section,
.contact-section {
  padding: clamp(66px, 9vw, 112px) 24px;
}

.section-heading {
  width: min(1040px, 100%);
  margin: 0 auto 34px;
}

.section-heading.narrow {
  width: min(760px, 100%);
  text-align: center;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.7vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.services-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 244px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.08);
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: var(--accent, var(--teal));
}

.service-card::after {
  position: absolute;
  right: -46px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border: 18px solid color-mix(in srgb, var(--accent, var(--teal)) 24%, transparent);
  border-radius: 50%;
  content: "";
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent, var(--teal)) 14%, white);
  color: var(--accent, var(--teal));
  font-size: 1.15rem;
  font-weight: 1000;
}

.service-card h3,
.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.1;
}

.service-card p,
.process-step p,
.contact-copy p {
  color: var(--muted);
}

.accent-food { --accent: #ef4444; }
.accent-udyam { --accent: #0f766e; }
.accent-gst { --accent: #7c3aed; }
.accent-bis { --accent: #f59e0b; }
.accent-iso { --accent: #2563eb; }
.accent-excise { --accent: #db2777; }

.process-section {
  background: #10231f;
  color: var(--white);
}

.process-section .eyebrow {
  color: #fbbf24;
}

.process-track {
  display: grid;
  width: min(1080px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.process-step {
  min-height: 224px;
  padding: 24px;
  background: #10231f;
}

.process-step span {
  display: block;
  margin-bottom: 42px;
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 900;
}

.process-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.contact-copy {
  padding: 0;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.picker-option {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf0;
  color: #374151;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 850;
}

.picker-option.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-link {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.contact-link:hover {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}

.contact-link span {
  min-width: 0;
}

.contact-link strong,
.contact-link small {
  display: block;
}

.contact-link strong {
  overflow-wrap: anywhere;
}

.contact-link small {
  color: var(--muted);
}

address {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -420;
  }
}

@keyframes floatDoc {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(1.4deg);
  }
}

@keyframes tickDraw {
  0%,
  26% {
    stroke-dashoffset: 160;
  }
  52%,
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes stampPulse {
  0%,
  100% {
    transform: scale(1) rotate(-8deg);
  }
  50% {
    transform: scale(1.06) rotate(-3deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

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

@media (max-width: 900px) {
  .site-header {
    inset: 12px 12px auto;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 42px rgba(17, 24, 39, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .services-grid,
  .process-track,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section {
    width: min(100% - 32px, 680px);
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 91svh;
    padding: 116px 16px 64px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .service-band,
  .process-section,
  .contact-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .service-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    display: grid;
  }
}
