/* Corbel Facility Services — colors and type match the business card. */
:root {
  --navy: #1f3a5f;
  --navy-deep: #172c4a;
  --gold: #c8a24a;        /* gold on navy */
  --gold-text: #8c6a1f;   /* gold for text on white */
  --ink: #1f3a5f;
  --body: #333f4d;
  --muted: #5b6878;
  --line: #e3e7ec;
  --tint: #f5f7fa;
  --paper: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "Open Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow > * { max-width: 720px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: #fff; padding: 10px 0; }
.brand-name { font-size: 1.7rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1; }
.brand-what { margin-top: 5px; color: var(--gold); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); }
.nav a.btn-gold { color: var(--navy-deep); margin-left: 8px; padding: 9px 16px; }
.nav a.btn-gold:hover { background: #d6b25c; }
.menu-btn { display: none; background: none; border: 2px solid rgba(255, 255, 255, 0.6); color: #fff; font: inherit; font-weight: 700; font-size: 0.9rem; padding: 6px 14px; border-radius: 6px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 6px; font-weight: 700; text-decoration: none; letter-spacing: 0.02em; border: 0; font-family: inherit; font-size: 1rem; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #d6b25c; }
.btn-line { border: 2px solid rgba(255, 255, 255, 0.7); color: #fff; padding: 11px 24px; }
.btn-line:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; padding: 80px 20px 110px; }
.hero-inner { position: relative; z-index: 1; }
.hero .name { --word: clamp(3.6rem, 15vw, 8rem); margin: 0; color: #fff; font-size: var(--word); font-weight: 700; line-height: 1; letter-spacing: 0.03em; margin-right: -0.03em; }
.hero .sub { margin: 0.55em 0 0; font-size: clamp(0.75rem, 3vw, 1.6rem); font-weight: 600; letter-spacing: 0.55em; margin-right: -0.55em; }
.rule { width: 64px; height: 4px; margin: 28px auto 22px; border: 0; background: var(--gold); }
.hero .what { margin: 0; color: var(--gold); font-size: clamp(1.1rem, 3.6vw, 1.7rem); font-weight: 600; letter-spacing: 0.14em; margin-right: -0.14em; }
.hero .lede { max-width: 620px; margin: 24px auto 0; font-size: 1.15rem; color: #e6ecf3; }
.hero .actions { justify-content: center; margin-top: 34px; }
.swoosh { position: absolute; right: 0; bottom: 0; width: min(60%, 760px); height: 42%; pointer-events: none; }

/* ---------- Inner page header ---------- */
.page-head { background: var(--navy); color: #fff; padding: 52px 0 48px; border-bottom: 4px solid var(--gold); }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.7rem); margin: 0; }
.page-head p { margin: 12px 0 0; max-width: 640px; color: #e6ecf3; font-size: 1.12rem; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.tint { background: var(--tint); }
.label { margin: 0 0 10px; color: var(--gold-text); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.intro { max-width: 680px; margin-bottom: 36px; }
.grid { display: grid; gap: 22px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 8px; padding: 26px 24px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.2em; margin: 0 0 1em; }
.card li { margin-bottom: 0.35em; }
.split { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 0 0 14px 34px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.35em; width: 14px; height: 8px; border-left: 3px solid var(--gold-text); border-bottom: 3px solid var(--gold-text); transform: rotate(-45deg); }
.checks strong { color: var(--ink); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 20px 56px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; }
.vet { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; }
.vet svg { flex: none; width: 38px; height: 20px; }
.tagline { color: var(--gold-text); font-style: italic; font-weight: 600; font-size: 1.1rem; }
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #e6ecf3; max-width: 560px; margin: 0 auto; }
.cta .actions { justify-content: center; }
.notice { background: var(--tint); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 0 6px 6px 0; }
.notice p:last-child { margin: 0; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
dl.facts dt { font-weight: 700; color: var(--ink); }
dl.facts dd { margin: 0; }

/* ---------- Photo slots: drop a file into /images and it appears ---------- */
/* A slot stays hidden until its image file exists, so the site looks finished without photos. */
.photo { display: none; margin: 0; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--tint); }
.photo.loaded { display: block; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.split > div, .split > form { max-width: 720px; }

/* ---------- Forms ---------- */
form { display: grid; gap: 18px; }
.row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
label { display: block; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #b9c3cf; border-radius: 6px; font: inherit; color: var(--body); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Estimate ---------- */
.estimate { background: var(--navy); color: #fff; border-radius: 8px; border-bottom: 4px solid var(--gold); padding: 28px 26px; }
.estimate .label { color: var(--gold); }
.estimate-range { margin: 0; font-size: clamp(1.6rem, 4.5vw, 2.2rem); font-weight: 700; line-height: 1.2; }
.estimate-detail { margin: 10px 0 0; color: #e6ecf3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #d5dde7; padding: 48px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot h2 { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot .brand-name { color: #fff; display: block; margin-bottom: 8px; }
.foot .vet { color: #fff; margin-top: 14px; font-size: 0.78rem; }
.legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.15); color: #a9b6c6; font-size: 0.85rem; }

/* ---------- Mobile ---------- */
.callbar { display: none; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav a.btn-gold { margin: 8px 0 0; text-align: center; }
  section { padding: 48px 0; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); }
  .callbar a { padding: 14px 8px; text-align: center; font-weight: 700; text-decoration: none; font-size: 0.95rem; }
  .callbar .call { background: var(--navy-deep); color: #fff; }
  .callbar .quote { background: var(--gold); color: var(--navy-deep); }
  body { padding-bottom: 52px; }
}
