/* ============================================================
   NK DEVELOPMENTS — refreshed brand system
   Palette: brand aqua + deep teal + charcoal ink, cool light tints
   ============================================================ */

:root {
  --aqua:       #79ccd3;   /* brand aqua (logo) */
  --teal:       #2e8d98;   /* primary action */
  --teal-deep:  #1e6b75;
  --teal-ink:   #143f46;
  --tint:       #ecf6f7;
  --ink:        #22282c;
  --ink-2:      #313940;
  --slate:      #57616a;
  --mist:       #f5f9fa;
  --line:       #dfe9ea;
  --white:      #ffffff;
  --radius:     16px;
  --shadow:     0 10px 30px rgba(20, 63, 70, .09);
  --shadow-lg:  0 24px 60px rgba(20, 63, 70, .15);
  --font-head:  "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --font-body:  "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--white);
  line-height: 1.7; font-size: 16.5px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; text-wrap: balance; }

/* ---------- Top bar ---------- */
.topbar { background: var(--teal-ink); color: #bfe0e3; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #e8f5f6; font-weight: 600; }
.topbar a:hover { color: var(--aqua); }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }

/* ---------- Header ---------- */
header.site { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 24px; position: relative; }
.logo img { height: 54px; width: auto; }
nav.main { display: flex; align-items: center; gap: 2px; }
nav.main a {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .03em;
  color: var(--ink-2); padding: 10px 12px; border-radius: 999px;
}
nav.main a:hover { color: var(--teal-deep); background: var(--tint); }
nav.main a.active { color: var(--teal-deep); background: var(--tint); }
nav.main a.cta { background: var(--teal); color: var(--white); margin-left: 10px; padding: 11px 22px; }
nav.main a.cta:hover { background: var(--teal-deep); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--teal-ink); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,36,40,.90) 0%, rgba(13,36,40,.60) 48%, rgba(13,36,40,.18) 100%);
}
.hero .wrap { position: relative; padding: 108px 24px 116px; }
.hero.compact .wrap { padding: 74px 24px 82px; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--aqua);
  border-left: 4px solid var(--aqua); padding-left: 12px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -.01em; max-width: 17ch; }
.hero p.lede { margin-top: 18px; font-size: clamp(16.5px, 1.9vw, 20px); color: #d9e8ea; max-width: 56ch; }
.hero .actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  letter-spacing: .04em; padding: 15px 30px; border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-deep); color: var(--white); }
.btn-ghost { color: var(--white); border: 2px solid rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); color: var(--white); }

/* ---------- Sections ---------- */
section.band { padding: 82px 0; }
section.band.tint { background: var(--mist); }
section.band.dark { background: var(--teal-ink); color: #dcebec; }
.sec-head { max-width: 740px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .kicker { color: var(--teal); border-color: var(--teal); }
.band.dark .sec-head .kicker { color: var(--aqua); border-color: var(--aqua); }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
.sec-head p { margin-top: 14px; color: var(--slate); font-size: 17.5px; }
.band.dark .sec-head p { color: #b4cdd0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .thumb { aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb.plan img { object-fit: contain; background: var(--white); padding: 10px; }
.card .thumb.noimg {
  display: grid; place-items: center; text-align: center;
  color: var(--teal); font-family: var(--font-head); font-weight: 600; font-size: 15px;
  background: linear-gradient(135deg, var(--tint), #dff0f2);
}
.card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--slate); font-size: 15.5px; }
.card p.spec { color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.card p.dims { color: var(--slate); font-size: 14px; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.card .link { margin-top: auto; padding-top: 14px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; letter-spacing: .03em; }
.card .link::after { content: " \2192"; }
.card .link.muted { color: var(--slate); }
.card .link.muted::after { content: ""; }
.card.static:hover { transform: none; }
.plangrid .card .body { padding: 22px; }
.imgnote { margin-top: 22px; font-size: 13.5px; color: var(--slate); }

/* value cards */
.valgrid .valcard {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--aqua);
  border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
}
.band.tint .valgrid .valcard { border-color: var(--line); border-top-color: var(--teal); }
.valcard h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--teal-deep); }
.valcard p { color: var(--slate); font-size: 15px; }

/* features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 34px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .tick {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--aqua); color: var(--teal);
  display: grid; place-items: center; font-weight: 900; font-size: 15px;
}
.feature h4 { font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.feature p { color: var(--slate); font-size: 15px; }

/* quotes */
.quotes blockquote {
  background: rgba(255,255,255,.06); border-left: 4px solid var(--aqua);
  border-radius: 12px; padding: 26px;
}
.quotes p { font-size: 16px; color: #e6f2f3; }
.quotes cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-head); font-weight: 600; color: var(--aqua); font-size: 14px; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(115deg, var(--teal-ink), var(--teal-deep) 55%, var(--teal));
  color: var(--white); border-radius: 22px; padding: 54px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { font-size: clamp(23px, 3vw, 32px); font-weight: 700; max-width: 24ch; }
.cta-banner p { margin-top: 8px; color: #cfe8ea; max-width: 52ch; }

/* split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .pic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(25px, 3vw, 36px); font-weight: 700; margin-bottom: 16px; }
.split p { color: var(--slate); margin-bottom: 14px; }
.split ul { margin: 18px 0 24px 0; padding-left: 0; list-style: none; }
.split ul li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--ink-2); }
.split ul li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 900; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* FAQ */
.faqwrap { max-width: 860px; }
.faqwrap details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 0; margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.faqwrap summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink);
  position: relative; padding-right: 52px;
}
.faqwrap summary::-webkit-details-marker { display: none; }
.faqwrap summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--teal);
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.faqwrap details[open] summary::after { content: "\2212"; }
.faqwrap details p { padding: 0 24px 22px; color: var(--slate); }

/* prose (privacy) */
.prose { max-width: 800px; }
.prose h3 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; color: var(--teal-deep); }
.prose p { margin-bottom: 14px; color: var(--ink-2); }

/* ---------- Forms ---------- */
form.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.enquiry .full { grid-column: 1 / -1; }
label { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .03em; display: block; margin-bottom: 7px; }
input, select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px;
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,141,152,.16);
}
textarea { min-height: 150px; resize: vertical; }
.contact-cols { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.info-block { margin-bottom: 26px; }
.info-block h4 { font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; font-family: var(--font-head); }
.info-block p { color: var(--ink-2); }
.info-block a { font-weight: 600; }

/* ---------- Footer ---------- */
footer.site { background: var(--teal-ink); color: #b4cdd0; font-size: 15px; }
footer.site .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 62px 0 46px; }
footer.site h4 { color: var(--white); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-head); }
footer.site a { color: #cfe2e4; }
footer.site a:hover { color: var(--aqua); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site .flogo { height: 46px; width: auto; border-radius: 8px; margin-bottom: 16px; }
footer.site .values { margin-top: 12px; font-family: var(--font-head); font-size: 13px; letter-spacing: .06em; color: var(--aqua); }
footer.site .hia { height: 44px; width: auto; border-radius: 6px; margin-top: 16px; background: var(--white); padding: 4px; }
footer.site .legal {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #8fb0b4;
}

/* ---------- Responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .gallery img { transition: none; }
}
@media (max-width: 960px) {
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-cols { grid-template-columns: 1fr; }
  footer.site .top { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 13px 12px; border-radius: 10px; }
  nav.main a.cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: block; }
  .grid.c2, .grid.c3, .grid.c4, .features, form.enquiry { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  footer.site .top { grid-template-columns: 1fr; }
  .hero .wrap { padding: 70px 24px 78px; }
  .cta-banner { padding: 38px 28px; }
  .logo img { height: 44px; }
}
/* ---------- Contact form: honeypot + status message ---------- */
.enquiry .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-status { display: none; padding: 13px 16px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.form-status.show { display: block; }
.form-status.ok  { background: #e8f3ea; color: #1f6b34; border: 1px solid #bfe0c6; }
.form-status.err { background: #fdecec; color: #9f2620; border: 1px solid #f2c4c1; }
