/* The look of the site comes from variables. The Theme section in the portal sets them (in the page's <head>);
   the values below are only what a page without a theme falls back to. */
:root { --ink: #1c1a22; --muted: #5d5868; --line: #e4dfeb; --accent: #550088; --on-accent: #fff; --bg: #fff; --soft: #f6f3fa; --link: var(--accent); --radius: 12px; --btn-radius: 999px; --border-w: 2px; --font-heading: system-ui, -apple-system, "Segoe UI", sans-serif; --font-body: system-ui, -apple-system, "Segoe UI", sans-serif; --link-deco: underline; --link-deco-hover: underline; }
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.6 var(--font-body); color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--font-heading); }
a { color: var(--link); text-decoration: var(--link-deco); }
a:hover { text-decoration: var(--link-deco-hover); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap--narrow { max-width: 44rem; }
.banner { background: var(--accent); color: var(--on-accent); text-align: center; padding: .6rem 1rem; }
.site-header { border-bottom: var(--border-w) solid var(--line); }
.site-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; }
.site-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.site-phone { color: var(--link); font-weight: 600; text-decoration: none; }
.s { padding: 3rem 0; }
.s h1 { margin: 0 0 .5rem; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; }
.s h2 { margin: 0 0 .75rem; font-size: 1.6rem; line-height: 1.2; }
.s h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.lead { font-size: 1.2rem; margin: 0 0 1.25rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; }
.btn, .btn:hover { display: inline-block; padding: .65rem 1.2rem; border-radius: var(--btn-radius); font-weight: 700; text-decoration: none; border: var(--border-w) solid var(--accent); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--secondary { background: transparent; color: var(--accent); }
.s-hero { position: relative; color: var(--on-accent); background: var(--accent); overflow: hidden; padding: 5rem 0; }
.s-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.s-hero__text { position: relative; }
.s-hero .btn--primary { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.s-hero .btn--secondary { color: var(--on-accent); border-color: var(--on-accent); }
.s-three, .s-contact { background: var(--soft); }
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 44rem) { .grid--2 { grid-template-columns: 1fr 1fr; align-items: start; } .grid--3 { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.col img { width: 100%; border-radius: var(--radius); margin-bottom: .75rem; }
.hours { list-style: none; margin: 0; padding: 0; max-width: 22rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; border-bottom: 1px dotted var(--line); }
.address { white-space: pre-line; }
.s-contact a { color: var(--link); }
.site-footer { padding-top: 2rem; padding-bottom: 2rem; color: var(--muted); font-size: .9rem; }
/* Rich text: paragraphs, subheadings and lists inside a section's text */
.rt { margin: 0 0 1rem; }
.rt > :first-child { margin-top: 0; }
.rt > :last-child { margin-bottom: 0; }
.rt p, .rt ul, .rt ol { margin: 0 0 .75rem; }
.rt ul, .rt ol { padding-left: 1.4rem; }
.rt h3 { margin: 1rem 0 .4rem; font-size: 1.15rem; }
/* Layout choices every section may offer: background, alignment, width, column order */
.s--bg-plain { background: var(--bg); }
.s--bg-soft { background: var(--soft); }
.s--bg-accent { background: var(--accent); color: var(--on-accent); }
.s--bg-accent a:not(.btn) { color: inherit; }
.s--bg-accent .btn--primary { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.s--bg-accent .btn--secondary { color: var(--on-accent); border-color: var(--on-accent); }
.s--align-center { text-align: center; }
.s--align-center .ctas { justify-content: center; }
.s--align-center .rt ul, .s--align-center .rt ol { list-style-position: inside; padding-left: 0; }
.s--width-wide .wrap--narrow { max-width: 64rem; }
@media (min-width: 44rem) { .s--reverse .grid--2 > :first-child { order: 2; } }
/* More section types */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); text-align: left; }
.card { background: var(--bg); color: var(--ink); border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin: 0; }
.s-gallery h2, .s-logos h2, .s-quotes h2, .s-team h2, .s-pricing h2, .s-faq h2 { margin-bottom: 1.25rem; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: var(--radius); display: block; }
.gallery figcaption { margin-top: .4rem; font-size: .9rem; color: var(--muted); }
.s--bg-accent .gallery figcaption { color: inherit; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.s--align-center .logos, .s--align-center .gallery { justify-content: center; }
.logos img { display: block; height: 3.5rem; width: auto; max-width: 12rem; object-fit: contain; }
.quote blockquote { margin: 0 0 .75rem; font-size: 1.05rem; white-space: pre-line; }
.quote figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.quote figcaption span { color: var(--muted); }
.faq { border-bottom: var(--border-w) solid var(--line); padding: .75rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq .rt { margin-top: .5rem; }
.s-cta { background: var(--accent); color: var(--on-accent); text-align: center; }
.s-cta .ctas { justify-content: center; }
.s-cta .btn--primary { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.s-cta .btn--secondary { color: var(--on-accent); border-color: var(--on-accent); }
.person img { width: 100%; max-width: 12rem; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: .5rem; }
.person .role { margin: 0 0 .5rem; color: var(--muted); }
.s--bg-accent .person .role, .s--bg-accent .quote figcaption span { color: inherit; }
.plan h3 { margin: 0; }
.plan .price { margin: .25rem 0; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; }
.plan .note { margin: 0 0 .5rem; color: var(--muted); font-size: .9rem; }
.plan ul { margin: .5rem 0 0; padding-left: 1.2rem; }
/* Header menu, footer links, extra pages */
.site-header__inner { flex-wrap: wrap; }
.site-name { display: inline-flex; align-items: center; gap: .6rem; }
.site-logo { height: 2.5rem; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0 auto 0 1.5rem; }
.site-nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--link); text-decoration: underline; }
@media (max-width: 40rem) { .site-nav { order: 3; width: 100%; margin: 0; } }
.s-pagehead { padding: 2rem 0 1rem; }
.s-pagehead h1 { margin: 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.site-footer p { margin: 0; }
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; padding: 0; }
.site-footer a { color: var(--link); }
/* Form elements (a form that is not connected yet cannot be sent) */
.form { display: grid; gap: 1rem; text-align: left; }
.form__field label { display: block; font-weight: 600; margin-bottom: .25rem; }
.form__field .form__check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=date], .form textarea, .form select { width: 100%; padding: .6rem .75rem; border: var(--border-w) solid var(--line); border-radius: var(--radius); font: inherit; color: var(--ink); background: var(--bg); }
.form__req { font-weight: 400; color: var(--muted); font-size: .9rem; }
.form__help { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-self: start; font: inherit; font-weight: 700; cursor: pointer; }
.form button[disabled] { opacity: .55; cursor: not-allowed; }
.form__note { margin: 0; padding: .6rem .8rem; border-left: 4px solid var(--accent); background: var(--soft); border-radius: var(--radius); font-size: .9rem; }
.s--bg-soft .form__note { background: var(--bg); }
