/* Seguin Property Care. Tokens from business-build/2-brand/brand-kit.md */
:root {
  --blue: #16384C;
  --deep: #0F2735;
  --granite: #3A3F44;
  --paper: #F7F5F1;
  --paper2: #EFEAE2;
  --orange: #F26419;
  --line: #B9B2A6;
  --white: #FFFFFF;
  --rail-w: 240px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--granite);
  background: var(--paper);
}

h1, h2, h3 { font-family: 'Archivo', system-ui, sans-serif; color: var(--blue); }

a { color: var(--blue); }
a:focus-visible, .btn-call:focus-visible, .callbar:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- left rail (desktop) ---------- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  background: linear-gradient(180deg, var(--blue), var(--deep));
  color: var(--paper);
  padding: 40px 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  overflow-y: auto;
}
@media (max-height: 700px) {
  .rail { gap: 16px; padding: 26px 22px; }
}
.rail-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: 0.5px;
  display: block;
}
.rail-sub {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 3px;
  margin-top: 10px;
  opacity: 0.85;
}
.rail-phone {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.rail-phone:hover { text-decoration: underline; }
.rail-hours { font-size: 0.85rem; opacity: 0.9; }
.rail-towns { font-size: 0.85rem; line-height: 1.55; opacity: 0.9; }
.rail-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}
.rail-insured { margin-top: auto; font-size: 0.85rem; opacity: 0.9; }

/* ---------- top bar + call bar (mobile only) ---------- */
.topbar { display: none; }
.callbar { display: none; }

/* ---------- content ---------- */
main { margin-left: var(--rail-w); }
main > section { padding: 72px 56px; max-width: 1000px; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--granite);
  margin-bottom: 18px;
}
.hero { padding-top: 96px; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.5px;
  max-width: 17ch;
}
.lead { margin: 26px 0 34px; max-width: 58ch; font-size: 1.15rem; }

.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
/* Buttons are Lake Blue: orange belongs to the rail phone (desktop) and the
   call bar (mobile) only, one orange element per viewport. */
.btn-call {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 16px 30px;
  text-decoration: none;
  border-radius: 4px;
}
.btn-call:hover { background: var(--deep); }
.link-quiet { font-weight: 600; }
.trust-line { margin-top: 26px; font-size: 0.92rem; color: var(--granite); }

/* ---------- price board (signature) ---------- */
.board { background: var(--paper); }
.board h2, .watch h2, .steps h2, .jobs h2, .about h2, .towns h2, .winter h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.board-intro { margin-bottom: 34px; font-size: 1.1rem; }
.board-rows { border-top: 3px solid var(--blue); }
.board-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: 14px 0;
  border-bottom: 1px dotted var(--line);
}
.board-row dt { font-size: 1.1rem; }
.board-row dd {
  margin: 0;
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.board-row dd::before {
  content: "";
  flex: 1;
  border-bottom: 2px dotted var(--line);
  margin: 0 16px;
  transform: translateY(-8px);
}
.board-row .unit { font-size: 1.05rem; font-weight: 700; }
.board-note { margin-top: 22px; font-size: 0.95rem; max-width: 62ch; }

/* ---------- photo band ---------- */
.band { margin: 0; }
.band img { display: block; width: 100%; height: 340px; object-fit: cover; }

/* ---------- cottage watch ---------- */
.watch { background: var(--paper2); max-width: none !important; padding-top: 88px; padding-bottom: 88px; }
.watch > * { max-width: 1000px; }
.watch-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-top: 22px;
  align-items: start;
}
.watch-grid p + p { margin-top: 14px; }
.watch-table {
  border-collapse: collapse;
  width: 100%;
  background: var(--paper);
  border: 3px solid var(--blue);
}
.watch-table caption {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  background: var(--blue);
  color: var(--paper);
  font-size: 0.95rem;
}
.watch-table th, .watch-table td { padding: 14px 16px; border-bottom: 1px dotted var(--line); }
.watch-table tr:last-child th, .watch-table tr:last-child td { border-bottom: none; }
.watch-table th { text-align: left; font-weight: 600; }
.watch-table td {
  text-align: right;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.watch-note { margin: 22px 0 30px; font-size: 0.95rem; max-width: 62ch; }

/* ---------- steps ---------- */
.steps { padding-top: 56px; padding-bottom: 56px; }
.steps ol { margin: 26px 0 0 0; list-style: none; counter-reset: step; max-width: 62ch; }
.steps li {
  counter-increment: step;
  padding: 18px 0 18px 76px;
  position: relative;
  border-bottom: 1px dotted var(--line);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--blue);
  width: 56px;
  text-align: right;
}
.steps li strong { color: var(--blue); }

/* ---------- jobs ---------- */
.jobs { background: var(--paper2); max-width: none !important; }
.jobs > * { max-width: 1000px; }
.jobs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  margin-top: 26px;
}
.jobs-list > div {
  display: flex;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
}
.jobs-list dt { font-weight: 600; }
.jobs-list dd { margin-left: auto; font-size: 0.95rem; white-space: nowrap; padding-left: 16px; }
.jobs-note { margin-top: 24px; font-size: 0.95rem; max-width: 66ch; }

/* ---------- winter ---------- */
.winter-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.winter-grid p { margin-top: 14px; max-width: 52ch; }
.winter-grid img { width: 100%; display: block; border: 4px solid var(--blue); }
.winter-grid figure { margin: 0; }

/* ---------- about ---------- */
.about { padding-top: 60px; padding-bottom: 84px; }
.about p { max-width: 62ch; margin-top: 14px; font-size: 1.1rem; }

/* ---------- towns: board-style zone rows, not cards ---------- */
.towns { background: var(--paper2); max-width: none !important; }
.towns > * { max-width: 1000px; }
.zone-rows { border-top: 3px solid var(--blue); margin-top: 26px; }
.zone-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px dotted var(--line);
}
.zone-row dt { font-size: 1rem; max-width: 60ch; }
.zone-row dt strong { color: var(--blue); }
.zone-row dd {
  margin-left: auto;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--blue);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.zone-note { margin-top: 26px; font-size: 0.95rem; max-width: 62ch; }

/* ---------- footer ---------- */
footer {
  margin-left: var(--rail-w);
  background: var(--deep);
  color: var(--paper);
  padding: 48px 56px 120px;
}
.foot-id { display: flex; gap: 28px; flex-wrap: wrap; align-items: baseline; }
.foot-name { font-family: 'Archivo', sans-serif; font-weight: 900; letter-spacing: 0.5px; }
footer a { color: var(--paper); }
.foot-credits { margin-top: 20px; font-size: 0.8rem; opacity: 0.75; max-width: 80ch; }
.foot-credits a { opacity: 1; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .rail { display: none; }
  main, footer { margin-left: 0; }
  main > section { padding: 48px 22px; }
  .hero { padding-top: 36px; }

  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--blue);
    color: var(--paper);
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 5;
  }
  .topbar-name {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 1px;
  }
  .topbar-name { font-size: 0.8rem; white-space: nowrap; }
  @media (max-width: 360px) { .topbar-name { font-size: 0.68rem; letter-spacing: 0.5px; } }
  .topbar-phone {
    color: var(--paper);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--paper);
    padding: 11px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .callbar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--orange);
    color: var(--white);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 1.3rem; /* 20.8px bold = WCAG large text; 3.2:1 passes AA-large */
    text-align: center;
    padding: 16px;
    text-decoration: none;
    z-index: 6;
  }

  .watch-grid, .winter-grid, .jobs-list { grid-template-columns: 1fr; }
  .zone-row { flex-direction: column; gap: 4px; }
  .zone-row dd { margin-left: 0; }
  .board-row dd::before { margin: 0 10px; }
  .winter-grid { gap: 26px; }
  .band img { height: 220px; }
  .board-row dd { font-size: 1.35rem; }
  footer { padding-bottom: 140px; }
}
