﻿/* Laymor Parts & Equipment â€” brochure theme for the "parts" sites.
   Brand blue comes from the old Graphene menu colour (#d9601a); swap --brand per site. */
:root {
  --brand: #d9601a;
  --brand-dark: #b84d12;
  --brand-light: #fdeee4;
  --ink: #1f2429;
  --muted: #5b6670;
  --line: #dde3e9;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(31, 36, 41, .08);
  --wrap: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { height: 48px; width: auto; }
.brand-text { font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: .98rem; border-radius: 8px; }
.site-nav a:hover { background: var(--bg-alt); text-decoration: none; color: var(--brand-dark); }
.site-nav a.nav-cta { background: var(--brand); color: #fff; margin-left: 6px; }
.site-nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; }
.site-nav .nav-phone a { color: var(--brand); }
.site-nav .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); min-width: 200px; padding: 6px; flex-direction: column; gap: 0; }
.site-nav .has-children:hover .sub, .site-nav .has-children:focus-within .sub { display: flex; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 2px; margin: 6px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* banner + hero */
.banner { background: #fff; border-bottom: 4px solid var(--brand); }
.banner img { width: 100%; max-width: 1904px; margin: 0 auto; }
.banner.cover img { max-width: none; max-height: 440px; object-fit: cover; }
.hero { background: linear-gradient(180deg, var(--brand-light), #fff); padding: 56px 0 48px; text-align: center; }
.hero-inner { max-width: 820px; }
.hero .lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.6em; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 8px; font-weight: 700; border: 2px solid transparent; cursor: pointer; font: inherit; line-height: 1.2; transition: background .15s, color .15s, transform .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-light); color: var(--brand-dark); }

/* sections */
.section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: .4em; }
.section-title.left { text-align: left; }
.section-intro { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto 2.2em; font-size: 1.08rem; }
.prose p { margin-bottom: 1em; }
.prose ul { padding-left: 1.2em; }

.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.intro-figure { margin: 0; }
.intro-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.supply { background: var(--bg-alt); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 22px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.03); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
/* a lone last card on a three-up row stretches across instead of sitting orphaned at the left */
@media (min-width: 960px) { .card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 28px; } .card:last-child:nth-child(3n + 1) h3, .card:last-child:nth-child(3n + 1) .models, .card:last-child:nth-child(3n + 1) p { flex: 1 1 100%; } .card:last-child:nth-child(3n + 1) .card-icon { margin-bottom: 0; } }
.card-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.card-img { border-radius: 8px; margin-bottom: 16px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card h3 { margin-bottom: .25em; }
.card .models { color: var(--brand-dark); font-size: .88rem; font-weight: 600; letter-spacing: .01em; margin-bottom: .7em; }
.card p { color: var(--muted); font-size: .97rem; }
.card-link { margin-top: auto; font-weight: 700; font-size: .95rem; }
.card-link i { font-size: .8em; margin-left: 2px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 40px; margin-top: 1.5em; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature > i { flex: 0 0 44px; height: 44px; width: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.1rem; margin-top: 2px; }
.feature h3 { margin-bottom: .2em; font-size: 1.08rem; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0; }

.band { background: var(--brand); color: #fff; padding: 48px 0; }
.band h2 { color: #fff; margin-bottom: .3em; }
.band p { margin: 0; opacity: .92; max-width: 640px; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

/* form */
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field .req { color: #c0392b; }
.field input, .field textarea { font: inherit; padding: 11px 13px; border: 1px solid #c7d0d9; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 90px; }
.actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; }
.actions .fine { color: var(--muted); font-size: .9rem; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.alert { border-radius: 8px; padding: 14px 16px; margin: 0 0 20px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.alert.ok { background: #e6f6ea; color: #1f6b38; border: 1px solid #bfe3c8; }
.alert.bad { background: #fdecea; color: #8e2a22; border: 1px solid #f5c2bc; }

/* faq */
.faq { background: var(--bg-alt); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform .2s; color: var(--brand); }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 16px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* footer */
.site-footer { background: var(--ink); color: #cfd6dd; padding: 44px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid > div:first-child { font-weight: 600; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: flex-start; }
.footer-fine { padding-top: 20px; font-size: .85rem; color: #9aa5b1; }
.footer-fine p { margin: 0 0 .5em; }
.disclaimer { max-width: 820px; }

/* inner pages */
.page-body .prose { font-size: 1.05rem; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-figure { max-width: 520px; margin: 0 auto; }
  .band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 14px 16px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px 10px; }
  .site-nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .site-nav .sub { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .section { padding: 44px 0; }
  .hero { padding: 40px 0 36px; }
  .quote-form { grid-template-columns: 1fr; padding: 20px; }
  .brand img { height: 40px; }
}

