/* =========================================================
   SASHAN Resourceful LTD — shared stylesheet (mobile-first)
   ========================================================= */
:root {
  --bg: #000;
  --bg-2: #0a0c0a;
  --card: #111511;
  --line: rgba(199, 201, 204, .22);
  --green: #2fbf4a;
  --green-dark: #1f8a35;
  --gold: #d4a94f;
  --silver: #c7c9cc;
  --red: #d7263d;
  --red-dark: #b81d31;
  --text: #e9ece9;
  --muted: #a6aca6;
  --radius: 14px;
  --gutter: 18px;
  --header-h: 64px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-sub: "Cinzel", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  padding-bottom: 68px; /* room for mobile action bar */
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 8.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 5.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: 56px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sub);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--green); vertical-align: middle; margin-right: 10px; }
.gold { color: var(--gold); }
.green { color: var(--green); }

.divider { height: 2px; width: 72px; background: linear-gradient(90deg, var(--green), var(--gold)); border: 0; margin: 0 0 22px; }
.center .divider { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s;
  text-decoration: none !important;
}
.btn:active { transform: scale(.98); }
.btn-cta { background: var(--red); color: #fff; }
.btn-cta:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--silver); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-green { background: var(--green); color: #031006; }
.btn-green:hover { background: #45d55f; }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #000; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; letter-spacing: .08em; color: var(--green); font-size: 1rem; }
.brand-text span { font-family: var(--font-sub); color: var(--gold); font-size: .7rem; letter-spacing: .12em; }

.nav-toggle {
  width: 48px; height: 48px; display: grid; place-content: center; gap: 5px;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .25s, 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); }

.site-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: #000; border-bottom: 1px solid var(--line);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.site-nav.open { max-height: 380px; }
.site-nav ul { padding: 8px var(--gutter) 18px; }
.site-nav a {
  display: flex; align-items: center; min-height: 52px;
  font-family: var(--font-head); font-weight: 600; color: var(--text);
  border-bottom: 1px solid rgba(199, 201, 204, .12); text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--green); }
.site-nav li:last-child a { border-bottom: 0; }

/* ---------- Image placeholders ---------- */
.slot {
  position: relative; overflow: hidden; margin: 0;
  background: repeating-linear-gradient(45deg, #0e120e, #0e120e 14px, #141914 14px, #141914 28px);
  border: 1px dashed rgba(212, 169, 79, .6);
  border-radius: var(--radius);
}
.slot-label {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  padding: 12px; color: var(--gold); font-family: var(--font-head); font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
}
.slot-label b { display: block; font-size: .9rem; color: var(--green); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* product shots on white backgrounds: show the whole pack, never crop it */
.slot.shot { background: #fff; border: 1px solid var(--line); }
.slot.shot .slot-label { background: repeating-linear-gradient(45deg, #0e120e, #0e120e 14px, #141914 14px, #141914 28px); }
.slot.shot img { object-fit: contain; background: #fff; }
.media-stack { display: grid; gap: 12px; }
.media-stack .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card.has-media .slot.shot { border: 0; border-bottom: 1px solid var(--line); }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-11 { aspect-ratio: 1 / 1; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 88vh; min-height: 88svh; overflow: hidden; }
.hero.hero-sm { min-height: 60vh; min-height: 60svh; }
.hero-media { position: absolute; inset: 0; z-index: -2; border: 0; border-radius: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  /* mobile: text sits at the bottom, so darken from the bottom up */
  background: linear-gradient(to top, rgba(0,0,0,.96) 0%, rgba(0,0,0,.86) 42%, rgba(0,0,0,.35) 75%, rgba(0,0,0,.15) 100%);
}
.hero-content { padding-block: 40px 44px; }
.hero h1 span { color: var(--green); }
.hero .tagline { font-family: var(--font-sub); color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; margin-bottom: 14px; }
.hero p.lead { color: #d3d7d3; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badge { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .8rem; color: var(--silver); background: rgba(0,0,0,.45); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--bg); padding: 22px 12px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--gold); }
.stat span { font-size: .8rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; margin-top: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.has-media { padding: 0; overflow: hidden; }
.card.has-media .slot { border: 0; border-radius: 0; border-bottom: 1px dashed rgba(212,169,79,.6); }
.card-body { padding: 20px 22px 24px; }
.card h3 { color: var(--text); }
.card p { color: var(--muted); font-size: .96rem; }
.card .more { font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(47,191,74,.12); color: var(--green); font-size: 1.3rem; margin-bottom: 14px; }

/* ---------- Split layout ---------- */
.split { display: grid; gap: 28px; align-items: center; }

/* ---------- Chips / lists ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.chip { border: 1px solid rgba(212,169,79,.5); color: var(--gold); border-radius: 999px; padding: 4px 12px; font-size: .82rem; }
.chip.green { border-color: rgba(47,191,74,.5); color: var(--green); }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.check-list strong { color: var(--text); }
.label-sm { font-family: var(--font-head); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); margin: 14px 0 4px; }

/* ---------- Product feature (services) ---------- */
.product { padding: 40px 0; border-bottom: 1px solid var(--line); }
.product:last-of-type { border-bottom: 0; }
.product .num { font-family: var(--font-head); font-weight: 800; color: var(--green); font-size: .9rem; letter-spacing: .15em; }

/* ---------- Info tables ---------- */
.info-list { display: grid; gap: 14px; margin-top: 24px; }
.info-row { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; }
.info-row strong { display: block; font-family: var(--font-head); color: var(--text); }
.info-row span { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 56px 0; background: linear-gradient(135deg, #06170a 0%, #000 55%, #1a1405 100%); border-block: 1px solid var(--line); }

/* ---------- Contact footer ---------- */
.site-footer { background: #050605; border-top: 3px solid; border-image: linear-gradient(90deg, var(--green), var(--gold), var(--red)) 1; padding-top: 52px; }
.contact-grid { display: grid; gap: 18px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.contact-item .icon { margin: 0; flex: none; }
.contact-item strong { display: block; font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--text); word-break: break-word; }
.contact-item small { display: block; color: var(--muted); margin-top: 2px; }
.footer-bottom { margin-top: 40px; padding: 22px 0 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; text-align: center; font-size: .85rem; color: var(--muted); }
.footer-bottom .motto { font-family: var(--font-sub); color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(0,0,0,.95); border-top: 1px solid var(--line);
}
.action-bar .btn { min-height: 46px; padding: 8px 12px; font-size: .9rem; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .section { padding: 88px 0; }
  .nav-toggle { display: none; }
  .site-nav { position: static; max-height: none; overflow: visible; background: transparent; border: 0; }
  .site-nav ul { display: flex; gap: 6px; padding: 0; align-items: center; }
  .site-nav a { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; font-size: .92rem; }
  .site-nav a:hover { color: var(--gold); text-decoration: none; }
  .site-nav .nav-cta a { background: var(--red); color: #fff; }
  .site-nav .nav-cta a:hover { background: var(--red-dark); color: #fff; }
  .brand img { width: 52px; height: 52px; }
  .hero { align-items: center; min-height: 86vh; }
  .hero.hero-sm { min-height: 56vh; }
  .hero-overlay {
    /* desktop: text on the left, so darken left-to-right */
    background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.82) 40%, rgba(0,0,0,.25) 75%, rgba(0,0,0,.05) 100%);
  }
  .hero-content { max-width: 1140px; padding-block: 80px; }
  .hero-content > * { max-width: 620px; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse > :first-child { order: 2; }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
