/* Shared stylesheet for the catalogue and the six demo pages.
   In the purchased template this CSS sits inside the single HTML file,
   and the five colour variables are set once in :root. */
.t-catalogue { --brand: #334155; --brand-dark: #1e293b; --accent: #c2410c; --ink: #14202b; --tint: #f1f5f9; }
.t-plumber { --brand: #0b5cad; --brand-dark: #083b70; --accent: #c2410c; --ink: #14202b; --tint: #eef5fc; }
.t-dentist { --brand: #0f766e; --brand-dark: #134e4a; --accent: #be185d; --ink: #132a2a; --tint: #effaf8; }
.t-lawyer { --brand: #1e3a5f; --brand-dark: #12263f; --accent: #8a5a00; --ink: #1a1f29; --tint: #f5f2ea; }
.t-cleaner { --brand: #0e7490; --brand-dark: #164e63; --accent: #6d28d9; --ink: #10262d; --tint: #eefafc; }
.t-electrician { --brand: #1f2937; --brand-dark: #111827; --accent: #b45309; --ink: #111827; --tint: #fdf6e3; }
.t-landscaper { --brand: #2f6b2f; --brand-dark: #1e4620; --accent: #9a3412; --ink: #172217; --tint: #f1f7ee; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: var(--ink); background: #fff; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand-dark); }
svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero :focus-visible, .band :focus-visible, .site-footer :focus-visible, .demo :focus-visible { outline-color: #fff; }
.wrap { width: 100%; max-width: 70rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.skip { position: absolute; left: -999rem; top: 0; z-index: 20; padding: .75rem 1rem; background: #fff; color: var(--ink); }
.skip:focus { left: 0; }
.demo { background: var(--ink); color: #fff; font-size: .875rem; text-align: center; padding: .5rem 1.25rem; }
.demo p { margin: 0; }
.demo a { color: #fff; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 1.75rem; height: 1.75rem; color: var(--brand); }
.site-nav { order: 3; width: 100%; overflow-x: auto; }
.site-nav ul { display: flex; gap: 1.25rem; white-space: nowrap; }
.site-nav a { display: block; padding: .35rem 0; font-size: .95rem; color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--brand-dark); text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .65rem 1.2rem; border: 2px solid transparent; border-radius: .5rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--tint); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
section { padding: 3.5rem 0; scroll-margin-top: 6.5rem; }
.tint { background: var(--tint); }
.lead { font-size: 1.1rem; max-width: 40rem; }
.muted { color: #4a5560; }
.hero { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.eyebrow { margin-bottom: .75rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.ticks li { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .4rem; }
.hero-art { display: none; justify-content: center; }
.hero-art svg { width: 15rem; height: 15rem; padding: 3.5rem; border-radius: 50%; background: rgba(255, 255, 255, .12); stroke-width: 1.2; }
.band { padding: 1.5rem 0; background: var(--accent); color: #fff; }
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.band h2 { margin: 0 0 .25rem; font-size: 1.25rem; }
.band p { margin: 0; }
.grid { display: grid; gap: 1rem; margin-top: 2rem; }
.card { padding: 1.5rem; background: #fff; border: 1px solid rgba(0, 0, 0, .12); border-radius: .75rem; }
.card p { margin: 0; color: #4a5560; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50%; background: var(--tint); color: var(--brand-dark); }
.tint .icon { background: #fff; }
.quote-slot { margin-top: 2rem; padding: 2rem; background: #fff; border: 2px dashed var(--brand); border-radius: .75rem; text-align: center; }
.quote-slot p { margin: 0; }
.steps { display: grid; gap: 1rem; margin-top: 2rem; counter-reset: step; }
.steps li { position: relative; padding: 1.5rem 1.5rem 1.5rem 4.5rem; background: var(--tint); border-radius: .75rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 1.25rem; top: 1.4rem; display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.steps p { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips li { padding: .4rem 1rem; background: #fff; border: 1px solid rgba(0, 0, 0, .12); border-radius: 999px; }
.offer { margin-top: 2rem; padding: 2rem; border: 2px solid var(--brand); border-radius: .75rem; }
.offer .ticks { margin: 1rem 0 1.5rem; }
.offer .ticks svg { color: var(--brand-dark); }
.prices { margin-bottom: 1.5rem; }
.prices li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.prices strong { white-space: nowrap; }
details { margin-top: .75rem; background: #fff; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
summary { padding: 1rem 1.25rem; font-weight: 700; cursor: pointer; }
details p { margin: 0; padding: 0 1.25rem 1rem; }
.contact-grid { display: grid; gap: 2rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: .75rem; margin-bottom: 1rem; }
.contact-list svg { margin-top: .15rem; color: var(--brand-dark); }
.site-footer { padding: 3rem 0 1.5rem; background: var(--ink); color: #fff; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.05rem; }
.foot-grid { display: grid; gap: 2rem; }
address { font-style: normal; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 18rem; }
.legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .875rem; }
.legal p { margin: 0 0 .5em; }

/* Static preview of the contact form (demo pages only). */
.demo-form { display: grid; gap: 1rem; padding: 1.5rem; background: var(--tint); border-radius: .75rem; }
.demo-form .muted { margin: 0; font-size: .875rem; }
.form-note { margin: 0; padding: .75rem 1rem; background: #fff; border: 2px dashed var(--brand); border-radius: .5rem; font-size: .9rem; }
.lbl { display: block; margin-bottom: .3rem; font-weight: 600; }
.box { display: block; width: 100%; min-height: 2.9rem; padding: .7rem .8rem; border: 1px solid #5b6672; border-radius: .4rem; color: #4a5560; background: #fff; }
.box-tall { min-height: 7rem; }
.box-select { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.box-select::after { content: ""; border-left: .35rem solid transparent; border-right: .35rem solid transparent; border-top: .45rem solid #4a5560; }
.btn-static { cursor: default; justify-self: start; }
.btn-static:hover { background: var(--accent); }

/* Catalogue page only. */
.cat-card { display: flex; flex-direction: column; border-top-width: 6px; }
.cat-card p { margin-bottom: 1rem; }
.cat-card .btn { margin-top: auto; align-self: flex-start; }
.swatch-plumber { border-top-color: #0b5cad; }
.swatch-dentist { border-top-color: #0f766e; }
.swatch-lawyer { border-top-color: #1e3a5f; }
.swatch-cleaner { border-top-color: #0e7490; }
.swatch-electrician { border-top-color: #1f2937; }
.swatch-landscaper { border-top-color: #2f6b2f; }
.price-card { padding: 2rem; background: #fff; border: 2px solid var(--brand); border-radius: .75rem; }
.price-card .ticks svg { color: var(--brand-dark); }
.price { margin: 0 0 .75rem; font-size: 2.4rem; font-weight: 700; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 400; color: #4a5560; }
.plain { max-width: 46rem; }
.plain li { position: relative; margin-bottom: .6rem; padding-left: 1.25rem; }
.plain li::before { content: ""; position: absolute; left: 0; top: .65em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--brand); }
.notfound { min-height: 60vh; }

@media (min-width: 640px) {
  h1 { font-size: 2.6rem; }
  .grid, .row2 { grid-template-columns: repeat(2, 1fr); }
  .row2 { display: grid; gap: 1rem; }
  .steps, .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2rem; }
  section { padding: 5rem 0; scroll-margin-top: 4.5rem; }
  .site-nav { order: 0; width: auto; overflow: visible; }
  .hero-grid { grid-template-columns: 3fr 2fr; }
  .hero-art { display: flex; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid.four { grid-template-columns: repeat(4, 1fr); }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 2fr 3fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
