/* =============================================================================
   StratEdge Integrated Business Solutions
   Static stylesheet — recreated from the live Lovable site's computed styles.
   No framework, no build step. Plain CSS3.

   Colour tokens below are the EXACT values read from the original site
   (converted from OKLCH to hex for wider browser support).
   Change a value here and it updates everywhere on the site.
============================================================================= */

:root {
  /* ---- brand colours (exact match to original) ---- */
  --background:         #FCFDFF;
  --foreground:         #181F2E;
  --primary:            #152586;   /* deep royal indigo — headings, buttons */
  --primary-rgb:        21, 37, 134;
  --primary-foreground: #F9FCFF;
  --secondary:          #EEF2F7;
  --muted:              #F1F4F7;
  --muted-foreground:   #606A78;   /* body copy */
  --accent:             #E0ECFF;
  --border:             #D9DEE6;
  --card:               #FFFFFF;
  --gold:               #DAB060;   /* accent rules, icons, gold buttons */
  --gold-foreground:    #312103;
  --surface:            #F5F7F9;

  /* ---- radii (original: --radius .375rem) ---- */
  --radius-sm: 2px;    /* buttons, inputs */
  --radius-md: 4px;    /* cards */
  --radius-lg: 6px;    /* dark CTA panels */

  /* ---- shadows (exact) ---- */
  --shadow-soft: 0 1px 2px rgba(var(--primary-rgb), .06), 0 12px 34px -18px rgba(var(--primary-rgb), .35);
  --shadow-lift: 0 2px 4px rgba(var(--primary-rgb), .06), 0 24px 50px -24px rgba(var(--primary-rgb), .45);

  /* ---- type ---- */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans:    "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* ---- layout ---- */
  --wrap: 1152px;      /* max-w-6xl */
  --gutter: 20px;      /* px-5 */
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}
h1 { font-size: 36px; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: 30px; line-height: 1.2;  letter-spacing: -.02em; }
h3 { font-size: 16px; line-height: 1.5;  letter-spacing: -.02em; font-weight: 600; }
p  { margin: 0; }

@media (min-width: 768px) {
  h1 { font-size: 60px; }
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--primary); color: #fff; padding: 12px 20px;
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 768px; }          /* max-w-3xl, About page */

.section { padding-block: 80px; }            /* py-20 */
.section--surface { background: var(--surface); }

/* ---- named surfaces, copied from the original stylesheet ---- */
.hero-surface {
  background-image: linear-gradient(120deg, #FAFCFE 0%, #E8EBF1 55%, #D9DEE8 100%);
}
.ink-surface {
  background-image: linear-gradient(135deg, #0E1A6C, #2A3590);
  color: var(--primary-foreground);
}

/* ---- the little gold rule above section headings ---- */
.rule-accent::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 20px;
}

/* ---- eyebrow label ---- */
.eyebrow {
  font-size: 12px;
  line-height: 1.33;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--muted-foreground);
}

.muted { color: var(--muted-foreground); }
.lede  { font-size: 16px; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 768px) { .lede { font-size: 18px; } }

.body-sm { font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  padding: 14px 24px;               /* px-6 py-3.5 */
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, opacity .18s ease;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-soft); }
.btn--primary:hover { transform: translateY(-2px); }

.btn--outline { border-color: rgba(var(--primary-rgb), .25); color: var(--primary); background: transparent; }
.btn--outline:hover { background: rgba(var(--primary-rgb), .05); }

.btn--gold { background: var(--gold); color: var(--gold-foreground); }
.btn--gold:hover { opacity: .9; }

.btn--sm { padding: 8px 16px; font-size: 12px; line-height: 16px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* inline "More about SIBS →" style link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none;
  transition: gap .18s ease;
}
.arrow-link:hover { gap: 12px; }
.arrow-link svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- nav --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 253, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 222, 230, .7);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* The rotating "chrome S" mark.
   Values below are copied exactly from the original site:
   perspective 220px on the wrapper, a full 360° Y-rotation,
   3.57143s, linear, running forever. */
.brand__markwrap {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  perspective: 220px;
}
.brand__mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: reference-s-turn var(--mark-duration, 3.57143s) linear infinite;
}
@keyframes reference-s-turn {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
/* the original stops the spin for visitors who ask for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .brand__mark { animation: none !important; }
}
.brand__text { display: flex; align-items: baseline; gap: 8px; }
.brand__name {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  letter-spacing: -.02em; color: var(--primary);
}
.brand__sub {
  display: none; font-size: 11px; text-transform: uppercase;
  letter-spacing: .22em; color: var(--muted-foreground);
}
@media (min-width: 640px) { .brand__sub { display: inline; } }

.nav__links { display: none; align-items: center; gap: 32px; }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--muted-foreground);
  text-decoration: none; transition: color .16s ease;
}
.nav__links a:hover { color: var(--primary); }
.nav__links a[aria-current="page"] { color: var(--primary); }
/* the CTA is a button, not a nav link — keep its own colour */
.nav__links a.btn, .nav__mobile a.btn { color: var(--primary-foreground); }

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 0; color: var(--primary); cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

/* mobile drawer */
.nav__mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 8px var(--gutter) 20px;
}
.nav__mobile.is-open { display: block; }
.nav__mobile a {
  display: block; padding: 12px 0; font-size: 15px; font-weight: 500;
  color: var(--muted-foreground); text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-of-type { border-bottom: 0; }
.nav__mobile a[aria-current="page"] { color: var(--primary); }
.nav__mobile .btn { width: 100%; justify-content: center; margin-top: 12px; }
@media (min-width: 768px) { .nav__mobile, .nav__mobile.is-open { display: none; } }

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; }
.hero__media {
  position: absolute; right: 0; top: 0;
  height: 100%; width: 50%;
  object-fit: cover;
  opacity: .7;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.hero__inner { position: relative; padding-block: 96px; }   /* py-24 */
@media (min-width: 768px) { .hero__inner { padding-block: 128px; } }  /* md:py-32 */

.hero h1 { margin-top: 24px; max-width: 48rem; }
.hero .lede { margin-top: 24px; max-width: 36rem; }
.hero .btn-row { margin-top: 36px; }

/* inner-page banner */
.pagehead { border-bottom: 1px solid var(--border); }
.pagehead__inner { padding-block: 80px; }
.pagehead h1 { margin-top: 20px; }
.pagehead h1.h1--md { font-size: 30px; }
.pagehead p.body-sm { margin-top: 16px; max-width: 36rem; }
@media (min-width: 768px) {
  .pagehead h1 { font-size: 48px; }
  .pagehead h1.h1--md { font-size: 36px; }
}

/* --------------------------------------------------------------- grids -- */
.grid { display: grid; }
.split-home { gap: 48px; }
.cards-2 { display: grid; gap: 16px; }
.services-grid { display: grid; gap: 20px; margin-top: 40px; }
.why-grid { display: grid; gap: 32px; margin-top: 40px; }

@media (min-width: 640px) {
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .split-home { grid-template-columns: 0.9fr 1.1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------- cards -- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.card h3 { color: var(--primary); }
.card p { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }

.service-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-lift); }
.service-card__icon { width: 22px; height: 22px; color: var(--gold); }
.service-card h3 { margin-top: 16px; font-size: 18px; color: var(--primary); }
.service-card p { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }
.service-card__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: var(--primary);
}
.service-card__more svg { width: 14px; height: 14px; transition: transform .2s ease; }
.service-card:hover .service-card__more svg { transform: translateX(4px); }

/* "Why choose" items — gold rule on top (home) */
.why-item { border-top: 2px solid var(--gold); padding-top: 20px; }
.why-item h3 { color: var(--foreground); }
.why-item p { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }

/* philosophy items — gold rule on the left (about) */
.phil-item { border-left: 2px solid var(--gold); padding-left: 20px; }
.phil-item h3 { color: var(--foreground); }
.phil-item p { margin-top: 4px; font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }

/* ------------------------------------------------- services page rows --- */
.service-row {
  display: grid; gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  scroll-margin-top: 90px;
}
@media (min-width: 768px) { .service-row { grid-template-columns: 0.8fr 1.2fr; } }

.service-row__num { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--gold); }
.service-row h2 { margin-top: 8px; font-size: 24px; }
.service-row__desc { margin-top: 12px; font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }

.tick-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .tick-list { grid-template-columns: repeat(2, 1fr); } }
.tick-list li {
  display: flex; gap: 12px;
  font-size: 14px; line-height: 1.625; color: var(--foreground);
}
.tick-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px; margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ------------------------------------------------------------ cta band -- */
.ctaband { border-radius: var(--radius-lg); padding: 56px 32px; box-shadow: var(--shadow-lift); }
.ctaband--center { text-align: center; }
.ctaband h2 { color: var(--primary-foreground); font-size: 24px; }
.ctaband p { margin-top: 16px; font-size: 14px; line-height: 1.625; color: rgba(249, 252, 255, .8); }
.ctaband--center h2 { max-width: 48rem; margin-inline: auto; }
.ctaband--center p { max-width: 42rem; margin-inline: auto; }
.ctaband .btn { margin-top: 32px; }
@media (min-width: 768px) { .ctaband h2 { font-size: 30px; } }

/* ---------------------------------------------------------------- form -- */
.form-grid { display: grid; gap: 56px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1.2fr 0.8fr; } }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--foreground); }
.field label .opt { color: var(--muted-foreground); font-weight: 400; }
.field input, .field textarea {
  margin-top: 8px;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--foreground);
  background: var(--card);
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), .25);
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { margin-top: 14px; font-size: 12px; color: var(--muted-foreground); }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px; border: 1px solid; }
.alert--ok  { background: #EDF7F0; border-color: #BFE3CB; color: #1E6437; }
.alert--bad { background: #FDF0EF; border-color: #F2C9C5; color: #96302A; }

/* ------------------------------------------------------- contact panel -- */
.contact-list { display: grid; gap: 16px; margin-top: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--foreground); }
.contact-list svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--primary); }

/* -------------------------------------------------------------- footer -- */
.site-footer { margin-top: 96px; }
.footer-grid { display: grid; gap: 40px; padding-block: 64px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-brand p.name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.footer-brand p.desc { margin-top: 12px; max-width: 24rem; font-size: 14px; line-height: 1.625; color: rgba(249, 252, 255, .75); }

.footer-col h2 { font-family: var(--font-sans); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .2em; color: rgba(249, 252, 255, .6); }
.footer-col ul { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; }
.footer-col a { color: rgba(249, 252, 255, .8); text-decoration: none; transition: color .16s ease; }
.footer-col a:hover { color: var(--primary-foreground); }

.footer-contact ul { gap: 12px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; color: rgba(249, 252, 255, .8); }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; }

.footer-bottom { border-top: 1px solid rgba(249, 252, 255, .15); }
.footer-bottom p { padding-block: 20px; font-size: 12px; color: rgba(249, 252, 255, .6); }

/* ------------------------------------------------------------ motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------- print --- */
@media print {
  .site-header, .nav__mobile, .btn-row, .ctaband { display: none !important; }
  body { color: #000; font-size: 11pt; background: #fff; }
  .hero-surface, .ink-surface { background: none !important; color: #000 !important; }
  .site-footer { margin-top: 24px; }
}
