/* Abbott Group NL — site styles
   Palette from the 2026 Logo & Brand Guidelines (GoDaddy):
   navy #0d3765, orange #FD6E15, charcoal #2b2f33, paper #FDFDFD.
   Type: Ubuntu (primary font per the guidelines). */

:root {
  --navy: #0d3765;
  --navy-deep: #0a2a4d;
  --navy-tint: #e6ecf3;
  --navy-mid: #5b7a9c;
  --orange: #fd6e15;
  --orange-dark: #d95a09;
  --ink: #2b2f33;
  --ink-soft: #5a6069;
  --paper: #fdfdfd;
  --paper-2: #f3f5f8;
  --line: #d8dee6;
  --white: #ffffff;
  --max: 1160px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(13, 55, 101, .08), 0 8px 24px rgba(13, 55, 101, .08);
  --font: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 68ch; }
ul { padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}
.kicker.on-navy { color: #ffb27a; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.note { font-size: .92rem; color: var(--ink-soft); }
.tbd { background: #fff3e8; color: var(--orange-dark); padding: 0 .3em; border-radius: 2px; font-weight: 500; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline.on-navy { color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline.on-navy:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Staging banner */
.staging {
  background: var(--ink);
  color: #e8eaed;
  font-size: .85rem;
  text-align: center;
  padding: .45rem 16px;
}
.staging strong { color: #ffb27a; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 78px;
}
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; color: var(--navy); font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-dark); }
.nav .btn { padding: .6rem 1rem; font-size: .95rem; color: var(--white); }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--navy); border-radius: var(--radius);
  color: var(--navy); font: inherit; font-weight: 700; padding: .45rem .8rem; cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 16px; border-top: 1px solid var(--line); }
  .nav .btn { margin: .75rem 16px 1rem; text-align: center; }
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}
.hero::after {
  content: "";
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(52vw, 620px); aspect-ratio: 1;
  background: url("../img/roundel-white.png") center / contain no-repeat;
  opacity: .07; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero p { color: #d5dde8; font-size: 1.15rem; max-width: 56ch; }
.hero p a { color: var(--white); font-weight: 700; }
.hero p a:hover { color: #ffb27a; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 2rem;
  font-size: .92rem; color: #c8d3e0;
}
.hero-meta span::before { content: "■"; color: var(--orange); margin-right: .5rem; font-size: .7em; vertical-align: middle; }

.hero-slim { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero-slim::after { width: min(40vw, 420px); }

/* Photo heroes: image under a navy wash so type stays legible */
.hero.hero-photo { background-color: var(--navy); background-size: cover; background-position: center; }
.hero.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,55,101,.94) 0%, rgba(13,55,101,.86) 45%, rgba(13,55,101,.55) 100%);
}
.hero.hero-photo::after { display: none; }
@media (max-width: 700px) { .hero.hero-photo::before { background: rgba(13,55,101,.88); } }

/* Icons: inline SVG sprite, Tabler Icons (MIT), stroke follows text colour */
.icon { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 2.25rem; height: 2.25rem; }
.card-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--navy-tint); color: var(--navy); margin-bottom: 1rem;
}
.card.accent .card-icon { background: #fff0e6; color: var(--orange-dark); }
.card.on-navy .card-icon { background: rgba(255,255,255,.1); color: var(--white); }
.pillar .card-icon { position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; }
.pillar .card-icon .icon { width: 1.3rem; height: 1.3rem; }
.pillars .pillar::before { display: none; }
.icon-list { list-style: none; padding: 0; }
.icon-list li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .7rem; }
.icon-list .icon { color: var(--orange); margin-top: .15rem; }

/* Card with a photo on top */
.card.has-photo { padding: 0; overflow: hidden; }
.card.has-photo .card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-tint); }
.card.has-photo .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card.has-photo:hover .card-img img { transform: scale(1.03); }
.card.has-photo .card-body { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card.has-photo .card-body .more { margin-top: auto; }

/* Fold: collapsed title card that expands (native details/summary) */
.fold { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); background: var(--white); margin-bottom: .75rem; }
.fold summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.2rem; font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; margin-left: auto; color: var(--orange); font-size: 1.4rem; line-height: 1; font-weight: 400; transition: transform .2s; }
.fold[open] summary::after { content: "–"; }
.fold summary .icon { color: var(--orange); }
.fold .fold-body { padding: 0 1.2rem 1.2rem; }
.fold .fold-body > :last-child { margin-bottom: 0; }
.fold .fold-body p, .fold .fold-body li { font-size: .98rem; }
.fold.accent { border-left-color: var(--orange); }
.fold-group { margin: 1.5rem 0 2rem; }

/* Hero tagline: three short beats */
.hero-beats { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 1rem 0 1.4rem; font-weight: 700; font-size: 1.15rem; color: var(--white); }
.hero-beats span::before { content: "■"; color: var(--orange); font-size: .6em; margin-right: .5rem; vertical-align: middle; }

/* Mobile call bar (added by js/site.js) */
.mobile-call-bar { display: none; }
@media (max-width: 760px) {
  .mobile-call-bar {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem 12px calc(.6rem + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(13,55,101,.12);
  }
  .mobile-call-bar a { display: block; text-align: center; padding: .75rem .5rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; font-size: .98rem; }
  .mcb-call { background: var(--orange); color: var(--white); }
  .mcb-quote { background: var(--navy); color: var(--white); }
  .mobile-call-bar a:hover { color: var(--white); }
  body.has-call-bar { padding-bottom: 76px; }
}

/* Blog */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.55rem; margin: 2.2rem 0 .7rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card.has-photo { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 500; }
.chip .icon { width: 1rem; height: 1rem; color: #ffb27a; }
.chip:hover { background: rgba(255,255,255,.12); color: var(--white); }
.section-head .kicker .icon { width: 1rem; height: 1rem; vertical-align: -2px; }
.city-groups { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.city-group { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.city-group h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.city-group h3 .icon { color: var(--orange); }
.city-list { list-style: none; padding: 0; margin: 0; }
.city-list li { border-top: 1px solid var(--line); }
.city-list a { display: block; padding: .6rem 0; text-decoration: none; }
.city-list strong { display: block; color: var(--navy); }
.city-list span { display: block; font-size: .88rem; color: var(--ink-soft); }
.city-list a:hover strong { color: var(--orange-dark); }

/* Split band: photo beside copy */
.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > .split-img { order: 2; } }
.split-img { border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4 / 3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--paper-2); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #d5dde8; }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head p { margin-bottom: 0; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 1rem; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; }
.card.accent { border-top-color: var(--orange); }
.card.on-navy { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); border-top-color: var(--orange); }
.card.on-navy h3 { color: var(--white); }
.card.on-navy p { color: #d5dde8; }

.pillars { counter-reset: pillar; }
.pillar { padding-left: 3.2rem; position: relative; }
.pillar::before {
  counter-increment: pillar; content: "0" counter(pillar);
  position: absolute; left: 0; top: .1rem;
  font-weight: 700; color: var(--orange); font-size: 1.4rem; letter-spacing: -.02em;
}
.pillar h3 { margin-bottom: .35rem; }
.pillar p { font-size: 1rem; }

/* Photo placeholders: real site photography only, per the brand rules */
.photo {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(13,55,101,.05) 14px 15px),
    var(--paper-2);
  display: grid; place-items: center;
  color: var(--navy-mid); font-size: .85rem; text-align: center; padding: 1rem;
}
.photo.square { aspect-ratio: 1; }
.photo b { display: block; font-weight: 700; color: var(--navy); }
.photo.has-img { padding: 0; background: var(--navy-tint); overflow: hidden; }
.photo.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Offer band */
.offer {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.offer-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.offer-steps li {
  counter-increment: step; position: relative; padding: .9rem 0 .9rem 3rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.offer-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.offer-steps li::before {
  content: counter(step); position: absolute; left: 0; top: .85rem;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--white); font-weight: 700; font-size: .95rem;
}
.offer-steps strong { display: block; color: var(--white); }
.offer-steps span { color: #d5dde8; font-size: .95rem; }

/* Provinces */
.provinces { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.province {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; background: var(--white);
}
.province .status { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.province .status.live { color: #1f7a3f; }
.province .status.next { color: var(--navy-mid); }
.province h3 { margin: .3rem 0 .2rem; font-size: 1.15rem; }
.province p { font-size: .92rem; margin: 0; color: var(--ink-soft); }

/* Detail pages */
.two-col { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; } }
.aside {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  position: sticky; top: 96px;
}
.aside h3 { font-size: 1.05rem; }
.aside ul { padding-left: 1.1em; font-size: .95rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.6rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--navy); font-weight: 700; width: 34%; }

/* Contact */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
label { display: block; font-weight: 500; font-size: .95rem; color: var(--navy); margin-bottom: .3rem; }
input, select, textarea {
  width: 100%; font: inherit; padding: .75rem .85rem; border: 1px solid #b9c3cf; border-radius: var(--radius);
  background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.dropzone {
  border: 2px dashed #b9c3cf; border-radius: var(--radius); background: var(--paper-2);
  padding: 1.6rem 1.2rem; text-align: center; color: var(--ink-soft); position: relative; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dropzone .icon { color: var(--navy); margin: 0 auto .5rem; display: block; }
.dropzone p { margin: 0 auto .35rem; max-width: none; }
.dropzone p strong { color: var(--navy); }
.dropzone.over, .dropzone:focus-visible { border-color: var(--orange); background: #fff6ef; outline: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--orange-dark); }
.filelist { list-style: none; padding: 0; margin: .6rem 0 0; font-size: .95rem; }
.filelist li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .4rem; background: var(--white); }
.filelist em { font-style: normal; color: var(--ink-soft); margin-left: .4rem; }
.filelist li.warn { border-color: var(--orange); color: var(--orange-dark); background: #fff6ef; }
.contact-card { background: var(--navy); color: var(--white); padding: 1.8rem; border-radius: var(--radius); }
.contact-card h3 { color: var(--white); }
.contact-card a { color: var(--white); font-weight: 700; }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #ffb27a; margin-top: 1rem; }
.contact-card dd { margin: .15rem 0 0; }

/* CTA band */
.cta { background: var(--navy); color: var(--white); text-align: center; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta h2 { color: var(--white); }
.cta p { color: #d5dde8; margin-inline: auto; }

/* Footer */
.site-footer { background: var(--ink); color: #c9ced4; font-size: .92rem; padding: 3rem 0 2rem; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer img { height: 44px; width: auto; margin-bottom: 1rem; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a { color: #e8eaed; text-decoration: none; }
.site-footer a:hover { color: #ffb27a; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .legal { border-top: 1px solid #3d4248; margin-top: 2.5rem; padding-top: 1.2rem; font-size: .82rem; color: #9aa1a9; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }

/* Breadcrumb */
.crumbs { font-size: .85rem; color: #c8d3e0; margin-bottom: 1rem; }
.crumbs a { color: #c8d3e0; text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span::before { content: "/"; margin: 0 .5rem; opacity: .6; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
