/* Acehilm Weld Inspection — industrial one-pager */

:root {
  --bg: #1a1d21;
  --bg-elevated: #23272c;
  --bg-card: #2a2f35;
  --steel: #4a6fa5;
  --steel-light: #6b8fc4;
  --steel-muted: #3d5a80;
  --text: #f0f2f4;
  --text-muted: #a8b0b8;
  --border: #3a4048;
  --accent-line: #5a7a9a;
  --max: 960px;
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--steel-light);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #9bb8d9;
  text-decoration: underline;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--steel-light);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--steel-light);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
  background-image:
    linear-gradient(
      105deg,
      rgba(18, 20, 24, 0.92) 0%,
      rgba(18, 20, 24, 0.78) 42%,
      rgba(18, 20, 24, 0.45) 100%
    ),
    url("welder-hero.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-light);
  font-weight: 600;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--steel);
  padding-left: 0.65rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-block;
  background: var(--steel);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--steel-muted);
  color: #fff;
  text-decoration: none;
  border-color: var(--steel-light);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  margin-left: 0.65rem;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--steel);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Sections */
section {
  padding: 3rem 0;
}

section + section {
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border-top: 3px solid var(--steel);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Why us */
.why-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}

.why-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
}

.why-list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.5rem;
  background: var(--steel);
  border-radius: 1px;
}

.cert-note {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-line);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA */
.cta {
  background: var(--bg-elevated);
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.cta-box h2 {
  margin-bottom: 0.5rem;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 32rem;
  margin-inline: auto;
}

.cta-email {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.75rem;
  word-break: break-all;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.site-footer strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 480px) {
  .btn-outline {
    margin-left: 0;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  section {
    padding: 2.25rem 0;
  }
}
