/* Phase 2 — Contact page
   Scoped to .contact-page so the Phase 1 homepage remains untouched. */

.contact-page .site-header {
  background: rgba(14,17,17,.96);
}

.contact-hero {
  padding: calc(var(--header-height) + clamp(4rem, 8vw, 7rem)) 0 clamp(4rem, 7vw, 6rem);
  background:
    linear-gradient(115deg, rgba(17,74,79,.96), rgba(14,17,17,.98));
  color: var(--white);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.contact-hero h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.contact-hero-copy > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #d5dddd;
  font-size: 1.08rem;
}

.contact-quick {
  padding-left: 2rem;
  border-left: 1px solid rgba(255,255,255,.22);
}

.contact-quick-label {
  margin-bottom: 1rem;
  color: #b9c8c8;
  font-size: .92rem;
}

.contact-quick a {
  display: block;
  width: fit-content;
  margin: .55rem 0;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.contact-quick a:hover {
  color: var(--orange);
}

.contact-main {
  background: #f6f7f6;
}

.contact-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 440px;
  color: #5a6262;
}

.contact-note {
  max-width: 440px;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-left: 3px solid var(--orange);
  background: var(--white);
}

.contact-note strong {
  display: block;
  margin-bottom: .45rem;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
}

.contact-note p {
  margin: 0;
  color: #5a6262;
  font-size: .95rem;
}

.quote-form-wrap {
  padding: clamp(1.6rem, 3vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(14,17,17,.06);
}

.quote-form {
  display: grid;
  gap: 1.55rem;
}

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

.form-row-two {
  grid-template-columns: 1fr 1fr;
}

.form-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-field label,
.form-field legend {
  display: block;
  margin-bottom: .55rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="date"],
.form-field textarea {
  width: 100%;
  border: 1px solid #cbd0d0;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="date"] {
  min-height: 52px;
  padding: 0 .9rem;
}

.form-field textarea {
  min-height: 145px;
  padding: .9rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(17,74,79,.11);
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: #b84c3d;
}

.field-help {
  margin: -.15rem 0 .85rem;
  color: #737a7a;
  font-size: .9rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .7rem;
}

.choice-card {
  display: flex !important;
  align-items: center;
  gap: .7rem;
  min-height: 48px;
  margin: 0 !important;
  padding: .72rem .85rem;
  border: 1px solid #d5d9d9;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 500 !important;
  transition: border-color .2s ease, background .2s ease;
}

.choice-card:hover {
  border-color: #9ba9a9;
  background: #fafbfa;
}

.choice-card:has(input:checked) {
  border-color: var(--teal);
  background: rgba(17,74,79,.06);
}

.choice-card input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--teal);
}

.choice-card span {
  line-height: 1.25;
}

.radio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.choice-card-radio {
  min-height: 52px;
}

.field-error {
  margin: .65rem 0 0;
  color: #a43a2e;
  font-size: .9rem;
  font-weight: 600;
}

.choice-group.has-error .checkbox-grid {
  outline: 2px solid rgba(164,58,46,.25);
  outline-offset: 4px;
  border-radius: 7px;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: .3rem;
}

.form-submit p {
  margin: 0;
  color: #7a8080;
  font-size: .87rem;
}

.contact-service-strip {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: var(--ink);
  color: var(--white);
}

.service-strip-list {
  max-width: 1050px;
  margin: 0;
  color: #d7dddd;
  font: 600 clamp(1.15rem, 2.2vw, 1.6rem)/1.7 "Poppins", sans-serif;
}

.service-strip-list span {
  margin: 0 .35rem;
  color: var(--orange);
}

@media (max-width: 900px) {
  .contact-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-quick {
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.22);
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .form-row-two,
  .checkbox-grid,
  .radio-row {
    grid-template-columns: 1fr;
  }

  .quote-form-wrap {
    padding: 1.3rem;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-submit .button {
    width: 100%;
  }
}

/* ABCivil â€” Contact page process timeline update
   Replace the existing process/timeline styles in contact.css with this block.
   Keep the rest of your form styles unchanged. */

.contact-process {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.process-heading {
  max-width: 430px;
  margin-bottom: 1.8rem;
}

.process-heading h2 {
  margin: 0;
  max-width: 390px;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  line-height: 1.15;
}

.process-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 1rem;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50px;
  bottom: -2px;
  width: 2px;
  background: #d3d9d9;
}

.process-step:last-child::before {
  display: none;
}

.process-marker {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: #f6f7f6;
  color: var(--teal);
  font: 700 .78rem/1 "Poppins", sans-serif;
  letter-spacing: .08em;
}

.process-card {
  padding: .9rem 1rem .95rem;
  border: 1px solid #d9dede;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(14,17,17,.035);
}

.process-card h3 {
  margin: 0 0 .2rem;
  font-size: 1rem;
  line-height: 1.25;
}

.process-card p {
  margin: 0;
  color: #687070;
  font-size: .9rem;
  line-height: 1.45;
}

.process-step-final .process-marker {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.process-step-final .process-card {
  border-color: rgba(230,126,34,.45);
}

.process-step-final .process-card h3 {
  color: var(--ink);
}

/* Tablet/mobile:
   keep the form first and move this process underneath */
@media (max-width: 900px) {
  .quote-form-wrap {
    order: 1;
  }

  .contact-process {
    position: static;
    order: 2;
    margin-top: 1rem;
  }

  .process-heading,
  .process-heading h2,
  .process-timeline {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .process-step {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: .8rem;
  }

  .process-marker {
    width: 46px;
    height: 46px;
    font-size: .72rem;
  }

  .process-step::before {
    left: 22px;
    top: 44px;
  }

  .process-card {
    padding: .8rem .9rem;
  }
}

/* Contact page â€” service areas
   Add this block to the bottom of assets/css/contact.css */

.service-areas {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: #114A4F;
  color: var(--white);
}

.service-areas-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.service-areas-copy {
  max-width: 760px;
}

.service-areas-copy h2 {
  margin-bottom: .8rem;
}

.service-areas-copy p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: #c8d2d2;
}

.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem;
}

.service-area-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: .7rem 1rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.service-area-label {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.service-area-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 700px) {
  .service-area-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .service-area-tags {
    width: 100%;
    justify-content: flex-start;
  }
}


@media (max-width: 800px) {
  .service-areas-inner {
    grid-template-columns: 1fr;
  }

  .service-area-tags {
    justify-content: flex-start;
  }
}







