/* Blue Mountain Plumbing: example site (fictional business). */
:root {
  --color-primary: #1d5fd1;
  --color-on-primary: #ffffff;
  --blue: #1d5fd1;
  --blue-dark: #123f8f;
  --sky: #eef5ff;
  --sun: #ffc93c;
  --ink: #15233b;
  --muted: #4a5873;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--round); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #ffffff; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 6px var(--blue-dark); border-radius: 6px; }
.wrap { width: min(70rem, 100% - 2.5rem); margin-inline: auto; }

.example-bar { background: var(--sun); text-align: center; font-size: 0.875rem; padding: 0.45rem 1rem; }
.example-bar a { color: #3a2a00; font-weight: 600; }
.skip-link { position: absolute; left: -999px; top: 0; background: #ffffff; color: var(--ink); padding: 0.75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

.bar { position: sticky; top: 0; z-index: 30; background: #ffffff; box-shadow: 0 1px 0 #dfe7f3; }
.bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.brand svg { width: 2.4rem; height: 2.4rem; }
.brand small { display: block; font-weight: 600; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.2rem; }
.pill { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1.25rem; border-radius: 999px; background: var(--blue); color: #ffffff; font-weight: 700; text-decoration: none; }
.pill:hover { background: var(--blue-dark); }

.hero { background: linear-gradient(180deg, var(--sky), #ffffff); padding: 3rem 0 4rem; }
.hero__grid { display: grid; gap: 2rem; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.5rem); font-weight: 800; margin-bottom: 1rem; }
.hero h1 span { color: var(--blue); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.checks li { background: #ffffff; border: 1px solid #cfdcf0; border-radius: 999px; padding: 0.35rem 0.9rem 0.35rem 2rem; position: relative; font-weight: 600; font-size: 0.95rem; }
.checks li::before { content: ""; position: absolute; left: 0.75rem; top: 50%; width: 0.7rem; height: 0.4rem; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: translateY(-70%) rotate(-45deg); }

.quick { background: #ffffff; border-radius: 1.5rem; padding: 1.75rem; box-shadow: 0 12px 30px rgba(21, 35, 59, 0.12); border-top: 6px solid var(--blue); align-self: start; }
.quick h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.quick ul { margin: 0 0 1.25rem; padding-left: 1.2rem; color: var(--muted); }
.quick li { margin-bottom: 0.3rem; }
.call { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.5rem; border-radius: 1rem; background: var(--blue); color: #ffffff; font-size: 1.3rem; font-weight: 800; text-decoration: none; }
.call span { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 0.1rem 0.6rem; font-size: 0.9rem; }
.call:hover { background: var(--blue-dark); }
.quick__note { font-size: 0.9rem; color: var(--muted); margin: 0.75rem 0 0; text-align: center; }

.title { font-size: clamp(1.9rem, 4.5vw, 2.5rem); font-weight: 800; margin-bottom: 1.75rem; }
.steps-section { padding: 4rem 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps li { counter-increment: s; background: var(--sky); border-radius: 1.25rem; padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--blue); color: #ffffff; font-weight: 800; margin-bottom: 0.4rem; }
.steps b { font-size: 1.2rem; }
.steps span { color: var(--muted); }

.services { padding: 4rem 0; background: var(--ink); color: #ffffff; }
.services .title { color: #ffffff; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.cards article { background: #1f3152; border-radius: 1.25rem; padding: 1.4rem; border: 1px solid #2c426b; }
.cards h3 { font-size: 1.2rem; margin-bottom: 0.4rem; color: #ffffff; }
.cards h3::before { content: ""; display: block; width: 2rem; height: 0.35rem; border-radius: 999px; background: var(--sun); margin-bottom: 0.75rem; }
.cards p { margin: 0; color: #d3dcec; }

.area { padding: 4rem 0; }
.area__grid { display: grid; gap: 2rem; align-items: center; }
.area p { color: var(--muted); font-size: 1.1rem; }
.map svg { width: 100%; max-width: 22rem; display: block; margin: 0 auto; }

.faq { padding: 1rem 0 4.5rem; }
.faq details { max-width: 46rem; }
.faq details { border: 1px solid #d7e2f2; border-radius: 1rem; padding: 0 1.25rem; margin-bottom: 0.75rem; background: #ffffff; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 3.25rem; display: flex; align-items: center; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

.foot { background: var(--sky); padding: 2rem 0 2.5rem; font-size: 0.95rem; color: var(--muted); }
.foot__inner { display: grid; gap: 0.35rem; text-align: center; }
.foot__inner p { margin: 0; }
.foot__name { font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.foot a { color: var(--blue-dark); display: inline-block; min-height: 2.75rem; line-height: 2.75rem; }

@media (min-width: 52rem) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero__grid { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 3rem; }
  .area__grid { grid-template-columns: 1.2fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .foot__inner { grid-template-columns: repeat(4, auto); justify-content: space-between; text-align: left; align-items: center; }
}
