/* Northern Bridge Business Solutions: styles. Large, high-contrast type for an older audience. */
:root {
  /* Brand colours sampled from the Northern Bridge logo */
  --navy: #7A1027;      /* burgundy (primary); variable name kept for simplicity */
  --navy-2: #5C0C1E;    /* deep burgundy */
  --blue: #7A1027;      /* links */
  --sky: #F4EDE3;       /* warm cream section background */
  --cream: #FBF8F3;     /* page background */
  --amber: #DEA24A;     /* gold accent (logo sun) */
  --amber-light: #E7B464; /* gold for text on burgundy (5.7:1) */
  --amber-dark: #8F6A2A;  /* dark gold for icons on light backgrounds (4.9:1) */
  --on-gold: #3A0A16;   /* text on gold buttons (7.6:1) */
  --ink: #2A2224;
  --muted: #5A4E50;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(92, 12, 30, .08);
  font-size: 112.5%; /* 18px base */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 500;
}
img { max-width: 100%; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 3px;
}
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--on-gold); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, transform .15s; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--on-gold); }
.btn-primary:hover { background: #E9B762; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--sky); }
.btn-small { padding: .55rem 1.1rem; font-size: .95rem; }

/* Header */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.2rem; letter-spacing: .02em; }
.brand-text span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #E9CFA0; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav a.btn { color: var(--on-gold); background: var(--amber); }
.site-nav a.btn:hover { text-decoration: none; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.6); color: var(--white); font: inherit; font-weight: 700; padding: .4rem .9rem; border-radius: 8px; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 4.5rem 0 5rem; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); }
.eyebrow { color: var(--amber-light); font-weight: 700; font-size: .95rem; letter-spacing: .03em; }
.lead { font-size: 1.2rem; color: #F6E9EC; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0 1.5rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; color: #F2E4E7; }
.hero-points li::before { content: "✓ "; color: var(--amber-light); font-weight: 700; }
.bridge-illustration { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }

/* Sections */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--sky); }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 44em; margin-bottom: 2.2rem; }
.card-grid { display: grid; gap: 1.4rem; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border: 1px solid #E6DCD0; }
.card p { color: var(--muted); margin: 0; }
#problem .card { border-top: 5px solid var(--amber); }
.icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--amber); font-size: 1.5rem; margin-bottom: 1rem; font-weight: 700; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: none; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid #E6DCD0; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.step-num { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--amber); color: var(--on-gold); font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; }
.steps p { color: var(--muted); margin: 0; }

/* Why me */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
.why-intro p { font-size: 1.15rem; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.tick-list li { background: var(--white); border-radius: var(--radius); padding: 1rem 1.2rem 1rem 3.2rem; position: relative; border: 1px solid #E6DCD0; }
.tick-list li::before { content: "✓"; position: absolute; left: 1.1rem; top: .95rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--navy); color: var(--amber); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }

/* Pricing */
.pricing { align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: .6rem; position: relative; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card p { margin-bottom: .6rem; }
.price { font-size: 2.1rem; font-weight: 800; color: var(--navy) !important; margin: 0 !important; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price.small { font-size: 1.5rem; }
.featured { border: 3px solid var(--amber); }
.badge { position: absolute; top: -.9rem; left: 1.4rem; background: var(--navy); color: var(--white) !important; font-size: .85rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; }
.small-print { margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }

/* FAQ */
details { background: var(--white); border-radius: var(--radius); border: 1px solid #E6DCD0; margin-bottom: 1rem; box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem; font-weight: 700; font-size: 1.1rem; color: var(--navy); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.3rem; top: .85rem; font-size: 1.6rem; color: var(--amber-dark); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .section-lead { color: #F2E4E7; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-details { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; font-size: 1.15rem; }
.contact-details span { display: inline-block; min-width: 5.5rem; color: var(--amber-light); font-weight: 700; }
.contact-details a { color: var(--white); }
.contact-form { background: var(--white); color: var(--ink); padding: 2rem; border-radius: var(--radius); display: grid; gap: .35rem; }
.contact-form label { font-weight: 700; margin-top: .6rem; color: var(--navy); }
.contact-form input, .contact-form textarea { font: inherit; font-size: 1.05rem; padding: .75rem .9rem; border: 2px solid #CDBFB2; border-radius: 10px; width: 100%; }
.contact-form button { margin-top: 1.2rem; justify-self: start; }
.form-note { background: #FFF4E2; border: 1px dashed var(--amber-dark); padding: .6rem .8rem; border-radius: 8px; font-size: .9rem; color: #6B4A14; margin: 0 0 .4rem; }
.form-privacy { font-size: .9rem; color: var(--muted); margin: .8rem 0 0; }

.placeholder-box { background: #FFF4E2; border: 2px dashed var(--amber-dark); padding: 1.2rem; border-radius: 10px; }

/* Footer */
.site-footer { background: #45091A; color: #E9CFA0; padding: 2.5rem 0; font-size: .95rem; }
.site-footer a { color: var(--white); }
.footer-inner { display: grid; gap: .4rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand p { margin: 0; color: var(--white); }
.copyright { color: #DDBFC5; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem 1.4rem; gap: 1rem; border-top: 1px solid rgba(255,255,255,.15); }
  .site-nav.open { display: flex; }
  .header-inner { position: relative; }
}
@media (max-width: 560px) {
  .card-grid.four { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 3.5rem; }
  .section { padding: 3.2rem 0; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .contact-form { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media (max-width: 420px) {
  .brand img { width: 44px; height: auto; }
  .brand-text strong { font-size: 1.05rem; white-space: nowrap; }
  .brand-text span { font-size: .68rem; letter-spacing: .1em; white-space: nowrap; }
}

/* ---- Burgundy & gold theme overrides ---- */
@font-face { font-family: "Nunito"; src: url("/assets/fonts/Nunito-VariableFont_wght.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }
.site-header { background: var(--white); color: var(--navy); border-bottom: 4px solid var(--amber); box-shadow: 0 2px 10px rgba(92,12,30,.08); }
.brand { color: var(--navy); }
.brand-text strong { font-weight: 800; letter-spacing: 0; }
.brand-text span { color: #6E6E6E; }
.site-nav a { color: var(--navy); }
.nav-toggle { color: var(--navy); border-color: var(--navy); }
@media (max-width: 780px) { .site-nav { background: var(--white); border-top: 1px solid #E6DCD0; box-shadow: 0 8px 16px rgba(92,12,30,.12); } }
.hero { background: radial-gradient(circle at 78% 40%, #8E1830 0%, var(--navy) 45%, var(--navy-2) 100%); }
.hero-art { display: grid; place-items: center; }
.hero-badge { width: min(400px, 100%); height: auto; filter: drop-shadow(0 14px 34px rgba(0,0,0,.3)); }
.icon { background: var(--navy); color: var(--amber-light); }
.tick-list li::before { color: var(--amber-light); }
#problem .card { border-top-color: var(--amber); }
.card { background: var(--white); }
.section:not(.alt):not(.contact) { background: var(--cream); }
.contact { background: var(--navy-2); }
.contact-details a { color: var(--white); }
.btn-ghost-dark:hover { background: #F4EDE3; }
.form-note { background: #FFF4E2; color: #6B4A14; border-color: var(--amber-dark); }
.site-footer { border-top: 4px solid var(--amber); }
.footer-brand img { width: 44px; height: 44px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.form-hint { font-size: .95rem; color: var(--muted); margin: .4rem 0 0; }
.form-hint-error { color: #8A1022; font-weight: 700; }
.thanks-box { background: var(--white); border: 1px solid #E6DCD0; border-top: 5px solid var(--amber); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.privacy h2 { font-size: 1.35rem; margin-top: 1.8rem; }
.privacy ul { padding-left: 1.3rem; }
.privacy li { margin-bottom: .4rem; }
