/* Permian Mobile Welding — mobile-first industrial theme. No frameworks, no external assets. */
:root {
  --ink: #1a1d21;
  --ink-soft: #2b2f36;
  --paper: #ffffff;
  --wash: #f4f2ed;
  --accent: #e8641b;          /* safety orange */
  --accent-dark: #c24f12;
  --steel: #5b6470;
  --line: #e2ddd3;
  --radius: 10px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-title { font-size: 1.7rem; line-height: 1.25; margin-bottom: 14px; letter-spacing: -0.01em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: #fff;
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em;
}
.brand-text { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.main-nav { display: none; }
.site-header.nav-open .main-nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink-soft); border-top: 1px solid #3a4048; }
.main-nav ul { list-style: none; }
.main-nav > ul > li { border-bottom: 1px solid #3a4048; }
.main-nav a { display: block; padding: 13px 20px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.main-nav a:hover { background: #343a43; }
.sub-menu { background: #22262c; }
.sub-menu a { padding-left: 36px; font-weight: 400; font-size: 0.92rem; color: #d7dce3; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 22px; border-radius: var(--radius); border: 0; cursor: pointer;
  font-size: 1rem; line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-call { background: var(--accent); color: #fff; white-space: nowrap; padding: 11px 16px; font-size: 0.95rem; }
.btn-call:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }

/* ---------- sticky mobile call bar ---------- */
.sticky-call {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: block; text-align: center; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.05rem;
  padding: 15px; border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
@media (min-width: 900px) { .sticky-call { display: none; } }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, #23272e 0%, #2e343d 100%);
  color: #fff; padding: 64px 0 56px;
}
.hero h1 { font-size: 2rem; line-height: 1.18; letter-spacing: -0.015em; margin-bottom: 14px; }
.hero .lede { font-size: 1.1rem; color: #d7dce3; max-width: 640px; margin-bottom: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-call { font-size: 1.05rem; padding: 14px 24px; }
.page-hero { background: var(--ink); color: #fff; padding: 44px 0 36px; border-bottom: 3px solid var(--accent); }
.page-hero h1 { font-size: 1.9rem; line-height: 1.2; margin-bottom: 10px; }
.page-hero p { color: #cfd5dd; max-width: 680px; }
.breadcrumb { font-size: 0.85rem; color: #9aa3af; margin-bottom: 12px; }
.breadcrumb a { color: #cfd5dd; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--wash); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-top: 0; padding-bottom: 0; }
.trust-item { padding: 16px 12px; font-weight: 700; font-size: 0.92rem; border-top: 1px solid var(--line); }
.trust-item small { display: block; font-weight: 400; color: var(--steel); font-size: 0.82rem; }

/* ---------- content ---------- */
.content { max-width: 760px; }
.content p, .content ul, .content ol { margin-bottom: 16px; }
.content h2 { font-size: 1.45rem; margin: 34px 0 12px; letter-spacing: -0.01em; }
.content h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.content ul, .content ol { padding-left: 24px; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- cards ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards.cards-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: #fff; text-decoration: none; color: inherit;
  display: block;
}
a.card:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card p { font-size: 0.95rem; color: var(--steel); margin: 0; }
.card .go { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--accent-dark); font-size: 0.92rem; }

.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
.callout {
  background: #fff7ef; border-left: 4px solid var(--accent);
  padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0;
}
.callout strong { display: block; margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #cfd5dd; max-width: 620px; margin: 0 auto 22px; }

/* ---------- forms ---------- */
.cta-form { background: var(--wash); border-top: 1px solid var(--line); }
.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-top: 20px; max-width: 720px;
}
.lead-form label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 14px; }
.lead-form input, .lead-form select, .lead-form textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-size: 1rem; padding: 11px 12px;
  border: 1px solid #c9c4b8; border-radius: 8px; background: #fff; color: var(--ink);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--accent); border-color: var(--accent);
}
.lead-form textarea { resize: vertical; }
.lead-form .btn { width: 100%; margin-top: 4px; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.92rem; color: var(--steel); margin-top: 14px; margin-bottom: 0; }
.form-notice {
  background: #fff7ef; border: 1px solid var(--accent); border-radius: 8px;
  padding: 12px 14px; margin-top: 14px; font-size: 0.95rem;
}
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 14px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.radio-row input { width: auto; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-top: 20px; }
details.faq {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; background: #fff; overflow: hidden;
}
details.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 20px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 800; flex-shrink: 0; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-a { padding: 0 20px 18px; color: var(--ink-soft); }
details.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfd5dd; padding: 48px 0 0; font-size: 0.94rem; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.footer-head { color: #fff; font-weight: 700; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer ul a { color: #cfd5dd; text-decoration: none; display: block; padding: 4px 0; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.site-footer a[data-call], .site-footer a[data-email] { color: #fff; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid #3a4048; padding-top: 18px; padding-bottom: 90px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 0.85rem; color: #9aa3af;
}
.footer-bottom a { color: #cfd5dd; }
.recording-note { font-style: italic; }
@media (min-width: 900px) { .footer-bottom { padding-bottom: 24px; } }

/* ---------- homepage refresh: image-forward ---------- */
.hero-visual {
  background:
    linear-gradient(180deg, rgba(15,18,22,.62) 0%, rgba(15,18,22,.45) 55%, rgba(15,18,22,.72) 100%),
    url("/assets/img/hero.jpg") center 65% / cover no-repeat;
  padding: 96px 0 88px;
}
.hero-visual h1 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero-visual .lede { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.card-img { padding: 0; overflow: hidden; }
.card-img img {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-img .card-body { display: block; padding: 18px 20px 20px; }
.card-img .card-title { display: block; font-size: 1.12rem; font-weight: 800; color: var(--ink); }
.card-img .card-sub { display: block; font-size: 0.92rem; color: var(--steel); margin-top: 4px; }
.more-row { margin-top: 20px; font-size: 0.95rem; color: var(--steel); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  padding: 10px 18px; border-radius: 999px;
}
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.areas-slim { padding: 44px 0; }
.page-banner img { display: block; width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.contact-top { padding: 36px 0 8px; }
.btn-big { font-size: 1.25rem; padding: 18px 40px; }
@media (max-width: 639px) {
  .btn-big { display: block; width: 100%; max-width: 430px; margin: 0 auto; }
  .contact-top { padding: 28px 0 4px; }
}
@media (min-width: 900px) {
  .hero-visual { padding: 130px 0 120px; }
}

/* ---------- desktop nav ---------- */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav { display: block !important; position: static; }
  .header-inner { gap: 28px; }
  .brand { margin-right: 0; }
  .main-nav > ul { display: flex; align-items: center; gap: 4px; }
  .main-nav > ul > li { border: 0; position: relative; }
  .main-nav a { padding: 10px 12px; }
  .main-nav a:hover { background: transparent; color: var(--accent); }
  .has-sub .sub-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
    background: var(--ink-soft); border: 1px solid #3a4048; border-radius: 0 0 10px 10px;
    padding: 8px 0; box-shadow: 0 12px 30px rgba(0,0,0,.4);
  }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
  .sub-menu a { padding: 9px 18px; }
  .sub-menu a:hover { color: #fff; background: #343a43; }
  .btn-call { margin-left: auto; }
  .hero h1 { font-size: 2.7rem; }
  .page-hero h1 { font-size: 2.3rem; }
  .section { padding: 72px 0; }
  .trust-strip .container { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-top: 0; border-left: 1px solid var(--line); text-align: center; }
  .trust-item:first-child { border-left: 0; }
}
