:root {
  --navy: #003366;
  --grey: #cccccc;
  --light: #f0f0f0;
  --white: #ffffff;
  --accent: #0b5cad;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  /* page always fills the screen; footer sits at the bottom */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; display: flex; flex-direction: column; }
main > * { width: 100%; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }

/* top bar */
.topbar { background: var(--navy); color: var(--white); font-size: 14px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.social { display: flex; gap: 14px; }
.social a { display: inline-flex; padding: 2px; }
.social a:hover { opacity: .8; }
.social .icon { width: 18px; height: 18px; fill: currentColor; }
.contact { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; flex-wrap: wrap; }
.contact li { display: flex; align-items: center; }
.contact a { display: inline-flex; align-items: center; gap: 6px; }
.contact .icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* header / nav */
.site-header { background: var(--grey); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 16px; }
.logo img { height: 64px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.main-nav a { display: block; padding: 10px 14px; color: var(--navy); text-decoration: none; font-size: 16px; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration: underline; }
.has-sub { position: relative; }
.sub { display: none !important; position: absolute; left: 0; top: 100%; background: var(--grey); min-width: 170px; flex-direction: column; box-shadow: 0 4px 8px rgba(0,0,0,.2); }
.has-sub:hover .sub, .has-sub.open .sub { display: flex !important; }
.menu-toggle { display: none; background: var(--navy); color: var(--white); border: 0; padding: 8px 14px; font-size: 14px; border-radius: 3px; cursor: pointer; }

@media (max-width: 800px) {
  /* phones: one tidy row in the top bar */
  .topbar-inner { flex-wrap: nowrap; }
  .contact { gap: 16px; }
  .contact .hours { display: none; }
  .eml-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-inner { min-height: 72px; }
  .logo img { height: 52px; }
  .menu-toggle { display: block; flex-shrink: 0; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--grey); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .sub { position: static; display: none !important; box-shadow: none; padding-left: 16px; }
  .has-sub.open .sub { display: flex !important; }
  .has-sub:hover .sub { display: none !important; }
  .has-sub.open:hover .sub { display: flex !important; }
}

/* home cards */
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-card { position: relative; display: block; color: var(--white); text-decoration: none; aspect-ratio: 4 / 3; max-height: 480px; overflow: hidden; }
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero-card:hover img { transform: scale(1.04); }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,51,102,.75), rgba(0,51,102,.1)); }
.hero-card-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 24px; }
.hero-card-text { padding: 36px 32px; }
.hero-card h2 { margin: 0 0 16px; font-size: 2.4rem; color: var(--white); }
@media (max-width: 800px) {
  .hero-cards { grid-template-columns: 1fr; }
  .hero-card { max-height: none; }
  .hero-card-text { padding: 24px; }
  .hero-card h2 { font-size: 2rem; }
}

/* home intro strip: fills the rest of the screen under the photos */
.home-intro { flex: 1; background: var(--light); display: flex; align-items: center; padding: 48px 0; text-align: center; }
.home-intro h1 { margin: 0 0 8px; font-size: 2rem; }
.home-intro p { margin: 0 auto; max-width: 720px; font-size: 1.1rem; }
.home-intro .cta { justify-content: center; margin-bottom: 0; }
.btn.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn.btn-outline:hover { background: var(--navy); color: var(--white); }

/* buttons */
.btn { display: inline-block; background: var(--navy); color: var(--white); padding: 10px 22px; border: 0; border-radius: 3px; text-decoration: none; font-size: 15px; cursor: pointer; }
.btn:hover { background: #00264d; }
.hero-card .btn { background: var(--white); color: var(--navy); }
.cta { margin: 28px 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* pages */
.page { padding-top: 32px; padding-bottom: 48px; }
.page h1 { font-size: 2rem; margin-top: 0; text-align: center; }
.page h2 { margin-top: 32px; }
.lead { font-size: 1.1rem; }
.price-link { text-align: center; }
.block { margin: 24px 0; }
.block h3 { margin-bottom: 4px; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 26px; position: relative; margin: 6px 0; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.cols { columns: 2; column-gap: 40px; }
@media (max-width: 600px) { .cols { columns: 1; } }

/* about */
.about-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-service { display: flex; flex-direction: column; padding: 20px; background: var(--light); border-top: 4px solid var(--navy); border-radius: 3px; color: var(--navy); text-decoration: none; }
.about-service:hover { box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.about-service h3 { margin: 0 0 8px; }
.about-service p { margin: 0 0 12px; flex: 1; }
.about-service .more { color: var(--accent); font-weight: 600; }
@media (max-width: 700px) { .about-services { grid-template-columns: 1fr; } }

/* gallery */
.gallery { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: 3px; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 92vw; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 28px; padding: 8px 16px; cursor: pointer; border-radius: 3px; }
.lightbox .close { top: 16px; right: 16px; }
.lightbox .prev { left: 16px; top: 50%; }
.lightbox .next { right: 16px; top: 50%; }

/* pricing */
.qa dt { font-weight: 700; margin-top: 12px; }
.qa dd { margin: 0 0 4px; }
.prices { border-collapse: collapse; width: 100%; max-width: 520px; }
.prices th, .prices td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--grey); }
.prices td { font-weight: 700; text-align: right; }
.note { font-size: .9rem; }

/* faq */
.tabs { display: flex; justify-content: center; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 8px 14px; font: inherit; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; color: var(--navy); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button.active { border-bottom-color: var(--navy); }
.faq { border-bottom: 1px solid var(--grey); }
.faq summary { cursor: pointer; padding: 16px 4px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq-body { padding: 0 4px 16px; }
.faq[hidden] { display: none; }

/* footer: slim bar fixed to the bottom of the screen on every page */
:root { --footer-h: 36px; }
body { padding-bottom: var(--footer-h); }
.site-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; min-height: var(--footer-h); display: flex; align-items: center; background: var(--navy); color: var(--white); font-size: 12px; box-shadow: 0 -1px 4px rgba(0,0,0,.2); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { width: 100%; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 800px) {
  .footer-hours, .footer-copy { display: none; }
}
