/* src/styles/service-hero-estimate-forms.css */
/* Shared service hero: exactly two desktop children — copy and estimate card. */
.service-child-page__hero[data-astro-cid-s5jzzfkt] {
  min-height: auto;
  padding-block: clamp(2.75rem, 4.5vw, 4.75rem);
}
.service-child-page__hero[data-astro-cid-s5jzzfkt] > .container[data-astro-cid-s5jzzfkt] {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  max-width: 70rem;
}
.service-child-page__hero-copy {
  grid-column: 1;
  min-width: 0;
}
.service-child-page[data-astro-cid-s5jzzfkt] h1[data-astro-cid-s5jzzfkt] {
  max-width: 10.5ch;
  margin: .8rem 0 1.15rem;
  font-size: clamp(3rem, 4.2vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.035em;
}
.service-child-page__hero[data-astro-cid-s5jzzfkt] .service-contact--hero {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: 100%;
  margin: clamp(3.4rem, 5vw, 5.2rem) 0 0;
}
.service-contact--hero,
.service-contact--hero .service-contact__wrap {
  width: 100%;
}
.service-contact--hero .service-contact__panel {
  padding: clamp(1.45rem, 2.4vw, 2rem);
  border-radius: 1rem;
  background: #fffdf8;
  box-shadow: 0 1.1rem 2.75rem rgba(0, 58, 122, .16);
}
.service-contact--hero .service-contact__intro {
  margin-bottom: 1.25rem;
}
.service-contact--hero .service-contact__intro .section-label,
.service-contact--hero [data-instatic-honeypot],
.service-contact--hero .service-contact__status {
  display: none !important;
}
.service-contact--hero .service-contact__intro h2 {
  margin: 0 0 .55rem;
  color: #052b52;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.service-contact--hero .service-contact__intro p {
  margin: 0;
  color: #45647e;
  font-size: .92rem;
  line-height: 1.5;
}
.service-contact--hero .service-contact__form {
  display: grid;
  gap: 1rem;
}
.service-contact--hero .service-contact__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.service-contact--hero .form-field {
  display: grid;
  gap: .38rem;
}
.service-contact--hero .form-field label {
  color: #052b52;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.2;
}
.service-contact--hero .form-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.85rem;
  padding: .7rem .8rem;
  border: 1px solid #bed4e6;
  border-radius: .5rem;
  color: #052b52;
  background: #ffffff;
  font: inherit;
}
.service-contact--hero .form-field input:focus {
  outline: 3px solid rgba(0, 58, 122, .2);
  outline-offset: 2px;
  border-color: #003a7a;
}
.service-contact--hero .service-contact__submit {
  margin: 0;
  padding: 0;
  border: 0;
}
.service-contact--hero .service-contact__submit button {
  width: 100%;
  min-height: 3rem;
  padding: .78rem 1rem;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #003a7a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 .55rem 1.2rem rgba(0, 58, 122, .22);
}
.service-contact--hero .service-contact__submit button:hover {
  background: #052b52;
  transform: translateY(-1px);
}
.service-contact--hero .service-contact__submit button:focus-visible {
  outline: 3px solid #55b9e8;
  outline-offset: 3px;
}
@media (max-width: 58rem) {
  .service-child-page__hero[data-astro-cid-s5jzzfkt] > .container[data-astro-cid-s5jzzfkt] {
    display: block;
  }
  .service-child-page__hero[data-astro-cid-s5jzzfkt] .service-contact--hero {
    width: 100%;
    margin-top: 2rem;
  }
  .service-child-page[data-astro-cid-s5jzzfkt] h1[data-astro-cid-s5jzzfkt] {
    max-width: 12ch;
    font-size: clamp(2.55rem, 9vw, 3.6rem);
  }
}
@media (max-width: 31rem) {
  .service-contact--hero .service-contact__details {
    grid-template-columns: 1fr;
  }
}

/* src/styles/clarity-typography.css */
:root {
  --clarity-font-sans: var(--font-body, Inter, Arial, Helvetica, sans-serif);
  --clarity-font-display: var(--font-display, Inter, Arial, Helvetica, sans-serif);
}
html,
body,
button,
input,
select,
textarea {
  font-family: var(--clarity-font-sans);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--clarity-font-display);
  font-synthesis: none;
}
label,
legend,
button,
input,
select,
textarea {
  font-family: var(--clarity-font-sans);
  font-synthesis: none;
}

/* src/styles/clarity-blue-direction.css */
:root {
  --cwc-blue-dark: #083898;
  --cwc-blue-bright: #0858C8;
  --cwc-blue-light: #C8E8F8;
  --cwc-white: #FFFFFF;

  /* Preserve existing semantic hooks while removing the legacy purple output. */
  --color-purple-950: var(--cwc-blue-dark);
  --color-purple-900: var(--cwc-blue-dark);
  --color-purple-800: var(--cwc-blue-bright);
  --color-purple-700: var(--cwc-blue-bright);
  --color-link: var(--cwc-blue-bright);
  --color-surface-inverse: var(--cwc-blue-dark);
  --color-focus: var(--cwc-blue-bright);
  --ink: var(--cwc-blue-dark);
  --navy: var(--cwc-blue-dark);
  --blue: var(--cwc-blue-bright);
  --sky: var(--cwc-blue-light);
  --service-ink: var(--cwc-blue-dark);
  --service-purple: var(--cwc-blue-dark);
  --service-purple-soft: var(--cwc-blue-bright);
}

/* Imported page shells carried the old dark-purple ink directly. */
body .about-page[data-astro-cid-ta2fbyqs],
body .areas-hub[data-astro-cid-akg3ssuo],
body .area-page[data-astro-cid-kxybgtfe],
body .commercial-page[data-astro-cid-i3pgwcpy],
body .service-child-page[data-astro-cid-s5jzzfkt],
body .window-cleaning-parent[data-astro-cid-h6n2ly34],
body .about-page,
body .areas-hub,
body .area-page,
body .commercial-page,
body .service-child-page,
body .window-cleaning-parent {
  color: var(--cwc-blue-dark);
}

body h1 {
  color: var(--cwc-blue-dark);
}

body .service-page {
  --service-ink: var(--color-graphite-900);
  --service-muted: var(--color-graphite-700);
}

body .service-contact[data-astro-cid-5t2z3xfm] h2[data-astro-cid-5t2z3xfm] {
  color: var(--cwc-blue-dark);
}

/* Blue action treatment; gold and light button variants keep their own roles. */
body .button--header,
body .button--primary,
body .button--service,
body .service-hero-estimate__button {
  color: var(--cwc-white);
  background: var(--cwc-blue-dark);
  border-color: var(--cwc-blue-dark);
}

body .button--header:hover,
body .button--primary:hover,
body .button--service:hover,
body .service-hero-estimate__button:hover {
  background: var(--cwc-blue-bright);
  border-color: var(--cwc-blue-bright);
}

/* Replace hard-coded legacy-purple links with the active brand blue. */
body .area-page__hero[data-astro-cid-kxybgtfe] p[data-astro-cid-kxybgtfe] a[data-astro-cid-kxybgtfe],
body .area-page__actions[data-astro-cid-kxybgtfe] a[data-astro-cid-kxybgtfe],
body .commercial-page__hero[data-astro-cid-i3pgwcpy] p[data-astro-cid-i3pgwcpy] a[data-astro-cid-i3pgwcpy],
body .window-cleaning-parent[data-astro-cid-h6n2ly34] article[data-astro-cid-h6n2ly34] a[data-astro-cid-h6n2ly34],
body .service-child-page__parent-link,
body .service-child-page__content a {
  color: var(--cwc-blue-bright);
}

/* Template-specific imported colors that bypassed the shared tokens. */
body .form-field > label,
body .hero-form form[data-instatic-form-id="form"] label {
  color: var(--color-graphite-900);
}

body .coverage__list[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme] {
  color: var(--cwc-blue-bright);
}

body .about-page__approach-section[data-astro-cid-ta2fbyqs] p[data-astro-cid-ta2fbyqs],
body .about-page__values[data-astro-cid-ta2fbyqs] li[data-astro-cid-ta2fbyqs] {
  color: var(--cwc-blue-light);
}

body .commercial-page__hero[data-astro-cid-i3pgwcpy] nav[data-astro-cid-i3pgwcpy] a[data-astro-cid-i3pgwcpy] {
  color: var(--cwc-blue-bright);
}

/* Footer copy used a muted purple that no longer belongs to the brand direction. */
body .site-footer,
body .site-footer__intro > p,
body .site-footer__group a,
body .site-footer__bottom,
body .site-footer__credit {
  color: var(--cwc-blue-dark);
}

body .site-footer__bottom {
  border-top-color: var(--cwc-blue-light);
}

body .site-footer__credit a {
  text-decoration-color: var(--cwc-blue-bright);
}

/* Light-blue secondary copy keeps contrast on dark-blue sections. */
body .checklist-layout p,
body .estimate-panel p,
body .local-bar[data-astro-cid-lcdefpme] span[data-astro-cid-lcdefpme],
body .how-it-works__heading[data-astro-cid-lcdefpme] > p[data-astro-cid-lcdefpme]:last-child,
body .steps[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme],
body .estimate-prep[data-astro-cid-p6xn5dwj] > p[data-astro-cid-p6xn5dwj],
body .estimate-prep__grid[data-astro-cid-p6xn5dwj] > div[data-astro-cid-p6xn5dwj] > p[data-astro-cid-p6xn5dwj]:last-child,
body .estimate-call-cta[data-astro-cid-ghwmmcbn] p[data-astro-cid-ghwmmcbn],
body .area-page__next[data-astro-cid-kxybgtfe] p[data-astro-cid-kxybgtfe],
body .commercial-page__next[data-astro-cid-i3pgwcpy] p[data-astro-cid-i3pgwcpy],
body .estimate-prep[data-astro-cid-p6xn5dwj] li[data-astro-cid-p6xn5dwj] {
  color: var(--cwc-blue-light);
}

body .estimate-prep[data-astro-cid-p6xn5dwj] li[data-astro-cid-p6xn5dwj] span[data-astro-cid-p6xn5dwj],
body .button--gold-2 {
  color: var(--cwc-blue-dark);
}

/* Compact breadcrumbs: ancestor links, separators, and current page. */
body nav[aria-label="Breadcrumb"] {
  color: var(--cwc-blue-dark);
}

body nav[aria-label="Breadcrumb"] > a {
  color: var(--cwc-blue-bright);
}

body nav[aria-label="Breadcrumb"] > span[aria-hidden="true"] {
  color: var(--cwc-blue-bright);
}

body nav[aria-label="Breadcrumb"] > span:not([aria-hidden="true"]) {
  color: var(--cwc-blue-dark);
}

body nav[aria-label="Breadcrumb"] > a:hover {
  color: var(--cwc-blue-dark);
  text-decoration-color: var(--cwc-blue-bright);
}

body nav[aria-label="Breadcrumb"] > a:focus-visible {
  color: var(--cwc-blue-dark);
  outline-color: var(--cwc-blue-bright);
}
