/* Rasmi Logistics Services Ltd. - site styles
   Brand colours come from the logo: green #154400, orange #FF7D00. */

:root {
  --green: #154400;
  --orange: #FF7D00;
  --ink: #0D2A00;
  --paper: #F2F6EC;
  --line: #D3DCC8;
  --muted: #44523B;
  --light: #CFDCC4;
  --gutter: max(80px, calc((100vw - 1440px) / 2 + 80px));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-size: 44px; font-weight: 700; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 32px;
  font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1;
  text-decoration: none; border: 2px solid transparent; border-radius: 4px; cursor: pointer;
}
.btn-sm { height: 48px; padding: 0 24px; font-size: 17px; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: #FFA23F; }
.btn-ghost { border-color: var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: block; }
.brand img { height: 64px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav .link { font-size: 17px; font-weight: 500; text-decoration: none; padding: 8px 0; border-bottom: 4px solid transparent; }
.nav .link:hover { border-bottom-color: var(--orange); }
.nav .link[aria-current="page"] { font-weight: 700; border-bottom-color: var(--orange); }
.menu-btn {
  display: none; align-items: center; height: 48px; padding: 0 20px;
  font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  background: transparent; border: 2px solid var(--green); border-radius: 4px; cursor: pointer;
}

/* ---------- Hero (home) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 640px; min-height: 700px; overflow: hidden; }
.hero-text { padding: 64px 40px 64px var(--gutter); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; max-width: 660px; }
.lead { font-size: 20px; line-height: 1.65; color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-panel { background: var(--green); clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%); }
.hero-panel > svg { display: block; width: 100%; height: 100%; }

/* ---------- Page title band (inner pages) ---------- */
.band { display: flex; justify-content: space-between; align-items: stretch; min-height: 360px; background: var(--green); color: #fff; overflow: hidden; }
.band-text { padding: 64px 40px 64px var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.band h1 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; max-width: 760px; }
.band p { font-size: 20px; line-height: 1.65; color: var(--light); max-width: 640px; }
.band svg { flex-shrink: 0; display: block; }

/* ---------- Sections ---------- */
.section { padding-top: 88px; padding-bottom: 88px; }
.bg-white { background: #fff; }
.bg-green { background: var(--green); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; margin-bottom: 56px; }
.section-head p { max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--muted); }

.intro { display: flex; flex-direction: column; gap: 64px; }
.intro-top { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 80px; }
.intro-top .copy { display: flex; flex-direction: column; gap: 20px; font-size: 20px; line-height: 1.7; color: var(--muted); }
.commit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.commit { border-top: 3px solid var(--orange); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.commit strong { font-size: 22px; font-weight: 700; }
.commit span { font-size: 17px; line-height: 1.6; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.pillar { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pillar h3 { margin-top: 8px; }
.pillar p { font-size: 17px; color: var(--muted); }
.icon-box { width: 64px; height: 64px; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.more { margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Call to action band ---------- */
.cta { display: flex; min-height: 300px; background: var(--orange); overflow: hidden; }
.cta-text { flex: 1; padding: 48px 40px 48px var(--gutter); display: flex; align-items: center; }
.cta h2 { font-size: 44px; font-weight: 800; line-height: 1.12; max-width: 700px; color: var(--ink); }
.cta-side { width: 520px; flex-shrink: 0; background: var(--green); clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%); display: flex; align-items: center; justify-content: center; padding-left: 90px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: var(--light); padding-top: 72px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 420px auto auto; gap: 80px; justify-content: start; }
.foot-brand { display: flex; flex-direction: column; gap: 24px; }
.foot-logo { align-self: flex-start; background: #fff; padding: 10px 20px; border-radius: 6px; }
.foot-logo img { height: 56px; width: auto; display: block; }
.foot-brand p { max-width: 360px; font-size: 17px; }
.foot-col { display: flex; flex-direction: column; gap: 14px; }
.foot-col h2 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: 0; }
.foot-col a { font-size: 17px; line-height: 1.5; text-decoration: none; color: var(--light); }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 56px; border-top: 1px solid #3C6A1F; padding-top: 24px; font-size: 16px; }

/* ---------- Services page ---------- */
.svc { padding-top: 80px; padding-bottom: 80px; }
.svc .wrap { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 80px; }
.svc-intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.svc-intro h2 { font-size: 40px; margin-top: 8px; }
.svc-intro p { font-size: 18px; line-height: 1.65; color: var(--muted); }
.svc-item { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.svc-item svg { flex-shrink: 0; margin-top: 2px; }
.svc-item h3 { margin-bottom: 8px; }
.svc-item p { font-size: 17px; color: var(--muted); }

/* ---------- Our work page ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-img {
  height: 250px; border-bottom: 6px solid var(--orange);
  background: repeating-linear-gradient(125deg, #154400 0, #154400 22px, #1B4E02 22px, #1B4E02 44px);
  display: flex; align-items: center; justify-content: center;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.tag { align-self: flex-start; background: var(--orange); color: var(--ink); font-size: 15px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 8px; }
.card-body p { font-size: 17px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.step { border-top: 1px solid #3C6A1F; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step-n { font-size: 56px; font-weight: 800; line-height: 1; color: var(--orange); }
.step h3 { color: #fff; margin-top: 8px; }
.step p { font-size: 17px; color: var(--light); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 40px; align-items: stretch; }
.form-card { background: #fff; border: 1px solid var(--line); padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.form-card h2 { font-size: 32px; line-height: 1.25; letter-spacing: 0; }
.form-card .sub { font-size: 17px; color: var(--muted); margin-top: 8px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 16px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; height: 56px; padding: 0 16px;
  font-family: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 1.5px solid #7C8C72; border-radius: 4px;
}
.field textarea { height: 160px; padding: 14px 16px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 4px; font-weight: 500; }
.notice-ok { background: #E3F1D6; border: 1px solid #5B8F3A; }
.notice-err { background: #FDE7DA; border: 1px solid #C8541A; }
.side-card { background: var(--green); color: #fff; padding: 48px; display: flex; flex-direction: column; gap: 28px; }
.side-card h2 { font-size: 32px; letter-spacing: 0; color: #fff; }
.side-card h3 { font-size: 22px; color: #fff; }
.detail { display: flex; flex-direction: column; gap: 4px; }
.detail .label { font-size: 16px; color: var(--light); }
.detail .value { font-size: 20px; font-weight: 500; line-height: 1.55; }
.detail a { text-decoration: none; }
.detail a:hover { text-decoration: underline; }
.include { border-top: 1px solid #3C6A1F; padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.include ul { padding-left: 22px; font-size: 17px; line-height: 1.55; color: var(--light); }
.include li { margin-bottom: 10px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero { grid-template-columns: minmax(0, 1fr) 460px; }
  .pillars, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .svc .wrap { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; }
  .intro-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-grid { grid-template-columns: 1fr auto auto; gap: 48px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  h2 { font-size: 34px; }
  .site-header .wrap { height: 72px; }
  .brand img { height: 48px; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 20px;
    padding: 24px var(--gutter) 32px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }

  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-text { padding: 48px var(--gutter); }
  .hero-panel { clip-path: none; }
  .hero-panel > svg { height: auto; }
  .lead, .band p { font-size: 18px; }

  .band { min-height: 0; }
  .band-text { padding: 48px var(--gutter); }
  .band svg { display: none; }

  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .commit-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pillars, .cards, .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps { gap: 32px; margin-top: 40px; }

  .cta { flex-direction: column; min-height: 0; }
  .cta-text { padding: 48px var(--gutter) 24px; }
  .cta h2 { font-size: 32px; }
  .cta-side { width: 100%; clip-path: none; padding: 32px var(--gutter); justify-content: flex-start; }

  .svc { padding-top: 56px; padding-bottom: 56px; }
  .svc .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc-intro h2 { font-size: 32px; }

  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .site-footer { padding-top: 56px; }

  .form-card, .side-card { padding: 28px 24px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .detail .value { font-size: 18px; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
