/* ============================================================
   TEST 4 ASBESTOS — test4asbestos.uk
   Brand: Primary Blue #0F1B4C · Accent Red #E30613
   Typeface: Montserrat (Google Fonts)
   ============================================================ */

:root {
  --navy: #0F1B4C;
  --navy-2: #1A2A6B;      /* lighter navy for hovers */
  --red: #E30613;
  --red-2: #C10510;
  --white: #FFFFFF;
  --lgrey: #F2F4F7;
  --dgrey: #333333;
  --mgrey: #6B7280;
  --border: #D7DBE4;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 27, 76, .10);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--dgrey);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

img, svg { max-width: 100%; }

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

h1, h2, h3, h4 { color: var(--navy); font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p.lead { font-size: 1.08rem; color: var(--dgrey); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red); margin-bottom: .6rem;
}

.red-rule { width: 46px; height: 3px; background: var(--red); border: 0; margin: 14px 0 18px; }
.red-rule.center { margin-left: auto; margin-right: auto; }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: 0;
  font-family: inherit; font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: 7px; text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-2); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 18px;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 44px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white); border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: .9rem;
  padding: 10px 16px; border-radius: 7px;
}
.cart-btn:hover { background: var(--navy-2); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute; top: -7px; right: -7px;
  background: var(--red); color: var(--white);
  font-size: .7rem; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px; border: 2px solid var(--white);
}
.cart-count.hidden { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 3px; background: var(--navy);
  margin: 4px 0; border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy); color: var(--white);
  position: relative; overflow: hidden;
}
.hero-watermark {
  position: absolute; right: -120px; top: -40px; height: 130%;
  opacity: .06; pointer-events: none;
}
.hero .container {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); }
.hero p { color: #C9CEE0; font-size: 1.08rem; margin-bottom: 28px; max-width: 34rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tagline {
  margin-top: 34px; font-size: .8rem; font-weight: 700;
  letter-spacing: .22em; color: #9AA3C0; text-transform: uppercase;
}
.hero-visual { display: flex; justify-content: center; }
.hero-visual img {
  max-height: 340px; width: auto; border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding-top: 26px; padding-bottom: 26px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 34px; height: 34px; flex: none; }
.trust-item b { display: block; color: var(--navy); font-size: .92rem; }
.trust-item span { font-size: .8rem; color: var(--mgrey); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.grey { background: var(--lgrey); }
.section.navy { background: var(--navy); }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section.navy p { color: #C9CEE0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; position: relative;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--mgrey); }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow .15s, transform .15s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card.popular { border: 2px solid var(--navy); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--white);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.product-kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mgrey); margin-bottom: 6px;
}
.product-card h3 { font-size: 1.06rem; margin-bottom: 4px; }
.product-price { margin: 14px 0 4px; color: var(--navy); }
.product-price .amount { font-size: 1.9rem; font-weight: 800; }
.product-price .vat { font-size: .74rem; color: var(--mgrey); font-weight: 600; margin-left: 4px; }
.product-per { font-size: .78rem; color: var(--mgrey); margin-bottom: 14px; }
.product-features { list-style: none; margin: 0 0 20px; flex: 1; }
.product-features li {
  font-size: .84rem; padding: 6px 0 6px 26px; position: relative;
  border-bottom: 1px dashed var(--border);
}
.product-features li:last-child { border-bottom: 0; }
.product-features li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(15, 27, 76, .5);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 950;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 94vw;
  height: 100%; background: var(--white); z-index: 960;
  display: flex; flex-direction: column;
  transition: right .28s ease; box-shadow: -12px 0 40px rgba(0,0,0,.18);
}
.cart-drawer.open { right: 0; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; background: var(--navy); color: var(--white);
}
.cart-head h3 { color: var(--white); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.cart-close { background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-empty { text-align: center; color: var(--mgrey); padding: 46px 10px; font-size: .95rem; }
.cart-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.cart-item-info { flex: 1; }
.cart-item-info b { color: var(--navy); font-size: .9rem; display: block; }
.cart-item-info .unit { font-size: .78rem; color: var(--mgrey); }
.qty-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-controls button {
  width: 26px; height: 26px; border: 1px solid var(--border); background: var(--white);
  border-radius: 6px; cursor: pointer; font-weight: 700; color: var(--navy); font-size: .95rem;
  line-height: 1;
}
.qty-controls button:hover { background: var(--lgrey); }
.qty-controls .qty { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-item-line { font-weight: 800; color: var(--navy); font-size: .92rem; white-space: nowrap; }
.cart-item-remove {
  background: none; border: 0; color: var(--mgrey); cursor: pointer;
  font-size: .74rem; text-decoration: underline; padding: 0; margin-top: 8px; font-family: inherit;
}
.cart-item-remove:hover { color: var(--red); }
.cart-foot { border-top: 2px solid var(--navy); padding: 18px 22px 24px; background: var(--white); }
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px;
}
.cart-note { font-size: .76rem; color: var(--mgrey); margin-bottom: 14px; }
#checkout-btn { margin-bottom: 10px; }
.checkout-alt { text-align: center; font-size: .78rem; color: var(--mgrey); }
.checkout-alt a { color: var(--navy); }
.cart-msg { font-size: .8rem; margin-top: 10px; color: var(--navy); display: none; }
.cart-msg.show { display: block; }

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px);
  background: var(--navy); color: var(--white); font-size: .9rem; font-weight: 600;
  padding: 12px 22px; border-radius: 8px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: all .25s; z-index: 970;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Info / safety strips ---------- */
.safety-strip { background: var(--navy); color: var(--white); }
.safety-strip .container {
  display: flex; gap: 18px; align-items: center;
  padding-top: 26px; padding-bottom: 26px;
}
.safety-strip svg { width: 38px; height: 38px; flex: none; }
.safety-strip b { color: var(--white); }
.safety-strip p { color: #C9CEE0; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; color: var(--navy); font-size: .98rem;
  padding: 18px 52px 18px 22px; position: relative;
}
.faq-q::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--red); font-weight: 700; transition: transform .2s;
}
.faq-item.open .faq-q::after { content: '–'; }
.faq-a { display: none; padding: 0 22px 18px; font-size: .92rem; color: var(--dgrey); }
.faq-item.open .faq-a { display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--white); }
.page-hero .container { padding-top: 54px; padding-bottom: 54px; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: #C9CEE0; max-width: 40rem; margin-top: 10px; }

/* ---------- Content pages ---------- */
.content-narrow { max-width: 780px; }
.content-narrow h2 { margin: 34px 0 10px; }
.content-narrow p, .content-narrow li { margin-bottom: 12px; }
.content-narrow ul { padding-left: 22px; }
.placeholder-flag {
  background: #FFF7E6; border: 1px solid #F0C36D; color: #7A5B14;
  font-size: .85rem; padding: 12px 16px; border-radius: 8px; margin: 18px 0;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.contact-card h3 { margin-bottom: 12px; }
.contact-line { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.contact-line svg { width: 22px; height: 22px; flex: none; }
.contact-line a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 700; font-size: .85rem; color: var(--navy); margin-bottom: 6px; }
form input, form textarea, form select {
  width: 100%; font-family: inherit; font-size: .95rem;
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 7px;
  color: var(--dgrey); background: var(--white);
}
form input:focus, form textarea:focus { outline: 2px solid var(--navy); border-color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C9CEE0; }
.site-footer .container { padding-top: 54px; padding-bottom: 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-grid img { height: 46px; width: auto; margin-bottom: 14px; }
.footer-grid p { font-size: .85rem; }
.footer-grid h4 {
  color: var(--white); font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 14px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #C9CEE0; text-decoration: none; font-size: .88rem; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-tagline {
  font-size: .74rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: #9AA3C0; margin-top: 6px;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 22px; font-size: .78rem; color: #9AA3C0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 10px 22px; display: none; z-index: 890;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--lgrey); }
  .nav-toggle { display: block; }
  .steps { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
}
