/* PlaceDone brand tokens: the same values as web/src/styles.css and brand/guide.html. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
}

:root {
  --ink: #0f1f2e;
  --green: #16a871;
  --green-bright: #22c07f;
  --green-deep: #0b7a4f;
  --green-tint: #e6f6ee;
  --bg: #f4f8f6;
  --surface: #ffffff;
  --line: #dfe7e3;
  --muted: #586673;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
a { color: var(--green-deep); }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 40rem; }
section[id] { scroll-margin-top: 5rem; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 0.6rem; }
.section { padding: 3.5rem 0; }
.section.white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.section .intro { color: var(--muted); font-size: 1.1rem; max-width: 56ch; margin-top: 0.6rem; }

/* ---- header ---- */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; gap: 0.5rem 1.5rem; min-height: 4.25rem; flex-wrap: wrap; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.logo img { display: block; height: 2.1rem; width: auto; }
.nav { display: flex; gap: 0.25rem 1.25rem; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--green-deep); }

.btn {
  display: inline-block; background: var(--green); color: var(--ink); font-family: var(--font-display); font-weight: 700;
  text-decoration: none; padding: 0.6rem 1.1rem; border-radius: 10px; border: 0; cursor: pointer; font-size: 1rem;
}
.nav a.btn { color: var(--ink); }
.btn:hover { background: var(--green-bright); }
.btn.big { padding: 0.9rem 1.6rem; font-size: 1.1rem; }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.line:hover { background: rgb(255 255 255 / 8%); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---- hero ---- */
.hero { background: var(--ink); color: #fff; padding: 5rem 0 5.5rem; }
.hero.slim { padding: 3.5rem 0 4rem; }
.hero .eyebrow { color: var(--green-bright); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 4.75rem); font-weight: 800; margin-bottom: 1.1rem; max-width: 16ch; }
.hero.slim h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); max-width: 20ch; }
.hero h1 span { color: var(--green-bright); }
.lead { font-size: 1.2rem; color: #c5d0d6; margin: 0 0 2rem; max-width: 40ch; }

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; display: grid; gap: 0.5rem; align-content: start; }
.section.white .card { background: var(--bg); }
.card h3 { font-size: 1.15rem; font-weight: 700; }
.card p { color: var(--muted); }
.card .from { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink); }
.card .from small { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.8rem; color: var(--muted); display: block; }
.card a { font-weight: 600; text-decoration: none; margin-top: 0.25rem; }
.card a:hover { text-decoration: underline; }
.step { font-family: var(--font-display); font-weight: 800; color: var(--green-deep); font-size: 0.85rem; letter-spacing: 0.08em; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem 3rem; align-items: start; }
.two-col > p { font-size: 1.1rem; color: var(--muted); }

/* ---- calculator ---- */
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; margin-top: 1.75rem; align-items: start; }
.calc-form, .estimate { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.calc-form { display: grid; gap: 1rem; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1rem; }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.5rem; }
.extras label {
  display: flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.75rem;
  font-weight: 500; cursor: pointer;
}
.extras label:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.extras input { width: 1.1rem; height: 1.1rem; accent-color: var(--green); flex: none; }
.extras .price { margin-left: auto; color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.group-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.estimate { background: var(--ink); color: #fff; border-color: var(--ink); position: sticky; top: 5.5rem; display: grid; gap: 0.9rem; }
.estimate .eyebrow { color: var(--green-bright); margin: 0; }
.estimate .amount { font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -0.03em; }
.estimate .amount small { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500; color: #c5d0d6; letter-spacing: 0; }
.estimate .range { color: #c5d0d6; }
.estimate dl { margin: 0; display: grid; gap: 0.45rem; border-top: 1px solid rgb(255 255 255 / 14%); padding-top: 0.9rem; }
.estimate dl div { display: grid; grid-template-columns: 6rem 1fr; gap: 0.5rem; font-size: 0.92rem; }
.estimate dt { color: #9fb0b8; }
.estimate dd { margin: 0; }
.estimate .fine { font-size: 0.8rem; color: #9fb0b8; }
.estimate .btn { text-align: center; }
@media (max-width: 800px) {
  .calc { grid-template-columns: 1fr; }
  .estimate { position: static; }
}

/* ---- faq ---- */
.faq { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1.1rem; }
.faq summary { font-family: var(--font-display); font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin-top: 0.6rem; }

/* ---- quote form ---- */
.quote { background: var(--surface); border-top: 1px solid var(--line); padding: 3.5rem 0; }
.quote h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.35rem; }
.quote > .wrap > p { color: var(--muted); }
form.enquiry { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.9rem; }
input, select, textarea { font: inherit; font-weight: 400; padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: 10px; width: 100%; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.9rem; }
.hp { position: absolute; left: -9999px; }
.attached { background: var(--green-tint); border: 1px solid #bfe6d2; border-radius: 10px; padding: 0.7rem 0.85rem; font-size: 0.92rem; }
.attached[hidden] { display: none; }
.msg { min-height: 1.5rem; font-weight: 600; }
.msg.good { color: var(--green-deep); }
.msg.bad { color: #b3261e; }

/* ---- footer ---- */
.foot { background: var(--ink); color: #9fb0b8; padding: 1.75rem 0; font-size: 0.9rem; }
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot img { display: block; height: 1.6rem; width: auto; }
.foot a { color: #c5d0d6; text-decoration: none; margin-left: 1rem; }

/* The hidden attribute must win over the display rules above. */
[hidden] { display: none !important; }

/* ---- careers ---- */
.roles { display: grid; gap: 1rem; margin-top: 1.5rem; }
.role { display: grid; gap: 0.6rem; justify-items: start; }
.role .where { font-weight: 600; color: var(--green-deep); }
.role .summary { font-weight: 600; }
.muted { color: var(--muted); }
fieldset.checks { border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem 0.9rem; display: grid; gap: 0.5rem; }
fieldset.checks legend { font-weight: 600; font-size: 0.9rem; padding: 0 0.3rem; }
fieldset.checks label { display: flex; align-items: center; gap: 0.55rem; font-weight: 400; font-size: 0.95rem; }
fieldset.checks input { width: 1.1rem; height: 1.1rem; padding: 0; accent-color: var(--green); flex: none; }
