/* Shared by the Hugo site and the app's request/contact/admin-login pages. */
:root {
  --bg: #1b1b1b;
  --surface: #262626;
  --line: #3a3a3a;
  --text: #f0f0f0;
  --muted: #b5b5b5;
  --accent: #6ad7b7;      /* the banner logo's mint */
  --accent-text: #1b1b1b;
  --error: #ff8a80;
  --radius: 6px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
a { color: var(--accent); }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
main.wrap { padding-top: 2rem; padding-bottom: 3rem; min-height: 60vh; }
.muted { color: var(--muted); }

.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.logo img { width: 220px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.dropdown { position: relative; }
.dropdown summary { cursor: pointer; list-style: none; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: " ▾"; font-size: .8em; }
.dropdown summary:hover, .dropdown[open] summary { color: var(--accent); }
.dropdown-menu {
  position: absolute; top: calc(100% + .5rem); left: -.75rem; z-index: 10; min-width: 13rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem 0;
  box-shadow: 0 8px 24px rgb(0 0 0 / .4);
}
.dropdown-menu a { display: block; padding: .4rem .9rem; white-space: nowrap; }
.dropdown-menu a:hover { background: var(--bg); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }

.button, button {
  display: inline-block; background: var(--accent); color: var(--accent-text);
  border: 1px solid var(--accent); border-radius: var(--radius);
  padding: .5rem 1rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.nav a.button { color: var(--accent-text); }
.button.ghost { background: transparent; color: var(--accent); }

.hero { text-align: center; }
.hero .banner { width: 100%; border-radius: var(--radius); }
.hero-text { font-size: 1.25rem; max-width: 40rem; margin: 1.5rem auto .5rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; overflow: hidden; }
.card:hover { border-color: var(--accent); }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card h3, .card p { margin: .75rem 1rem; }
.price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }

.prose { max-width: 46rem; }
.prose img { border-radius: var(--radius); margin: 1rem 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.page-list { padding-left: 1.2rem; }

.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; }
.service-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.service-images a:first-child { grid-column: 1 / -1; }
.service-images img { border-radius: var(--radius); width: 100%; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.video { width: 100%; margin: 1rem 0; border-radius: var(--radius); }

/* Forms (app pages) */
form .field { margin: 0 0 1rem; }
label { display: block; font-weight: 600; margin-bottom: .25rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; max-width: 32rem; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .6rem; font: inherit; line-height: 1.5;
}
input[type=number] { max-width: 6rem; }
select { height: calc(1.5em + 1rem + 2px); }  /* Chrome ignores a select's line-height */
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.checkbox label { display: inline; font-weight: 400; }
.field-row { display: flex; flex-wrap: wrap; gap: 0 1rem; max-width: 32rem; }
.field-row .field:first-child { flex: 1 1 12rem; }
.field-row .field { flex: 0 1 8rem; }
.errorlist { color: var(--error); list-style: none; padding: 0; margin: .25rem 0; }
.help { color: var(--muted); font-size: .9rem; }
.service-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.service-block.selected { border-color: var(--accent); }
.service-block h2 { font-size: 1.2rem; margin: 0; }
.service-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.service-head .qty { display: flex; align-items: center; gap: .5rem; }
.service-head .qty label { margin: 0; }
.service-options { margin-top: 1rem; }
.js .service-block:not(.selected) .service-options { display: none; }
.unit { border: 0; padding: 0; margin: 0; min-width: 0; }
.unit + .unit:not([hidden]) { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .5rem; }
.unit legend { display: none; float: left; width: 100%; font-weight: 700; padding: 0; margin-bottom: .75rem; }  /* float: keep it off the border */
.unit legend + * { clear: both; }
.service-block.multi .unit legend { display: block; }
.total { position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--line); padding: .75rem 0; font-size: 1.2rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
table.summary { border-collapse: collapse; width: 100%; max-width: 46rem; }
table.summary td, table.summary th { border-bottom: 1px solid var(--line); padding: .5rem; text-align: left; vertical-align: top; }
table.summary td.num, table.summary th.num { text-align: right; white-space: nowrap; }
