/* Fortified Heavy Equipment Repairs - site styles */
:root {
  --orange: #eb6f2d;
  --orange-dark: #c9551a;
  --black: #0b0b0b;
  --char: #161616;
  --steel: #2a2c2e;
  --steel-light: #b9bec3;
  --text: #1d1f21;
  --muted: #5a6066;
  --bg: #ffffff;
  --bg-alt: #f3f4f5;
  --radius: 6px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 { font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); margin: 1.6em 0 .6em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 99; }

/* Header */
.topbar { background: var(--orange); color: #111; font-weight: 700; font-size: .92rem; text-align: center; padding: 6px 16px; }
.topbar a { color: #111; text-decoration: none; }
header.site { background: var(--black); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--orange); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 74px; }
.brand span { font-family: "Arial Black", Arial, sans-serif; font-size: 1rem; line-height: 1.15; text-transform: uppercase; }
.brand small { display: block; color: var(--steel-light); font-family: system-ui, Arial, sans-serif; font-size: .72rem; letter-spacing: .12em; }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a { color: #fff; text-decoration: none; padding: 10px 12px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--orange); }
nav.main a.call { background: var(--orange); color: #111; margin-left: 8px; }
nav.main a.call:hover { background: #fff; color: #111; }
.menu-btn { display: none; background: none; border: 2px solid var(--orange); color: #fff; border-radius: var(--radius); padding: 8px 12px; font-weight: 700; font-size: .95rem; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 3px solid var(--orange); }
  nav.main.open { display: flex; }
  nav.main a.call { margin: 8px 0 0; text-align: center; }
  .brand span { font-size: .85rem; }
  .brand img { width: 60px; }
}

/* Hero */
.hero { background: #000; color: #fff; padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: 1.15rem; color: #e6e6e6; max-width: 38em; }
.hero .logo-big { justify-self: center; max-width: 440px; width: 100%; }
.page-hero { background: var(--black); color: #fff; padding: 48px 0; border-bottom: 1px solid #222; }
.page-hero p.lead { color: #ddd; font-size: 1.1rem; max-width: 46em; margin: 0; }
.crumbs { font-size: .85rem; color: var(--steel-light); margin-bottom: 14px; }
.crumbs a { color: var(--steel-light); }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .logo-big { order: -1; max-width: 300px; }
}

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-block; padding: 14px 22px; border-radius: var(--radius); font-weight: 800; text-decoration: none; font-size: 1.02rem; border: 2px solid var(--orange); }
.btn.primary { background: var(--orange); color: #111; }
.btn.primary:hover { background: #fff; border-color: #fff; }
.btn.ghost { color: #fff; }
.btn.ghost:hover { background: var(--orange); color: #111; }
.btn.dark { background: var(--black); color: #fff; border-color: var(--black); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--char); color: #eee; }
section.dark h2 { color: #fff; }
.prose { max-width: 780px; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid #e2e4e6; border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.card a.more { font-weight: 700; text-decoration: none; }
.dark .card { background: #1f2022; border-color: #2e3033; border-top-color: var(--orange); color: #ddd; }
.dark .card h3 { color: #fff; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: var(--orange); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
table.simple { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .97rem; }
table.simple th, table.simple td { border: 1px solid #d9dcdf; padding: 10px 12px; text-align: left; vertical-align: top; }
table.simple th { background: var(--bg-alt); }

/* FAQ */
.faq details { border: 1px solid #dfe2e5; border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details > div { padding: 0 18px 14px; }

/* CTA band */
.cta { background: var(--orange); color: #111; padding: 44px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { margin: 0; }
.cta p { margin: 6px 0 0; }

/* Map + contact */
.map { border: 0; width: 100%; height: 360px; border-radius: var(--radius); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
form.quote label { display: block; font-weight: 700; margin: 14px 0 4px; }
form.quote input, form.quote textarea, form.quote select { width: 100%; padding: 12px; border: 1px solid #c8ccd0; border-radius: var(--radius); font: inherit; }
form.quote .hp { position: absolute; left: -5000px; }
form.quote button { margin-top: 18px; cursor: pointer; }

/* Footer */
footer.site { background: var(--black); color: #cfd2d5; padding: 48px 0 24px; font-size: .95rem; }
footer.site a { color: #fff; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
footer.site h3 { color: var(--orange); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }
footer.site .nap strong { color: #fff; }
footer.site .base { border-top: 1px solid #2a2a2a; margin-top: 32px; padding-top: 16px; font-size: .85rem; color: #8b9096; }
@media (max-width: 800px) { footer.site .cols { grid-template-columns: 1fr; } }

/* Sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; }
  .callbar a { flex: 1; text-align: center; padding: 14px 8px; font-weight: 800; text-decoration: none; }
  .callbar a.c { background: var(--orange); color: #111; }
  .callbar a.q { background: var(--black); color: #fff; }
  body { padding-bottom: 52px; }
}

/* Dropdown menus (2026-11-15) */
.dd { position: relative; display: flex; align-items: center; }
.dd-btn { background: none; border: 0; color: #fff; cursor: pointer; padding: 10px 6px 10px 0; font-size: .85rem; }
.dd-btn:hover { color: var(--orange); }
.dd .sub { display: none; position: absolute; top: 100%; left: 0; z-index: 60; background: var(--black); min-width: 270px; padding: 8px; border-top: 3px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.dd .sub.two-col { min-width: 460px; columns: 2; column-gap: 8px; }
.dd .sub a { display: block; padding: 8px 12px; font-weight: 500; font-size: .92rem; break-inside: avoid; }
.dd:hover .sub, .dd:focus-within .sub, .dd.open .sub { display: block; }
@media (max-width: 900px) {
  .dd { flex-wrap: wrap; }
  .dd > a { flex: 1; }
  .dd-btn { padding: 10px 12px; font-size: 1rem; }
  .dd .sub, .dd .sub.two-col { position: static; min-width: 0; width: 100%; columns: 1; box-shadow: none; border-top: 0; padding: 0 0 8px 16px; }
  .dd:hover .sub, .dd:focus-within .sub { display: none; }
  .dd.open .sub { display: block; }
}

/* Google trust bar and open FAQs (2026-11-15) */
.trust { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding: 8px 14px; background: #fff; color: #1d1f21; border-radius: 999px; text-decoration: none; font-size: .95rem; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.trust .stars { color: #fbbc04; letter-spacing: 2px; font-size: 1.05rem; }
.trust .sep { color: #9aa0a6; }
.trust:hover { background: #f3f4f5; }
.faq .faq-item { border: 1px solid #dfe2e5; border-left: 4px solid var(--orange); border-radius: var(--radius); margin-bottom: 12px; background: #fff; padding: 16px 18px; }
.faq .faq-item h3 { margin: 0 0 6px; font-size: 1.08rem; }
.faq .faq-item p { margin: 0; }

/* Machine list as wrapping tags (2026-11-15) */
.machines { list-style: none; padding: 0; margin: 18px 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.machines li { background: #fff; border: 1px solid #dfe2e5; border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 8px 14px; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.prose .machines li { margin: 0; }
@media (max-width: 600px) { .machines { gap: 8px; } .machines li { padding: 7px 12px; font-size: .92rem; } }
.prose ul.machines { padding: 0; margin: 18px 0 8px; }

/* Quote buttons jump to the form (2026-11-15) */
html { scroll-behavior: smooth; }
#quote { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
