/* Better Than New — site styles
   Colors are set once here; change them to restyle the whole site. */
:root {
  --navy: #1b2a3a;
  --navy-2: #24384d;
  --accent: #e08a1e;
  --accent-dark: #b86d0f;
  --ink: #1f2933;
  --muted: #5a6672;
  --line: #dde3e8;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --radius: 10px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--accent-dark); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover, .btn-outline:focus { background: rgba(255,255,255,.12); }
.btn-lg { padding: 18px 34px; font-size: 1.15rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* Header */
.topbar { background: var(--navy); color: #cfd8e1; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { font-weight: 800; font-size: 1.35rem; color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); }
.nav .btn { padding: 10px 18px; margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--accent-dark); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 1rem; font-weight: 600; color: var(--navy); cursor: pointer; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(27,42,58,.96), rgba(36,56,77,.9)),
    repeating-linear-gradient(45deg, #2c4258 0 2px, transparent 2px 22px);
  color: #fff;
  padding: 80px 0;
}
.hero h1 { color: #fff; max-width: 760px; }
.hero p { color: #dbe3ea; font-size: 1.2rem; max-width: 640px; }
.hero .btn-row { margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: #cfd8e1; font-size: .95rem; padding: 0; list-style: none; }
.hero-badges li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.page-hero { background: var(--navy); color: #fff; padding: 48px 0; }
.page-hero h1 { color: #fff; margin: 0 0 .25em; }
.page-hero p { color: #dbe3ea; margin: 0; font-size: 1.1rem; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .icon { font-size: 2rem; line-height: 1; margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 700; text-decoration: none; }

.service { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service .icon { font-size: 2.6rem; line-height: 1; }
.service ul { margin: 0 0 1em; padding-left: 1.2em; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .service { grid-template-columns: 1fr; gap: 8px; } .service ul { columns: 1; } }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; padding: 44px 0; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { margin: 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band .btn { background: var(--navy); color: #fff; }
.cta-band .btn:hover { background: var(--navy-2); }

/* Gallery */
.gallery { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.project figure { margin: 0; position: relative; background: var(--bg-soft); }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.project figcaption {
  position: absolute; top: 8px; left: 8px;
  background: rgba(27,42,58,.85); color: #fff; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px;
}
.project figure.after figcaption { background: var(--accent); }
.project .info { padding: 16px 18px; }
.project .info h3 { margin: 0 0 .2em; font-size: 1.1rem; }
.project .info p { margin: 0; color: var(--muted); font-size: .95rem; }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; border: 2px dashed var(--line); border-radius: var(--radius); }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 50; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 6px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form .req { color: #b42318; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px;
  border: 1px solid #b9c3cc; border-radius: 8px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(224,138,30,.35); border-color: var(--accent); }
.form textarea { min-height: 140px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form .checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form .checks label { font-weight: 400; display: flex; align-items: center; gap: 8px; margin: 0; }
.form .checks input { width: auto; }
.hidden { display: none; }
.note { font-size: .9rem; color: var(--muted); }

.two-col { display: grid; gap: 40px; grid-template-columns: 2fr 1fr; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.contact-list .icon { font-size: 1.5rem; line-height: 1.4; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { font-size: 1.1rem; font-weight: 600; word-break: break-word; }
.towns { columns: 2; padding-left: 1.2em; margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #cfd8e1; padding: 44px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer ul a { text-decoration: none; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .85rem; }

/* Sticky mobile call bar */
.mobile-bar { display: none; }
@media (max-width: 600px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    box-shadow: 0 -2px 10px rgba(0,0,0,.15);
  }
  .mobile-bar a { padding: 14px 8px; text-align: center; font-weight: 700; text-decoration: none; color: #fff; background: var(--navy); }
  .mobile-bar a + a { background: var(--accent); }
  body { padding-bottom: 52px; }
}

/* Phones already have the Call Now bar at the bottom */
@media (max-width: 600px) { .topbar { display: none; } }
.project .single { background: var(--bg-soft); }
.project .single img { aspect-ratio: auto; object-fit: contain; }
.gallery { align-items: start; }
