/* Risk Pro Health and Safety Management - site styles (Nov 2026) */
:root {
  --red: #e4232f;
  --red-dark: #c21b26;
  --ink: #2b2b2b;
  --char: #545454;
  --body: #4a4f57;
  --mute: #6b7280;
  --line: #e5e7eb;
  --tint: #f4f5f7;
  --white: #ffffff;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 24, 31, .08);
  --head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --text: 'Open Sans', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); color: var(--body); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--mute); font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font-family: var(--head); font-weight: 700; font-size: .92rem; letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(228, 35, 47, .25); }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header::after { content: ''; display: block; height: 3px; background: linear-gradient(90deg, var(--red) 0 30%, var(--char) 30% 100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 150px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--char); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .93rem; padding: 9px 13px; border-radius: 8px; }
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav a.nav-wa { color: #fff; margin-left: 10px; padding: 10px 18px; border-radius: 999px; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span:not(.sr) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { position: relative; color: #fff; background: #222 var(--hero) center / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(25, 25, 25, .92) 0%, rgba(25, 25, 25, .78) 45%, rgba(25, 25, 25, .35) 100%); }
.hero-inner { position: relative; padding: 110px 20px 120px; max-width: 1180px; }
.hero-inner > * { max-width: 700px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.13rem; color: rgba(255, 255, 255, .9); }
.hero-small .hero-inner { padding: 80px 20px 84px; }
.hero-small h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.eyebrow.dark { color: var(--red); }
.eyebrow.center, .center.eyebrow { display: flex; justify-content: center; }

/* strip under the home hero */
.strip { background: var(--ink); color: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid div { padding: 22px 18px; border-left: 1px solid rgba(255, 255, 255, .1); }
.strip-grid div:first-child { border-left: 0; }
.strip-grid strong { display: block; font-family: var(--head); font-size: 1.15rem; }
.strip-grid strong::after { content: ''; display: block; width: 22px; height: 3px; background: var(--red); margin: 6px 0 4px; border-radius: 2px; }
.strip-grid span { color: rgba(255, 255, 255, .72); font-size: .9rem; }

/* sections */
.section { padding: 88px 0; }
.tint { background: var(--tint); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 6px; background: var(--red); }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.intro { max-width: 720px; margin: 0 auto 10px; }
.more { margin-top: 36px; }

/* cards */
.cards { display: grid; gap: 22px; margin-top: 34px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card::before { content: ''; position: absolute; left: 26px; top: 0; width: 40px; height: 4px; background: var(--red); border-radius: 0 0 3px 3px; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9dce1; }
.card .num { display: block; font-family: var(--head); font-weight: 800; font-size: .85rem; color: var(--red); letter-spacing: .08em; margin: 6px 0 10px; }
.card p { margin: 0; font-size: .96rem; }
.tint .card { border-color: transparent; }

/* call-to-action band */
.cta { position: relative; background: #222 var(--hero) center / cover no-repeat; color: #fff; }
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(228, 35, 47, .94), rgba(160, 20, 28, .86)); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 64px 20px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 640px; }
.cta .btn-red { background: #fff; color: var(--red); box-shadow: none; }
.cta .btn-red:hover { background: #f3f4f6; }

/* contact band with the WhatsApp QR card */
.contact-band { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.contact-list strong { display: block; font-family: var(--head); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.contact-list a, .contact-list span:not(.ci) { font-size: 1.08rem; font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--red); }
.ci { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(228, 35, 47, .1); color: var(--red); }
.ci-wa { background: rgba(31, 168, 85, .12); color: var(--wa); }
.qr-card { background: #fff; border-radius: 20px; box-shadow: 0 18px 50px rgba(20, 24, 31, .14); padding: 26px 26px 22px; text-align: center; max-width: 340px; justify-self: center; width: 100%; border-top: 6px solid var(--red); }
.qr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.qr-head img { width: 96px; }
.qr-head span { font-family: var(--head); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wa); background: rgba(31, 168, 85, .1); padding: 5px 10px; border-radius: 999px; }
.qr-frame { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #fff; }
.qr-frame img { width: 100%; image-rendering: pixelated; }
.qr-name { font-family: var(--head); font-weight: 700; color: var(--ink); margin: 14px 0 0; }
.qr-num { font-family: var(--head); font-weight: 800; color: var(--wa); font-size: 1.2rem; margin: 2px 0 6px; letter-spacing: .02em; }
.qr-hint { font-size: .85rem; color: var(--mute); margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 26px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-weight: 700; color: var(--ink); padding: 14px 30px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--red); font-weight: 400; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin: 0 0 16px; }

/* enquiry form */
.enquiry { display: grid; gap: 14px; margin-top: 18px; }
.enquiry label { display: grid; gap: 6px; font-family: var(--head); font-weight: 600; font-size: .85rem; color: var(--ink); }
.enquiry input, .enquiry textarea { font: inherit; font-family: var(--text); font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfd4db; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.enquiry input:focus, .enquiry textarea:focus { outline: 3px solid rgba(228, 35, 47, .18); border-color: var(--red); }
.enquiry .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry .check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--text); font-weight: 400; }
.enquiry .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.enquiry .hp { position: absolute; left: -9999px; }
.enquiry button { justify-self: start; }
.form-msg { padding: 12px 16px; border-radius: 10px; margin-top: 12px; font-weight: 600; }
.form-msg.ok { background: #e8f7ee; color: #166534; }
.form-msg.err { background: #fdecee; color: #9f1239; }

/* text pages */
.prose h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* footer */
.site-footer { background: #1f1f1f; color: rgba(255, 255, 255, .72); padding-top: 64px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ff6b74; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.footer-logo { width: 150px; background: #fff; padding: 10px 12px; border-radius: 10px; margin-bottom: 16px; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 26px; font-size: .85rem; }

/* floating WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: .9rem; padding: 13px 18px; border-radius: 999px; box-shadow: 0 10px 26px rgba(31, 168, 85, .35); }
.wa-float:hover { background: #178a45; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* smaller screens */
@media (max-width: 980px) {
  .cards.three { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid div:nth-child(3) { border-left: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 0, 0, .08); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .site-nav a.nav-wa { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .cards.three { grid-template-columns: 1fr; }
  .hero-inner { padding: 76px 16px 84px; }
  .wrap { padding: 0 16px; }
  .enquiry .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 124px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
}