/* Outlook Exterior Maintenance — static rebuild
   Like-for-like clone of the Customizr "blue" skin the WordPress site ran.
   Palette lifted from blue.min.css: #0077b3 primary, #005580 dark, #0099e6 light. */

:root {
  --blue: #0077b3;
  --blue-dark: #005580;
  --blue-light: #0099e6;
  --ink: #333;
  --muted: #777;
  --rule: #e5e5e5;
  --bg-soft: #f7f7f7;
  --wrap: 1170px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 400 14px/1.65 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

h1, h2, h3, h4 { color: #222; font-weight: 400; margin: 0 0 .6em; line-height: 1.25; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; background: #fff; padding: 10px; z-index: 100; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; max-width: var(--wrap); margin: 0 auto; flex-wrap: wrap; }
.site-logo img { max-height: 78px; width: auto; }
.tagline { color: var(--muted); font-size: 13px; font-style: italic; margin: 4px 0 0; }

.nav-toggle { display: none; background: #fff; border: 1px solid #ccc; border-radius: 4px; padding: 8px 12px; font-size: 15px; cursor: pointer; color: var(--ink); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav a { display: block; padding: 10px 14px; color: #555; font-size: 14px; border-radius: 3px; }
.main-nav a:hover { background: var(--bg-soft); color: var(--blue-dark); text-decoration: none; }
.main-nav a.active { color: var(--blue); font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 11px 20px; background: var(--blue); color: #fff; border: 1px solid var(--blue-dark); border-radius: 4px; font-size: 14px; line-height: 1.2; cursor: pointer; }
.btn:hover { background: var(--blue-dark); color: #fff; text-decoration: none; }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---------- slider ---------- */
.slider { position: relative; background: #111; overflow: hidden; }
.slide { display: none; position: relative; }
.slide.active { display: block; }
.slide img { width: 100%; height: 460px; object-fit: cover; display: block; opacity: .82; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; top: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.slide-caption h1 { color: #fff; font-size: 44px; margin: 0 0 22px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.slider-ctl { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.4); color: #fff; border: 0; width: 46px; height: 64px; font-size: 26px; cursor: pointer; line-height: 1; }
.slider-ctl:hover { background: rgba(0,0,0,.65); }
.slider-ctl.prev { left: 0; }
.slider-ctl.next { right: 0; }
.slider-dots { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; margin: 0 4px; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.slider-dots button[aria-current="true"] { background: #fff; }

/* ---------- featured trio ---------- */
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 46px 0 10px; text-align: center; }
.featured .thumb img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 0 0 1px var(--rule); }
.featured h2 { font-size: 22px; margin: 18px 0 6px; }
.featured p { color: var(--muted); margin-bottom: 16px; }

/* ---------- content ---------- */
.page-body { padding: 34px 0 50px; }
.page-body h1 { border-bottom: 1px solid var(--rule); padding-bottom: .35em; }
.entry a { text-decoration: underline; }
.contact-block { line-height: 2; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.gallery img { width: 100%; height: 150px; object-fit: cover; border: 1px solid var(--rule); }
.gallery a:hover img { border-color: var(--blue); }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 12px; color: var(--muted); line-height: 1.45; padding: 6px 2px 0; }

.lightbox { position: absolute; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 50; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92%; max-height: 86vh; width: auto; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); background: var(--bg-soft); margin-top: 30px; padding: 26px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.social a { display: inline-block; width: 34px; height: 34px; line-height: 32px; text-align: center; border: 1px solid #ccc; border-radius: 50%; color: var(--muted); margin-right: 6px; background: #fff; }
.social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; text-decoration: none; }
.social svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; }
.credits { color: var(--muted); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
  .slide img { height: 330px; }
  .slide-caption h1 { font-size: 30px; }
  .header-inner { padding: 14px 20px; }
  .nav-toggle { display: block; }
  .main-nav { flex-basis: 100%; display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 12px 6px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
