/* Cruces Plumbing Guide — fast, static, no framework */
:root {
  --bg: #f6f0e6;
  --bg-2: #efe6d6;
  --paper: #fffbf5;
  --ink: #1b1714;
  --muted: #534b42;
  --line: #d8ccb8;
  --terra: #b54a1f;
  --terra-d: #8a3514;
  --sage: #2c4a3c;
  --sage-l: #3d6653;
  --gold: #c4a265;
  --focus: #1b1714;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(27, 23, 20, 0.08);
  --max: 1120px;
  --sans: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; }
a { color: var(--terra-d); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--terra); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 100; }

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

/* Header */
.topbar {
  background: var(--sage);
  color: #f4eee4;
  font-size: 0.9rem;
  padding: 0.45rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #f3d7a6; }

header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 72px;
}
.logo {
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15;
}
.logo strong { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.02em; }
.logo span { font-size: 0.75rem; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }

nav.primary { display: flex; align-items: center; gap: 0.3rem 1.1rem; }
nav.primary > a, .drop > summary {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  list-style: none; cursor: pointer;
}
nav.primary > a:hover, .drop > summary:hover { color: var(--terra-d); }
.drop { position: relative; }
.drop > summary { display: flex; align-items: center; gap: 0.3rem; }
.drop > summary::-webkit-details-marker { display: none; }
.drop[open] > summary { color: var(--terra-d); }
.menu {
  position: absolute; top: calc(100% + 0.6rem); left: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 240px; padding: 0.5rem; box-shadow: var(--shadow);
  display: grid; gap: 0.15rem; z-index: 20;
}
.menu a { display: block; padding: 0.45rem 0.7rem; text-decoration: none; color: var(--ink); border-radius: 8px; font-size: 0.92rem; }
.menu a:hover { background: var(--bg-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--terra); color: #fff; text-decoration: none; font-weight: 700;
  padding: 0.7rem 1.05rem; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 0.98rem; line-height: 1;
}
.btn:hover { background: var(--terra-d); color: #fff; }
.btn-sage { background: var(--sage); }
.btn-sage:hover { background: #1f382c; color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.header-cta { white-space: nowrap; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 162, 101, 0.28), transparent 55%),
    linear-gradient(180deg, #efe3ce 0%, var(--bg) 100%);
  padding: 3.4rem 0 2.6rem;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 1rem; max-width: 18ch;
}
.hero .lede { font-size: 1.18rem; color: var(--muted); max-width: 46rem; margin: 0 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; color: var(--sage); margin-bottom: 0.7rem;
}
.notice {
  margin-top: 1.6rem; background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--sage); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1rem; font-size: 0.95rem; color: var(--muted); max-width: 48rem;
}

/* Layout blocks */
section { padding: 3rem 0; }
.section-title {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin: 0 0 0.5rem; letter-spacing: -0.02em;
}
.section-kicker { color: var(--muted); margin: 0 0 1.6rem; max-width: 42rem; }
.grid-3, .grid-2, .grid-4 { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.25rem; box-shadow: 0 1px 0 rgba(27,23,20,0.03);
}
.card h2, .card h3 { margin: 0 0 0.45rem; font-size: 1.15rem; font-family: var(--serif); }
.card p { margin: 0 0 0.8rem; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 700; text-decoration: none; color: var(--terra-d); }
.card a.more:hover { color: var(--terra); }

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }
.prose h1, .prose h2, .prose h3 { font-family: var(--serif); letter-spacing: -0.02em; line-height: 1.2; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 0 0 0.8rem; }
.prose h2 { font-size: 1.45rem; margin: 2rem 0 0.6rem; }
.prose h3 { font-size: 1.18rem; margin: 1.4rem 0 0.4rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }
.prose .meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.callout {
  background: var(--bg-2); border-radius: var(--radius); padding: 1rem 1.1rem;
  border: 1px solid var(--line); margin: 1.2rem 0;
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1rem 0 1.4rem; }
th, td { text-align: left; padding: 0.65rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.page-hero { padding: 2.4rem 0 0.4rem; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.8rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--terra-d); }

/* Forms */
form.lead { display: grid; gap: 0.8rem; }
label { font-weight: 650; font-size: 0.92rem; display: grid; gap: 0.3rem; }
input, select, textarea {
  font: inherit; padding: 0.65rem 0.75rem; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: 0.86rem; color: var(--muted); }

aside.cta-box {
  background: var(--sage); color: #f6f0e6; border-radius: calc(var(--radius) + 4px);
  padding: 1.3rem 1.25rem; position: sticky; top: 92px;
}
aside.cta-box h2 { font-family: var(--serif); margin: 0 0 0.5rem; color: #fff; font-size: 1.4rem; }
aside.cta-box p { color: #e6ddd0; margin: 0 0 1rem; }
aside.cta-box .btn { width: 100%; margin-bottom: 0.5rem; }
aside.cta-box .phone { color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; display: block; text-align: center; margin-top: 0.4rem; }

/* FAQ */
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem; margin: 0.5rem 0;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 0.6rem 0 0; color: var(--muted); }

/* Footer */
footer.site {
  background: #1b1714; color: #e8e0d4; padding: 2.6rem 0 1.4rem; margin-top: 2rem;
}
footer.site a { color: #f0d9b0; }
footer.site h2 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #cbbba3; margin: 0 0 0.6rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0.28rem 0; }
.legal { border-top: 1px solid #3a342e; margin-top: 1.6rem; padding-top: 1rem; font-size: 0.86rem; color: #cbbcA8; }
.legal p { margin: 0.4rem 0; }

.mobile-call {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--terra); color: #fff; text-align: center;
  padding: 0.9rem 1rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
}
.mobile-call:hover { color: #fff; background: var(--terra-d); }

.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
.step .n {
  width: 2rem; height: 2rem; border-radius: 999px; background: var(--sage); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .split, footer.site .cols { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  nav.primary { display: none; }
  nav.primary.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem 1.1rem; gap: 0.4rem;
  }
  .drop .menu { position: static; box-shadow: none; border: 0; padding: 0.2rem 0 0.4rem 0.6rem; }
  .nav-toggle { display: inline-flex; }
  body { padding-bottom: 64px; }
  .mobile-call { display: block; }
  aside.cta-box { position: static; }
}
@media (min-width: 901px) {
  .nav-toggle { display: none; }
}
.nav-toggle {
  background: transparent; border: 1.5px solid var(--ink); border-radius: 8px;
  padding: 0.4rem 0.6rem; font-weight: 700; cursor: pointer;
}
