@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(assets/fonts/montserrat-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(assets/fonts/montserrat-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* My Fire Safety: clean, professional. One main colour (flame orange), one neutral (charcoal). */
:root {
  --orange: #f05a2a;
  --orange-dark: #db5426;
  --orange-tint: #fdeee8;
  --charcoal: #58595b;
  --ink: #2b2c2e;
  --grey: #bcbec0;
  --line: #e4e5e7;
  --bg-soft: #f6f6f7;
  --white: #fff;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1160px;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.soft { background: var(--bg-soft); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 12px; display: block; }
.lead { font-size: 1.15rem; color: var(--charcoal); max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 8px; border: 2px solid var(--orange); background: var(--orange); color: #fff; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--orange-dark); }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-full { width: 100%; }
.link-arrow { font-weight: 700; color: var(--orange-dark); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow::after { content: ' \2192'; }

/* Header */
.topbar { background: var(--ink); color: #fff; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 24px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.site-header { background: #fff; 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: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--charcoal); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange-dark); }
.main-nav .btn { color: #fff; padding: 10px 18px; font-size: .92rem; }
.main-nav .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Hero */
.hero { padding: 84px 0 72px; background: linear-gradient(180deg, var(--orange-tint) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--orange); }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.hero-card h2 { font-size: 1.1rem; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: .97rem; }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); }
.ticks li::after { content: ''; position: absolute; left: 5px; top: 18px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.9); }

/* Trust strip */
.trust { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; }
.trust-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal); }
.badge { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 110px; }
.badge strong { font-size: 1.2rem; color: var(--ink); font-weight: 800; }
.badge span { font-size: .78rem; color: var(--charcoal); }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--charcoal); flex: 1; }
.card .link-arrow { margin-top: 4px; }
.card.accent { border-top: 4px solid var(--orange); }
.stat { text-align: left; }
.stat .num { font-size: 2.6rem; font-weight: 800; color: var(--orange); line-height: 1; display: block; margin-bottom: 8px; }
.stat p { color: var(--charcoal); margin: 0; font-size: .95rem; }
.source { font-size: .82rem; color: var(--charcoal); margin-top: 24px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--charcoal); margin: 0; font-size: .95rem; }

/* Split / callouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.callout { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px; }
.callout h2, .callout h3 { color: #fff; }
.callout p { color: #dcdde0; }
.quote-line { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 700; line-height: 1.35; }
.quote-line span { color: var(--orange); }
.band { background: var(--orange); color: #fff; padding: 56px 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 4px; }
.band p { margin: 0; color: #fff; }
.band .btn { background: #fff; color: var(--orange-dark); border-color: #fff; }
.band .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Clients */
.clients { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; align-items: center; margin: 0 0 40px; }
.clients span { font-weight: 700; color: var(--charcoal); font-size: 1.05rem; }

/* Placeholder marker (remove before launch) */
.placeholder { position: relative; }
.placeholder::after { content: 'Sample content: replace with real'; position: absolute; top: 10px; right: 10px; font-size: .68rem; font-weight: 700; background: #fff3cd; color: #7a5b00; padding: 2px 8px; border-radius: 20px; }
.quote { font-size: 1.02rem; color: var(--ink); margin-bottom: 16px !important; }
.who { font-size: .88rem; font-weight: 700; color: var(--charcoal); }
.case dl { margin: 0; }
.case dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-dark); margin-top: 12px; }
.case dd { margin: 2px 0 0; color: var(--charcoal); font-size: .95rem; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; background: #fff; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--orange); }
details[open] summary::after { content: '\2212'; }
details p { margin: 12px 0 0; color: var(--charcoal); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-details a { font-weight: 800; font-size: 1.6rem; text-decoration: none; color: var(--orange-dark); }
.contact-details p { margin-bottom: 8px; }
form.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.quote-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.quote-form input, .quote-form select, .quote-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; border: 1px solid var(--grey); border-radius: 8px; background: #fff; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 3px solid var(--orange-tint); border-color: var(--orange); }
.form-note { font-size: .88rem; margin: 12px 0 0; min-height: 1.3em; color: var(--charcoal); }

/* Inner pages */
.page-hero { padding: 64px 0 52px; background: linear-gradient(180deg, var(--orange-tint), #fff); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .85rem; color: var(--charcoal); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: var(--orange-dark); font-weight: 600; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
th { background: var(--bg-soft); font-weight: 700; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd0d3; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer img { height: 56px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { display: block; text-decoration: none; padding: 4px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #45464a; padding: 20px 0; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Responsive */
@media (max-width: 960px) {
  section { padding: 60px 0; }
  .hero-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.06); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 12px; text-align: center; border-bottom: 2px solid var(--orange); }
  .logo img { height: 44px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; }
  .callout { padding: 28px; }
  .placeholder::after { position: static; display: inline-block; margin-bottom: 10px; align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---- Additions: dropdown, logo rows, courses, quiz, misc ---- */
.has-sub { position: relative; }
.has-sub > a::after { content: ' \25BE'; font-size: .8em; }
.sub { display: none; position: absolute; top: 100%; left: -16px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(0,0,0,.1); padding: 8px; z-index: 60; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { display: block; padding: 10px 14px; border-radius: 6px; }
.sub a:hover { background: var(--orange-tint); }
.trust-label { text-align: center; margin: 0 0 22px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: center; }
.logo-row img { width: auto; max-width: 100%; object-fit: contain; }
.logo-row a { display: block; }
.trust-note { text-align: center; margin: 22px 0 0; font-weight: 700; color: var(--charcoal); font-size: .9rem; }
.clients { margin-bottom: 44px; }
.tbl-logo { display: inline-block; width: auto; max-height: 56px; margin: 0 14px 0 0; vertical-align: middle; }
.note { background: #fff8e1; border-left: 4px solid #f0b400; padding: 10px 14px; border-radius: 6px; font-size: .9rem; }
.course { padding: 0; overflow: hidden; }
.course img { width: 100%; height: 190px; object-fit: cover; }
.course .card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.course .card-body p { flex: 1; }
.loc { text-decoration: none; }
.loc:hover { border-color: var(--orange); }
.loc h3 { margin-bottom: 6px; }
.quiz { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.quiz-progress { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 24px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s; }
.quiz h2 { font-size: 1.3rem; }
.quiz-opts { display: grid; gap: 10px; margin-top: 16px; }
.quiz-opts button { font: inherit; text-align: left; padding: 14px 16px; border: 1px solid var(--grey); border-radius: 8px; background: #fff; cursor: pointer; }
.quiz-opts button:hover:not(:disabled) { border-color: var(--orange); background: var(--orange-tint); }
.quiz-opts button.correct { border-color: #1f9d55; background: #e8f7ee; }
.quiz-opts button.wrong { border-color: #c0392b; background: #fdecea; }
.quiz-fb { margin-top: 16px; min-height: 1.5em; color: var(--charcoal); }
.quiz-score { font-size: 3rem; font-weight: 800; color: var(--orange); }
@media (max-width: 820px) {
  .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .has-sub > a::after { content: ''; }
  .sub a { padding: 10px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .logo-row { gap: 20px 28px; }
  .logo-row img { max-height: 64px; }
}
