/* ===========================================================================
   aucklandrentalproperty.co.nz - Pukeko Rental Managers Auckland
   ---------------------------------------------------------------------------
   The look is propertymanagerwhangarei.nz, which is Pukeko's own brand applied
   to a site: navy bands, white sections, red for action, Inter throughout.
   Colours were READ OFF the Whangarei site's stylesheets (bb-theme skin +
   layout CSS, tallied 2026-09-11), not guessed from a screenshot:
       #1f5885  navy   95 uses  - headings, body text, bands, footer
       #2b7bb9  blue   54 uses  - links, hover, nav active
       #ea1b2b  red    19 uses  - buttons, rules, accents, bottom bar
   Re-theming is one block: every colour is a custom property here.
   =========================================================================== */

:root {
  /* Contrast is MEASURED (build/qa.mjs), not assumed. White on the raw logo red
     #ea1b2b is 4.48:1 - a hair under AA for the 15px button label - so surfaces
     that carry white text use --red-bg, one step darker and visually identical.
       white on #1f5885 = 7.5:1     navy text on white = 7.5:1
       white on #d9182a = 5.1:1     #2b7bb9 text on white = 4.5:1
     Red words on the NAVY band (the Whangarei site does this in one heading)
     measure 1.7:1, so here a red word only ever sits on white. */
  --navy:       #1f5885;
  --navy-dk:    #17456a;   /* footer bottom strip, pressed states */
  --navy-2:     #133753;   /* the darkest step the Whangarei CSS uses */
  --blue:       #2670ab;   /* links and hover - 5.3:1 on white (the brand #2b7bb9 measures 4.17) */
  --blue-soft:  #e9f2f9;   /* pale wash for panels on white */
  --red:        #ea1b2b;   /* rules, accents, large display words */
  --red-bg:     #d9182a;   /* button fills carrying white text - 5.1:1 */
  --red-dk:     #b8121f;   /* hover / pressed */
  --ink:        #1f5885;   /* body text is navy on this brand, as on the Whangarei site */
  --ink-2:      #0f2a40;
  --muted:      #4d6d87;   /* secondary copy on white - 5.6:1 */
  --line:       #dbe4ec;
  --band:       #f2f6fa;   /* light section background */
  --white:      #ffffff;
  --shadow:     0 6px 24px rgba(31,88,133,.10), 0 2px 6px rgba(31,88,133,.06);
  --shadow-md:  0 14px 40px rgba(31,88,133,.16), 0 3px 10px rgba(31,88,133,.06);

  --wrap:       1180px;
  --pad:        clamp(20px, 4vw, 34px);
  --sec-y:      clamp(56px, 7vw, 96px);
  --radius:     6px;     /* the Whangarei site is a 4px-radius design; slightly softer here */
  --radius-sm:  4px;

  --hdr-h:        96px;
  --hdr-h-stuck:  72px;
  --util-h:       38px;

  /* Float bar - white icons on the navy, the same as the Whangarei site's bar. 7.5:1. */
  --fb-bg:        var(--navy);
  --fb-icon:      #ffffff;
  --fb-hover-bg:  var(--red-bg);
  --fb-hover-icon:#ffffff;
}

/* --------------------------------------------------------------- font
   Inter, the Pukeko brand face. One variable latin file, weights 300-800. */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h-stuck) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--white);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 600;
  line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy);
  text-wrap: balance;
}
p { margin: 0 0 1.05em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: 12px 18px; }
.skip:focus { left: 0; }

/* --------------------------------------------------------------- buttons
   Red, uppercase, a square tick glyph - the Whangarei "REQUEST A QUOTE" button.
   Components must beat prose: body-link rules below are scoped :not(.btn). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  background: var(--red-bg); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--red-bg); border-radius: var(--radius);
  cursor: pointer; transition: background .16s, color .16s, border-color .16s, transform .16s;
}
.btn::before {
  content: ''; flex: 0 0 auto; width: 16px; height: 16px; background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M3 3h18v18H3zm2 2v14h14V5zm3.2 7.6 1.4-1.4 2.4 2.4 5.4-5.4 1.4 1.4-6.8 6.8z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M3 3h18v18H3zm2 2v14h14V5zm3.2 7.6 1.4-1.4 2.4 2.4 5.4-5.4 1.4 1.4-6.8 6.8z'/></svg>") center/contain no-repeat;
}
.btn:hover { background: var(--red-dk); border-color: var(--red-dk); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ghost:hover::before { background: #fff; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light::before { background: var(--red); }
.btn--light:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn--light:hover::before { background: #fff; }
.btn--full { width: 100%; }
.btn--sm { padding: 11px 18px; font-size: 13px; }

.tlink { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(43,123,185,.35); }
.tlink:hover { border-bottom-color: var(--red); color: var(--navy); }

/* Section heading with the red left bar (navy bands) or the short red underline (white). */
.bar-head { position: relative; max-width: 900px; margin-bottom: clamp(26px, 3.6vw, 40px); }
.bar-head h2 { font-size: clamp(26px, 3.1vw, 36px); font-weight: 600; margin-bottom: .55em; }
.bar-head h2::after { content: ''; display: block; width: 80px; height: 3px; background: var(--red); margin-top: 16px; }
.bar-head h2 em { font-style: normal; color: var(--red); }
.bar-head p { font-size: 16.5px; color: var(--ink); max-width: 780px; }
.bar-head--c { margin-left: auto; margin-right: auto; text-align: center; }
.bar-head--c h2::after { margin-left: auto; margin-right: auto; }
.bar-head--c p { margin-left: auto; margin-right: auto; }
/* On a navy band: white type, red bar down the LEFT edge, and NO red words - 1.7:1 on navy. */
.bar-head--light { padding-left: 26px; border-left: 4px solid var(--red); }
.bar-head--light h2 { color: #fff; }
.bar-head--light h2::after { display: none; }
.bar-head--light h2 em { color: #fff; }
.bar-head--light p { color: #fff; }
.bar-head--light a:not(.btn):not(.tlink) { color: #fff; }

/* --------------------------------------------------------------- utility bar */
.util { background: var(--navy); color: #fff; }
.util__in { min-height: var(--util-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.util__phone { color: #fff; text-decoration: none; white-space: nowrap; }
.util__phone:hover { text-decoration: underline; }
@media (max-width: 640px) { .util__tag { display: none; } .util__in { justify-content: center; } }

/* --------------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.hdr[data-stuck] { box-shadow: 0 4px 22px rgba(31,88,133,.10); }
.hdr__in { min-height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; gap: 22px; transition: min-height .2s; }
.hdr[data-stuck] .hdr__in { min-height: var(--hdr-h-stuck); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand__logo { width: auto; height: 54px; transition: height .2s; }
.hdr[data-stuck] .brand__logo { height: 44px; }
@media (max-width: 560px) { :root { --hdr-h: 80px; --hdr-h-stuck: 66px; } .brand__logo { height: 44px; } .hdr[data-stuck] .brand__logo { height: 38px; } }

.nav { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; margin-left: auto; }
.nav > a, .nav__dropbtn {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; white-space: nowrap;
  background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav__dropbtn:hover, .nav > a[aria-current="page"], .nav__drop[data-current] .nav__dropbtn { color: var(--blue); }
.nav__home { color: var(--red); }
.nav__home svg { display: block; }
.nav__drop { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 290px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  box-shadow: var(--shadow); padding: 8px; border-radius: var(--radius);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s, visibility .16s;
}
.nav__drop:hover .nav__panel, .nav__drop:focus-within .nav__panel, .nav__drop[data-open] .nav__panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* Bridge the gap between the button and the panel, or the hover journey breaks. */
.nav__drop::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav__panel a { font-weight: 500; font-size: 14.5px; text-transform: none; letter-spacing: 0; color: var(--navy); text-decoration: none; padding: 9px 13px; border-radius: 3px; }
.nav__panel a:hover, .nav__panel a[aria-current="page"] { background: var(--band); color: var(--blue); }

.hdr__cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.hdr__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-bg); color: #fff; text-decoration: none;
  padding: 11px 16px; border-radius: var(--radius);
  font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  transition: background .16s, transform .16s;
}
.hdr__btn:hover { background: var(--red-dk); transform: translateY(-1px); }
@media (max-width: 1240px) { .hdr__btn span { display: none; } .hdr__btn { padding: 11px 12px; } }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2.5px; background: var(--navy); margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-m { display: none; border-top: 1px solid var(--line); padding: 10px var(--pad) 22px; background: #fff; max-height: calc(100vh - var(--hdr-h-stuck)); overflow-y: auto; }
.nav-m a { display: block; padding: 11px 2px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line); }
.nav-m__label { margin: 16px 0 2px; font-weight: 700; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav-m__cta { margin-top: 14px; text-align: center; background: var(--red-bg); color: #fff !important; border-radius: var(--radius); border-bottom: 0 !important; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.nav-m__cta--alt { background: var(--navy); }
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .cnc-js .nav-m { display: none; }
  .cnc-js .nav-m[data-open] { display: block; }
  .nav-m { display: block; }
}

/* --------------------------------------------------------------- hero
   Full-bleed photograph with the H1 and the lede in a navy caption band at the
   foot, red bar down the left, red button on the right - the Whangarei home hero. */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg picture, .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__spacer { height: clamp(220px, 34vw, 480px); position: relative; z-index: 1; }
.hero__band { position: relative; z-index: 2; background: rgba(31,88,133,.8); color: #fff; }
.hero__band-in { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 3vw, 44px); align-items: center; padding: clamp(24px, 2.6vw, 34px) 0; }
.hero__copy { position: relative; padding-left: 26px; border-left: 4px solid var(--red); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__lede { font-size: clamp(15px, 1.2vw, 16px); color: #fff; line-height: 1.55; }
h1[data-len="short"] { font-size: clamp(28px, 3.3vw, 38px); }
h1[data-len="long"]  { font-size: clamp(25px, 2.8vw, 32px); }
h1[data-len="xlong"] { font-size: clamp(22px, 2.5vw, 28px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; }
.hero__band .hero__cta { flex-direction: column; align-items: stretch; }
@media (max-width: 860px) {
  .hero__band-in { grid-template-columns: 1fr; }
  .hero__band .hero__cta { flex-direction: row; }
  /* On a phone the 16:9 photograph is cropped to a short strip; bias it to the right so the
     keyring (the subject) is what shows rather than a close-up of fingers. */
  .hero__bg img { object-position: 64% 45%; }
}
/* Inner pages: a shorter photo strip, or no photo at all. */
.hero--sm .hero__spacer { height: clamp(140px, 22vw, 300px); }
.hero--plain .hero__spacer { display: none; }
.hero--plain .hero__band { background: var(--navy); }

/* --------------------------------------------------------------- sections */
.sec { padding: var(--sec-y) 0; }
.sec--white { background: #fff; }
.sec--band { background: var(--band); }
.sec--navy { background: var(--navy); color: #fff; }
.sec--navy h2, .sec--navy h3, .sec--navy p { color: #fff; }
.sec__after { margin-top: 26px; }
.center { text-align: center; }
.pt0 { padding-top: 0; }

/* --------------------------------------------------------------- prose */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h2::after { content: ''; display: block; width: 80px; height: 3px; background: var(--red); margin-top: 12px; }
.prose h3 { font-size: clamp(18.5px, 1.8vw, 22px); margin-top: 1.4em; }
.prose > p:first-child { font-size: 18px; }
.prose a:not(.btn):not(.tlink) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.btn):not(.tlink):hover { color: var(--navy); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 34px; margin-bottom: .7em; }
/* The Pukeko red/blue tick mark, drawn in CSS rather than shipped as an image on every row. */
.prose ul li::before, .ticks li::before {
  content: ''; position: absolute; left: 2px; top: .3em; width: 8px; height: 17px;
  background: var(--red); transform: skewX(-24deg); border-radius: 1px;
}
.prose ul li::after, .ticks li::after {
  content: ''; position: absolute; left: 10px; top: .55em; width: 7px; height: 14px;
  background: var(--navy); transform: skewX(-24deg); border-radius: 1px;
}
.prose ul li strong { color: var(--navy); }
.prose ol { padding-left: 1.3em; }
.prose ol li::marker { font-weight: 700; color: var(--red); }
.lead { font-size: 18.5px; }

/* Two-column: prose left, media right (the "Locally owned" block). */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.split--flip .split__media { order: -1; }
.split__media picture, .split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media--panel { background: var(--band); border-radius: var(--radius); padding: 18px; }
.split__media--panel img { box-shadow: none; }
.split__cap { margin: 14px 0 0; font-size: 15px; color: var(--navy); text-align: center; }
.split__cap strong { color: var(--red); }
.split__logo { width: 190px; height: auto; margin-bottom: 22px; }
.split__phone { display: block; margin-top: 18px; font-size: clamp(20px, 2vw, 24px); font-weight: 600; color: var(--navy); text-decoration: none; }
.split__phone:hover { color: var(--blue); }
@media (min-width: 901px) { .split__media { position: sticky; top: calc(var(--hdr-h-stuck) + 22px); } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } .split__media { position: static; } }

/* Tick list with bold lead-ins ("Why choose..."). */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; margin: 0; font-size: 16px; }
.ticks li strong { color: var(--navy); }

/* Numbered steps. */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 60px; margin: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-weight: 700; font-size: 28px; color: var(--red); line-height: 1; }
.steps h3 { font-size: 18px; margin-bottom: .25em; }
.steps p { font-size: 15.5px; margin-bottom: 0; }
/* Inside .prose an h3 carries a 1.4em top margin, which pushed each step heading below its
   number; and the list needs a bottom margin or the paragraph after it hugs the last step. */
.prose .steps h3 { margin-top: 0; }
.prose .steps { margin-bottom: 1.5em; }

/* --------------------------------------------------------------- CTA band (navy, line-art house) */
.cta { background: var(--navy); color: #fff; padding: clamp(40px, 5vw, 64px) 0; }
.cta__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.cta__copy { padding-left: 26px; border-left: 4px solid var(--red); }
.cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: .4em; }
.cta p { color: #fff; margin: 0; font-size: 16px; }
.cta__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta__art { width: min(360px, 100%); }
.cta__art img { width: 100%; height: auto; }
.cta__side .btn { width: min(360px, 100%); }
@media (max-width: 800px) { .cta__grid { grid-template-columns: 1fr; } .cta__art { display: none; } }

/* --------------------------------------------------------------- service cards on the navy band */
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(26px, 3vw, 40px) clamp(22px, 2.6vw, 34px); }
.scard { display: block; text-decoration: none; color: #fff; }
.scard__img { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: 0 8px 26px rgba(0,0,0,.22); }
.scard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.scard:hover .scard__img img { transform: scale(1.04); }
.scard__h { display: block; margin: 22px 0 0; font-size: 20px; font-weight: 600; line-height: 1.3; color: #fff; }
.scard__rule { display: block; width: 80px; height: 3px; background: var(--red); margin: 14px 0 16px; }
.scard__p { display: block; font-size: 15.5px; line-height: 1.6; color: #fff; }
.scard:hover .scard__h { text-decoration: underline; text-underline-offset: 4px; }
.badges { display: flex; gap: 18px; margin-top: clamp(30px, 4vw, 48px); }
.badges picture { width: 130px; }
.badges img { width: 100%; height: auto; }

/* --------------------------------------------------------------- area cards */
.acards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2.4vw, 30px); }
.acard { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 26px 26px 28px; transition: box-shadow .22s, transform .22s; }
.acard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.acard__h { display: block; font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.acard__p { display: block; font-size: 15.5px; color: var(--ink); }
.acard__sub { display: block; font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.acard__more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--red-bg); }
.sec--band .acard { border-color: transparent; border-left-color: var(--red); box-shadow: var(--shadow); }

/* --------------------------------------------------------------- PukekoPlus block */
.plus__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.plus__logo { width: 240px; margin-bottom: 8px; }
.plus__logo img { width: 100%; height: auto; }
.plus__tag { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-bg); margin: 0 0 18px; }
.plus__h { font-size: clamp(20px, 2vw, 25px); font-weight: 600; margin-bottom: 22px; }
.plus__box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.plus__box p { color: #fff; margin: 0; }
.plus__box-h { font-size: 23px; font-weight: 700; margin: 0 0 12px !important; }
/* The flyer sets "Plus" in red on the navy box; that measures 1.7:1, so here it is white with a
   red underline - the brand cue survives, the word stays readable. */
.plus__box-h span { color: #fff; border-bottom: 3px solid var(--red); }
.plus__fine { font-size: 14.5px; color: var(--navy); margin-top: 18px; }
.plus__media picture, .plus__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.plus__media .btn { width: 100%; margin-top: 18px; }
@media (max-width: 900px) { .plus__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- awards */
.awards__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.awards__media picture, .awards__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.awards__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.awards__list li { display: grid; grid-template-columns: 74px 1fr; column-gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); margin: 0; }
.awards__year { font-weight: 700; font-size: 26px; color: var(--red); letter-spacing: -.02em; }
.awards__list strong { display: block; font-size: 17px; color: var(--navy); grid-column: 2; }
.awards__list li > span:last-child { grid-column: 2; font-size: 14.5px; color: var(--muted); }
.awards__net { grid-template-columns: 74px 1fr; }
.awards__net::before { content: 'NZ'; font-weight: 700; font-size: 22px; color: var(--navy); }
@media (max-width: 860px) { .awards__grid { grid-template-columns: 1fr; } .awards__media { max-width: 640px; margin: 0 auto; } }

/* --------------------------------------------------------------- guide cards */
.gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2.6vw, 30px); }
.gcard { display: block; text-decoration: none; color: var(--ink); background: var(--band); border-radius: var(--radius); padding: 20px 20px 26px; transition: box-shadow .22s, transform .22s; }
.gcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gcard__img { display: block; overflow: hidden; border-radius: var(--radius-sm); }
.gcard__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gcard__h { display: block; margin-top: 18px; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.gcard__rule { display: block; width: 60px; height: 2px; background: var(--red); margin: 14px 0; }
.gcard__p { display: block; font-size: 15px; color: var(--ink); }
.gcard__date { display: block; font-size: 13.5px; color: var(--red-bg); margin: 8px 0 0; }

/* Article page */
.article { max-width: 800px; }
.article__meta { font-size: 14px; color: var(--red-bg); margin-bottom: 22px; }
.article__hero picture, .article__hero img { width: 100%; border-radius: var(--radius); margin-bottom: 30px; }

/* --------------------------------------------------------------- FAQ accordion
   Navy closed bars, red when open - the Whangarei accordion. Every colour is
   stated outright on both states. */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; background: var(--navy); color: #fff; padding: 15px 52px 15px 18px; position: relative; font-weight: 500; font-size: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; position: absolute; right: 18px; top: 50%; margin-top: -8px; width: 16px; height: 16px; background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M11 3h2v18h-2z M3 11h18v2H3z' fill='black'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M11 3h2v18h-2z M3 11h18v2H3z' fill='black'/></svg>") center/contain no-repeat; transition: transform .2s; }
.faq__item summary:hover { background: var(--blue); }
.faq__item[open] summary { background: var(--red-bg); color: #fff; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 18px 20px 20px; background: #fff; border: 1px solid var(--line); border-top: 0; color: var(--ink); font-size: 15.5px; }
.faq__a p { color: var(--ink); }
.faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- contact cards */
.ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(18px, 2.2vw, 26px); }
/* Two per row from tablet up: the email address does not fit a quarter-width card at any size
   worth reading, and shots.mjs asserts it stays on one line. */
@media (min-width: 760px) { .ccards { grid-template-columns: repeat(2, 1fr); } }
.ccard { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; transition: transform .22s, box-shadow .22s; }
a.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ccard__ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-soft); color: var(--navy); margin-bottom: 16px; }
.ccard__l { display: block; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-bg); margin-bottom: 7px; }
.ccard__v { display: block; font-weight: 600; font-size: 18px; color: var(--navy); line-height: 1.3; overflow-wrap: anywhere; }
.ccard__n { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
/* The email address has no natural break point; a smaller size keeps it whole in a 250px card. */
.ccard__v--fit { font-size: clamp(13.5px, 1.25vw, 16px); }

/* --------------------------------------------------------------- enquiry */
.enq { background: var(--band); padding: var(--sec-y) 0; border-top: 1px solid var(--line); }
.enq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: start; }
.enq h2 { font-size: clamp(24px, 2.8vw, 34px); }
.enq h2::after { content: ''; display: block; width: 80px; height: 3px; background: var(--red); margin-top: 14px; }
.enq__copy > p { color: var(--ink); }
.enq__big { display: inline-flex; align-items: center; gap: 13px; margin: 10px 0 20px; font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); color: var(--navy); text-decoration: none; }
.enq__big svg { color: var(--red); }
.enq__big:hover { color: var(--blue); }
.enq__facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.enq__facts li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15.5px; color: var(--ink); }
.enq__facts svg { color: var(--red); flex: 0 0 auto; margin-top: 4px; }
.enq__facts a { color: var(--blue); overflow-wrap: anywhere; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 38px); box-shadow: var(--shadow-md); }
.form__h { font-weight: 600; font-size: 22px; color: var(--navy); margin: 0 0 20px; }
.form .form__row { margin-bottom: 15px; }
.form .form__row label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13px; color: var(--navy); }
.form .form__row input, .form .form__row select, .form .form__row textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px;
  color: #1f5885; -webkit-text-fill-color: #1f5885;
  background: var(--band); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, background .15s;
}
.form .form__row select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M6 8 0 0h12z' fill='%231f5885'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 11px; padding-right: 38px; }
.form .form__row textarea { resize: vertical; min-height: 118px; }
.form .form__row input::placeholder, .form .form__row textarea::placeholder { color: #7a91a6; -webkit-text-fill-color: #7a91a6; }
.form .form__row input:focus, .form .form__row select:focus, .form .form__row textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; background: #fff; }
.form .btn { margin-top: 10px; }
.form .err { display: block; color: var(--red-dk); font-size: 13.5px; margin-top: 5px; font-weight: 600; }
.form .form__msg { margin: 14px 0 0; font-size: 15px; color: var(--navy); }
.form .form__msg.err { color: var(--red-dk); }
.form .form__legal { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.form .form__legal a { color: var(--blue); }
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .enq__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- the car
   The Whangarei footer is preceded by the branded car sitting on the white,
   bottom right. Decorative. */
.car { background: #fff; overflow: hidden; }
.car__in { display: flex; justify-content: flex-end; padding-top: 10px; }
.car picture { width: min(560px, 70%); }
.car img { width: 100%; height: auto; }

/* --------------------------------------------------------------- footer
   Two rows above the suburb list: contact + about, then the links in three
   labelled columns. The 16 quick links in one column, and a 40-character email
   address in a quarter-width column, were the two things wrong with the first
   cut (Richard, 2026-09-11) - the email split over two lines and the link
   column ran far taller than everything beside it. */
.ftr { background: var(--navy); color: #fff; font-size: 15.5px; }
.ftr__top { display: grid; grid-template-columns: minmax(370px, 1fr) 1.5fr; gap: clamp(28px, 5vw, 80px); padding-top: clamp(42px, 5vw, 66px); padding-bottom: 8px; }
.ftr__h { font-weight: 700; font-size: 21px; color: #fff; margin: 0 0 16px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.ftr__contact li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15px; white-space: nowrap; }
.ftr__contact svg { color: var(--red); flex: 0 0 auto; margin-top: 4px; }
.ftr__col p { color: #fff; }
.ftr__social { display: flex; gap: 10px; margin-top: 20px; }
.ftr__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; transition: background .18s; }
.ftr__social a:hover { background: var(--red-bg); }
.ftr__linksrow { padding-top: 30px; padding-bottom: 8px; }
.ftr__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px clamp(24px, 3vw, 44px); }
.ftr__linkcol { display: flex; flex-direction: column; }
.ftr__sub { margin: 0 0 4px; font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.ftr__linkcol a { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.ftr__areas-row { padding-top: 30px; padding-bottom: 40px; }
.ftr__areas-row .ftr__h { font-size: 19px; margin-bottom: 8px; }
.ftr__areas { margin: 0; color: #fff; font-size: 15px; line-height: 1.7; }
.ftr__areas .tlink { color: #fff; border-bottom-color: var(--red); }
.ftr__btm-wrap { background: var(--red-bg); }
.ftr__btm { padding: 15px 0; text-align: center; font-size: 13.5px; color: #fff; }
.ftr__btm a, .ftr__credit { color: #fff !important; text-decoration: none; }
.ftr__btm a:hover, .ftr__credit:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ftr__links { grid-template-columns: 1fr; }
  .ftr__contact li { white-space: normal; }
  .ftr__contact li a { overflow-wrap: anywhere; }
}

/* --------------------------------------------------------------- float bar */
.floatbar { position: fixed; right: 18px; bottom: 18px; z-index: 95; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.floatbar__list { display: flex; flex-direction: column; gap: 10px; }
.floatbar__btn { width: 50px; height: 50px; border-radius: 50%; background: var(--fb-bg); color: var(--fb-icon); display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 6px 20px rgba(15,17,19,.28); transition: transform .18s, background .18s, color .18s, opacity .18s; }
.floatbar__btn:hover { background: var(--fb-hover-bg); color: var(--fb-hover-icon); }
.cnc-js .floatbar:not([data-open]) .floatbar__list { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; }
.cnc-js .floatbar .floatbar__list { transition: opacity .2s, transform .2s, visibility .2s; }
.floatbar__btn:hover { transform: scale(1.08); }
.floatbar__toggle:hover { transform: scale(1.08); }
.fb-pop { position: fixed; inset: 0; z-index: 190; background: rgba(9,10,11,.6); display: none; align-items: center; justify-content: center; padding: 24px; }
.fb-pop[data-open] { display: flex; }
.fb-pop__card { background: #fff; border-radius: var(--radius); padding: 34px 40px; text-align: center; position: relative; max-width: 380px; }
.fb-pop__card p { color: var(--muted); font-size: 15px; }
.fb-pop__num { display: block; font-weight: 700; font-size: 29px; color: var(--navy); text-decoration: none; margin: 6px 0 10px; }
.fb-pop__close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }

/* --------------------------------------------------------------- reveal (threshold 0, .cnc-js only) */
.cnc-js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.cnc-js [data-reveal].is-in { opacity: 1; transform: none; }
.cnc-js [data-reveal][data-delay="1"] { transition-delay: .09s; }
.cnc-js [data-reveal][data-delay="2"] { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .cnc-js [data-reveal] { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- misc */
.stack > * + * { margin-top: clamp(28px, 3.4vw, 46px); }
.suburbs { columns: 3; column-gap: 30px; list-style: none; padding: 0; margin: 0; }
.suburbs li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15.5px; }
@media (max-width: 760px) { .suburbs { columns: 2; } }
@media (max-width: 460px) { .suburbs { columns: 1; } }
.note { background: var(--blue-soft); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 18px 22px; margin: 26px 0; font-size: 15.5px; }
.note p:last-child { margin-bottom: 0; }
