/* Patrick Q Pro Home Improvement Corp — My Innovation Studio
   Palette pulled from the logo: navy gradient + brushed gold */

:root {
  --navy-900: #061630;
  --navy-800: #0a1f45;
  --navy-700: #12315f;
  --navy-500: #1d4a8f;
  --gold: #c8a33c;
  --gold-bright: #efc75e;
  --paper: #f7f5f0;
  --paper-2: #efebe2;
  --ink: #15202f;
  --ink-soft: #4d5a6d;
  --line: rgba(10, 31, 69, 0.14);

  --shell: 1180px;
  --pad: clamp(20px, 5vw, 56px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.005em; }

p { margin: 0 0 1em; max-width: 66ch; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--pad);
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-bright);
  color: var(--navy-900);
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-900);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-bright); }

.btn-outline {
  border-color: rgba(239, 199, 94, 0.55);
  color: var(--gold-bright);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold-bright); background: rgba(239, 199, 94, 0.1); }

.btn-navy {
  background: var(--navy-700);
  color: #fff;
  border-color: var(--navy-700);
}
.btn-navy:hover { background: var(--navy-800); }

/* ---------- header ---------- */

.site-header {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(239, 199, 94, 0.25);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px;
}

.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }

.nav-toggle {
  display: none;
  min-height: 44px;
  background: transparent;
  border: 1px solid rgba(239, 199, 94, 0.5);
  color: var(--gold-bright);
  padding: 9px 14px;
  border-radius: 2px;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: #e9edf5;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--gold-bright); }
.nav a[aria-current="page"] { color: var(--gold-bright); border-bottom-color: var(--gold); }

.nav .nav-call {
  border: 1px solid var(--gold);
  color: var(--navy-900);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  padding: 11px 18px;
  border-radius: 2px;
  font-weight: 700;
}
.nav .nav-call:hover { color: var(--navy-900); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-800);
    border-bottom: 2px solid var(--gold);
    padding: 10px var(--pad) 22px;
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); min-height: 44px; display: flex; align-items: center; }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, 0.09); }
  .nav .nav-call { margin-top: 16px; text-align: center; justify-content: center; border-bottom: 0; }
  .brand img { height: 44px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(29, 74, 143, 0.75) 0%, rgba(6, 22, 48, 0) 62%),
    linear-gradient(170deg, var(--navy-800) 0%, var(--navy-900) 72%);
  color: #fff;
  overflow: hidden;
}

.hero-roofline {
  position: absolute;
  inset: auto 0 -2px 0;
  width: 100%;
  height: clamp(180px, 34vw, 380px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-block: clamp(44px, 7vw, 86px) clamp(80px, 14vw, 150px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.hero-aside {
  border-left: 1px solid rgba(239, 199, 94, 0.4);
  padding-left: clamp(20px, 3vw, 34px);
  margin-top: 12px;
}
.hero-aside h2 {
  font-size: 1.15rem;
  color: var(--gold-bright);
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.hero-aside ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.hero-aside li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: #e6ecf6;
  font-size: 0.97rem;
  font-weight: 500;
}
.hero-aside p {
  margin: 0;
  color: #a9b8ce;
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-aside {
    border-left: 0;
    border-top: 1px solid rgba(239, 199, 94, 0.4);
    padding-left: 0;
    padding-top: 26px;
    margin-top: 34px;
  }
}

.hero h1 { color: #fff; max-width: 15ch; }

.hero-lede {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: #cfdaea;
  max-width: 52ch;
}

.hero-rule {
  width: 84px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(200, 163, 60, 0));
  margin-bottom: 26px;
}

.hero-kicker {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-bright);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-phone {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  color: var(--gold-bright);
  text-decoration: none;
  margin-top: 34px;
  font-weight: 600;
}
.hero-phone span {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 0.92rem;
  color: #a9b8ce;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* trust strip */

.trust {
  background: var(--navy-900);
  border-top: 1px solid rgba(239, 199, 94, 0.28);
  border-bottom: 1px solid rgba(239, 199, 94, 0.28);
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust li {
  padding: 20px 10px;
  text-align: center;
  color: #e4ebf5;
  font-size: 0.97rem;
  font-weight: 500;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.trust li:first-child { border-left: 0; }
.trust strong { color: var(--gold-bright); font-weight: 700; }

@media (max-width: 680px) {
  .trust ul { grid-template-columns: 1fr; }
  .trust li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 15px; }
  .trust li:first-child { border-top: 0; }
}

/* ---------- generic sections ---------- */

.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(40px, 6vw, 68px); }
.section-paper { background: var(--paper-2); }
.section-navy { background: var(--navy-800); color: #dbe3ef; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section-navy .section-head p { color: #b9c6da; }

/* ---------- services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 64px);
  border-top: 2px solid var(--gold);
}

.service {
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
}

.service svg { width: 30px; height: 30px; margin-top: 4px; }
.service h3 { margin-bottom: 4px; }
.service p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
}

/* ---------- quality / pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(26px, 4vw, 48px);
}
.pillar { border-top: 2px solid var(--gold); padding-top: 18px; }
.pillar h3 { color: #fff; }
.section-navy .pillar p { color: #b9c6da; margin: 0; }

/* ---------- service areas ---------- */

.areas-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.town-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 30px;
}
.town-list li {
  break-inside: avoid;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 0.98rem;
}
.town-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  vertical-align: middle;
}

@media (max-width: 820px) {
  .areas-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .town-list { columns: 1; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    linear-gradient(100deg, var(--navy-800) 0%, var(--navy-700) 55%, var(--navy-500) 140%);
  color: #fff;
  border-top: 3px solid var(--gold);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding-block: clamp(38px, 6vw, 62px);
}
.cta-inner h2 { color: #fff; margin-bottom: 8px; max-width: 18ch; }
.cta-inner p { color: #c9d6e8; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- gallery ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy-700);
  padding: 9px 16px;
  border-radius: 2px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
}
.filter:hover { border-color: var(--gold); }
.filter[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--gold-bright);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.shot {
  border: 1px solid var(--line);
  background: #fff;
}
.shot[hidden] { display: none; }

.shot-frame {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.shot-frame svg { width: 120px; height: auto; opacity: 0.7; }
.shot-caption { padding: 14px 16px 16px; }
.shot-caption h3 { font-size: 1.05rem; margin-bottom: 3px; }
.shot-caption p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

.gallery-note {
  border-left: 3px solid var(--gold);
  background: #fff;
  padding: 18px 22px;
  margin-bottom: 34px;
}
.gallery-note p { margin: 0; color: var(--ink-soft); }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-field { margin-bottom: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy-800);
}

input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
input:hover, select:hover, textarea:hover { border-color: rgba(10, 31, 69, 0.3); }
textarea { min-height: 140px; resize: vertical; }

.form-hint { font-size: 0.88rem; color: var(--ink-soft); margin: 12px 0 0; }

.contact-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 26px;
  margin-bottom: 22px;
}
.contact-card h3 { margin-bottom: 10px; }
.contact-card p { margin-bottom: 14px; color: var(--ink-soft); }
.contact-card .big-phone {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}
.contact-card .big-phone:hover { color: var(--navy-500); }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.hours li:last-child { border-bottom: 0; }
.hours span { color: var(--ink-soft); }

/* ---------- page banner (inner pages) ---------- */

.page-banner {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding-block: clamp(42px, 7vw, 76px);
  border-bottom: 3px solid var(--gold);
}
.page-banner h1 { color: #fff; margin-bottom: 12px; }
.page-banner p { color: #c3d0e3; max-width: 58ch; margin: 0; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: #a9b8ce;
  padding-block: clamp(42px, 6vw, 64px) 26px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr;
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer img { height: 62px; width: auto; margin-bottom: 16px; }
.site-footer h3 {
  color: var(--gold-bright);
  font-size: 1.02rem;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.site-footer a { color: #cfdaea; text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer p { color: #a9b8ce; }

.footer-towns { line-height: 1.8; }

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.86rem;
  color: #8496b0;
}

/* ================= v2 additions: dropdown nav, reviews, service pages,
   gallery sections, areas page ================= */

/* --- nav dropdown --- */
.has-drop { position: relative; }
.drop-head { display: flex; align-items: center; }

.drop-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--gold-bright);
  padding: 6px;
  margin-left: 4px;
  cursor: pointer;
  line-height: 0;
}
.drop-toggle svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.has-drop.open .drop-toggle svg { transform: rotate(180deg); }

.drop-trigger::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.drop {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 250px;
  background: var(--navy-800);
  border: 1px solid rgba(239, 199, 94, 0.35);
  border-top: 2px solid var(--gold);
  display: none;
  z-index: 60;
}
.drop li { padding: 0; }
.nav .drop a {
  display: block;
  padding: 10px 18px;
  border-bottom: 0;
  color: #dfe6f1;
  font-size: 0.95rem;
}
.nav .drop a:hover { background: var(--navy-700); color: var(--gold-bright); }

/* mouse users: open on hover. keyboard: open on focus. */
@media (hover: hover) and (min-width: 881px) {
  .has-drop:hover .drop,
  .has-drop:focus-within .drop { display: block; }
}
/* touch screens at desktop width: the caret opens it */
@media (min-width: 881px) {
  .has-drop.open .drop { display: block; }
}
@media (hover: none) and (min-width: 881px) {
  .drop-toggle { display: inline-flex; }
  .drop-trigger::after { display: none; }
}

/* --- mobile menu --- */
@media (max-width: 880px) {
  .drop-toggle { display: inline-flex; padding: 12px; margin-left: auto; }
  .drop-trigger::after { display: none; }

  .has-drop { position: static; }
  .drop-head {
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .nav .drop-head a { flex: 1; border-bottom: 0; }

  .drop {
    display: none;
    position: static;
    border: 0;
    border-left: 1px solid rgba(239, 199, 94, 0.4);
    background: rgba(0, 0, 0, 0.18);
    padding: 4px 0 4px 14px;
    margin: 0 0 0 4px;
    min-width: 0;
  }
  .has-drop.open .drop { display: block; }
  .nav .drop a {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.94rem;
  }
  .nav .drop li:last-child a { border-bottom: 0; }
}

/* --- home service cards --- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 0;
  border-top: 2px solid var(--gold);
}
.service-card {
  padding: 26px clamp(18px, 2.5vw, 30px) 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.service-card svg { width: 30px; height: 30px; margin-bottom: 14px; }
.service-card h3 { margin-bottom: 6px; font-size: 1.16rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--navy-500); }
.service-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.96rem; }

.card-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.card-link:hover { color: var(--navy-500); border-bottom-color: var(--navy-500); }

.after-cards { margin-top: 26px; color: var(--ink-soft); }

/* --- reviews --- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.reviews-head h2 { margin-bottom: 6px; }
.reviews-head p { margin: 0; color: var(--ink-soft); }

.google-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 20px;
}
.google-badge .g-mark { width: 34px; height: 34px; flex: none; }
.google-badge strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: var(--navy-800);
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.google-badge span { display: block; font-size: 0.85rem; color: var(--ink-soft); }

.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 15px; height: 15px; fill: #f5a623; }

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.reviews-grid .review { flex: 1 1 300px; max-width: 380px; }
.review {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 22px;
}
.review blockquote { margin: 14px 0 16px; flex: 1; }
.review blockquote p { margin: 0; font-size: 0.98rem; color: var(--ink); }
.review figcaption { font-weight: 600; font-size: 0.94rem; color: var(--navy-800); }
.review figcaption span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.88rem; }

.review-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.review-cta p { margin: 0; color: var(--ink-soft); }
.review-cta .g-mark, .contact-card .g-mark { width: 20px; height: 20px; background: #fff; padding: 2px; border-radius: 2px; }

/* --- services hub rows --- */
.service-rows { border-top: 2px solid var(--gold); }
.service-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.service-row-mark svg { width: 34px; height: 34px; }
.service-row h2 { font-size: 1.5rem; margin-bottom: 8px; }
.service-row h2 a { color: inherit; text-decoration: none; }
.service-row h2 a:hover { color: var(--navy-500); }
.service-row p { color: var(--ink-soft); margin-bottom: 12px; }
@media (max-width: 560px) {
  .service-row { grid-template-columns: 1fr; gap: 12px; }
}

/* --- service detail pages --- */
.crumbs { font-size: 0.88rem; color: #9fb0c8; margin-bottom: 16px; }
.crumbs a { color: #cfdaea; text-decoration: none; }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs span[aria-hidden] { padding: 0 6px; color: rgba(255,255,255,0.35); }

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 960px) {
  .service-layout { grid-template-columns: 1fr; }
}
.service-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 44px;
}
.service-body > h2:first-child { margin-top: 0; }

.check-list, .signs { list-style: none; margin: 22px 0 0; padding: 0; }
.check-list { columns: 2; column-gap: 34px; }
.check-list li, .signs li {
  break-inside: avoid;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.97rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.signs li::before {
  content: "";
  position: absolute;
  left: 3px; top: 18px;
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
@media (max-width: 620px) { .check-list { columns: 1; } }

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
  margin-top: 22px;
}
.benefit { border-top: 2px solid var(--gold); padding-top: 14px; }
.benefit h3 { font-size: 1.08rem; margin-bottom: 6px; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 620px) { .benefits { grid-template-columns: 1fr; } }

.process { list-style: none; counter-reset: step; margin: 22px 0 0; padding: 0; }
.process li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
  border-left: 1px solid var(--line);
  margin-left: 15px;
}
.process li:last-child { border-left-color: transparent; padding-bottom: 0; }
.process li::before {
  content: counter(step);
  position: absolute;
  left: -16px; top: -2px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--gold-bright);
  font-size: 0.9rem;
  font-weight: 600;
}
.process h3 { font-size: 1.06rem; margin-bottom: 4px; }
.process p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--navy-800);
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 14px;
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

.service-aside { position: sticky; top: 96px; }
@media (max-width: 960px) { .service-aside { position: static; } }

.estimate-card {
  background: var(--navy-800);
  color: #cfdaea;
  padding: 26px;
  border-top: 3px solid var(--gold);
}
.estimate-card h2 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.estimate-card p { color: #b9c6da; font-size: 0.95rem; }
.estimate-card .big-phone {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  color: var(--gold-bright);
  text-decoration: none;
  margin: 6px 0 16px;
}
.estimate-card .btn { width: 100%; justify-content: center; }
.mini-facts { list-style: none; margin: 20px 0 0; padding: 0; }
.mini-facts li {
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,0.13);
  font-size: 0.92rem;
  color: #cfdaea;
}

.related-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px 26px;
  margin-top: 22px;
}
.related-card h2 { font-size: 1.15rem; margin-bottom: 10px; }
.related-card ul { list-style: none; margin: 0; padding: 0; }
.related-card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.related-card li:last-child { border-bottom: 0; }
.related-card a { color: var(--navy-700); text-decoration: none; }
.related-card a:hover { color: var(--navy-500); text-decoration: underline; }

/* --- chips (gallery + areas jump links) --- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}
.chip {
  border: 1px solid var(--line);
  color: var(--navy-700);
  padding: 9px 16px;
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  background: #fff;
}
.chip:hover { border-color: var(--gold); color: var(--navy-500); }

/* --- gallery sections --- */
.gallery-section { margin-bottom: clamp(38px, 6vw, 62px); scroll-margin-top: 90px; }
.gallery-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid var(--gold);
  padding-top: 14px;
  margin-bottom: 22px;
}
.gallery-section-head h2 { font-size: 1.6rem; margin: 0; }

/* --- areas we serve --- */
.towns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 0;
  border-top: 2px solid var(--gold);
}
.town {
  padding: 26px clamp(18px, 2.5vw, 30px) 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.town h2 { font-size: 1.3rem; margin-bottom: 8px; }
.town p { color: var(--ink-soft); font-size: 0.96rem; }
.town-services {
  font-size: 0.85rem;
  color: var(--navy-700);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-bottom: 14px;
}
.areas-extra {
  margin-top: 46px;
  border-left: 3px solid var(--gold);
  background: #fff;
  padding: 24px 26px;
}
.areas-extra h2 { font-size: 1.3rem; }
.areas-extra p { margin: 0; color: var(--ink-soft); }

/* --- town list links on home --- */
.town-list a { text-decoration: none; color: var(--ink); }
.town-list a:hover { color: var(--navy-500); text-decoration: underline; }

/* --- footer towns row --- */
.footer-towns-row { padding-top: 24px; }
.footer-towns-row h3 {
  color: var(--gold-bright);
  font-family: "Archivo", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* --- second phone number --- */
.hero-phone-alt {
  margin: 8px 0 0;
  font-size: 0.98rem;
  color: #a9b8ce;
}
.hero-phone-alt a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(239, 199, 94, 0.45);
  padding-bottom: 1px;
}
.hero-phone-alt a:hover { border-bottom-color: var(--gold-bright); }

.estimate-card .alt-phone {
  margin: -8px 0 16px;
  font-size: 0.95rem;
  color: #b9c6da;
}
.estimate-card .alt-phone a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
}
.estimate-card .alt-phone a:hover { text-decoration: underline; }

.contact-card .big-phone.second {
  font-size: 1.35rem;
  color: var(--navy-700);
  margin-top: -6px;
}
.call-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.call-buttons .btn { flex: 1 1 auto; justify-content: center; font-size: 0.95rem; padding-inline: 18px; }
.contact-card .big-phone { display: block; margin-bottom: 4px; }
.contact-card .big-phone.second { margin: 0 0 14px; }

/* ================= v3: real photos, lightbox, connect links page ================= */

/* --- hero photo --- */
.hero-shot {
  margin: 10px 0 0;
  position: relative;
}
.hero-shot img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(239, 199, 94, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.hero-shot figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: #a9b8ce;
  border-left: 2px solid var(--gold);
  padding-left: 10px;
}
@media (max-width: 900px) {
  .hero-shot { margin-top: 30px; }
}

/* --- photo tiles --- */
.shot.has-photo .shot-frame { background: var(--navy-900); cursor: zoom-in; }
.shot.has-photo .shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.shot.has-photo:hover .shot-frame img { transform: scale(1.04); }
.shot-frame { overflow: hidden; }

/* --- lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 12, 26, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 84vh;
  width: auto;
  border: 1px solid rgba(239, 199, 94, 0.5);
}
.lightbox-cap {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  text-align: center;
  color: #cfdaea;
  font-size: 0.95rem;
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 18px;
  background: transparent;
  border: 1px solid rgba(239, 199, 94, 0.55);
  color: var(--gold-bright);
  font: inherit;
  font-size: 1rem;
  padding: 10px 16px;
  cursor: pointer;
  min-height: 44px;
}
.lightbox-close:hover { background: rgba(239, 199, 94, 0.12); }

/* --- connect / links page --- */
body:has(.connect) { background: var(--navy-900); }
.connect {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(29, 74, 143, 0.75) 0%, rgba(6, 22, 48, 0) 60%),
    linear-gradient(170deg, var(--navy-800) 0%, var(--navy-900) 70%);
  padding: clamp(28px, 7vw, 60px) 0 46px;
}
.connect-sky { position: absolute; inset: 0; pointer-events: none; }
.connect-roofline {
  position: absolute;
  inset: auto 0 -2px 0;
  width: 100%;
  height: clamp(150px, 30vw, 300px);
  opacity: 0.4;
}
.beam {
  position: absolute;
  top: -40%;
  left: 12%;
  width: 180px;
  height: 180%;
  background: linear-gradient(180deg, rgba(239, 199, 94, 0), rgba(239, 199, 94, 0.09), rgba(239, 199, 94, 0));
  transform: rotate(18deg);
  animation: sweep 11s ease-in-out infinite;
}
.beam.b2 { left: 68%; width: 120px; animation-duration: 14s; animation-delay: -5s; }
@keyframes sweep {
  0%, 100% { transform: translateX(-60px) rotate(18deg); opacity: 0.5; }
  50%      { transform: translateX(70px) rotate(18deg); opacity: 1; }
}

.connect-inner {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding-inline: 20px;
  text-align: center;
}
.connect-logo {
  width: min(320px, 78%);
  height: auto;
  margin: 0 auto 14px;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.connect-tag {
  color: #b9c6da;
  font-size: 0.9rem;
  margin: 0 auto 26px;
  max-width: 34ch;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.1s both;
}

.connect-links { display: grid; gap: 12px; text-align: left; }
.link-btn {
  display: grid;
  grid-template-columns: 44px 1fr 18px;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(239, 199, 94, 0.3);
  border-left: 3px solid var(--gold);
  color: #eef2f8;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  animation-delay: calc(0.14s + var(--i) * 0.07s);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.link-btn:hover {
  transform: translateX(4px);
  background: rgba(239, 199, 94, 0.1);
  border-color: var(--gold-bright);
}
.link-btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-18deg);
  animation: shine 7s ease-in-out infinite;
  animation-delay: calc(1.2s + var(--i) * 0.5s);
}
@keyframes shine {
  0%, 72%, 100% { left: -60%; }
  86%           { left: 120%; }
}
.link-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(10, 31, 69, 0.75);
  border: 1px solid rgba(239, 199, 94, 0.3);
  color: var(--gold-bright);
}
.link-icon svg { width: 21px; height: 21px; }
.link-icon .g-mark { width: 21px; height: 21px; background: #fff; padding: 2px; }
.link-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.link-text span { display: block; font-size: 0.85rem; color: #a9b8ce; margin-top: 2px; }
.link-go { color: var(--gold); font-size: 1.5rem; line-height: 1; text-align: right; }

.link-review { background: rgba(239, 199, 94, 0.12); border-color: rgba(239, 199, 94, 0.55); }
.link-review:hover { background: rgba(239, 199, 94, 0.2); }

.connect-foot {
  margin: 28px auto 6px;
  font-size: 0.82rem;
  color: #8fa0ba;
  max-width: 40ch;
  line-height: 1.8;
}
.connect-credit { margin: 0; font-size: 0.78rem; }
.connect-credit a { color: #7e8ea8; text-decoration: none; }
.connect-credit a:hover { color: var(--gold-bright); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .connect-logo, .connect-tag, .link-btn { animation: none; opacity: 1; transform: none; }
  .link-btn::after, .beam { animation: none; }
}

/* --- gallery filter state --- */
.chip[data-filter] { cursor: pointer; font-family: inherit; }
.chip[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--gold-bright);
}
.filter-status {
  margin: -22px 0 30px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.gallery-section[hidden] { display: none; }

/* ================= v5: home lead band + recent projects ================= */

.lead-band {
  background:
    radial-gradient(110% 120% at 85% 0%, rgba(29, 74, 143, 0.6) 0%, rgba(6, 22, 48, 0) 65%),
    linear-gradient(165deg, var(--navy-800), var(--navy-900));
  color: #dbe3ef;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid rgba(239, 199, 94, 0.25);
  scroll-margin-top: 80px;
}
.lead-band-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  padding-block: clamp(42px, 6vw, 72px);
}
.lead-pitch h2 { color: #fff; margin-bottom: 12px; }
.lead-pitch p { color: #b9c6da; }
.lead-points { list-style: none; margin: 22px 0; padding: 0; }
.lead-points li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.97rem;
  color: #e4ebf5;
}
.lead-points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--gold-bright);
  border-bottom: 2px solid var(--gold-bright);
  transform: rotate(-45deg);
}
.lead-or { font-size: 0.95rem; margin: 0; }
.lead-or a { color: var(--gold-bright); text-decoration: none; font-weight: 600; }
.lead-or a:hover { text-decoration: underline; }

.lead-box {
  background: #fff;
  color: var(--ink);
  border-top: 3px solid var(--gold);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}
.lead-box label { color: var(--navy-800); }
.lead-box .btn { width: 100%; justify-content: center; margin-top: 4px; }

@media (max-width: 880px) {
  .lead-band-inner { grid-template-columns: 1fr; }
}

/* the contact page uses the same form without the white card */
.lead-form .form-hint { margin-top: 12px; }
.lead-form .optional { font-weight: 400; color: var(--ink-soft); }
.lead-form button[disabled] { opacity: 0.7; cursor: wait; }

/* honeypot — hidden from people, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.lead-sent {
  border-left: 3px solid var(--gold);
  background: #fff;
  padding: 22px 24px;
}
.lead-sent h3 { margin-bottom: 6px; }
.lead-sent p { margin: 0; color: var(--ink-soft); }
.lead-sent a { color: var(--navy-700); font-weight: 600; }

.lead-error {
  border-left: 3px solid #b3261e;
  background: #fdeceb;
  color: #7a1b16;
  padding: 13px 16px;
  margin: 0 0 18px;
  font-size: 0.95rem;
}

/* --- recent projects --- */
.recent-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.recent-head h2 { margin-bottom: 6px; }
.recent-head p { margin: 0; color: var(--ink-soft); }

.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.recent-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
}
.recent-frame {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-900);
}
.recent-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.recent-card:hover .recent-frame img { transform: scale(1.05); }
.recent-card:hover { border-color: var(--gold); }
.recent-meta { display: block; padding: 14px 16px 16px; }
.recent-meta strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-bottom: 3px;
}
.recent-meta span { font-size: 0.88rem; color: var(--ink-soft); }

/* bigger tap targets for the gallery/area filter chips on touch screens */
.chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 11px 17px;
}

/* ================= v6: sticky mobile call bar, 404, privacy ================= */

.call-bar { display: none; }

@media (max-width: 880px) {
  .call-bar {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: var(--navy-900);
    border-top: 2px solid var(--gold);
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.3);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.97rem;
  }
  .call-bar-phone { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--navy-900); }
  .call-bar-phone svg { width: 18px; height: 18px; }
  .call-bar-quote { color: var(--gold-bright); border-left: 1px solid rgba(239, 199, 94, 0.3); }
  /* keep the footer clear of the bar */
  .site-footer { padding-bottom: 92px; }
  /* the links page is already all buttons */
  .connect ~ .call-bar { display: none; }
}

/* --- 404 --- */
.notfound-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
}
.notfound-grid .town-list { columns: 1; }
@media (max-width: 760px) { .notfound-grid { grid-template-columns: 1fr; } }

/* --- privacy --- */
.legal-copy { max-width: 70ch; }
.legal-copy h2 { font-size: 1.35rem; margin-top: 36px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-date { color: var(--ink-soft); font-size: 0.9rem; margin-top: 34px; }

.site-footer .legal a { color: #8496b0; text-decoration: none; }
.site-footer .legal a:hover { color: var(--gold-bright); text-decoration: underline; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================= v7: lead form in the hero ================= */

.hero-form {
  background: #fff;
  color: var(--ink);
  border-top: 3px solid var(--gold);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  scroll-margin-top: 90px;
}
.hero-form-head { margin-bottom: 18px; }
.hero-form-head h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
  color: var(--navy-800);
}
.hero-form-head p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.hero-form label { color: var(--navy-800); }
.hero-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.hero-form .form-hint { margin-top: 10px; }
.hero-form .lead-sent { border: 0; padding: 0; }

.hero .hero-main { padding-bottom: 6px; }
.hero-phone-alt a { font-size: 1.02rem; }

@media (max-width: 900px) {
  .hero-form { margin-top: 30px; }
  .hero-inner { align-items: start; }
}
