/* Bob's Home Services website — the design's own look (navy #1E3352, gold #D4AF37, maroon #6B1424; Archivo and
   Source Sans 3), with what every page shares: the footer, the legal pages, the phone layout, and the marks on what is
   still to be supplied. Plain CSS, no build step. */

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Source Sans 3', system-ui, sans-serif; color: #17202E; background: #FFFFFF; }
a { color: #1E3352; }
a:hover { color: #8C6A14; }
img { max-width: 100%; height: auto; }
* { box-sizing: border-box; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* What the owner still owes (hours, the email shown, the photos, the Meet Bob words): impossible to miss. */
mark.owed { background: #FFE58A; color: #3A2A00; padding: 1px 6px; border-radius: 4px; font-weight: 700; outline: 2px dashed #B58900; }

/* The consent line under every phone box (word for word — the carriers check it). */
.consent { display: block; font-weight: 400; font-size: 13px; line-height: 1.4; color: #4A5568; }

/* The footer every page shares. */
.site-footer { background: #17202E; color: #C9D2DE; font-size: 15px; }
.site-footer a { color: #C9D2DE; }
.site-footer a:hover { color: #E8C766; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 48px; padding-bottom: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-name, .footer-head { font-weight: 700; color: #FFFFFF; }
.footer-name { font-family: Archivo, sans-serif; font-size: 18px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid #2E3A4D; font-size: 14px; }

/* The short header the inner pages share (the legal pages, the portal note). */
.page-head { background: #1E3352; color: #FFFFFF; }
.page-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; }
.brand:hover { color: #FFFFFF; }
.brand-mark { width: 48px; height: 48px; border-radius: 10px; background: linear-gradient(145deg, #F6E3A1 0%, #D4AF37 45%, #A8841C 100%); border: 2px solid #E9CF75; display: flex; align-items: center; justify-content: center; font-family: Archivo, sans-serif; font-weight: 800; font-size: 16px; color: #6B1424; }
.brand-name { font-family: Archivo, sans-serif; font-weight: 700; font-size: 22px; }
.page-head a.call { color: #FFFFFF; font-weight: 600; }

/* The legal pages: easy reading. */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; font-size: 17px; line-height: 1.6; }
.doc h1 { font-family: Archivo, sans-serif; font-weight: 800; font-size: 40px; line-height: 1.1; margin: 0 0 6px; }
.doc h2 { font-family: Archivo, sans-serif; font-weight: 700; font-size: 24px; margin: 34px 0 8px; }
.doc .updated { color: #4A5568; margin: 0 0 24px; }
.doc li { margin: 4px 0; }

/* A phone: one column, smaller headings, room to breathe — nothing wider than the screen. */
@media (max-width: 800px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .grid3, .grid2 { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-title { font-size: 40px !important; }
  .section-title { font-size: 30px !important; }
  section > div, main { padding-top: 48px !important; padding-bottom: 48px !important; }
  form { padding: 22px !important; }
}
@media (max-width: 480px) {
  .grid4, .footer-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-title { font-size: 34px !important; }
  .doc h1 { font-size: 32px; }
  nav[aria-label="Main"] { gap: 14px !important; font-size: 15px !important; }
}

/* A before/after pair (Home, Meet Bob): side by side, labeled, the same size whatever the photos' own shapes. To swap a
   photo, replace img/fireplace-before.jpg or img/fireplace-after.jpg — the page names them, nothing else changes. */
.pair-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pair { margin: 0; }
.pair-photo { position: relative; border-radius: 12px; overflow: hidden; background: #E1E5EB; aspect-ratio: var(--ratio, 3 / 4); }
.pair-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pair-label { position: absolute; left: 10px; top: 10px; background: #1E3352; color: #FFFFFF; font-family: Archivo, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 6px; }
.pair-photo:last-child .pair-label { background: #D4AF37; color: #14213A; }
.pair-caption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; text-align: center; }
.pair-caption strong { font-family: Archivo, sans-serif; font-weight: 800; font-size: 22px; color: #17202E; }
.pair-caption span { color: #4A5568; font-size: 16px; }

/* What customers say (Home): real reviews only. A sample (data-sample) is the preview's alone — taken out at publish. */
.review { margin: 0; background: #FFFFFF; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.5; color: #17202E; }
.review figcaption { font-weight: 700; color: #1E3352; }
.review-stars { color: #B8901E; font-size: 18px; letter-spacing: 2px; }
.google-reviews { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 2px solid #1E3352; border-radius: 8px; color: #1E3352; font-weight: 700; text-decoration: none; }

/* Recent work (Home): before/after pairs two to a row; on a phone one to a row, each pair before over after. */
.work-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; align-items: start; }
.pair[data-focus="right"] .pair-photo img { object-position: 75% 50%; }
@media (max-width: 800px) {
  .work-pairs { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pair-photos { grid-template-columns: minmax(0, 1fr); }
  .pair-photo { aspect-ratio: auto; }
  .pair-photo img { height: auto; }
}

/* A pair on the navy (the top of Home): its caption light. */
.pair--on-dark .pair-caption strong { color: #FFFFFF; }
.pair--on-dark .pair-caption span { color: #DCE3EE; }

/* Request service: "I am a…", the tenant's message, the uploads. */
[hidden] { display: none !important; }
.who-choice { display: flex; align-items: center; gap: 10px; border: 1px solid #B7C0CC; border-radius: 10px; padding: 12px 18px; min-height: 48px; font-weight: 600; cursor: pointer; }
.who-choice.is-picked { border: 2px solid #1E3352; background: #F2F4F7; }
.tenant-note { background: #F2F4F7; border-left: 4px solid #D4AF37; border-radius: 8px; padding: 18px 20px; font-size: 18px; line-height: 1.5; color: #17202E; }
.upload-box { border: 2px dashed #B7C0CC; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #4A5568; font-size: 16px; }
.upload-message { background: #FFF4E5; border: 1px solid #E8A33D; color: #5A3A00; border-radius: 8px; padding: 12px 14px; font-size: 15px; line-height: 1.4; }
.upload-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.upload-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid #E1E5EB; border-radius: 8px; }
.upload-list li span { min-width: 0; overflow-wrap: anywhere; }
.upload-list button { font: inherit; font-weight: 600; color: #1E3352; background: none; border: 1px solid #B7C0CC; border-radius: 6px; padding: 6px 12px; min-height: 36px; cursor: pointer; }

/* The portal page until the portal works. */
.portal-soon { background: #F2F4F7; border-left: 4px solid #D4AF37; border-radius: 8px; padding: 14px 18px; font-weight: 700; font-size: 19px; margin: 8px 0 20px; }

/* The form: the field robots fill and people never see; what sending is doing. */
.robot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send-status { flex-basis: 100%; font-size: 16px; color: #17202E; }
.send-status:empty { display: none; }
