/* Pyronitech / Protec 2000 - GSM 5G campaign landing (v4).
   Mobile-first. Breakpoints: 600, 900, 1280. Colours sampled from the customer's promo. */

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope/Manrope.ttf') format('truetype-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #23669a;
  --blue-deep: #174a73;
  --gold: #ddb62f;
  --gold-hover: #e9c750;
  --ink: #12263a;
  --muted: #44566a;
  --line: #e4e8ed;
  --mist: #f3f6fa;
  --tint: #f3f7fb;
  --input-border: #6b7787;
  --danger: #b3261e;
  --ok: #1f6b3a;
  --focus: #0b6cf2;
  --radius: 6px;
  --card-radius: 8px;
  --content-max: 1200px;
  --gutter: 16px;
  --header-height: 62px;
  --mab-height: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: 0; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.nowrap { white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--blue); color: #fff; padding: 10px 14px; }
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner {
  max-width: var(--content-max); margin: 0 auto; padding: 8px var(--gutter);
  min-height: var(--header-height); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
}
.brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; flex: 0 1 auto; min-width: 0; text-decoration: none; }
.brand-logo { width: auto; height: 34px; max-width: 100%; object-fit: contain; min-width: 0; }
.brand-logo--pyro { height: 30px; }
.phone-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  color: var(--ink); font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.phone-link:hover { color: var(--blue); text-decoration: underline; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn-sm { display: none; min-height: 44px; padding: 8px 16px; font-size: 14px; } /* <600px: hero CTA + mobile bar cover quoting */
.phone-full { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 10px 18px; border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--font); font-size: 15px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { min-height: 50px; padding: 12px 22px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hover); color: var(--ink); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: #eef4fa; color: var(--blue-deep); }
.btn-secondary { background: #fff; color: var(--blue-deep); border-color: var(--blue-deep); }
.btn-secondary:hover { background: #eef4fa; }

/* 1. Hero (V5 candidate) + trust row */
/* Hero */
.hero { display: grid; grid-template-columns: 1fr; background: linear-gradient(180deg, var(--tint) 0%, #fff 70%); scroll-margin-top: var(--header-height); }
.hero-copy { padding: 18px var(--gutter) 18px; }
.kicker { margin-bottom: 10px; padding-left: 10px; border-left: 4px solid var(--gold); font-size: 11px; line-height: 1.3; font-weight: 800; text-transform: uppercase; color: var(--blue-deep); }
#hero-title { font-size: 30px; line-height: 1.08; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
#hero-title .accent { color: var(--blue); }
.hero-sub { font-size: 14px; line-height: 1.45; color: var(--muted); margin-bottom: 12px; max-width: 34em; }

.hero-offer { display: grid; gap: 4px; padding: 10px 0 12px; margin-bottom: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.from { font-size: 12px; font-weight: 600; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 4px; line-height: 1; color: var(--blue); }
.amount { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; }
.per { font-size: 18px; font-weight: 800; }
.hero-offer-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.terms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.tag { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: #fff3c7; border: 1px solid var(--gold); color: #553f00; }
.star { color: inherit; text-decoration: none; }
.caveat { scroll-margin-top: calc(var(--header-height) + 16px); margin-top: 4px; font-size: 11px; line-height: 1.5; color: var(--muted); max-width: 30rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-actions .btn { min-height: 46px; padding: 10px 14px; font-size: 14px; }
.hero-actions .btn-primary { flex: 1 1 auto; }

.checklist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.checklist li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #e3eef7; color: var(--blue); }

.hero-media { margin: 0; position: relative; overflow: hidden; aspect-ratio: 1944 / 1452; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Trust row */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 12px var(--gutter); background: var(--blue); border-top: 3px solid var(--gold); color: #fff; font-size: 12px; font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { flex-shrink: 0; color: #fff; }

/* Shared section layout */
.section { padding: 44px var(--gutter); }
.inner { max-width: var(--content-max); margin: 0 auto; }
.inner--narrow { max-width: 820px; }
.section h2 { font-size: 26px; margin-bottom: 8px; }
.lead { font-size: 16px; color: var(--muted); max-width: 40em; margin-bottom: 24px; }

/* 2. Offer */
.offer { background: #fff; }
.offer-grid { display: grid; gap: 24px; align-items: center; }
.offer-media { margin: 0; }
.offer-media img { width: 100%; max-width: 600px; margin: 0 auto; } /* 1201px source: never beyond 600 css px (DPR 2) */
.offer-media figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.prices { border: 1px solid var(--line); border-radius: var(--card-radius); padding: 20px; background: #fff; }
.prices h3 { font-size: 18px; margin-bottom: 14px; }
.price-group + .price-group { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.group-label { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 6px; }
.price-lines { margin: 0; }
.price-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; }
.price-lines dt { font-size: 15px; }
.price-lines dd { margin: 0; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-lines .subtotal { border-top: 1px dashed var(--line); margin-top: 4px; }
.price-lines .subtotal dt { font-weight: 700; }
.group-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.price-group--monthly dd { color: var(--blue); }
.prices-note { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.features { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.features li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; }
.feature-icon {
  grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--card-radius); background: #eef4fa; color: var(--blue);
}
.features h3 { font-size: 18px; margin: 4px 0 4px; }
.features p { font-size: 15px; color: var(--muted); }

/* 3. Compatibility */
.compat { background: var(--mist); }
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.case {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff;
  border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--card-radius);
}
.case:first-child { border-top-color: var(--gold); }
.case h3 { font-size: 18px; }
.case p { font-size: 15px; color: var(--muted); flex: 1; }
.case .btn { align-self: flex-start; }

/* 4. Steps */
.steps { background: #fff; }
.step-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: none; }
.step-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.step-num {
  grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 18px;
}
.step-list h3 { font-size: 18px; margin: 8px 0 4px; }
.step-list p { font-size: 15px; color: var(--muted); }

/* 5. FAQ */
.faq { background: var(--mist); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); margin-top: 10px; }
.faq summary {
  cursor: pointer; list-style: none; min-height: 48px; padding: 12px 44px 12px 16px; position: relative;
  font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 10px; font-size: 22px; font-weight: 700; color: var(--blue); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 16px 16px; font-size: 15px; color: var(--muted); }
.faq-company { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* 6. Enquiry */
.contact { background: var(--blue); color: #fff; padding: 44px var(--gutter) 48px; scroll-margin-top: var(--header-height); }
.contact-inner { max-width: var(--content-max); margin: 0 auto; display: grid; gap: 24px; align-items: start; }
.contact-copy h2 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.contact-copy p { font-size: 16px; line-height: 1.55; margin-bottom: 8px; }
.contact-phone-lead a { color: #fff; font-weight: 800; }
.contact-phone-lead a:hover { color: #fff3c7; }
.contact :focus-visible { outline-color: #fff; }
.quote-form { width: 100%; max-width: 600px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-grid--optional { margin-top: 12px; }
.form-row { display: grid; gap: 6px; min-width: 0; }
.form-row--full { grid-column: 1 / -1; }
.form-row label { font-size: 15px; font-weight: 600; color: #fff; }
.form-row .req { color: #fff; }
.form-row .opt { font-weight: 400; font-size: 13px; color: #fff; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; font-family: var(--font); font-size: 16px;
  color: var(--ink); background: #fff; border: 1px solid var(--input-border); border-radius: var(--radius);
}
.form-row textarea { min-height: 84px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 3px solid #fff; outline-offset: 2px; border-color: var(--ink); }
.form-row [aria-invalid="true"] { border: 2px solid var(--danger); }
.form-optional { margin-top: 14px; }
.form-optional > summary {
  cursor: pointer; list-style: none; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: #fff;
}
.form-optional > summary::-webkit-details-marker { display: none; }
.form-optional > summary::before {
  content: '+'; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border: 2px solid #fff; border-radius: 4px; font-weight: 800; line-height: 1;
}
.form-optional[open] > summary::before { content: '−'; }
.form-preview-notice { margin-top: 14px; font-size: 13px; color: #fff; }
.form-actions { margin-top: 10px; }
.form-status { margin-top: 10px; min-height: 22px; font-size: 15px; font-weight: 700; color: #fff; }

/* Footer (white: logos have opaque white backgrounds) */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 28px var(--gutter) calc(28px + var(--safe-bottom)); }
.footer-inner { max-width: var(--content-max); margin: 0 auto; display: grid; gap: 14px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer-logo { width: auto; height: 30px; }
.footer-logo--pyro { height: 26px; }
.footer-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.footer-note a { color: var(--blue); font-weight: 700; text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }
.footer-preview { font-size: 12px; }

/* Mobile action bar: hidden until the hero CTA has scrolled past */
.mobile-action-bar { display: none; }
.mobile-action-bar[hidden] { display: none !important; }
.mab-btn {
  flex: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px;
  border-radius: var(--radius); border: 2px solid transparent; font-size: 15px; font-weight: 800; text-decoration: none;
}
.mab-btn--phone { background: #fff; color: var(--blue); border-color: var(--blue); }
.mab-btn--quote { background: var(--gold); color: var(--ink); }

@media (max-width: 720px) {
  .mobile-action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px;
    padding: 10px 12px calc(10px + var(--safe-bottom)); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -2px 8px rgba(18, 38, 58, .12);
  }
  .site-footer.has-mab-space { padding-bottom: calc(28px + var(--mab-height) + var(--safe-bottom)); }
}
@media (min-width: 721px) { .mobile-action-bar { display: none !important; } }

/* >= 600px */
@media (min-width: 600px) {
  .hero-copy { padding: 32px var(--gutter) 28px; }
  .kicker { font-size: 13px; margin-bottom: 16px; padding-left: 12px; }
  #hero-title { font-size: 44px; margin-bottom: 14px; }
  .hero-sub { font-size: 17px; line-height: 1.5; margin-bottom: 20px; }
  .hero-offer { padding: 16px 0; margin-bottom: 22px; }
  .from { font-size: 14px; }
  .amount { font-size: 54px; }
  .per { font-size: 24px; }
  .terms { font-size: 16px; }
  .tag { font-size: 12px; padding: 3px 8px; }
  .caveat { font-size: 12px; margin-top: 6px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { min-height: 50px; padding: 12px 22px; font-size: 15px; }
  .hero-actions .btn-primary { flex: 0 0 auto; }
  .checklist { margin-top: 22px; }
  .trust { font-size: 14px; gap: 10px 40px; padding: 16px var(--gutter); }
  :root { --gutter: 24px; --header-height: 76px; }
  .brand-logo { height: 46px; }
  .brand-logo--pyro { height: 36px; }
  .brand { gap: 18px; }
  .phone-link { font-size: 15px; }
  .phone-full { display: inline; }
  .header-cta .btn-sm { display: inline-flex; }
  .phone-short { display: none; }
  .section { padding: 64px var(--gutter); }
  .section h2 { font-size: 32px; }
  .lead { font-size: 17px; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .features li { grid-template-columns: 1fr; row-gap: 10px; }
  .feature-icon { grid-row: auto; }
  .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .step-list li { grid-template-columns: 1fr; row-gap: 10px; }
  .step-num { grid-row: auto; }
  .step-list h3 { margin-top: 4px; }
  .contact { padding: 64px var(--gutter); }
  .contact-copy h2 { font-size: 32px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .form-grid--optional { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
  .footer-text { text-align: right; }
}

/* >= 900px: split hero, two-column offer and contact */
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: min(42vw, 660px); }
  .hero-copy { align-self: center; padding: 36px 36px 36px max(var(--gutter), calc((100vw - var(--content-max)) / 2 + var(--gutter))); }
  .checklist { grid-template-columns: 1fr; row-gap: 8px; }
  .checklist li { font-size: 14px; }
  .hero-media { aspect-ratio: auto; min-width: 0; margin: 28px 0 28px 0; border-radius: 20px 0 0 20px; box-shadow: -12px 12px 0 0 var(--gold); }
  .hero-media img { object-position: 55% 60%; }
  .offer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .contact-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; }
  .quote-form { justify-self: end; }
}

/* >= 1280px */
@media (min-width: 1100px) {
  .features li { grid-template-columns: 48px 1fr; row-gap: 0; }
  .feature-icon { grid-row: span 2; }
}

@media (min-width: 1280px) {
  #hero-title { font-size: 52px; }
  .amount { font-size: 60px; }
  .section { padding: 80px var(--gutter); }
  .section h2 { font-size: 36px; }
}

@media (min-width: 900px) and (max-width: 1279px) {
  .hero-media img { object-position: 78% 60%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
