/* Ronsor Engineering — site styles */
:root {
  --blue: #0279b1;
  --blue-dark: #015a85;
  --navy: #0b2e44;
  --ink: #1d2733;
  --muted: #5b6875;
  --line: #e1e7ec;
  --bg-alt: #f3f7fa;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 46, 68, .06), 0 4px 14px rgba(11, 46, 68, .06);
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.25; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section.alt, section.alt { background: var(--bg-alt); }
.wrap.section { padding: 48px 16px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 70ch; }
.small { font-size: .85rem; color: var(--muted); }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); text-decoration: none; margin-bottom: .4em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 99; }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; padding: .7em 1.3em; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid var(--blue); cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: #e8f3f9; color: var(--navy); border-color: #e8f3f9; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: .45em 1em; font-size: .9rem; }
.btn-block { display: block; text-align: center; margin-top: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.topbar { background: var(--navy); color: #cfe0ea; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { display: block; width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 6px; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current] { color: var(--blue); background: var(--bg-alt); }
.main-nav .btn { margin-left: 8px; }
.nav-toggle, .nav-burger { display: none; }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 4px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #0d4466 60%, var(--blue) 130%); color: #fff; padding: 72px 0; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .eyebrow { color: #8fd0ef; }
.hero .lead { color: #d4e5ef; }
.hero-text { max-width: 760px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 500; text-decoration: none; white-space: nowrap; }

/* Brand logos */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.brand-tile { display: flex; align-items: center; justify-content: center; height: 96px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .15s, border-color .15s; text-decoration: none; }
.brand-tile:hover { box-shadow: var(--shadow); border-color: #c6d4de; }
.brand-tile img { max-height: 60px; max-width: 100%; object-fit: contain; }
.brand-word { font-weight: 700; font-size: 1.2rem; color: var(--navy); letter-spacing: -.01em; text-align: center; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card-grid.industries { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card-grid > div[hidden] { display: none; }
.card-grid > div { display: flex; }
.card-grid > div > .card { flex: 1; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; overflow: hidden; transition: box-shadow .15s, transform .15s, border-color .15s; }
a.card:hover { box-shadow: var(--shadow); border-color: #c6d4de; transform: translateY(-2px); color: inherit; }
.card-img { aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); padding: 12px; overflow: hidden; } /* overflow keeps tall pictures inside the frame */
.card-img img { max-height: 100%; width: 100%; object-fit: contain; }
.card-img .placeholder-logo, .product-img .placeholder-logo { width: 55%; opacity: .45; filter: grayscale(1); }
.placeholder-text { font-weight: 700; color: #b5c3cd; font-size: 1.1rem; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h2, .card-body h3 { font-size: 1rem; margin-bottom: .35em; }
.card-body p { font-size: .88rem; color: var(--muted); margin: 0 0 .6em; }
.type-card { padding: 20px 22px; }
.type-card h2, .type-card h3 { font-size: 1.05rem; }
.type-card p { font-size: .9rem; color: var(--muted); margin: 0 0 12px; flex: 1; }
.meta { font-size: .8rem; color: var(--blue); font-weight: 500; margin-top: auto; }
.news-card .card-img { aspect-ratio: 16 / 9; padding: 0; }
.news-card .card-img img { object-fit: cover; height: 100%; }

/* Group grid (home) */
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.group-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.group-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.group-card ul { list-style: none; margin: 0; padding: 0; }
.group-card li { padding: 4px 0; border-top: 1px solid var(--line); }
.group-card li:first-child { border-top: 0; }
.group-card a { color: var(--ink); text-decoration: none; font-size: .92rem; }
.group-card a:hover { color: var(--blue); }

/* Brand list */
.brand-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; margin-top: 24px; }
.brand-card { flex-direction: row; align-items: stretch; }
.brand-card-logo { width: 140px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 16px; border-right: 1px solid var(--line); }
.brand-card-logo img { max-height: 70px; object-fit: contain; }
.brand-card-logo .brand-word { font-size: 1rem; }
.brand-card h2 { font-size: 1.05rem; }

/* Page intro with sidebar */
.page-intro { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; margin-bottom: 16px; }
.brand-hero-logo { max-height: 80px; max-width: 260px; margin-bottom: 16px; }
.side-box { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow-y: auto; }
.side-box h2 { font-size: 1rem; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
ul.plain a { text-decoration: none; color: var(--ink); }
ul.plain a:hover { color: var(--blue); }
.type-heading { margin: 44px 0 18px; padding-bottom: 8px; border-bottom: 2px solid var(--line); font-size: 1.3rem; scroll-margin-top: 130px; }
.type-heading a { color: inherit; text-decoration: none; }
.type-heading a:hover { color: var(--blue); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.jump a { font-size: .85rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); }
.jump a:hover { border-color: var(--blue); color: var(--blue); }

/* Chips and filters */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chip { display: inline-block; font: inherit; font-size: .8rem; padding: 4px 12px; border-radius: 99px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 20px; font-size: .9rem; color: var(--muted); }
.search-bar { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 10px; margin: 20px 0 8px; }
.search-bar input, .search-bar select, .enquiry-form input, .enquiry-form textarea { font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid #c9d4dc; border-radius: 6px; background: #fff; width: 100%; color: var(--ink); }
.search-bar input:focus, .search-bar select:focus, .enquiry-form input:focus, .enquiry-form textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }

/* Product page */
.product-head { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 44px; align-items: start; }
.product-img { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 20px; background: #fff; }
.product-img img { max-height: 100%; object-fit: contain; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 12px; }
.product-body { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; }

/* Prose (migrated + markdown content) */
.prose { max-width: 820px; }
.prose img { border-radius: 6px; }
.prose figure { margin: 20px 0; }
.prose figcaption { font-size: .8rem; color: var(--muted); }
.prose h4, .prose h5, .prose h6 { color: var(--navy); margin: 1.4em 0 .3em; font-size: .95rem; }
.prose h6 { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; color: var(--blue); }
.prose h6 + p { margin-top: 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .88rem; margin: 20px 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th, .prose thead td { background: var(--bg-alt); font-weight: 600; }
.prose iframe { max-width: 100%; border: 0; border-radius: 6px; }
.prose a[href$=".pdf"] { display: inline-flex; align-items: center; gap: 8px; margin: 4px 12px 4px 0; }
.prose a[href$=".pdf"]::before { content: "PDF"; font-size: .65rem; font-weight: 700; background: #c8102e; color: #fff; padding: 2px 5px; border-radius: 3px; }
.prose a[download] { display: none; } /* WordPress added a duplicate "Download" link next to each file */
.product-body > figure:first-child, .product-body > p:first-child > img:only-child { display: none; } /* image already shown above */


/* Application diagram with numbered markers */
.diagram-canvas { position: relative; }
.diagram-wrap { margin: 24px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.diagram-wrap img { display: block; width: 100%; height: auto; border-radius: 0; }
.diagram-marker { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: #c8102e; color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; text-decoration: none; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .15s; }
.diagram-marker:hover, .diagram-marker:focus { transform: translate(-50%, -50%) scale(1.15); color: #fff; background: var(--navy); }
.diagram-note { font-size: .75rem; color: var(--muted); padding: 6px 10px; border-top: 1px solid var(--line); }
.point-no { background: #c8102e; }
@media (max-width: 600px) { .diagram-marker { width: 22px; height: 22px; font-size: .7rem; border-width: 1px; } }

/* Applications and industries */
.chips-label { font-size: .8rem; color: var(--muted); align-self: center; margin-right: 2px; }
.app-card-inds { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; }
.app-card-inds span { font-size: .72rem; padding: 2px 8px; border-radius: 99px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); }
.app-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 20px 0 0; }
.app-filter > span { font-size: .85rem; color: var(--muted); margin-right: 4px; }
.app-card[hidden], .app-category[hidden], .jump a[hidden] { display: none; }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 24px; }
.industry-card { display: flex; flex-direction: column; }
.industry-card h2 { font-size: 1.1rem; margin-bottom: .3em; }
.industry-card h2 a { color: var(--navy); text-decoration: none; }
.industry-card h2 a:hover { color: var(--blue); }
.industry-card p { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.industry-card ul { margin-bottom: 12px; }
.industry-more { margin-top: auto; font-size: .85rem; font-weight: 600; text-decoration: none; }

/* Applications */
.point-index { margin: 0; padding-left: 1.4em; font-size: .9rem; }
.point-index li { padding: 4px 0; }
.point-index a { color: var(--ink); text-decoration: none; }
.point-index a:hover { color: var(--blue); }
.point { margin-top: 40px; scroll-margin-top: 130px; }
.point-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 12px; border-bottom: 2px solid var(--line); margin-bottom: 14px; }
.point-head h2 { font-size: 1.25rem; margin: 2px 0 4px; }
.point-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.point-no { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.model-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.model-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.model-row:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.model-img { width: 56px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border-radius: 6px; }
.model-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.model-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.model-text strong { font-size: .92rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.model-text span { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.model-go { margin-left: auto; color: var(--blue); font-size: 1.4rem; }
.app-diagram { margin: 24px 0 0; }
.source-note { margin-top: 40px; }
.used-in { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.used-in a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.used-in a:hover { border-color: var(--blue); }
.used-in strong { display: block; color: var(--navy); font-size: .92rem; }
.used-in span { font-size: .8rem; color: var(--muted); }
@media (max-width: 600px) { .model-list { grid-template-columns: 1fr; } }

/* Product Finder */
.finder-grid { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 40px; align-items: start; margin-top: 24px; }
.finder-inputs { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow-y: auto; }
.fx-fields input:focus, .fx-fields select:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.fx-group + .fx-group { margin-top: 22px; }
.fx-group h2 { font-size: 1rem; color: var(--navy); margin: 0 0 10px; font-weight: 600; }
.fx-group h2 span { font-weight: 400; color: var(--muted); font-size: .85rem; }
.fx-group h2 label { cursor: pointer; }
.fx-select { font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid #c9d4dc; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
.fx-select:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.fx-hint { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.fx-hint:empty { display: none; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-chips .chip { background: #fff; padding: 8px 14px; font-size: .9rem; }
.fx-chips .chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.fx-chips .chip-more { border-style: dashed; color: var(--muted); }
.fx-more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.fx-more summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: .92rem; }
.fx-more summary span { font-weight: 400; color: var(--muted); }
.fx-fields { display: grid; gap: 10px; margin-top: 12px; }
.fx-fields label { display: grid; gap: 4px; font-size: .82rem; font-weight: 500; }
.fx-fields input, .fx-fields select { font: inherit; font-size: .9rem; padding: 8px 10px; border: 1px solid #c9d4dc; border-radius: 6px; background: #fff; width: 100%; min-width: 0; }
.fx-pair { display: grid; grid-template-columns: 1fr 90px; gap: 6px; }
.fx-reset { margin-top: 16px; font: inherit; font-size: .82rem; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 0; }
.fx-summary h2 { margin-bottom: 4px; }
.fx-empty { border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--muted); }
.fx-empty strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.fx-apps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 4px; font-size: .85rem; color: var(--muted); }
.fx-apps a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; background: #fff; }
.fx-apps a:hover { border-color: var(--blue); }
.fx-list { display: grid; gap: 10px; margin-top: 16px; }
.fx-card { display: flex; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.fx-card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.fx-img { width: 96px; height: 96px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.fx-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fx-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fx-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fx-meta .eyebrow { margin: 0; }
.fx-body strong { color: var(--navy); font-size: .98rem; line-height: 1.35; }
.fx-desc { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.fx-why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.fx-why span { font-size: .74rem; padding: 2px 8px; border-radius: 99px; }
.fx-why .good { background: #e6f4ea; color: #1e6b34; }
.fx-why .warn { background: #fdecea; color: #a1281b; }
.fx-showmore { margin-top: 14px; width: 100%; }
.fx-send { margin-top: 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--navy); color: #d4e5ef; border-radius: var(--radius); padding: 18px 20px; }
.fx-send strong { display: block; color: #fff; }
.fx-send span { font-size: .85rem; }
.fx-send > div { flex: 1 1 260px; }
.fx-send .btn { background: #fff; color: var(--navy); border-color: #fff; }
.finder-cta { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #eaf4fa; border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
.finder-cta p { margin: 0; }
.main-nav a.nav-finder { color: var(--blue); font-weight: 600; }
.fx-jump { display: none; }
@media (max-width: 960px) {
  .finder-grid { grid-template-columns: 1fr; }
  .finder-inputs { position: static; max-height: none; }
  .fx-jump:not([hidden]) { display: block; position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; background: var(--blue); color: #fff; font-weight: 600; padding: 10px 20px; border-radius: 99px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.25); white-space: nowrap; }
  .fx-summary { scroll-margin-top: 90px; }
}
@media (max-width: 600px) {
  .fx-img { width: 64px; height: 64px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-list dt { font-weight: 600; color: var(--navy); margin-top: 14px; }
.contact-list dd { margin: 2px 0 0; }
.contact-form-wrap { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; align-self: start; }
.enquiry-form { display: grid; gap: 14px; align-content: start; }
.enquiry-form label { display: grid; gap: 4px; font-size: .88rem; font-weight: 500; }
.enquiry-form .req { color: #c8102e; font-weight: 600; }
.enquiry-form .opt { color: var(--muted); font-weight: 400; font-style: normal; }
.enquiry-form [aria-invalid] { border-color: #c8102e; background: #fff6f6; }
.ef-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ef-error { margin: 0; padding: 10px 12px; border-radius: 6px; background: #fdecea; color: #a1281b; font-size: .88rem; }
.ef-note { margin: 0; }
.ef-done { padding: 8px 0; }
.ef-done h3 { color: #1e6b34; font-size: 1.15rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ef-captcha:empty { display: none; }
.ef-captcha .ef-captcha-msg { margin: 0; font-size: .88rem; color: var(--muted); }
.enquiry-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 12px; padding: 28px; box-shadow: 0 20px 60px rgba(11, 46, 68, .35); color: var(--ink); }
/* The pop-up is an ordinary dialog, not the browser's modal "top layer" (see enquiry.js), so that hCaptcha's
   picture challenge (highest z-index) can open above it. Centred, above the page, with its own backdrop. */
.enquiry-dialog[open] { position: fixed; inset: 0; margin: auto; overflow: auto; z-index: 1000; }
.enquiry-backdrop { position: fixed; inset: 0; z-index: 999; background: rgba(11, 46, 68, .55); }
.enquiry-backdrop[hidden] { display: none; }
html.enquiry-open { overflow: hidden; } /* the page behind doesn't scroll while the pop-up is open */
/* hCaptcha's picture challenge (tagged by enquiry.js): always centred on screen and scrollable if the screen is
   short, on every form, whatever the scroll position. !important beats the position hCaptcha sets inline; its
   z-index (highest possible) and show/hide styles are left alone. The arrow pointing at the checkbox is hidden. */
.hc-challenge-box { position: fixed !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%);
  max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); overflow: auto; }
.hc-challenge-box > div[style*="right: 100%"] { display: none !important; }
.enquiry-dialog h2 { font-size: 1.3rem; margin-bottom: 16px; padding-right: 32px; }
.enquiry-dialog .eyebrow { margin-bottom: 2px; }
.ed-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.ed-close:hover { background: var(--bg-alt); color: var(--ink); }
@media (max-width: 600px) { .ef-grid { grid-template-columns: 1fr; } .enquiry-dialog { padding: 22px 18px; } }

/* CTA + footer */
.cta-band { background: var(--blue); color: #fff; padding: 40px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #dff0f9; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--navy); color: #b8ccd8; font-size: .88rem; padding: 48px 0 0; }
.site-footer a { color: #e3eef5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 20px; columns: 2; column-gap: 20px; }
.site-footer li { padding: 2px 0; break-inside: avoid; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; }
.footer-grid > div:last-child ul { columns: 1; }
.footer-logo { filter: brightness(0) invert(1); margin-bottom: 12px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; padding-bottom: 24px; font-size: .78rem; color: #8aa3b3; }

/* Responsive */
@media (max-width: 960px) {
  .page-intro, .product-head, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .side-box { position: static; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar input { grid-column: 1 / -1; }
  .nav-burger { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; }
  .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; }
  .nav-burger span::before { top: -7px; } .nav-burger span::after { top: 7px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav .btn { margin: 8px 0 0; text-align: center; }
  .nav-row { position: relative; }
}
@media (max-width: 600px) {
  .topbar span:first-child { display: none; }
  .hero { padding: 48px 0; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-list { grid-template-columns: 1fr; }
  .brand-card-logo { width: 100px; }
  .search-bar { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; gap: 4px; }
  .site-footer ul { columns: 1; }
}
