/* PFH Fire Protection — Site Styles */

:root {
  --red: #ed1c24;
  --red-dark: #b81319;
  --dark: #15171c;
  --dark-2: #23272f;
  --grey: #5c6370;
  --grey-light: #f4f5f7;
  --white: #ffffff;
  --border: #e3e5e9;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(20, 22, 28, 0.08);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
}

.brand-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .brand-logo { height: 34px; }
}

.brand-text { line-height: 1.2; }

.brand-text strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 11.5px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover { background: var(--grey-light); color: var(--red); }

.main-nav a.active { color: var(--red); }

.main-nav a.nav-cta {
  background: var(--red);
  color: var(--white);
  margin-left: 8px;
}

.main-nav a.nav-cta:hover { background: var(--red-dark); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 55%, #3a0e10 100%);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.25), transparent 70%);
  pointer-events: none;
}

.hero-kicker {
  display: inline-block;
  background: rgba(237, 28, 36, 0.28);
  border: 1px solid rgba(237, 28, 36, 0.55);
  color: #ffb0bc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero h1 em {
  font-style: normal;
  color: #ff8797;
}

.hero p {
  font-size: 18px;
  color: #dde0e6;
  max-width: 620px;
  margin-bottom: 36px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.15s;
}

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

/* ---------- Stats bar ---------- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.02em;
}

.stat span { font-size: 14px; color: var(--grey); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

.section.alt { background: var(--grey-light); }

.section-head { max-width: 640px; margin-bottom: 48px; }

.section-head .eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-head p { color: var(--grey); font-size: 17px; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #3a0e10 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.page-hero p { color: #dde0e6; font-size: 17.5px; max-width: 640px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(237, 28, 36, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card .icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }

.card p { color: var(--grey); font-size: 15.5px; }

.card p.supplied-by {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dark-2);
  letter-spacing: 0.01em;
}

/* ---------- Lists ---------- */
.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--dark-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') center / contain no-repeat;
}

/* ---------- Logo / partner grid ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.partner-grid a, .partner-grid div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--dark-2);
  font-weight: 600;
  font-size: 14.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.partner-grid a:hover { border-color: var(--red); box-shadow: var(--shadow); }

.partner-grid small { display: block; color: var(--grey); font-weight: 500; font-size: 12.5px; margin-top: 2px; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Quote / policy block ---------- */
.policy-list { list-style: none; display: grid; gap: 18px; }

.policy-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 15.5px;
  color: var(--dark-2);
  box-shadow: var(--shadow);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }

.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 16.5px; }

.cta-band .btn { background: var(--white); color: var(--red); }
.cta-band .btn:hover { background: #f4dfe2; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-light);
}

.contact-row:last-child { border-bottom: none; }

.contact-row .icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(237, 28, 36, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-row .icon svg { width: 19px; height: 19px; }

.contact-row strong { display: block; font-size: 14px; color: var(--grey); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.contact-row a, .contact-row span.value { color: var(--dark); font-size: 16px; font-weight: 600; text-decoration: none; }

.contact-row a:hover { color: var(--red); }

.map-embed, .form-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-embed iframe, .form-embed iframe { display: block; width: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #9aa0ab;
  padding: 56px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.site-footer p { font-size: 14.5px; }

.site-footer ul { list-style: none; }

.site-footer ul li { margin-bottom: 10px; }

.site-footer a { color: #c3c8d1; text-decoration: none; font-size: 14.5px; }

.site-footer a:hover { color: var(--white); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .brand-logo { height: 44px; }

.footer-brand strong { color: var(--white); font-size: 16px; font-weight: 800; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 12px 14px; }

  .main-nav a.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }

  .card-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 56px 0; }
  .cta-band { padding: 40px 28px; }
}

/* ============================================================
   Modern polish & motion
   ============================================================ */

/* Header elevates on scroll */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20, 22, 28, 0.1); }

/* Animated underline on nav links */
.main-nav a:not(.nav-cta) {
  position: relative;
  background: none;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:not(.nav-cta):hover { background: none; }
.main-nav a:not(.nav-cta):hover::after,
.main-nav a.active:not(.nav-cta)::after { transform: scaleX(1); }

/* Hero: layered glow + slow drift + entrance */
.hero {
  background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 45%, #3a0e10 100%);
  background-size: 180% 180%;
  animation: heroShift 18s ease-in-out infinite alternate;
}
@keyframes heroShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
.hero::before {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 177, 51, 0.12), transparent 70%);
  pointer-events: none;
  animation: glowDrift 12s ease-in-out infinite alternate;
}
.hero::after { animation: glowDrift 14s ease-in-out infinite alternate-reverse; }
@keyframes glowDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.15); }
}

.hero .hero-kicker,
.hero h1,
.hero p,
.hero .hero-actions {
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero h1 { animation-delay: 0.12s; }
.hero p { animation-delay: 0.24s; }
.hero .hero-actions { animation-delay: 0.36s; }
@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Page hero entrance */
.page-hero h1, .page-hero p {
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.page-hero p { animation-delay: 0.12s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Cards: lift + animated top accent */
.card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease,
              opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #f7a32d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(20, 22, 28, 0.14);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card .icon { transition: transform 0.3s ease; }
.card:hover .icon { transform: scale(1.12) rotate(-4deg); }

/* Reveal transform must not fight hover lift */
.card.reveal { transition-property: opacity, transform, box-shadow, border-color; }

/* Partner tiles */
.partner-grid a, .partner-grid div {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease,
              opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.partner-grid a:hover { transform: translateY(-4px); }

/* Policy items nudge */
.policy-list li { transition: transform 0.25s ease, box-shadow 0.25s ease,
              opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.policy-list li:hover { transform: translateX(6px); box-shadow: 0 10px 28px rgba(20, 22, 28, 0.12); }

/* Buttons: sheen sweep */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn:hover::after { left: 130%; }

/* CTA band: living gradient */
.cta-band {
  background: linear-gradient(120deg, var(--red), var(--red-dark), #9d0a0e, var(--red));
  background-size: 250% 250%;
  animation: ctaShift 10s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}
@keyframes ctaShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Stats: gradient numerals */
.stat strong {
  background: linear-gradient(120deg, var(--red), #f7a32d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section head eyebrow accent line */
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-head .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

/* Check list hover */
.check-list li { transition: transform 0.2s ease, opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.check-list li:hover { transform: translateX(4px); }

/* Contact rows */
.contact-row .icon { transition: transform 0.25s ease; }
.contact-row:hover .icon { transform: scale(1.1); }

/* Reduced motion: kill it all */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero .hero-kicker, .hero h1, .hero p, .hero .hero-actions,
  .page-hero h1, .page-hero p { opacity: 1; transform: none; }
}
.no-motion .reveal { opacity: 1; transform: none; }

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  height: 58px;
  min-width: 58px;
  padding: 0 17px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.wa-fab svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-fab span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.35s ease, opacity 0.25s ease, margin-left 0.35s ease;
}
.wa-fab:hover {
  background: #1fbd59;
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.55);
}
.wa-fab:hover span { max-width: 140px; opacity: 1; margin-left: 10px; }
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: waPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 680px) {
  .wa-fab { right: 16px; bottom: 16px; height: 54px; min-width: 54px; padding: 0 15px; }
  .wa-fab:hover span { max-width: 0; opacity: 0; margin-left: 0; }
}

/* ---------- Native enquiry form ---------- */
.enquiry-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--dark);
  background: var(--grey-light);
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9aa0ab; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
}
.form-field input.invalid,
.form-field select.invalid,
.form-field textarea.invalid { border-color: var(--red); background: #fff5f5; }
.form-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #1a7f37; }
.form-status.err { display: block; color: var(--red); }
@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .enquiry-form { padding: 24px 20px; }
}

/* ============================================================
   Hero imagery & ember animations
   ============================================================ */

.hero, .page-hero { isolation: isolate; }

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: bgFadeIn 1.4s ease forwards, kenBurns 22s ease-in-out infinite alternate;
  animation-delay: 0.1s, 1.4s;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12,13,17,0.96) 0%, rgba(21,23,28,0.9) 45%, rgba(48,11,13,0.85) 100%);
}

.page-hero .hero-bg::after {
  background:
    linear-gradient(120deg, rgba(12,13,17,0.95) 0%, rgba(21,23,28,0.92) 55%, rgba(48,11,13,0.86) 100%);
}

@keyframes bgFadeIn {
  to { opacity: 1; }
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.09) translate(-1.5%, -1%); }
}

.hero .container, .page-hero .container {
  position: relative;
  z-index: 2;
}

/* Ember particles */
.hero-embers {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ember {
  position: absolute;
  bottom: -20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffb347 0%, #ed1c24 60%, transparent 100%);
  opacity: 0;
  animation: emberRise linear infinite;
  box-shadow: 0 0 6px 1px rgba(255, 140, 60, 0.6);
}

@keyframes emberRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-320px) translateX(var(--drift, 20px)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: bgFadeIn 0.01s forwards; opacity: 1; }
  .ember { display: none; }
}

@media (max-width: 680px) {
  .hero-bg { background-attachment: scroll; }
}

/* ============================================================
   Quality page: process timeline & certification badges
   ============================================================ */

.quality-steps {
  position: relative;
  display: grid;
  gap: 36px;
  max-width: 760px;
  margin-top: 8px;
}

.quality-steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.step {
  display: flex;
  gap: 22px;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: var(--shadow);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.step:hover .step-num {
  background: var(--red);
  color: var(--white);
  transform: scale(1.08);
}

.step-body h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.step-body p { color: var(--grey); font-size: 15.5px; }

@media (max-width: 680px) {
  .quality-steps::before { left: 23px; }
  .step-num { width: 48px; height: 48px; font-size: 16px; }
}

/* Certification badges: animated ring draw + checkmark pop */
.cert-card { text-align: center; }

.badge-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
}

.badge-ring-svg { width: 80px; height: 80px; }

.ring-bg { fill: none; stroke: var(--border); stroke-width: 5; }

.ring-progress {
  fill: none;
  stroke: var(--red);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 214;
  stroke-dashoffset: 214;
  transform-origin: 40px 40px;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.card.reveal.in .ring-progress { stroke-dashoffset: 0; }

.badge-check {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28px;
  height: 28px;
  fill: var(--red);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease 1.4s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s;
}

.card.reveal.in .badge-check { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .ring-progress { stroke-dashoffset: 0; }
  .badge-check { opacity: 1; transform: scale(1); }
}
