/* Sarang — light commercial logistics marketing (Shiprocket-inspired polish, own brand) */

:root {
  --ink: #0f1720;
  --ink-soft: #4a5563;
  --teal: #5a93a4;
  --teal-deep: #2f6b7c;
  --teal-bright: #1a8a9e;
  --action: #0e7c8b;
  --action-hover: #0a6571;
  --paper: #ffffff;
  --wash: #f3f7f9;
  --mist: #e8f1f4;
  --line: #d5e2e7;
  --focus: #0e7c8b;
  --danger: #b42318;
  --radius: 10px;
  --radius-pill: 999px;
  --max: 74rem;
  --header-h: 4.5rem;
  --shadow-soft: 0 10px 40px rgba(15, 23, 32, 0.06);
  --shadow-btn: 0 8px 20px rgba(14, 124, 139, 0.28);
  --font-display: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--action);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--action);
  color: #fff;
  padding: 0.5rem 0.85rem;
  z-index: 100;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header — white bar, logo as-is (no invert) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: header-in 0.55s var(--ease) both;
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 3.1rem;
  object-fit: contain;
  background: transparent;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav .nav-login {
  margin-left: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: #fff !important;
  box-shadow: var(--shadow-btn);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-nav .nav-login:hover {
  background: var(--action-hover);
  transform: translateY(-1px);
}

main {
  flex: 1;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.35rem;
}

/* Hero — light full-bleed, brand logo readable, Shiprocket-like punch */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(86vh, 40rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(90, 147, 164, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(14, 124, 139, 0.1), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f4f9fb 48%, #eaf3f6 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    linear-gradient(105deg, transparent 40%, rgba(47, 107, 124, 0.07) 50%, transparent 60%),
    radial-gradient(circle at 22% 70%, var(--teal-deep) 0 1.5px, transparent 2px),
    radial-gradient(circle at 48% 35%, var(--teal-deep) 0 1.5px, transparent 2px),
    radial-gradient(circle at 72% 62%, var(--teal-deep) 0 1.5px, transparent 2px),
    radial-gradient(circle at 88% 28%, var(--teal-deep) 0 1.5px, transparent 2px);
  animation: route-drift 22s linear infinite;
}

@keyframes route-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-1.2%, 0.8%, 0);
  }
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.35rem 4rem;
  width: 100%;
}

.hero-logo {
  width: min(16rem, 68vw);
  height: auto;
  margin: 0 0 1.75rem;
  animation: rise 0.75s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2.35rem, 6.2vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  max-width: 14ch;
  color: var(--ink);
  animation: rise 0.75s var(--ease) 0.06s both;
}

.hero h1 .accent {
  color: var(--action);
  display: inline;
}

.hero .lede {
  margin: 0 0 1.85rem;
  max-width: 34rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
  animation: rise 0.75s var(--ease) 0.12s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.75s var(--ease) 0.18s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.9rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary,
.btn-solid {
  background: var(--action);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-solid:hover {
  background: var(--action-hover);
  color: #fff;
}

.btn-ghost,
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--action);
  background: #fff;
}

/* Inner page hero — light band, not dark (logo-safe) */

.page-hero {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(90, 147, 164, 0.18), transparent 55%),
    linear-gradient(180deg, #f7fbfc 0%, #eef5f8 100%);
  color: var(--ink);
  padding: 3.5rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  line-height: 1.12;
  font-weight: 750;
}

.page-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section {
  padding: 4.25rem 0;
}

.section-muted {
  background: var(--wash);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-weight: 750;
}

.section .section-lede {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .split-2 {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 1.75rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.todo-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: #fff;
  border: 1px dashed var(--teal);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin: 1rem 0;
}

/* Services — clean product rows like modern logistics SaaS */

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.service-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.45rem 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.service-list li:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

.service-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6.5rem;
  margin: 0 0 1rem;
  border-radius: 12px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 30%, rgba(90, 147, 164, 0.14), transparent 70%),
    var(--wash);
  color: var(--teal-deep);
  overflow: hidden;
}

.service-art svg {
  width: min(100%, 11rem);
  height: auto;
  display: block;
}

.service-list li:hover .service-art {
  color: var(--action);
}

.service-list .label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.service-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.pillar-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .pillar-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.pillar:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

.pillar:hover .service-art {
  color: var(--action);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.cta-band {
  background:
    linear-gradient(120deg, var(--teal-deep) 0%, var(--action) 55%, #1493a5 100%);
  color: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 0.5rem;
}

.cta-band .section-lede {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.35rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--action);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: var(--mist);
  color: var(--action-hover);
}

.cta-band .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* Forms */

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.65rem;
  max-width: 42rem;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.field .hint {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
  color: var(--ink);
  width: 100%;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--action);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 124, 139, 0.15);
}

.field .error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--danger);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.form-message {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--wash);
  color: var(--ink);
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-info {
  border-color: rgba(14, 124, 139, 0.35);
  background: rgba(14, 124, 139, 0.08);
}

.dims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.contact-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-meta li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.contact-meta span {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

/* Footer — light so logo stays correct */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--wash);
  color: var(--ink-soft);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.35rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--action);
}

.footer-brand img {
  width: auto;
  height: 3.4rem;
  margin-bottom: 0.85rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
}

.footer-brand p {
  margin: 0;
  font-size: 0.95rem;
  max-width: 24rem;
}

.footer-col h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 1.1rem 1.35rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 1.35rem 1.15rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.6rem 0;
  }

  .site-nav .nav-login {
    margin-left: 0;
    text-align: center;
    margin-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
