/* Refined is loaded only for sites that select this appearance. */
:root {
  --refined-font: "Segoe UI", system-ui, sans-serif;
  --refined-card: color-mix(in srgb, var(--paper) 87%, white);
  --refined-edge: color-mix(in srgb, var(--ink) 13%, var(--paper));
  --refined-icon-surface: color-mix(in srgb, var(--accent) 13%, var(--paper));
  --refined-card-radius: 21px;
  --refined-card-padding: clamp(22px, 3vw, 34px);
  --refined-hero-radius: 30px;
  --refined-hero-surface: color-mix(in srgb, var(--paper) 96%, var(--ink));
  --refined-hero-ink: var(--ink);
  --refined-hero-accent: var(--accent-copy);
  --refined-shadow: 0 1px 2px #15211908, 0 10px 26px #15211916;
  --refined-shadow-hover: 0 3px 6px #15211912, 0 14px 30px #15211926;
}
:root:is([data-refined-design="restaurant"], [data-refined-design="automotive"], [data-refined-design="professional-services"]) {
  --refined-hero-surface: var(--inverse-paper);
  --refined-hero-ink: var(--inverse-ink);
  --refined-hero-accent: var(--hero-accent);
}
:root:is([data-refined-design="fitness"], [data-refined-design="remodeling"]) {
  --refined-hero-surface: var(--inverse-paper);
  --refined-hero-ink: var(--white);
  --refined-hero-accent: var(--hero-accent);
}
:root[data-refined-design="healthcare"] {
  --refined-hero-surface: linear-gradient(120deg, var(--wash), var(--paper));
}
:root[data-theme="night"], :root[data-theme="day"][data-day-navigation="dark"] {
  --refined-card: color-mix(in srgb, var(--paper) 94%, var(--ink));
  --refined-shadow: 0 2px 4px #0004, 0 14px 28px #0003;
  --refined-shadow-hover: 0 3px 8px #0006, 0 16px 32px #0005;
}

body { font-family: var(--refined-font); line-height: 1.65; }

:root:is([data-theme="day"][data-day-navigation="dark"], [data-theme="night"][data-night-navigation="dark"]) #website-announcement {
  border-bottom-color: var(--refined-edge) !important;
}

#site-navigation .navbar-brand {
  font: 750 clamp(1.4rem, 2.5vw, 1.95rem)/1.05 var(--refined-font);
  letter-spacing: -.055em;
}
#site-navigation .navbar-brand small {
  font: 600 .69rem/1.35 var(--refined-font);
  letter-spacing: .07em;
}
.btn:not(:where(.btn-link, .rounded-circle)),
#site-navigation .navbar-toggler {
  border-radius: 12px;
  font-weight: 700;
}
.btn:not(:where(.btn-link, .rounded-circle, .btn-sm, .input-group .btn)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}
#site-navigation .navbar-toggler {
  min-height: 46px;
  min-width: 46px;
  border-color: var(--refined-edge);
}
:is(.btn, .navbar-toggler):focus-visible {
  outline: 3px solid var(--accent-copy);
  outline-offset: 3px;
  box-shadow: none;
}
.btn-primary:is(:disabled, .disabled) {
  color: var(--white);
  background-color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-dark:is(:disabled, .disabled) { color: var(--ink); }
.btn-outline-dark:not(:disabled, .disabled):is(:active, .active) {
  color: var(--paper);
  background-color: var(--ink);
  border-color: var(--ink);
}

/* These controls sit on Bootstrap's light surfaces in both color modes. */
:is(#cookie-consent-banner, #cookie-consent-modal, .modal-content.text-dark) .btn-outline-dark {
  color: var(--dark);
  border-color: var(--dark);
}
:is(#cookie-consent-banner, #cookie-consent-modal, .modal-content.text-dark) .btn-outline-dark:not(:disabled, .disabled):is(:hover, :active, .active) {
  color: var(--white);
  background-color: var(--dark);
  border-color: var(--dark);
}
:is(#cookie-consent-banner, #cookie-consent-modal, .modal-content.text-dark) .btn:focus-visible {
  outline-color: var(--accent);
}
#cookie-consent-modal [data-consent-save] {
  background-color: var(--accent);
  border-color: var(--accent);
}
#cookie-consent-modal [data-consent-save]:is(:hover, :active) {
  background-color: var(--dark);
  border-color: var(--dark);
}

:is(#menu, #price-list) > .container,
:is(#menu, #price-list) > .container > img { border-radius: 21px; }
@media (max-width: 991.98px) {
  #site-navigation .nav-link { font-size: .9rem; font-weight: 600; }
  #site-navigation #navigation {
    margin-top: .75rem;
    padding-inline: 1rem;
    background: var(--refined-card);
    border: 1px solid var(--refined-edge);
    border-radius: 21px;
  }
}

main > #quick-visit.container,
main > :is(#home, [data-refined-hero-frame]).container::before {
  border-radius: var(--refined-hero-radius);
}
main > :is(#home, [data-refined-hero-frame]).container {
  --refined-hero-gutter: 12px;
  position: relative;
  isolation: isolate;
  max-width: none;
  margin: clamp(16px, 2.5vw, 36px) auto 0;
  background: transparent;
  color: var(--refined-hero-ink);
}
main > :is(#home, [data-refined-hero-frame]).container::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 var(--refined-hero-gutter);
  background: var(--refined-hero-surface);
  pointer-events: none;
}
[data-refined-hero-frame] { overflow: hidden; }
[data-refined-hero-frame] > #home { background: transparent; }
.container[data-refined-hero-frame] > #home { color: inherit; }
:is(#home.container, .container[data-refined-hero-frame] > #home) #hero-title em {
  color: var(--refined-hero-accent);
}

:is([data-refined-design="fitness"], [data-refined-design="remodeling"]) #home #hero-photo {
  clip-path: inset(0 var(--refined-hero-gutter) round var(--refined-hero-radius));
}
:is([data-refined-design="fitness"], [data-refined-design="remodeling"]) .container[data-refined-hero-frame] > #home:has(#hero-photo) {
  position: static;
  isolation: auto;
  overflow: visible;
}
:is([data-refined-design="fitness"], [data-refined-design="remodeling"]) .container[data-refined-hero-frame] #hero-photo {
  z-index: -1;
}
[data-refined-design="remodeling"] #home > .container > .row > .text-center #hero-title {
  max-width: 42rem;
  margin-inline: auto;
  text-wrap: balance;
}
[data-refined-design="remodeling"] #home > .container > .row > .text-center > :is(#hero-established, #hero-custom-eyebrow) {
  margin-inline: auto;
}
@media (min-width: 992px) {
  [data-refined-design="remodeling"] #home > .container > .row > .text-center {
    padding-top: clamp(56px, 8vw, 96px) !important;
  }
  [data-refined-design="remodeling"] #home > .container > .row > .text-center #hero-title {
    font-size: clamp(2.75rem, 4vw, 3.5rem);
  }
  [data-refined-design="remodeling"] #home > .container > .row:has(> .text-center) #hero-caption {
    position: relative;
    inset: auto;
    width: fit-content;
    margin: 0 15px 35px auto;
  }
}
#quick-visit.container > .container {
  padding-inline: clamp(24px, 3vw, 32px);
}
@media (max-width: 575.98px) {
  :is(#home.container, .container[data-refined-hero-frame] > :is(#home, #quick-visit)) > .container {
    padding-inline: 24px;
  }
}
@media (min-width: 1280px) {
  main > :is(#home, [data-refined-hero-frame]).container {
    --refined-hero-gutter: clamp(12px, 2.2vw, 44px);
  }
  main > #quick-visit.container {
    max-width: min(1244px, calc(100% - 32px));
  }
  #quick-visit.container > .container {
    padding-inline: 15px;
  }
}
#home { isolation: isolate; }
html:not(:is([data-refined-design="remodeling"], [data-refined-design="fitness"], [data-refined-design="beauty"], [data-refined-design="healthcare"], [data-refined-design="pet-services"])) #home #hero-photo,
#about img,
html:not([data-template-photos]) [data-service-photo] {
  border-radius: 20px;
}
#home #hero-caption {
  border-radius: 15px;
  box-shadow: var(--refined-shadow);
}
#hero-caption p { font-family: var(--refined-font); }
#home #hero-title {
  font: 750 clamp(2.9rem, 5.6vw, 5.8rem)/1 var(--refined-font);
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}
@media (min-width: 992px) {
  #home #hero-title {
    font-size: clamp(2.9rem, 5vw, 4.5rem);
  }
}
#home #hero-title [data-hero-accent] { font-weight: inherit; }
#home .lead {
  font-size: clamp(1.06rem, 1.75vw, 1.25rem);
  line-height: 1.6;
  max-width: 36ch;
}
@media (min-width: 992px) {
  [data-refined-design="fitness"] #home:has(#hero-photo) .lead { max-width: 40ch; }
}

[data-refined-design="remodeling"] #home .btn-primary,
[data-refined-design="remodeling"] #home .btn-primary:hover,
[data-refined-design="remodeling"] #home .btn-primary:focus-visible {
  background: #f5f7ed;
  color: #253b2c;
  border-color: #f5f7ed;
  box-shadow: 0 7px 22px #101e154d;
}
[data-refined-design="remodeling"] #home .btn-primary:hover,
[data-refined-design="remodeling"] #home .btn-primary:focus-visible { background: #e3eddc; }

#quick-visit {
  margin: clamp(10px, 1.2vw, 16px) auto 0;
  background: var(--refined-card);
  border: 1px solid var(--refined-edge);
  box-shadow: var(--refined-shadow);
  overflow-wrap: anywhere;
}
#quick-visit:has(> .container > .row:empty) { display: none; }
main > #quick-visit:not(.container) { border-inline: 0; }
[data-refined-hero-frame] > #quick-visit {
  margin: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  box-shadow: none;
}
[data-refined-hero-frame] > #quick-visit a:hover { color: inherit; }
.container[data-refined-hero-frame] > #quick-visit {
  position: relative;
  border-top: 0;
}
.container[data-refined-hero-frame] > #quick-visit::before {
  content: "";
  position: absolute;
  inset: 0 var(--refined-hero-gutter) auto;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
#quick-visit small { letter-spacing: .11em; }
#quick-visit p { font-size: .96rem; font-weight: 650; }

main > section:not(#home):not(#quick-visit) { padding-block: clamp(56px, 7vw, 100px); }
main h2 {
  font: 720 clamp(2.35rem, 4.6vw, 4.125rem)/1.05 var(--refined-font);
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

#service-catalog :is([data-service-section], [data-service-result]:has(> [data-offering-group]), .col-md-6:has(> [id="insurance-payment"])) {
  padding-bottom: 0 !important;
}
#service-catalog :is([data-service-section-body], [data-offering-group], .col-md-6 > [id="insurance-payment"]),
:is(#reviews, #updates) [data-carousel-track] > article {
  background: var(--refined-card);
  border: 1px solid var(--refined-edge) !important;
  border-radius: var(--refined-card-radius);
  box-shadow: var(--refined-shadow);
  overflow-wrap: anywhere;
}
#service-catalog :is([data-service-section-body], [data-offering-group], .col-md-6 > [id="insurance-payment"]) {
  padding: var(--refined-card-padding) !important;
  min-height: 100%;
}
#service-catalog :is([data-service-section-body] > .d-flex, [data-offering-group], .col-md-6 > [id="insurance-payment"] > .d-flex) { gap: 16px; }
#service-catalog :is([data-service-section-body], [data-offering-group], .col-md-6 > [id="insurance-payment"]) [data-offering-icon] {
  width: 49px;
  height: 49px;
  padding: 10px;
  margin: 0 !important;
  border-radius: 13px;
  background: var(--refined-icon-surface);
  color: var(--accent-copy);
}
#service-catalog :is([data-service-section-body], [data-offering-group], .col-md-6 > [id="insurance-payment"]) h3,
#updates [data-carousel-track] h3 {
  font: 700 clamp(1.2rem, 2.2vw, 1.56rem)/1.16 var(--refined-font);
  letter-spacing: -.035em;
  margin-bottom: .55rem !important;
}
#service-catalog [data-service-section-body] p:not([hidden]) { font-size: .98rem; }
#about img { box-shadow: var(--refined-shadow); }

:is(#reviews, #updates) [data-carousel-track] {
  padding-block: 8px 28px;
}
#reviews [data-carousel-track] > .card.p-4 { padding: var(--refined-card-padding) !important; }
#reviews [data-carousel-track] h3 {
  font: 700 1.1rem/1.2 var(--refined-font);
  letter-spacing: -.02em;
}
#reviews [data-carousel-track] blockquote,
#reviews [data-carousel-track] blockquote p,
#updates [data-carousel-track] [data-update-text] {
  font: 400 1rem/1.65 var(--refined-font);
}
#updates [data-carousel-track] .card-body { padding: var(--refined-card-padding); }

#gallery [data-gallery-thumbnail] {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--refined-shadow);
}
#gallery [data-gallery-thumbnail] img { object-fit: cover; border-radius: 0; }

@media (max-width: 767.98px) {
  :root { --refined-hero-radius: 21px; }
  #home #hero-title { font-size: clamp(2.35rem, 9.6vw, 4rem); }
  #service-catalog :is([data-service-section-body] > .d-flex, [data-offering-group], .col-md-6 > [id="insurance-payment"] > .d-flex) { gap: 12px; }
  #gallery [data-gallery-thumbnail] { border-radius: 15px; }
}

@keyframes refined-hero-intro {
  from { opacity: .65; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  #home > .container > .row > div:first-child { animation: refined-hero-intro 220ms ease-out; }
  #service-catalog :is([data-service-section-body], [data-offering-group], .col-md-6 > [id="insurance-payment"]),
  :is(#reviews, #updates) [data-carousel-track] > article {
    transition: transform 160ms ease-out, box-shadow 160ms ease-out;
  }
  #service-catalog :is([data-service-section-body], [data-offering-group], .col-md-6 > [id="insurance-payment"]):focus-within,
  :is(#reviews, #updates) [data-carousel-track] > article:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--refined-shadow-hover);
  }
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    #faq details[data-faq-item] { interpolate-size: allow-keywords; }
    #faq details[data-faq-item]::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 200ms ease-out, content-visibility 200ms allow-discrete;
    }
    #faq details[data-faq-item][open]::details-content { block-size: auto; }
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  #service-catalog :is([data-service-section-body], [data-offering-group], .col-md-6 > [id="insurance-payment"]):hover,
  :is(#reviews, #updates) [data-carousel-track] > article:hover {
    transform: translateY(-2px);
    box-shadow: var(--refined-shadow-hover);
  }
}
