:root {
  --navy: #1c355e;
  --navy-deep: #122840;
  --blue: #6a9bc3;
  --steel: #a8b8c8;
  --white: #ffffff;
  --off-white: #f6f7f8;
  --warm-white: #f8f8f6;
  --ink: #171d24;
  --body: #4c5562;
  --muted: #788391;
  --line: #d9dee4;
  --field-line: #aeb7c0;
  --font: "Inter Variable", Inter, Arial, Helvetica, sans-serif;
  --width: 78rem;
  --gutter: clamp(1.1rem, 3vw, 2.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 4.8vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.1vw, 2.9rem);
}

h3 {
  font-size: clamp(1.1rem, 1.45vw, 1.32rem);
}

p {
  margin-top: 0;
  text-wrap: pretty;
}

summary {
  cursor: pointer;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.site-width {
  width: min(calc(100% - (2 * var(--gutter))), var(--width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 999;
  transform: translateY(-180%);
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--navy-deep);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   HEADER
   ========================================================= */

.top-strip {
  color: #e4eaf0;
  background: var(--navy-deep);
  font-size: .76rem;
}

.top-strip__inner {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-strip p {
  margin: 0;
}

.top-strip a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  min-height: 4.15rem;
  align-items: center;
  gap: 1.4rem;
}

.logo {
  color: var(--navy-deep);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav {
  display: none;
}

.desktop-nav > a,
.services-dropdown > summary {
  color: var(--ink);
  font-size: .83rem;
  font-weight: 650;
  text-decoration: none;
}

.services-dropdown {
  position: relative;
}

.services-dropdown > summary {
  list-style: none;
}

.services-dropdown > summary::-webkit-details-marker {
  display: none;
}

.services-dropdown > summary::after {
  content: " ▾";
  color: var(--muted);
  font-size: .7em;
}

.services-dropdown__menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: -1rem;
  width: 25rem;
  padding: .35rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.services-dropdown__menu a {
  display: block;
  padding: .8rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 620;
  text-decoration: none;
}

.services-dropdown__menu a:last-child {
  border-bottom: 0;
}

.header-cta {
  display: none;
  margin-left: .25rem;
  padding: .68rem .9rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 2px;
  font-size: .76rem;
  font-weight: 750;
  text-decoration: none;
}

.header-cta:hover {
  background: var(--navy-deep);
}

.mobile-nav {
  position: relative;
  margin-left: auto;
}

.mobile-nav > summary {
  padding: .55rem .75rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 700;
  list-style: none;
}

.mobile-nav > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + .6rem);
  right: 0;
  width: min(88vw, 22rem);
  padding: .6rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.mobile-nav nav a {
  display: block;
  padding: .8rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 620;
  text-decoration: none;
}

.mobile-nav nav a:last-child {
  border-bottom: 0;
}

/* =========================================================
   PAGE INTRO
   ========================================================= */

.page-intro {
  padding-block: clamp(4.25rem, 7vw, 6.5rem);
  background: var(--warm-white);
  border-bottom: 1px solid var(--line);
}

.page-intro__inner {
  max-width: 58rem;
}

.page-intro__label,
.section-label {
  margin-bottom: .9rem;
  color: var(--navy);
  font-size: .7rem;
  font-weight: 820;
  letter-spacing: .1em;
}

.section-label--light {
  color: var(--steel);
}

.page-intro h1 {
  max-width: 16ch;
}

.page-intro p:last-child {
  max-width: 62ch;
  margin: 1.2rem 0 0;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.35vw, 1.15rem);
}

/* =========================================================
   ASSESSMENT / CONTACT
   ========================================================= */

.assessment-section {
  padding-block: clamp(4.5rem, 7vw, 6.5rem);
}

.assessment-layout {
  display: grid;
  gap: clamp(2.75rem, 6vw, 6rem);
  align-items: stretch;
}

.assessment-form-column {
  max-width: 42rem;
}

.contact-direct {
  padding-bottom: 2rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}

.contact-direct .section-label {
  margin-bottom: .45rem;
}

.contact-phone {
  display: block;
  width: fit-content;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 760;
  letter-spacing: -.025em;
  text-decoration-thickness: 1px;
  text-underline-offset: .25rem;
}

.contact-text {
  display: inline-block;
  margin-top: .35rem;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 700;
  text-underline-offset: .18rem;
}

.form-heading {
  margin-bottom: 1.8rem;
}

.form-heading h2 {
  max-width: 18ch;
  margin-bottom: .75rem;
}

.form-heading p {
  max-width: 60ch;
  margin-bottom: 0;
}

.assessment-form {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: .45rem;
}

.field label {
  color: var(--ink);
  font-size: .86rem;
  font-weight: 720;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--field-line);
  border-radius: 2px;
}

.field input,
.field select {
  min-height: 3rem;
  padding: .65rem .75rem;
}

.field textarea {
  min-height: 9rem;
  padding: .75rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

.field input[type="file"] {
  min-height: 0;
  padding: .75rem;
  background: var(--off-white);
}

.field-note {
  margin: 0;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.5;
}

.submit-button {
  width: fit-content;
  min-height: 3.2rem;
  margin-top: .35rem;
  padding: .8rem 1.15rem;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 2px;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 760;
}

.submit-button:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.form-disclaimer {
  max-width: 68ch;
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.55;
}

.assessment-photo {
  min-height: 24rem;
  margin: 0;
  overflow: hidden;
  background: #e2e7ea;
}

.assessment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: flex;
  min-height: inherit;
  height: 100%;
  flex-direction: column;
  justify-content: end;
  padding: 1.4rem;
  background: #e2e7ea;
  border: 1px solid #ced5dc;
}

.photo-placeholder span {
  margin-bottom: .3rem;
  color: var(--navy);
  font-size: .68rem;
  font-weight: 820;
  letter-spacing: .1em;
}

.photo-placeholder p {
  max-width: 34ch;
  margin-bottom: 0;
  font-size: .88rem;
  line-height: 1.5;
}

/* =========================================================
   WHAT HELPS
   ========================================================= */

.send-section {
  padding-block: clamp(4.25rem, 7vw, 6rem);
  background: var(--off-white);
  border-top: 1px solid var(--line);
}

.send-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.send-layout h2 {
  max-width: 19ch;
}

.send-list {
  border-top: 1px solid var(--line);
}

.send-list > div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.send-list strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--ink);
}

.send-list p {
  max-width: 56ch;
  margin-bottom: 0;
}

/* =========================================================
   WHAT HAPPENS NEXT
   ========================================================= */

.next-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.next-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.next-layout > div:first-child {
  max-width: 38rem;
}

.next-layout h2 {
  max-width: 18ch;
  margin-bottom: .8rem;
}

.next-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.next-list li {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.next-list > li > span {
  padding-top: .12rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.next-list h3 {
  margin-bottom: .35rem;
  font-size: 1.12rem;
}

.next-list p {
  max-width: 60ch;
  margin-bottom: 0;
}

/* =========================================================
   SERVICE AREA — performs map/location role without inventing
   a public storefront address.
   ========================================================= */

.service-area {
  color: #dce4eb;
  background: var(--navy);
}

.service-area__layout {
  display: grid;
  gap: 2rem;
  padding-block: clamp(4.25rem, 7vw, 6.5rem);
  align-items: start;
}

.service-area h2 {
  max-width: 21ch;
  color: var(--white);
}

.service-area__copy {
  max-width: 60ch;
}

.service-area__copy p {
  color: #dce4eb;
}

.service-area__copy p:first-child {
  color: var(--white);
  font-size: clamp(1.03rem, 1.3vw, 1.12rem);
  font-weight: 580;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: clamp(3.5rem, 6vw, 5rem) 0 5.5rem;
  color: #d3dce4;
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.logo--footer {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-brand p {
  max-width: 38ch;
}

.footer-brand > a:not(.logo) {
  color: var(--white);
  font-weight: 700;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: .5rem;
}

.site-footer nav strong {
  margin-bottom: .3rem;
  color: var(--white);
  font-size: .78rem;
}

.site-footer nav a {
  color: #dbe3e9;
  font-size: .83rem;
  text-decoration: none;
}

.site-footer nav a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: grid;
  gap: .5rem;
  margin-top: 2.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .75rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* =========================================================
   MOBILE QUICK ACTIONS
   ========================================================= */

.mobile-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mobile-actions a {
  display: grid;
  min-height: 3.5rem;
  place-items: center;
  padding: .65rem;
  color: var(--navy-deep);
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.mobile-actions a:first-child {
  color: var(--white);
  background: var(--navy);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 48rem) {
  .form-row--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assessment-layout {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }

  .send-layout,
  .next-layout,
  .service-area__layout {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  }

  .footer-grid {
    grid-template-columns: 1.45fr 1fr .75fr;
  }

  .footer-bottom {
    grid-template-columns: auto 1fr;
    gap: 2rem;
  }

  .footer-bottom p:last-child {
    text-align: right;
  }
}

/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 64rem) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-left: auto;
  }

  .header-cta {
    display: inline-flex;
  }

  .mobile-nav {
    display: none;
  }

  .assessment-layout {
    grid-template-columns: minmax(0, .92fr) minmax(35rem, 1.08fr);
  }

  .assessment-photo {
    min-height: 34rem;
  }

  .site-footer {
    padding-bottom: 3rem;
  }

  .mobile-actions {
    display: none;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 47.99rem) {
  body {
    padding-bottom: 3.5rem;
  }

  .top-strip__inner p {
    max-width: 24ch;
  }

  .page-intro h1 {
    max-width: 13ch;
    font-size: clamp(2.5rem, 10.5vw, 3.3rem);
  }

  .assessment-photo {
    min-height: 20rem;
  }

  .submit-button {
    width: 100%;
  }

  .send-layout h2,
  .next-layout h2,
  .service-area h2 {
    max-width: 17ch;
  }
}

@media (max-width: 24.5rem) {
  .top-strip {
    font-size: .7rem;
  }

  .logo {
    font-size: .92rem;
    letter-spacing: .07em;
  }

  .mobile-nav > summary {
    padding-inline: .6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   SITEWIDE QA PATCH — MOBILE UTILITY BAR
   Keeps the service area readable without turning the top strip
   into a three-line block on small screens.
   ========================================================= */

.top-strip__area {
  white-space: nowrap;
}

@media (max-width: 47.99rem) {
  .top-strip__descriptor {
    display: none;
  }

  .top-strip__inner {
    gap: .75rem;
  }

  .top-strip__inner p {
    max-width: none !important;
    white-space: nowrap;
  }
}



/* QA patch: temporary assessment placeholder sizing */
.photo-placeholder {
  justify-content: center;
}

.photo-placeholder p {
  max-width: 26ch;
}
