/* Northern Outbound — shared styles (brand: navy + royal blue, Montserrat) */
:root {
  --navy: #0c1e36;
  --navy-deep: #06162a;
  --blue: #214797;
  --blue-bright: #1f5eff;
  --blue-d: #17357a;
  --gray: #5b667a;
  --mist: #eef3fb;
  --glass: #f6f9fd;
  --line: #d9e2f0;
  --white: #ffffff;
  --f: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1120px;
  --shadow: 0 14px 36px rgba(12, 30, 54, .12);
  --shadow-s: 0 6px 18px rgba(12, 30, 54, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-bright); text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--f); color: var(--navy); line-height: 1.15; margin: 0 0 .55em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--glass { background: var(--glass); }
.section--mist { background: var(--mist); }
.lead { font-size: clamp(1rem, 1.7vw, 1.15rem); color: var(--gray); max-width: 56ch; }
.muted { color: var(--gray); font-size: .9rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons: pill shape like the existing site */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--blue); background: var(--blue); color: #fff;
  box-shadow: var(--shadow-s); transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-s); }
.btn--ghost:hover { background: var(--mist); border-color: var(--blue); color: var(--navy); }
.btn--small { padding: 10px 20px; font-size: .85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .9rem; }
.nav a:not(.btn):hover { background: var(--mist); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--mist); }
.nav-toggle { display: none; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 18px; font: 700 .85rem var(--f); color: var(--navy); cursor: pointer; }

@media (max-width: 760px) {
  .brand img { height: 36px; }
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); display: none; gap: 4px; }
  .nav.is-open { display: flex; }
  .nav .btn { margin-top: 8px; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--glass), #fff); padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 14px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Before / after comparison */
.ba { position: relative; --pos: 40%; aspect-ratio: 4 / 3.3; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.ba-layer { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:focus-within { outline: 3px solid var(--blue-bright); outline-offset: 4px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--blue-bright); pointer-events: none; }
.ba-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--blue-bright); border: 3px solid #fff; box-shadow: var(--shadow-s); display: grid; place-items: center; font-weight: 800; color: #fff; }
.ba-tag { position: absolute; bottom: 12px; padding: 5px 12px; border-radius: 999px; font: 700 .75rem var(--f); background: var(--navy); color: #fff; z-index: 2; pointer-events: none; }
.ba-tag--before { left: 12px; }
.ba-tag--after { right: 12px; background: var(--blue-bright); }
.ba-caption { margin-top: 18px; font-size: .85rem; color: var(--gray); }
@media (prefers-reduced-motion: no-preference) {
  .ba.intro .ba-after, .ba.intro .ba-handle { transition: clip-path 1.1s cubic-bezier(.3,.7,.2,1), left 1.1s cubic-bezier(.3,.7,.2,1); }
}

/* The "before" site, deliberately bad */
.old { font-family: "Times New Roman", serif; background: #d9d6c3; color: #000; padding: 8px; font-size: 11px; line-height: 1.25; height: 100%; position: relative; }
.old .bar { background: #123a8f; color: #ff0; text-align: center; font-weight: 700; padding: 4px; font-size: 13px; }
.old .links { color: #00e; text-decoration: underline; margin: 6px 0; word-spacing: 6px; }
.old .banner { background: #f90; border: 3px ridge #800; padding: 6px; font: 700 15px "Comic Sans MS", cursive; text-align: center; margin: 6px 0; }
.old .row { display: flex; gap: 6px; }
.old .row div { flex: 1; background: #bdb9a0; border: 1px solid #777; height: 58px; }
.old p { font-size: 9px; max-width: none; margin: 6px 0; }
.old .popup { position: absolute; right: 14px; bottom: 44px; width: 46%; background: #fff; border: 2px solid #c00; padding: 6px; font: 700 12px Arial, sans-serif; color: #c00; text-align: center; transform: rotate(-3deg); }
.old .tiny { font-size: 8px; color: #555; }

/* The "after" site, a fictional sample */
.new { height: 100%; background: #fff; display: flex; flex-direction: column; font-family: var(--f); }
.new-nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font: 800 12px var(--f); color: var(--navy); }
.new-nav span:last-child { background: var(--navy); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 10px; }
.new-hero { padding: 20px 16px 12px; background: linear-gradient(180deg, var(--glass), #fff); flex: 1; }
.new-hero h4 { margin: 0 0 8px; font: 800 clamp(.95rem, 2.3vw, 1.3rem)/1.15 var(--f); color: var(--navy); letter-spacing: -0.01em; }
.new-hero p { font-size: 11px; line-height: 1.5; margin: 0 0 12px; color: var(--gray); }
.new-hero .pill { display: inline-block; background: var(--blue); color: #fff; border-radius: 999px; padding: 6px 14px; font: 700 11px var(--f); }
.new-strip { display: flex; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 10px; color: var(--navy); font-weight: 600; flex-wrap: wrap; }

/* Problem */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: 32px; }
.three > div { border-top: 3px solid var(--blue); padding-top: 16px; }
.three p { margin: 0; font-size: .95rem; }
@media (max-width: 800px) { .three { grid-template-columns: 1fr; gap: 24px; } }

/* Checklist sheet (what's included) */
.sheet { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; max-width: 780px; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 20px 28px; background: var(--navy); color: #fff; }
.sheet-head strong { font: 800 1.1rem var(--f); }
.sheet-head span { font: 700 .95rem var(--f); color: #9db8ff; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 15px 28px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 500; font-size: .97rem; }
.checks li:last-child { border-bottom: 0; }
.checks svg { width: 24px; height: 24px; margin-top: 1px; }
.sheet-foot { padding: 18px 28px; background: var(--glass); border-top: 1px solid var(--line); font-size: .9rem; }
.sheet-foot p { margin: 0; max-width: none; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; max-width: 760px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 28px; position: relative; }
.steps li::before { content: ""; position: absolute; left: 27px; top: 58px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps .n { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; font: 800 1.25rem var(--f); color: #fff; box-shadow: var(--shadow-s); }
.steps h3 { margin-top: 6px; margin-bottom: 4px; color: var(--blue-bright); letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; }
.steps p { margin: 0; }

/* Sample concept */
.sample { display: grid; grid-template-columns: 1.6fr .8fr; gap: clamp(20px, 4vw, 48px); align-items: end; margin-top: 32px; }
.frame { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.frame-top { display: flex; gap: 6px; padding: 10px 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.frame-top i { width: 10px; height: 10px; border-radius: 50%; background: #aab8cf; }
.frame .new { min-height: 0; }
.phone { max-width: 250px; border-radius: 30px; padding: 10px; background: var(--navy); box-shadow: var(--shadow); margin: 0 auto; }
.phone .new { border-radius: 22px; overflow: hidden; min-height: 420px; }
.phone .callbar { background: var(--blue); color: #fff; text-align: center; padding: 12px; font: 700 12px var(--f); }
@media (max-width: 820px) { .sample { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font: 700 1rem var(--f); color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue-bright); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 14px; margin: 0; }

/* Cross-sell strip */
.strip { background: var(--navy); color: #d5e0f3; padding: 36px 0; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.strip p { margin: 0; font: 600 1.05rem/1.5 var(--f); color: #fff; max-width: 46ch; }
.strip .btn { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.strip .btn:hover { background: var(--mist); color: var(--navy); border-color: var(--mist); }

/* Contact form */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
form.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
label { display: block; font: 600 .85rem var(--f); color: var(--navy); margin-bottom: 6px; }
.field { margin-bottom: 18px; }
input[type=text], input[type=email], input[type=tel], input[type=url], textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--navy); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
input:focus, textarea:focus { border-color: var(--blue-bright); outline: 3px solid rgba(31,94,255,.18); }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.5em; font-size: .9rem; }
.form-status.ok { color: #0a7a3d; }
.form-status.err { color: #b3261e; }

/* Outbound page */
.email-mock { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.email-mock header { padding: 14px 22px; background: var(--mist); border-bottom: 1px solid var(--line); font-size: .85rem; }
.email-mock header b { color: var(--navy); }
.email-mock .body { padding: 22px; font-size: .95rem; color: var(--navy); }
.email-mock .body p { margin: 0 0 .9em; max-width: none; }
.email-mock .stamp { padding: 12px 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--gray); }
.price { font: 800 clamp(2.6rem, 6vw, 3.6rem)/1 var(--f); color: var(--navy); margin: 6px 0 4px; letter-spacing: -0.03em; }
.price small { font: 600 1rem var(--f); color: var(--gray); letter-spacing: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.plain-list { margin: 0; padding-left: 1.2em; color: var(--navy); font-weight: 500; }
.plain-list li { margin-bottom: .7em; padding-left: .2em; }
.plain-list li::marker { color: var(--blue-bright); }
.note { border-left: 4px solid var(--blue-bright); background: var(--glass); padding: 16px 20px; border-radius: 0 14px 14px 0; max-width: 62ch; }
.note p { margin: 0; font-size: .95rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #a9b7cf; padding: 40px 0 46px; font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.site-footer img { height: 44px; width: auto; margin-bottom: 14px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .4em; }

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

/* Sample concept: photo hero + service tiles */
.new-nav .mid { font-weight: 600; font-size: 10px; color: var(--gray); }
.new-hero--photo {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6,22,42,.93) 0%, rgba(6,22,42,.78) 48%, rgba(6,22,42,.25) 100%),
    var(--photo) center / cover no-repeat,
    var(--navy);
  display: flex; flex-direction: column; justify-content: center;
}
.new-hero--photo h4 { color: #fff; max-width: 17ch; }
.new-hero--photo p { color: #dbe6f7; max-width: 30ch; }
.new-hero--photo .pill { background: #fff; color: var(--navy); align-self: flex-start; }
.frame .new-hero--photo { min-height: 210px; padding: 28px 24px; }
.frame .new-hero--photo h4 { font-size: 1.35rem; }
.new-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px; background: #fff; }
.tile { position: relative; height: 78px; border-radius: 8px; overflow: hidden; background: var(--img) center / cover no-repeat, #dfe8f5; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font: 700 9px var(--f); color: #fff; background: linear-gradient(transparent, rgba(6,22,42,.88)); }

/* In the before/after slider the new site's text sits on the right so it shows at the default position */
.ba .new-hero--photo {
  padding-left: 46%;
  background:
    linear-gradient(270deg, rgba(6,22,42,.94) 0%, rgba(6,22,42,.8) 55%, rgba(6,22,42,.2) 100%),
    var(--photo) center / cover no-repeat,
    var(--navy);
}
