/* Altitude Drilling Co. — industrial, mobile-first, black/gray/white */

:root {
  --black: #111214;
  --dark: #1c1e21;
  --gray: #55595f;
  --light-gray: #e8eaed;
  --off-white: #f6f7f8;
  --white: #ffffff;
  --rule: #2e3136;
  --max: 68rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

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

a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */

.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--gray);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
}

.brand span { color: #9aa0a6; font-weight: 600; }

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 3px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.call-btn svg { width: 1em; height: 1em; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--gray);
  border-radius: 3px;
  color: var(--white);
  padding: 0.45rem 0.6rem;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.site-nav { display: none; background: var(--dark); }

.site-nav.open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  max-width: var(--max);
  margin-inline: auto;
}

.site-nav a {
  display: block;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
  color: var(--light-gray);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--rule);
}

.site-nav a[aria-current="page"] { color: var(--white); background: var(--black); }

@media (min-width: 48rem) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; }
  .site-nav a { border-top: none; padding: 0.6rem 1rem; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 3.5rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero .tagline {
  color: #c3c7cc;
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin: 0 0 1.75rem;
  max-width: 34em;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 3px;
  font-size: 1rem;
  text-align: center;
}

.btn-primary { background: var(--white); color: var(--black); }

.btn-outline { border: 2px solid var(--white); color: var(--white); }

.btn-dark { background: var(--black); color: var(--white); }

/* ---------- Sections ---------- */

.section { padding: 2.75rem 0; }

.section-alt { background: var(--off-white); }

.section h2 {
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.35rem;
}

.section h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--black);
  margin-top: 0.6rem;
}

.section .lead { color: var(--gray); margin-top: 0.9rem; max-width: 44em; }

.grid { display: grid; gap: 1.25rem; margin-top: 1.75rem; }

@media (min-width: 48rem) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  border: 1px solid var(--light-gray);
  border-top: 4px solid var(--black);
  padding: 1.25rem;
  background: var(--white);
}

.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.03em; }

.card p { margin: 0; color: var(--gray); font-size: 0.95rem; }

/* ---------- Lists / misc ---------- */

.county-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}

@media (min-width: 48rem) { .county-list { grid-template-columns: repeat(4, 1fr); } }

.county-list li {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--black);
  padding: 0.6rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }

.checklist li { padding: 0.45rem 0 0.45rem 1.75rem; position: relative; }

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--black);
}

.figure { margin: 1.75rem 0 0; }

.figure img { width: 100%; border: 1px solid var(--light-gray); }

.figure figcaption { font-size: 0.85rem; color: var(--gray); margin-top: 0.5rem; }

.placeholder-note {
  background: var(--off-white);
  border: 1px dashed var(--gray);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 1.5rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.cta-band h2 { margin: 0 0 0.5rem; text-transform: uppercase; font-size: clamp(1.3rem, 4vw, 1.7rem); }

.cta-band p { color: #c3c7cc; margin: 0 0 1.5rem; }

/* ---------- Forms ---------- */

.quote-form { margin-top: 1.75rem; max-width: 34rem; }

.quote-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 1.1rem 0 0.35rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font: inherit;
  border: 1px solid var(--gray);
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--black);
  outline-offset: 1px;
}

.quote-form button {
  margin-top: 1.5rem;
  width: 100%;
  border: none;
  cursor: pointer;
  font: inherit;
}

@media (min-width: 48rem) { .quote-form button { width: auto; } }

.hidden { display: none; }

/* ---------- Contact info ---------- */

.contact-info { margin-top: 1.5rem; }

.contact-info p { margin: 0.4rem 0; font-size: 1.05rem; }

.contact-info a { font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: #9aa0a6;
  padding: 2rem 0;
  font-size: 0.9rem;
  margin-top: 0;
}

.site-footer a { color: var(--light-gray); text-decoration: none; }

.site-footer .foot-grid { display: grid; gap: 1.25rem; }

@media (min-width: 48rem) { .site-footer .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }

.site-footer h4 { color: var(--white); margin: 0 0 0.5rem; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0.3rem 0; }

.legal { border-top: 1px solid var(--rule); margin-top: 1.5rem; padding-top: 1rem; font-size: 0.8rem; }
