/* Mrs. Mauro's Potica, Plumber in Denver, CO. Local stylesheet, no remote assets. */

:root {
  --ink: #232a36;
  --muted: #4b5463;
  --paper: #faf7f1;
  --white: #ffffff;
  --tint: #f2ecdf;
  --navy: #1e3a5c;
  --navy-deep: #152a45;
  --copper: #9a5f22;
  --copper-soft: #c98f3f;
  --line: #d9d3c4;
  --radius-card: 14px;
  --radius-photo: 18px;
  --maxw: 1120px;
  --gutter: 24px;
  --section-y: clamp(64px, 8vw, 120px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip:focus-visible { top: 12px; color: #ffffff; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 1em; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }

:focus-visible {
  outline: 3px solid var(--copper-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--copper);
  margin: 0 0 0.9em;
}

.section-lead { max-width: 62ch; color: var(--muted); }

/* ---------- Buttons: dark text on light, light text on dark ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

a.btn-primary, .btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}
a.btn-primary:hover, .btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #ffffff; }

a.btn-secondary, .btn-secondary {
  background: #ffffff;
  border-color: var(--navy);
  color: var(--navy);
}
a.btn-secondary:hover, .btn-secondary:hover { background: var(--tint); color: var(--navy-deep); }

a.btn-light, .btn-light {
  background: #f7f1e4;
  border-color: #f7f1e4;
  color: var(--navy-deep);
}
a.btn-light:hover, .btn-light:hover { background: #ffffff; border-color: #ffffff; color: var(--navy-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand { margin-right: auto; text-decoration: none; }
.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ink);
}
.brand-sub {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.nav-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 88px;
  margin-left: 12px;
  padding: 10px 18px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  background: #ffffff;
  cursor: pointer;
  flex: none;
}
.nav-check:focus-visible + .nav-btn { outline: 3px solid var(--copper-soft); outline-offset: 2px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--navy); text-decoration: underline; }

.header-cta { flex: none; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy p.proof { color: var(--muted); max-width: 56ch; }

.hero-card {
  background: var(--navy);
  color: #eef2f7;
  border-radius: var(--radius-photo);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--navy-deep);
}
.hero-card h2 {
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.8em;
}
.hero-card dl { margin: 0; display: grid; gap: 14px; }
.hero-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper-soft);
  font-weight: 700;
}
.hero-card dd { margin: 2px 0 0; font-size: 1rem; }
.hero-card a { color: #ffffff; }
.hero-card .stars { color: var(--copper-soft); letter-spacing: 0.12em; }
.hero-caption {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Stat strip ---------- */
.strip { background: var(--navy-deep); color: #eef2f7; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.strip-grid li { border-top: 3px solid var(--copper-soft); padding-top: 14px; }
.strip-num { display: block; font-size: 1.7rem; font-weight: 800; color: #ffffff; line-height: 1.1; }
.strip-label { font-size: 0.95rem; color: #cfd8e3; }

/* ---------- Sections: alternating quiet and rich ---------- */
.band-quiet { background: var(--white); }
.band-rich { background: var(--tint); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2.2em;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 26px;
}
.band-rich .card { background: var(--white); }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .rule {
  width: 40px;
  height: 4px;
  background: var(--copper-soft);
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ---------- Proof ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: 2em;
}
.rating-panel {
  background: var(--navy);
  color: #eef2f7;
  border-radius: var(--radius-card);
  border: 1px solid var(--navy-deep);
  padding: clamp(24px, 3vw, 36px);
  text-align: left;
}
.rating-panel .big { font-size: 3rem; font-weight: 800; color: #ffffff; line-height: 1; }
.rating-panel .stars { color: var(--copper-soft); letter-spacing: 0.14em; font-size: 1.2rem; }
.rating-panel p { color: #cfd8e3; font-size: 0.98rem; margin: 0.8em 0 0; }
.rating-panel a { color: #ffffff; }

.topic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.topic-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
}
.topic-list strong { display: block; color: var(--ink); }
.topic-list span { color: var(--muted); font-size: 0.98rem; }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 2.2em 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.steps li {
  counter-increment: step;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  padding: 28px 26px;
}
.steps li::before {
  content: "Step " counter(step);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper);
  margin-bottom: 10px;
}
.steps h3 { margin-bottom: 0.4em; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Visit / area served (rich navy) ---------- */
.band-navy { background: var(--navy-deep); color: #e9eef5; }
.band-navy h2, .band-navy h3 { color: #ffffff; }
.band-navy .eyebrow { color: var(--copper-soft); }
.band-navy p { color: #cfd8e3; }
.band-navy a:not(.btn) { color: #ffffff; }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: 1.6em;
}
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours-table caption { text-align: left; font-weight: 700; color: #ffffff; padding-bottom: 10px; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.hours-table th { font-weight: 500; color: #e9eef5; }
.hours-table td { text-align: right; color: #ffffff; white-space: nowrap; }
.address-block {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-card);
  padding: 26px;
}
.address-block address { font-style: normal; }
.address-block .place { font-size: 1.15rem; font-weight: 700; color: #ffffff; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  margin-top: 1.6em;
  align-items: start;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  background: var(--white);
}
.contact-card h3 { margin-bottom: 0.4em; }
.contact-card p { color: var(--muted); }
.contact-card a:not(.btn) { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #1a2230; color: #d7dde6; }
.footer-inner { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 32px; }
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 28px;
  margin-bottom: 28px;
}
.footer-cta p { margin: 0; font-size: 1.25rem; font-weight: 700; color: #ffffff; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
.footer-cols h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: #aeb8c6; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { color: #e6ebf2; text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; color: #ffffff; }
.site-footer a.btn-light, .site-footer a.btn-light:hover { color: var(--navy-deep); }

@media (min-width: 861px) {
  .nav-check { display: none; }
}
.footer-base {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  color: #aeb8c6;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .nav-btn { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav { display: none; width: 100%; order: 3; }
  .nav-check:checked ~ .site-nav { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    white-space: normal;
    border-top: 1px solid var(--line);
  }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 14px 4px; font-size: 1.02rem; }
  .hero-grid, .proof-grid, .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .btn-row .btn { width: 100%; }
}
