/* Amarillo Concrete Leveling - shared stylesheet */

:root {
  --charcoal: #26231f;
  --charcoal-2: #35312b;
  --ink: #2b2823;
  --sand: #c8a878;
  --sand-light: #e6d5b8;
  --clay: #a8542f;
  --clay-dark: #8c4526;
  --offwhite: #faf7f1;
  --paper: #ffffff;
  --line: #e3dcd0;
  --muted: #6b655c;
  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1120px;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--clay); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

ul, ol { margin: 0 0 1rem 1.4rem; }
li { margin-bottom: 0.35rem; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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

.site-header {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--sand);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.15;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--sand-light); }
.brand span { color: var(--sand); display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  color: #fff;
  font-size: 1.15rem;
  padding: 6px 12px;
  cursor: pointer;
}

.main-nav ul { list-style: none; margin: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li { margin: 0; position: relative; }

.main-nav a, .main-nav button.drop-btn {
  display: block;
  color: #f0ece3;
  padding: 20px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav button.drop-btn:hover { color: var(--sand); text-decoration: none; }

.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--charcoal-2);
  min-width: 240px;
  border: 1px solid #4a453d;
  border-top: 2px solid var(--sand);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  flex-direction: column;
  gap: 0;
  padding: 6px 0;
}
.main-nav li.open > .dropdown-menu { display: flex; }
.main-nav .dropdown-menu a { padding: 9px 18px; font-weight: 500; }
.main-nav .dropdown-menu a:hover { background: #423d34; }

.nav-cta a {
  background: var(--clay);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-left: 8px;
  font-weight: 700;
}
.nav-cta a:hover { background: var(--clay-dark); color: #fff; }

.nav-cta-alt a {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 9px 14px;
  margin-left: 8px;
  color: var(--sand-light);
  font-size: 0.86rem;
}
.nav-cta-alt a:hover { background: rgba(200, 168, 120, 0.15); color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 14px 26px;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dark); color: #fff; text-decoration: none; }
.btn-outline { border-color: var(--sand); color: var(--sand-light); background: transparent; }
.btn-outline:hover { background: rgba(200,168,120,0.15); text-decoration: none; color: #fff; }
.btn-outline-dark { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline-dark:hover { background: var(--charcoal); color: #fff; text-decoration: none; }

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

.hero {
  position: relative;
  color: #fff;
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  padding: 90px 0 100px;
}
/* Gradient overlay: darkest behind the headline and CTAs on the left,
   lifting toward the right so the Amarillo skyline stays visible. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 17, 14, 0.88) 0%, rgba(20, 17, 14, 0.78) 38%, rgba(26, 22, 18, 0.55) 68%, rgba(30, 26, 21, 0.42) 100%),
    linear-gradient(to bottom, rgba(20, 17, 14, 0.30) 0%, rgba(20, 17, 14, 0) 45%);
}
.hero h1,
.hero p.lede {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.hero .container { position: relative; z-index: 1; max-width: 860px; }
.hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: 1rem; }
.hero p.lede { font-size: 1.2rem; color: #f2ede2; max-width: 640px; margin-bottom: 1.75rem; }
.hero .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .hero-note { margin-top: 1.2rem; font-size: 0.9rem; color: #d8d0c2; }

.page-hero {
  background: var(--charcoal);
  color: #fff;
  padding: 48px 0 42px;
  border-bottom: 4px solid var(--sand);
}
.page-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.page-hero p.lede { color: #e4ddd0; font-size: 1.1rem; max-width: 720px; margin-bottom: 0; }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  font-size: 0.85rem;
  padding: 12px 0;
  color: var(--muted);
}
.breadcrumbs ol { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--clay); }

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

.section { padding: 56px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--charcoal); color: #ece7dc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--sand); }

.section-intro { max-width: 780px; margin-bottom: 2rem; }

.kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clay);
  display: block;
  margin-bottom: 0.5rem;
}
.section-dark .kicker { color: var(--sand); }

/* Two-column media + text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: 0 6px 24px rgba(38,35,31,0.18); }
.img-caption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

/* Card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 3px solid var(--sand);
}
.section-alt .card { background: var(--offwhite); }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin-bottom: 0.6rem; font-size: 0.95rem; }
.card .card-link { font-weight: 600; font-size: 0.92rem; }

/* Checklist / signs list */
.signs-list { list-style: none; margin-left: 0; }
.signs-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 0.55rem;
}
.signs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--clay);
  border-radius: 2px;
}

/* Numbered process steps */
.steps { list-style: none; margin-left: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  padding-left: 56px;
  position: relative;
  margin-bottom: 1.3rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  background: var(--charcoal);
  color: var(--sand);
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.steps li strong { display: block; font-family: var(--font-head); color: var(--charcoal); }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; margin-bottom: 1.25rem; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 0.95rem;
  border: 1px solid var(--line);
}
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--charcoal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
tbody tr:nth-child(even) { background: #f5f0e7; }

/* ---------- FAQ ---------- */

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--charcoal);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--clay);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 20px 16px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

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

.cta-band {
  background: var(--charcoal);
  color: #ece7dc;
  padding: 52px 0;
  text-align: center;
  border-top: 4px solid var(--sand);
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { max-width: 620px; margin: 0 auto 1.5rem; }
.cta-band .hero-btns { justify-content: center; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band.with-bg {
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  position: relative;
}
.cta-band.with-bg::before { content: ""; position: absolute; inset: 0; background: rgba(38,33,27,0.72); }
.cta-band.with-bg .container { position: relative; z-index: 1; }

/* ---------- Prose / article ---------- */

.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose img { border-radius: var(--radius); margin: 1.25rem 0 0.4rem; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.sidebar .side-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--clay);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}
.sidebar .side-box h3 { font-size: 1.05rem; }
.sidebar .side-box ul { list-style: none; margin-left: 0; }
.sidebar .side-box li { margin-bottom: 8px; font-size: 0.93rem; }
.sidebar .side-box .btn { width: 100%; margin-top: 6px; }
.side-box.side-cta { background: var(--charcoal); border-top-color: var(--sand); }
.side-box.side-cta h3 { color: #fff; }
.side-box.side-cta p { color: #ddd6c8; font-size: 0.92rem; }

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

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 5px; color: var(--charcoal); }
input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfc7b8;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sand); border-color: var(--sand); }
.form-note { font-size: 0.85rem; color: var(--muted); }

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

.site-footer {
  background: var(--charcoal);
  color: #c9c2b4;
  padding: 52px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
.site-footer h3 {
  color: var(--sand);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; margin-left: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #ddd6c8; }
.site-footer a:hover { color: var(--sand); }
.footer-bottom {
  border-top: 1px solid #4a453d;
  padding-top: 20px;
  font-size: 0.82rem;
  color: #9a9386;
}
.footer-bottom p { margin-bottom: 0.5rem; }

/* ---------- Sticky mobile call bar ---------- */

.sticky-call { display: none; }

@media (max-width: 860px) {
  .sticky-call {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(38, 35, 31, 0.97);
    border-top: 2px solid var(--sand);
  }
  .sticky-call a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
  }
  .sticky-call-phone { flex: 3 1 auto; background: var(--clay); color: #fff; }
  .sticky-call-phone:hover { color: #fff; text-decoration: none; }
  .sticky-call-alt {
    flex: 1 1 auto;
    border: 1px solid var(--sand);
    color: var(--sand-light);
    font-size: 0.95rem;
  }
  .sticky-call-alt:hover { color: #fff; text-decoration: none; }
  /* Keep the bar from covering the end of the footer */
  .site-footer { padding-bottom: 96px; }
}

.footer-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--sand) !important;
}

/* ---------- Utility ---------- */

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.small { font-size: 0.87rem; color: var(--muted); }

/* ---------- Responsive ---------- */

/* Narrower desktops: keep the call button, drop the secondary nav CTA
   (Request Service stays reachable in the hero, footer, and sticky bar). */
@media (min-width: 861px) and (max-width: 1180px) {
  .nav-cta-alt { display: none; }
  .main-nav a, .main-nav button.drop-btn { padding-left: 9px; padding-right: 9px; font-size: 0.88rem; }
  .nav-cta a { padding: 10px 13px; }
}

@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal-2);
    border-bottom: 3px solid var(--sand);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a, .main-nav button.drop-btn { padding: 14px 22px; width: 100%; text-align: left; font-size: 1rem; }
  .main-nav .dropdown-menu {
    position: static;
    border: none;
    border-left: 3px solid var(--sand);
    box-shadow: none;
    background: #3d3931;
    margin-left: 22px;
  }
  .nav-cta a { margin: 10px 22px 8px; display: block; width: auto; text-align: center; }
  .nav-cta-alt a { margin: 0 22px 16px; display: block; width: auto; text-align: center; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse .split-media { order: 0; }
  .hero { padding: 64px 0 72px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .hero p.lede { font-size: 1.05rem; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  .section { padding: 40px 0; }
  .btn { width: 100%; }
  .hero .hero-btns .btn, .cta-band .hero-btns .btn { width: 100%; }
}
