/* Fireplan Ltd: layout idea = white header, slate hero band with the knot emblem, then calm white/grey content bands with orange rules marking each service. */
:root {
  --slate: #2e3a45;
  --slate-deep: #1f2830;
  --orange: #f25a0b;
  --orange-strong: #c24400;
  --paper: #f3f5f7;
  --white: #ffffff;
  --ink: #1f2830;
  --muted: #56626d;
  --line: #d9dee3;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-strong); text-underline-offset: 3px; }
a:hover { color: var(--slate); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; color: var(--slate-deep); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 66ch; display: grid; gap: 1rem; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-strong); }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 20; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 190px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: 600 1rem var(--font-body); color: var(--slate); cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; color: var(--slate); text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: var(--radius); }
.site-nav a:hover { background: var(--paper); color: var(--slate-deep); }
.site-nav a[aria-current="page"] { color: var(--orange-strong); }
.site-nav .nav-cta { background: var(--orange-strong); color: var(--white); margin-left: 8px; }
.site-nav .nav-cta:hover { background: var(--slate); color: var(--white); }
.site-nav .nav-cta[aria-current="page"] { color: var(--white); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; padding: 14px 22px; border-radius: var(--radius); font: 700 1.05rem var(--font-display); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--orange-strong); color: var(--white); }
.btn-primary:hover { background: var(--white); color: var(--slate-deep); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }
.btn-dark { background: var(--slate); color: var(--white); }
.btn-dark:hover { background: var(--orange-strong); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: #25303a; color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #ff8a4c; }
.hero .lead { color: #d3dae0; margin-top: 18px; }
.hero .btn-row { margin-top: 30px; }
.hero-emblem { justify-self: center; width: min(300px, 100%); }
.hero-emblem img { width: 100%; }
.hero.compact .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
.hero.compact .wrap > div { max-width: 760px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--orange); }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 52px; }
  .hero-emblem { display: none; }
}

/* Sections */
.section { padding: 72px 0; }
.section.tint { background: var(--paper); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 70ch; }
.section-head p { color: var(--muted); }

/* Service rows */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service { border-top: 4px solid var(--orange); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.service p { color: var(--muted); }
.service .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.service .more:hover { text-decoration: underline; }
.service.planned { border-top-color: var(--line); }
.tag { display: inline-block; align-self: flex-start; font: 700 0.75rem var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; background: var(--paper); color: var(--slate); padding: 4px 8px; border-radius: 4px; border: 1px solid var(--line); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); font: 800 1rem var(--font-display); color: var(--white); background: var(--slate); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Two column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 3px; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.panel.dark { background: var(--slate); border-color: var(--slate); color: #d3dae0; }
.panel.dark h3 { color: var(--white); }

/* Law band */
.law { border-left: 6px solid var(--orange); padding: 6px 0 6px 24px; display: grid; gap: 12px; max-width: 72ch; }
.law p { color: var(--muted); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 1rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
tbody tr:last-child td { border-bottom: 0; }
.swatch { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.swatch i { width: 16px; height: 28px; border-radius: 3px; border: 1px solid rgba(0,0,0,0.25); flex: none; }
.small { font-size: 0.95rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font: 700 1.1rem var(--font-display); padding: 18px 0; color: var(--slate-deep); list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > p { padding: 16px 0 20px; color: var(--muted); }

/* CTA band */
.cta { background: var(--slate-deep); color: #d3dae0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: var(--white); }
.cta p { margin-top: 8px; }
.cta a.mail { color: var(--white); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-email { font: 800 clamp(1.4rem, 3vw, 1.9rem) var(--font-display); color: var(--slate-deep); text-decoration: none; word-break: break-word; }
.contact-email:hover { color: var(--orange-strong); }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { font-weight: 700; font-size: 1rem; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #b9c2ca; border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(242,90,11,0.35); border-color: var(--orange-strong); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { padding: 14px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); font-size: 1rem; }
.form-note[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--slate); color: #c4ccd3; font-size: 1rem; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 32px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 200px; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #e6eaee; text-decoration: none; }
.site-footer a:hover { color: #ff8a4c; text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; font-size: 0.9rem; color: #9aa6b1; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.footer-logo { display: inline-block; background: var(--white); padding: 12px 16px; border-radius: var(--radius); }
.footer-logo img { width: 180px; }
