/* Webeagle — shared styles */
:root {
  --navy: #0d2552;
  --navy-deep: #081836;
  --yellow: #f6c915;
  --yellow-dark: #d9ad00;
  --ink: #131a26;
  --muted: #5a6475;
  --line: #dfe3ea;
  --bg: #f5f6f8;
  --white: #ffffff;
  --radius: 10px;
  --wrap: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 18px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--yellow);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; }
.brand:hover { color: #fff; }
.brand-mark { width: 58px; height: 40px; flex: none; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand b { color: var(--yellow); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: #dbe3f4; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border-radius: 6px;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.nav .nav-cta { background: var(--yellow); color: #111; margin-left: 8px; }
.nav .nav-cta:hover { background: var(--yellow-dark); color: #000; }

.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 6px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-deep); flex-direction: column; align-items: stretch;
    padding: 10px 20px 18px; border-bottom: 3px solid var(--yellow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 6px; border: 2px solid transparent; cursor: pointer;
  font-family: inherit; transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #111; }
.btn-primary:hover { background: var(--yellow-dark); color: #000; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(8,24,54,.95) 0%, rgba(13,37,82,.9) 55%, rgba(13,37,82,.6) 100%),
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(255,255,255,.035) 28px 56px);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 84px; }
.hero p.lead { font-size: 1.2rem; color: #d3dcf0; max-width: 34em; margin-bottom: 28px; }
.hero h1 span { color: var(--yellow); }
.hero-art { position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: 26px -18px -18px 26px;
  background: var(--yellow); border-radius: var(--radius);
}
.hero-art .card-img { position: relative; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hazard { height: 10px; background: repeating-linear-gradient(135deg, var(--yellow) 0 16px, #111 16px 32px); }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 56px; gap: 40px; }
  .hero-art { max-width: 480px; }
}

/* ---------- Sections ---------- */
section { padding-block: 76px; }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.alt { background: var(--bg); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--yellow); border-radius: var(--radius) var(--radius) 0 0; }
.card .icon { width: 44px; height: 44px; margin-bottom: 16px; color: var(--navy); }
.card p { color: var(--muted); margin-bottom: 0; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }

/* product tiles */
.product-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-tile .img { background: #fff; padding: 20px; border-bottom: 1px solid var(--line); aspect-ratio: 1 / .92; display: flex; align-items: center; justify-content: center; }
.product-tile .img img { max-height: 100%; width: auto; object-fit: contain; }
.product-tile .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-tile .tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.product-tile h3 { margin-bottom: 10px; }
.product-tile p { color: var(--muted); flex: 1; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--yellow);
  font-weight: 800; font-size: 1.2rem; display: grid; place-items: center;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--navy-deep); color: #fff; padding-block: 60px; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #c4cfe6; }

/* page banner (inner pages) */
.page-banner { background: var(--navy); color: #fff; padding-block: 64px 56px; }
.page-banner p { color: #d3dcf0; font-size: 1.15rem; max-width: 38em; margin: 0; }

/* product detail rows */
.product-row { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; padding-block: 44px; border-bottom: 1px solid var(--line); }
.product-row:last-child { border-bottom: 0; }
.product-row .img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.product-row.flip .img { order: 2; }
.product-row ul { padding-left: 1.2em; margin: 0 0 1.4em; color: var(--ink); }
.product-row li { margin-bottom: 6px; }
.product-row .lead { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 880px) {
  .product-row { grid-template-columns: 1fr; gap: 24px; }
  .product-row.flip .img { order: 0; }
}
.category-label { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; }
.category-label::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.category-label h2 { font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; color: var(--navy); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
form input, form select, form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #c5ccd8; border-radius: 6px; background: #fff; color: var(--ink);
}
form textarea { min-height: 150px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--navy); outline: 3px solid rgba(246,201,21,.5); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 22px; font-weight: 600; }
.notice.ok { background: #e6f6ea; color: #14532d; border: 1px solid #a7dbb5; }
.notice.err { background: #fdecec; color: #7f1d1d; border: 1px solid #f1b4b4; }
.info-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h3 { margin-bottom: 4px; }
.info-card .block { margin-bottom: 22px; }
.info-card .block:last-child { margin-bottom: 0; }
.info-card .big { font-size: 1.5rem; font-weight: 800; text-decoration: none; }
address { font-style: normal; }

/* services list */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 880px) { .service-list { grid-template-columns: 1fr; } }
.check { list-style: none; padding: 0; margin: 14px 0 0; }
.check li { padding-left: 28px; position: relative; margin-bottom: 8px; color: var(--muted); }
.check li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(-45deg) translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer { background: #060f24; color: #b7c3dd; padding-block: 56px 28px; border-top: 3px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { color: #dbe3f4; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

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

/* keep the quote button yellow on the contact page; feature the custom machine card */
.nav a.nav-cta[aria-current="page"] { background: var(--yellow); color: #111; }
.card.feature { grid-column: 1 / -1; background: var(--navy); color: #fff; border-color: var(--navy); }
.card.feature .icon { color: var(--yellow); }
.card.feature p, .card.feature .check li { color: #d3dcf0; }
.card.feature .check li::before { border-color: var(--yellow); }
.card.feature a.more { color: var(--yellow); }

/* Hero summary card (replaces the old product photo) */
.hero-list { color: var(--ink); padding: 28px 30px !important; }
.hero-list .eyebrow { margin-bottom: 10px; }
.hero-list .check { margin: 8px 0 22px; }
.hero-list .check li { font-size: 1.05rem; }
.hero-logo { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto 14px; }
