:root {
  --orange: #fb6420;
  --teal: #009293;
  --teal-dark: #007678;
  --ink: #1c1c1c;
  --muted: #5c6770;
  --line: #e7e7e7;
  --soft: #f6f7f8;
  --header: 90px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  background: #fff;
}
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, h4 {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 12px;
}

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header — matches sprintmind.ca top bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.header-inner {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.mobile-contact { display: none; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; display: block; }

.main-nav { margin-left: auto; }
.menu, .sub, .lang-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu { display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; flex: 0 0 auto; }
.menu > li > a,
.menu > li > details > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  white-space: nowrap;
  color: #2b2b2b;
  text-decoration: none;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu > li > a:hover,
.menu > li.is-current > a,
.menu > li > a.is-current,
.menu > li.is-current > details > summary,
.menu > li > details > summary:hover { color: var(--orange); }
.menu > li.is-current > a,
.menu > li.is-current > details > summary { position: relative; }
.menu > li.is-current > a::after,
.menu > li.is-current > details > summary::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
}
.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
}

.sub {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 250px;
  padding: 8px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.16s ease;
}
details.has-sub:hover > .sub,
details.has-sub:focus-within > .sub,
details.has-sub[open] > .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sub a {
  display: block;
  padding: 10px 18px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 500;
}
.sub a:hover,
.sub a.is-current { color: var(--orange); background: #fff7f3; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 50px;
  padding: 10px 28px;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #e45412; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 50px;
  border: 1.5px solid var(--teal);
  background: #fff;
  color: var(--teal);
  cursor: pointer;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.lang-btn { list-style: none; }
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover,
.lang[open] .lang-btn { background: #f3fbfb; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  padding: 6px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 50;
}
.lang[open] .lang-menu { display: block; }
.lang-menu a {
  display: block;
  text-align: left;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}
.lang-menu a:hover,
.lang-menu a.is-active { background: #fff7f3; color: var(--orange); }
.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #222;
}

/* Hero */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 22, 26, 0.45), rgba(10, 22, 26, 0.62)),
    radial-gradient(900px 420px at 15% 20%, rgba(0, 146, 147, 0.55), transparent 60%),
    linear-gradient(145deg, #1b4c4e 0%, #122428 55%, #0d181b 100%);
}
.hero-inner { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.kicker {
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffd7c4;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero p { margin: 0 auto 28px; max-width: 680px; font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.rule {
  width: 42px;
  height: 2px;
  background: #222;
  margin-bottom: 18px;
}
.section-kicker {
  color: var(--muted);
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 6px;
}
.section h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 600; }
.lead { color: #333; font-size: 17px; max-width: 760px; }
.prose p { margin: 0 0 14px; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.media + .media { margin-top: 72px; }
.media-visual {
  border-radius: 20px;
  overflow: hidden;
  background: #e7f6f6;
  line-height: 0;
}
.media-visual img { width: 100%; height: auto; display: block; }
.media-copy h2 { margin-top: 0; }
.media-copy h3 { font-size: 18px; margin: 18px 0 6px; }
.media-copy .french-panel { margin-top: 18px; }
.faq-list { margin-top: 12px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 18px 40px 18px 0;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--orange);
  font-size: 24px;
  font-weight: 500;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0 0 18px;
  max-width: 760px;
  color: #3a3a3a;
}

.french-panel {
  background: #f3fbfb;
  border-radius: 16px;
  padding: 28px 28px 12px;
  border-top: 4px solid var(--teal);
}
.french-panel .badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  border-radius: 50px;
  padding: 4px 12px;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.french-panel h3 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 18px;
}
.section-soft .card { background: #fff; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; color: #3a3a3a; font-size: 15.5px; }
.card.highlight { border-color: #b7e0e0; box-shadow: 0 8px 24px rgba(0, 146, 147, 0.08); }
.tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal);
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.step-no {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.cta-band {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 72px 20px;
}
.cta-band h2 { font-size: clamp(28px, 3vw, 36px); }
.cta-band p { margin: 0 auto 22px; max-width: 640px; font-weight: 300; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 100%;
}
.blog-card:hover { border-color: #f3c3ad; }
.blog-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card time {
  color: var(--orange);
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.blog-card h3 { font-size: 18px; margin: 8px 0 8px; }
.blog-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; flex: 1; }
.more {
  color: var(--teal);
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.page-hero { padding: 54px 0 10px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 44px); }
.post {
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.post time {
  color: var(--orange);
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.post h2 { font-size: 26px; margin-top: 8px; }
.post-body { max-width: 760px; }

.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.82);
  padding: 36px 0;
  font-size: 14px;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 8px; }
.site-footer .copy { color: rgba(255, 255, 255, 0.55); }

@media (max-width: 1320px) {
  .header-inner { gap: 8px; width: calc(100% - 20px); }
  .brand img { height: 44px; }
  .menu { gap: 0; }
  .menu > li > a,
  .menu > li > details > summary {
    padding: 8px 6px;
    font-size: 13px;
    gap: 4px;
  }
  .menu > li.is-current > a::after,
  .menu > li.is-current > details > summary::after {
    left: 6px;
    right: 6px;
  }
  .header-tools { gap: 6px; }
  .header-tools .btn { padding: 8px 14px; font-size: 13px; }
  .lang-btn { height: 36px; padding: 0 12px; font-size: 13px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    margin: 0;
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .nav-check:checked ~ .main-nav { display: block; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu > li > a,
  .menu > li > details > summary { padding: 12px 8px; }
  .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }
  details.has-sub[open] > .sub { display: block; }
  .header-tools .btn-teal { display: none; }
  .mobile-contact { display: block; padding: 8px 8px 4px; }
  .mobile-contact .btn { width: 100%; }
  .split, .cards, .two, .steps, .blog-grid, .media { grid-template-columns: 1fr; }
  .media + .media { margin-top: 40px; }
  .menu > li.is-current > a::after,
  .menu > li.is-current > details > summary::after { display: none; }
}
