/* Same font files the old builder site used: Cinzel + Source Sans Pro (SIL Open Font License 1.1) */
@font-face { font-family: 'Cinzel'; font-weight: 400; font-display: swap; src: url('/fonts/Cinzel-400.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-weight: 300; font-display: swap; src: url('/fonts/SourceSansPro-300.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-weight: 400; font-display: swap; src: url('/fonts/SourceSansPro-400.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-weight: 400; font-style: italic; font-display: swap; src: url('/fonts/SourceSansPro-400i.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-weight: 700; font-display: swap; src: url('/fonts/SourceSansPro-700.woff2') format('woff2'); }

:root {
  --text: #1b1b1b;
  --body: #5e5e5e;
  --green: #47a64c;
  --link: #39853d;
  --grey: #f6f6f6;
  --dark: #161616;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #fff; color: var(--text); font: 400 16px/24px 'Source Sans Pro', Arial, sans-serif; }
a { color: var(--link); }
img { display: block; max-width: 100%; }
.wrap { max-width: 1144px; margin: 0 auto; padding: 0 16px; }

/* hero: photo left, dark panel right */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; background: var(--dark); }
.hero .photo { background: #000 center / cover no-repeat; }
.hero .panel { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; color: #fff; }
.hero h1 { font-family: 'Cinzel', Georgia, serif; font-weight: 400; font-size: 44px; line-height: 52.8px; color: #f7f7f7; margin: 0 0 24px; }
.hero .tag { color: #a9a9a9; font-size: 22px; line-height: 33px; margin: 0 0 56px; }
.hero .phone { color: #a9a9a9; font-weight: 700; font-size: 22px; line-height: 33px; text-decoration: none; }

/* section titles: Cinzel small caps in green with a line either side */
.title { display: flex; align-items: center; gap: 26px; margin: 0 0 48px; font-family: 'Cinzel', Georgia, serif; font-weight: 400; font-size: 44px; line-height: 61.6px; color: var(--green); white-space: nowrap; }
.title::before, .title::after { content: ""; flex: 1; border-top: 1px solid var(--green); }
.title.left::before { display: none; }
.title.left { gap: 14px; }
.title.left::after { flex: 0 0 72px; }

section { padding: 64px 0; }
h3 { font-weight: 400; font-size: 22px; line-height: 27.5px; margin: 0 0 22px; color: var(--text); }
p { margin: 0 0 24px; color: var(--body); }

/* About Us rows: picture and text alternate */
.about { padding-top: 62px; padding-bottom: 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.row .pic { aspect-ratio: 2 / 1; background: #ddd center / cover no-repeat; }
.row .txt { text-align: center; padding: 0 16px; }
.row.flip .pic { order: 2; }

/* three services with round pictures */
.services { background: var(--grey); padding: 56px 0 72px; }
.services h3, .contact h3 { color: #151515; }
.services p, .services li, .contact p { color: #575757; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center; }
.cols .circle { width: 222px; height: 222px; margin: 0 auto 26px; border-radius: 50%; background: #ccc center / cover no-repeat; }
.cols ul { text-align: left; display: inline-block; margin: 0; padding-left: 20px; color: var(--body); }
.cols .lines p { margin: 0; }
.cols .gap { height: 24px; }

#launch-list li.extra { display: none; }
#launch-list.open li.extra { display: list-item; }
.morebtn { margin-top: 10px; background: none; border: 0; color: #37803a; font: inherit; cursor: pointer; }
.morebtn::before { content: "+ "; font-size: 18px; }
.morebtn[aria-expanded="true"]::before { content: "\2212 "; }

/* partner logos */
.partners { padding: 56px 0 40px; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; align-items: center; justify-items: center; }
.logos img { width: 320px; height: 200px; max-width: 100%; object-fit: contain; }

/* contact: details left on grey, map right */
.contact { display: grid; grid-template-columns: 1fr 1fr; background: var(--grey); }
.contact .info { padding: 64px 48px 56px max(16px, calc((100vw - 1144px) / 2 + 16px)); }
.contact .info .title { font-size: 44px; margin-bottom: 44px; color: #45a14a; }
.contact .info .title::after { border-color: #45a14a; }
.contact h3 { margin: 30px 0 18px; }
.contact p { margin: 0 0 16px; }
.contact a { text-decoration: none; }
.contact .hours p { margin: 0; }
.btn { display: inline-block; margin-top: 30px; background: var(--green); color: var(--text); border: 0; font: 700 13px/1 'Source Sans Pro', Arial, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; padding: 16px 32px; cursor: pointer; }
.btn:hover { background: #5fd765; }
.contact .map { position: relative; min-height: 440px; }
.showmap { position: absolute; inset: 0; width: 100%; border: 0; background: #e6e6e6; color: var(--text); font: 600 15px/1.4 'Source Sans Pro', Arial, sans-serif; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.showmap:hover { background: #dcdcdc; }
.showmap small { font-weight: 400; font-size: 12px; color: var(--body); }
.contact .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* "Drop us a line!" form */
.form { display: none; margin-top: 24px; max-width: 460px; }
.form.open { display: block; }
.form h3 { margin-top: 0; }
.form label { display: block; margin-bottom: 14px; color: var(--body); }
.form input, .form textarea { display: block; width: 100%; margin-top: 4px; padding: 12px; border: 1px solid #d6d6d6; background: #fff; font: inherit; color: var(--text); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .actions { display: flex; gap: 14px; align-items: center; }
.form .cancel { background: none; border: 0; color: var(--link); font: inherit; cursor: pointer; }
.form .note { margin-top: 12px; color: var(--link); }

footer { background: var(--dark); color: #a4a4a4; text-align: center; padding: 44px 16px 52px; font-size: 16px; }
footer p { color: #a4a4a4; margin: 0; }

@media (max-width: 860px) {
  .hero, .row, .cols, .contact { grid-template-columns: 1fr; }
  .hero .photo { aspect-ratio: 4 / 3; }
  .hero .panel { padding: 56px 24px; }
  .hero h1 { font-size: 36px; }
  .row .pic, .row.flip .pic { order: 0; }
  .row { gap: 24px; }
  .title { font-size: 34px; gap: 16px; }
  .logos { grid-template-columns: 1fr; }
  .contact .map { order: -1; min-height: 360px; }
  .contact .info { padding: 48px 16px; }
  .contact .btn { display: block; width: 100%; }
}
