:root {
  --navy: #202d4d;
  --navy-dark: #152038;
  --red: #d7262b;
  --red-dark: #b01e22;
  --ink: #1f2430;
  --muted: #5b6272;
  --line: #e3e6ec;
  --paper: #ffffff;
  --paper-alt: #f4f6f9;
  --radius: 6px;
  --max: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand img { width: 220px; }

.nav-toggle {
  display: none;
  background: none; border: 2px solid rgba(255,255,255,.5); border-radius: var(--radius);
  color: #fff; font: inherit; font-size: .9rem; padding: 6px 12px; cursor: pointer;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block; padding: 10px 12px; color: #fff; text-decoration: none;
  font-size: .95rem; font-weight: 600; border-radius: var(--radius);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.site-nav .has-sub { position: relative; }
.site-nav .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--navy-dark); padding: 6px; border-radius: var(--radius);
  flex-direction: column; align-items: stretch; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { display: flex; }
.site-nav .nav-cta a { background: var(--red); margin-left: 8px; }
.site-nav .nav-cta a:hover { background: var(--red-dark); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 8px 20px 20px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav .sub { display: flex; position: static; box-shadow: none; background: none; padding: 0 0 0 16px; }
  .site-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  .brand img { width: 180px; }
}

/* Hero and page headers */
.hero, .page-header {
  position: relative; color: #fff; background-size: cover; background-position: center;
}
.hero::before, .page-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,32,56,.78) 0%, rgba(21,32,56,.92) 100%);
}
.hero > .container, .page-header > .container { position: relative; }
.hero { background-image: url(../images/hero-coated-parts.jpg); padding: 110px 0 120px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 span { display: block; color: #ff6b6f; font-size: .5em; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4em; }
.hero p { font-size: 1.15rem; max-width: 640px; color: rgba(255,255,255,.9); }
.page-header { background-image: url(../images/header-bg.jpg); padding: 70px 0; }
.page-header h1 { color: #fff; margin: 0; }
.page-header p { margin: .6em 0 0; color: rgba(255,255,255,.85); max-width: 700px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  background: var(--red); color: #fff; font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; border: 2px solid currentColor; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--paper-alt); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.reverse > :first-child { order: 2; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); color: inherit; }

.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700; margin-bottom: 10px;
}

.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; }
.photo-row img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1em; columns: 2; }
.tick-list li { padding-left: 26px; position: relative; margin-bottom: 6px; break-inside: avoid; }
.tick-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; background: var(--red); border-radius: 2px; }

.values dt { font-weight: 700; color: var(--navy); }
.values dd { margin: 0 0 1em; }

.video { max-width: 900px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

.stats { background: var(--navy); color: #fff; padding: 48px 0; }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stats strong { display: block; font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.1; color: #fff; }
.stats span { text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: rgba(255,255,255,.75); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.04); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list h3 { margin-bottom: .2em; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-list p { margin: 0; font-size: 1.2rem; }
.contact-list a { text-decoration: none; }

/* Call-to-action band */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }
.cta-band .phone { font-size: 1.6rem; font-weight: 700; color: #fff; text-decoration: none; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 48px 0 24px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .85rem; }
