:root {
  --primary: #C36F35;
  --slate: #334155;
  --blue: #2563EB;
  --bg: #0B1220;
  --ink: #0f172a;
  --muted: #6b7280;
  --card: #111827;
  --ring: rgba(37,99,235,.4);
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 48px rgba(0,0,0,.22);
}

html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

/* Accessibility */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem .75rem; background: #fff; border-radius: .5rem; box-shadow: var(--shadow-md); z-index: 9999; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

/* Layout helpers */
.container { width: min(1140px, 92vw); margin-inline: auto; }
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Header */
header.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(8px); background: rgba(255,255,255,.7); border-bottom: 1px solid rgba(15,23,42,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; background: conic-gradient(from 180deg at 50% 50%, var(--primary), var(--blue), var(--primary)); color: #fff; font-weight: 700; font-family: "Baloo Da 2", cursive; letter-spacing: .5px; }
.brand-name { font-family: "Baloo Da 2", cursive; font-size: 1.25rem; color: var(--slate); line-height: 1; }

nav ul { display: flex; gap: 1.2rem; list-style: none; padding: 0; margin: 0; align-items: center; }
nav a { color: var(--slate); text-decoration: none; font-weight: 600; font-size: .98rem; }
nav a:hover { color: var(--primary); }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.05rem; border-radius: .8rem; border: 1px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(.95); }
.btn-outline { border-color: rgba(15,23,42,.12); color: var(--slate); background: #fff; }
.btn-outline:hover { border-color: rgba(15,23,42,.3); }

/* Hero */
.hero { background:
  radial-gradient(1200px 600px at 10% -20%, rgba(195,111,53,.28), transparent 60%),
  radial-gradient(900px 500px at 100% 0%, rgba(37,99,235,.25), transparent 60%),
  linear-gradient(180deg, #0e1424 0%, #0b1220 100%);
  color: #e5e7eb; position: relative; overflow: clip;
}
.hero .container { padding: 5.5rem 0 3.5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(255,255,255,.08); color: #cbd5e1; font-size: .86rem; }
.hero h1 { font-family: "Baloo Da 2", cursive; font-size: clamp(2.2rem, 4vw + 1rem, 3.4rem); line-height: 1.1; margin: 1rem 0 .75rem; color: #fff; }
.hero p.lede { font-size: 1.15rem; color: #cbd5e1; max-width: 64ch; }
.hero-ctas { display: flex; gap: .9rem; align-items: center; margin-top: 1.3rem; flex-wrap: wrap; }
.hero-illus { position: relative; min-height: 260px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-illus::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(700px 240px at 70% 30%, rgba(37,99,235,.2), transparent 60%),
  radial-gradient(500px 200px at 30% 70%, rgba(195,111,53,.18), transparent 60%);
  pointer-events: none; border-radius: inherit;
}

/* Badges / trust */
.trust { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; color: #94a3b8; margin-top: 1.5rem; }
.trust b { color: #cbd5e1; }

/* Section base */
section { padding: 3.75rem 0; }
.section-title { font-family: "Baloo Da 2", cursive; font-size: clamp(1.6rem, 2vw + .8rem, 2.2rem); color: var(--slate); margin: 0 0 .5rem; }
.section-sub { color: var(--muted); max-width: 70ch; }

/* Cards */
.card { background: #fff; border: 1px solid rgba(15,23,42,.06); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-md); }
.card h3 { margin: .4rem 0 .2rem; font-size: 1.15rem; color: var(--slate); }
.kpi { font-weight: 800; font-size: 2rem; color: var(--primary); }

/* How it works */
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; }
.step .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(37,99,235,.08); color: var(--blue); font-weight: 800; }

/* Feature split */
.feature { align-items: center; }
.feature .media { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(15,23,42,.08); box-shadow: var(--shadow-md); min-height: 220px; background: linear-gradient(180deg, rgba(37,99,235,.05), rgba(195,111,53,.05)); }
.feature h3 { font-size: 1.35rem; color: var(--slate); margin-top: 0; }

/* FAQs */
details { border: 1px solid rgba(15,23,42,.08); border-radius: 12px; padding: 1rem 1.2rem; background: #fff; box-shadow: var(--shadow-sm); }
details + details { margin-top: .8rem; }
summary { cursor: pointer; font-weight: 700; color: var(--slate); }
details[open] { border-color: rgba(195,111,53,.35); box-shadow: 0 0 0 3px rgba(195,111,53,.12); }

/* CTA band */
.cta { background: linear-gradient(135deg, rgba(195,111,53,.08), rgba(37,99,235,.08)); border: 1px solid rgba(15,23,42,.06); border-radius: calc(var(--radius) + 8px); padding: 2rem; display: grid; gap: 1rem; align-items: center; box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; } }

/* Footer */
footer { background: #0b1220; color: #cbd5e1; padding: 2.5rem 0; }
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: #fff; }

/* Motion preferences */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { opacity: 0; transform: translateY(10px); animation: fadeUp .6s ease-out forwards; }
  .fade-up.d2 { animation-delay: .08s; } .fade-up.d3 { animation-delay: .16s; } .fade-up.d4 { animation-delay: .24s; }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
}

/* Logo image */
.brand-logo-img {
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.site-header .brand {
  gap: 0;
}

@media (max-width: 700px) {
  .brand-logo-img {
    height: 42px;
    max-width: 180px;
  }
}
/* Industries grid */
.industries-grid { display:grid; gap:1rem; grid-template-columns: repeat(6, minmax(0,1fr)); }
@media (max-width: 1100px){ .industries-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 700px){ .industries-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
.industry-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border:1px solid rgba(15,23,42,.06); }
.industry-card img { width:100%; height: 180px; display:block; object-fit: cover; }
.industry-card .label { position:absolute; left:0; right:0; bottom:0; padding:.6rem .8rem; font-weight:800; color:#fff; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.6) 80%); text-shadow: 0 1px 2px rgba(0,0,0,.5); }

/* Clickable cards */
.card.clickable {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card.clickable:hover {
  transform: translateY(-4px);
  border-color: rgba(195,111,53,.45);
  box-shadow: 0 0 0 3px rgba(195,111,53,.12), 0 18px 40px rgba(195,111,53,.22);
}

.card.clickable:hover h3 {
  color: var(--primary);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.card-link:hover {
  color: inherit;
  text-decoration: none;
}

/* 5-card balanced service grid: 3 top, 2 centred bottom */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 1.2rem;
}

.services-grid .card {
  grid-column: span 2;
}

.services-grid .card:nth-child(4) {
  grid-column: 2 / span 2;
}

.services-grid .card:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .card,
  .services-grid .card:nth-child(4),
  .services-grid .card:nth-child(5) {
    grid-column: auto;
  }
}

/* Clickable feature rows */
.clickable-feature {
  border-radius: var(--radius);
  padding: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.clickable-feature:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 0 3px rgba(195,111,53,.12), 0 18px 40px rgba(195,111,53,.18);
}

.clickable-feature:hover h3 {
  color: var(--primary);
}

.clickable-feature:hover .media {
  box-shadow: 0 0 0 3px rgba(195,111,53,.18), var(--shadow-md);
}
