/* ============================================================
   JUSTRIKA — Global Sourcing Partner
   Palette drawn from the JR logo: two teals + ink charcoal
   ============================================================ */
:root {
  --teal-deep: #176b7d;      /* dark teal from the "R" */
  --teal-soft: #6fa3ae;      /* light teal from the "J" */
  --ink: #2b2e30;            /* charcoal wordmark */
  --night: #0e3540;          /* deep sea — dark sections */
  --paper: #f6fafa;          /* off-white background */
  --white: #ffffff;
  --line: #d9e5e7;
  --slash: polygon(0 0, 100% 0, calc(100% - 72px) 100%, 0 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

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

h1, h2, h3, .display {
  font-family: "Archivo", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.script {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  color: var(--teal-soft);
  letter-spacing: 0.01em;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
  margin-bottom: 14px;
}

/* ---------- The slash — Justrika's signature divider ---------- */
.slash-rule {
  display: flex; gap: 10px; margin: 0 0 18px;
}
.slash-rule span {
  width: 26px; height: 8px;
  background: var(--teal-deep);
  transform: skewX(-28deg);
}
.slash-rule span:nth-child(2) { background: var(--teal-soft); }
.slash-rule.center { justify-content: center; }
.slash-rule.on-dark span { background: var(--teal-soft); }
.slash-rule.on-dark span:nth-child(2) { background: var(--white); }

/* ---------------------- Header ---------------------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-name {
  font-family: "Archivo", sans-serif;
  font-weight: 800; font-size: 20px; color: var(--ink);
  letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 15px;
  padding: 4px 0;
  border-bottom: 3px solid transparent;
  transition: border-color .15s ease;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--teal-deep); }
.nav-links a:focus-visible,
a.btn:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal-deep); outline-offset: 2px;
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px 0; transform: skewX(-18deg); }

/* ---------------------- Buttons ---------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  padding: 14px 26px;
  border: 0; cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal-deep); color: var(--white); }
.btn-primary:hover { background: #135a6a; }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-ghost.on-dark { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn-wa { background: #1f9e5a; color: var(--white); }
.btn-wa:hover { background: #188a4d; }

/* ---------------------- Hero ---------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(111, 163, 174, 0.34), transparent 28%),
    linear-gradient(135deg, #0d2f3a 0%, #113c49 55%, #0d2631 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; top: -18%; right: -12%;
  width: 42%; height: 135%;
  background: linear-gradient(160deg, rgba(23, 107, 125, 0.95) 0%, rgba(111, 163, 174, 0.92) 100%);
  transform: skewX(-14deg);
  opacity: .92;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .95fr;
  gap: 48px; align-items: center;
  padding: 96px 0 104px;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); }
.hero h1 .lt { color: var(--teal-soft); }
.hero p.lede { margin: 22px 0 30px; font-size: 19px; color: #d6e4e7; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 15px; color: #a9c3c9; }
.hero-note a { color: var(--white); font-weight: 700; text-decoration: none; }
.hero-note a:hover { text-decoration: underline; }

.hero-visual {
  display: flex; justify-content: center; align-items: stretch;
}
.visual-frame {
  overflow: hidden;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(0,0,0,0.2);
  padding: 8px;
}
.visual-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
}
.visual-frame-lg {
  width: min(100%, 500px);
  min-height: 420px;
  height: clamp(360px, 42vw, 520px);
}
.visual-frame-sm { min-height: 180px; }
.visual-stack {
  display: grid; gap: 18px;
  align-content: start;
}
.visual-caption {
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 20px 18px;
  border-left: 5px solid var(--teal-deep);
}
.visual-caption p { font-size: 15px; color: #56666b; }

/* ---------------------- Country strip ---------------------- */
.strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; justify-content: center; }
.strip-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7c8a8e; }
.strip-item { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 17px; color: var(--teal-deep); }
.strip-item::before { content: "/ "; color: var(--teal-soft); }

/* ---------------------- Sections ---------------------- */
section.block { padding: 88px 0; }
section.block.tight { padding: 64px 0; }
section.block.on-dark { background: var(--night); color: var(--white); }
.story-band { background: linear-gradient(180deg, #f3f8f9 0%, #f8fbfb 100%); }
.block h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 14px; }
.block .sub { font-size: 18px; color: #56666b; max-width: 40em; }
.on-dark .sub { color: #c4d6da; }
.head-center { text-align: center; }
.head-center .sub { margin: 0 auto; }

.showcase-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  margin-bottom: 20px;
}
.showcase-copy h2 { max-width: 13ch; }
.showcase-media {
  position: relative; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(10, 49, 60, 0.1);
}
.showcase-media img { width: 100%; height: 350px; object-fit: cover; display: block; }
.media-label {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(255,255,255,0.94); padding: 14px 16px;
  border-left: 4px solid var(--teal-deep);
}
.media-label span {
  font-family: "Archivo", sans-serif; font-weight: 700; color: var(--teal-deep); font-size: 15px;
}
.showcase-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.mini-card {
  background: var(--white); border: 1px solid var(--line);
  padding: 20px; min-height: 230px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 12px 30px rgba(10, 49, 60, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(10, 49, 60, 0.12);
  border-color: rgba(23, 107, 125, 0.45);
}
.mini-card strong {
  font-family: "Archivo", sans-serif; font-weight: 800; color: var(--teal-deep);
  font-size: 18px;
}
.mini-card p { font-size: 14.5px; color: #56666b; }
.mini-card.accent { background: linear-gradient(180deg, #e6f3f5, #ffffff); }

/* ---------------------- Step rail (how it works) ---------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 24px;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(10, 49, 60, 0.12);
  border-color: rgba(23, 107, 125, 0.45);
}
.step .num {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 15px;
  color: var(--white); background: var(--teal-deep);
  display: inline-block; padding: 3px 14px; margin-bottom: 16px;
  transform: skewX(-18deg);
}
.step .num i { font-style: normal; display: inline-block; transform: skewX(18deg); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: #56666b; }

/* ---------------------- Service cards ---------------------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.single-image-grid { grid-template-columns: 1fr; max-width: 1120px; margin: 52px auto 0; }
.photo-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  border-radius: 18px;
}
.photo-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.photo-card-body { padding: 20px 18px 22px; }
.photo-card-body h3 { font-size: 20px; margin-bottom: 8px; }
.photo-card-body p { font-size: 15px; color: #c3d4d9; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal-deep);
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.svc:nth-child(even) { border-top-color: var(--teal-soft); }
.svc h3 { font-size: 21px; }
.svc p { font-size: 15.5px; color: #56666b; flex: 1; }
.svc ul { list-style: none; margin-top: 4px; }
.svc ul li { padding-left: 22px; position: relative; font-size: 15px; margin-bottom: 7px; }
.svc ul li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 6px; background: var(--teal-soft); transform: skewX(-28deg);
}
.svc a { color: var(--teal-deep); font-weight: 700; text-decoration: none; font-size: 15px; }
.svc a:hover { text-decoration: underline; }

/* ---------------------- Why grid ---------------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); margin-top: 52px; }
.why { background: var(--white); padding: 30px 26px; }
.why h3 { font-size: 18px; margin-bottom: 8px; color: var(--teal-deep); }
.why p { font-size: 15px; color: #56666b; }

/* ---------------------- CTA band ---------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--teal-deep), var(--night) 70%);
  color: var(--white);
  padding: 72px 0;
  clip-path: polygon(0 0, 100% 28px, 100% 100%, 0 calc(100% - 28px));
}
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); max-width: 18em; }
.cta-band p { color: #cfe0e4; margin-top: 8px; }

/* ---------------------- Footer ---------------------- */
footer { background: var(--night); color: #b9cdd2; padding: 64px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; }
.foot-brand img { height: 54px; background: var(--white); padding: 6px 10px; }
.foot-brand p { margin-top: 16px; font-size: 15px; max-width: 26em; }
.foot h4 { color: var(--white); font-family: "Archivo", sans-serif; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.foot ul { list-style: none; }
.foot ul li { margin-bottom: 10px; }
.foot a { color: #b9cdd2; text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--white); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 24px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------------------- Page hero (inner pages) ---------------------- */
.page-hero {
  background: var(--night); color: var(--white);
  padding: 72px 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; top: -30%; right: -8%;
  width: 30%; height: 160%;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal-soft));
  transform: skewX(-14deg); opacity: .9;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); }
.page-hero p { margin-top: 14px; font-size: 18px; color: #d6e4e7; max-width: 36em; }

/* ---------------------- Service detail rows ---------------------- */
.svc-row {
  display: grid; grid-template-columns: 90px 1fr; gap: 28px;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row .tag {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 26px;
  color: var(--white); background: var(--teal-deep);
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  transform: skewX(-10deg);
}
.svc-row:nth-child(even) .tag { background: var(--teal-soft); }
.svc-row .tag i { font-style: normal; transform: skewX(10deg); }
.svc-row h3 { font-size: 24px; margin-bottom: 10px; }
.svc-row p { color: #4a595e; max-width: 46em; }
.svc-row ul { list-style: none; margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 28px; }
.svc-row ul li { padding-left: 22px; position: relative; font-size: 15.5px; }
.svc-row ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px; background: var(--teal-deep); transform: skewX(-28deg);
}

/* ---------------------- Contact ---------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 52px; align-items: start; }
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  padding: 30px 28px; margin-bottom: 20px;
  border-left: 6px solid var(--teal-deep);
}
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { font-size: 15px; color: #56666b; margin-bottom: 12px; }
.contact-card .big {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 22px;
  color: var(--teal-deep); text-decoration: none; display: inline-block;
}
.contact-card .big:hover { text-decoration: underline; }

.form-panel { background: var(--white); border: 1px solid var(--line); padding: 36px 32px; }
.form-panel h3 { font-size: 22px; margin-bottom: 6px; }
.form-panel > p { font-size: 15px; color: #56666b; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; font-size: 15px; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: 13.5px; color: #7c8a8e; margin-top: 14px; }

/* ---------------------- FAQ ---------------------- */
.faq { margin-top: 44px; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  margin-bottom: 12px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: 17px;
  padding: 18px 0; position: relative; padding-right: 36px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font-size: 24px; color: var(--teal-deep); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: #56666b; font-size: 15.5px; max-width: 52em; }

/* ---------------------- Responsive ---------------------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; padding: 64px 0 72px; }
  .hero::after { width: 70%; opacity: .35; }
  .hero-visual, .showcase-grid, .showcase-cards { grid-template-columns: 1fr; }
  .showcase-media img { height: 300px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .photo-grid, .svc-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }
  .steps, .photo-grid, .svc-grid, .why-grid, .foot-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row ul { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
