:root {
  --navy: #0f2340;
  --navy-2: #16305a;
  --navy-3: #0a1a31;
  --blue: #5b9bd5;
  --blue-dark: #2a6aa6;
  --blue-soft: #eaf2fb;
  --yellow: #f7e600;
  --red: #e30613;
  --text: #1d2733;
  --muted: #55606e;
  --line: #d9e2ec;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 35, 64, .05), 0 8px 24px rgba(15, 35, 64, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  background: #fff;
}
a { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.15rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.hidden, .form .hidden { display: none; }
.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(15, 35, 64, .96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar-inner { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; color: #fff; }
.brand img { background: #fff; border-radius: 8px; padding: 3px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: #c7d4e6; font-weight: 500; }
.nav a:hover { color: #fff; }
.topbar-phone { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar-phone .ic { color: var(--yellow); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; min-height: 48px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer; font-family: inherit; transition: background-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 9px 16px; min-height: 40px; white-space: nowrap; }
.btn-yellow { background: var(--yellow); color: var(--navy); border-color: var(--yellow); box-shadow: 0 6px 18px rgba(247, 230, 0, .25); }
.btn-yellow:hover { background: #fff04d; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Blueprint grid background */
.hero, .blueprint {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(91, 155, 213, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 155, 213, .16) 1px, transparent 1px),
    linear-gradient(rgba(91, 155, 213, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 155, 213, .07) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  color: #fff;
}
.hero h1, .blueprint h2, .blueprint h3, .dark h2 { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 0; border-bottom: 6px solid var(--yellow); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 40%, rgba(91, 155, 213, .28), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin: 0 0 18px; padding: 6px 12px; border: 1px solid rgba(247, 230, 0, .4); border-radius: 99px; }
.hl { color: var(--yellow); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.hero .lead, .blueprint .lead, .dark .lead { color: #c7d4e6; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-mark { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); animation: rise-in 1s ease-out both; }
.chev { stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; stroke-linejoin: round; }
.chev.blue { fill: var(--blue); }
.chev.yellow { fill: var(--yellow); }
.dot { fill: var(--red); stroke: #fff; stroke-width: 3; }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-strip { position: relative; z-index: 1; list-style: none; margin: 64px 0 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px 40px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-strip li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #e3ebf5; }
.hero-strip .ic { color: var(--yellow); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: #f4f7fb; }
.section.dark { background: var(--navy-3); color: #fff; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--blue-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; margin: 0 0 10px; }
.kicker::before { content: ""; width: 28px; height: 4px; background: var(--yellow); border-radius: 2px; }
.kicker.light { color: var(--yellow); }
.section h2 { max-width: 22ch; margin-bottom: 36px; }

/* Cards */
.cards { display: grid; gap: 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card-link { display: block; text-decoration: none; color: var(--text); border-top: 6px solid var(--blue); transition: transform .2s, box-shadow .2s; }
.card-link.yellow { border-top-color: var(--yellow); }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 35, 64, .16); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); margin-bottom: 16px; flex-shrink: 0; }
.card-icon .ic { width: 24px; height: 24px; }
.card-icon.yellow { background: #fff9c2; color: #6b6200; }
.card-icon.big { width: 60px; height: 60px; margin: 0; }
.card-label { margin: 0 0 4px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); }
.more { font-weight: 700; color: var(--navy); }
.more::after { content: " \2192"; transition: margin .2s; }
.card-link:hover .more::after { margin-left: 6px; }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: calc(25% - 20px); height: 2px; background: repeating-linear-gradient(90deg, var(--yellow) 0 10px, transparent 10px 18px); }
.step { position: relative; counter-increment: step; }
.step-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--navy); box-shadow: 0 0 0 8px var(--navy); margin-bottom: 18px; }
.step-icon .ic { width: 28px; height: 28px; }
.step-icon::after { content: counter(step); position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step p { color: #c7d4e6; margin: 0; }

/* Services */
.service { margin-bottom: 56px; }
.service:last-child { margin-bottom: 0; }
.service-title { display: flex; align-items: center; gap: 14px; font-size: 1.5rem; }
.service-title .card-icon { margin: 0; }
.numbered { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; counter-reset: item; }
.numbered li { counter-increment: item; position: relative; border-top: 1px solid var(--line); padding: 18px 0 18px 52px; }
.numbered li:hover::before { color: var(--navy); }
.numbered li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 17px; transition: color .2s; font-weight: 800; color: var(--blue-dark); font-variant-numeric: tabular-nums; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 12px; background: var(--yellow); border: 2px solid var(--navy); transform: rotate(45deg); }
.ticks.light li { color: #e3ebf5; padding: 16px 0 16px 32px; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ticks.light li::before { left: 4px; top: 1.45em; border-color: var(--yellow); background: transparent; }

/* Weekly */
.weekly { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.weekly > div { position: sticky; top: 110px; }

/* About */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.about-badge { position: relative; aspect-ratio: 1; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.about-badge::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 24px; background: var(--yellow); z-index: -1; }
.about-badge img { width: 62%; height: auto; }
.about h2 { margin-bottom: 8px; }
.about-role { font-weight: 700; color: var(--blue-dark); margin: 0 0 16px; }

/* Time Clock */
.tc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.tc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tc-list li { display: flex; align-items: center; gap: 16px; padding: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); color: #e3ebf5; font-weight: 500; }
.tc-list .card-icon { margin: 0; background: var(--yellow); color: var(--navy); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 10px; }
.contact-card { display: flex; align-items: center; gap: 20px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--navy); font-size: 1.35rem; font-weight: 800; word-break: break-word; transition: transform .2s, box-shadow .2s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 35, 64, .16); }
.contact-card small { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.form { margin-top: 22px; }
.form label { display: block; font-weight: 600; margin-bottom: 14px; }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit; border: 1px solid #b8c4d2; border-radius: 8px; }
.small { font-size: .9rem; color: var(--muted); }

/* Footer */
.footer { background: var(--navy-3); color: #c9d5e3; padding: 44px 0; font-size: .95rem; border-top: 4px solid var(--yellow); }
.footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { background: #fff; border-radius: 8px; padding: 3px; }
.footer p { margin: 0 0 10px; }

/* Phone call bar (shown on small screens only) */
.callbar { display: none; }

/* Simple page (privacy, thanks) */
.page { padding: 56px 22px 72px; max-width: 760px; }

/* Scroll reveal: only when JS adds .js-reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Tablets */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
}

/* Phones */
@media (max-width: 860px) {
  .nav, .topbar-phone { display: none; }
  .brand { margin-right: auto; }
  .hero { padding-top: 48px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .eyebrow { border: 0; padding: 0; border-radius: 0; letter-spacing: .05em; }
  .hero-strip { margin-top: 40px; flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .section { padding: 60px 0; }
  .cards.two, .numbered, .weekly, .about, .tc, .contact-cards { grid-template-columns: 1fr; }
  .weekly { gap: 28px; }
  .weekly > div { position: static; }
  .about { gap: 36px; }
  .about-badge { display: none; }
  .contact-card { font-size: 1.1rem; padding: 22px; }
  body { padding-bottom: 64px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-shadow: 0 -6px 20px rgba(0, 0, 0, .2); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; font-weight: 800; text-decoration: none; background: var(--yellow); color: var(--navy); padding-bottom: env(safe-area-inset-bottom); }
  .callbar a + a { background: var(--navy); color: #fff; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .step-icon { grid-row: span 2; margin: 0; }
  .step h3 { margin: 6px 0 4px; }
}

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

/* Skip link for keyboard users */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--yellow); color: var(--navy); font-weight: 700; border-radius: 8px; }
.skip:focus { top: 12px; }

/* "Show all services" toggle */
.numbered.rest { counter-reset: item 6; }
.more-list summary { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 18px; min-height: 44px; border: 2px solid var(--navy); border-radius: 10px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; transition: background-color .2s; }
.more-list summary::-webkit-details-marker { display: none; }
.more-list summary::after { content: "\25BE"; transition: transform .2s; }
.more-list[open] summary::after { transform: rotate(180deg); }
.more-list summary:hover { background: #fff; }
.more-list .when-open, .more-list[open] .when-closed { display: none; }
.more-list[open] .when-open { display: inline; }
.more-list[open] { display: flex; flex-direction: column-reverse; align-items: flex-start; }
.more-list[open] .numbered { align-self: stretch; }
