/* Page-local additions for the V6 Contact page.
   Everything else (header, buttons, torn edge, hours, footer) is inherited unchanged from
   /v6/styles.css to stay consistent with the approved homepage and service pages. */

/* Real client photo (wash.jpg, a mechanic pressure-washing with the branded Mazdock truck in
   frame) per Darrel, DM trace 7b232831 (R-048) -- contact previously had no hero photo. */
.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(9,10,12,0.9) 0%, rgba(9,10,12,0.74) 32%, rgba(9,10,12,0.32) 62%, rgba(9,10,12,0.12) 100%),
    url("assets/hero.jpg");
  background-position: center 40%;
  background-size: cover;
}

.contact-hero .kicker {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7cc3e8;
  margin-bottom: 14px;
}

.contact-hero .hero-headline {
  font-size: 56px;
}

/* "Get in touch" details + the message form, now one split section (details left, form
   right) per Darrel, DM trace 7b232831 (R-048) -- was two stacked sections before. */
.contact-split {
  padding: 80px var(--gutter) 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  background: var(--color-worktruck-white);
}

.contact-split-details {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* The shared .split-heading component is a side-by-side h2/p pattern built for a full-width
   section -- squeezed into this half-width column it read as a cramped split instead of a
   clean stack. Override just the layout (keep the shared h2/p typography) so it stacks here.
   Per Darrel, DM trace 617ee67b (R-052). */
.contact-split-details .split-heading {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-split-details .split-heading p {
  width: 100%;
}

/* Single stacked column, no inner grid -- per Darrel, DM trace 722f9526 (R-051). */
.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* This page's own .carry-card box styling -- the R-039 comment said this class "reuses the
   .carry-card look from the service pages", but each service page's .carry-card is defined in
   that page's own local styles.css, so the box/border was never actually inherited here. Adding
   it now since the copy calls these "cards" and the stacked layout makes the missing box more
   visible. */
.contact-info-grid .carry-card {
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #d8e1e6;
  border-radius: 4px;
}

.contact-info-grid .map-card {
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.contact-info-grid .map-card iframe {
  display: block;
}

.contact-info .checklist-eyebrow,
.checklist-eyebrow {
  color: var(--color-diesel-blue);
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-info-value {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-deep-blue);
  margin-bottom: 10px;
}

.contact-info-value-sm {
  font-size: 18px;
  word-break: break-all;
}

.contact-info-text {
  color: #243942;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

.contact-info-grid .carry-card p:not(.checklist-eyebrow):not(.contact-info-text) {
  color: #3d5059;
  font-size: 15px;
  line-height: 1.6;
}

/* Contact form -- now the right column of .contact-split, no longer its own full-width
   section with a centered card. */
.contact-form-wrap {
  padding: 48px;
  background: #fff;
  border: 1px solid #d8e1e6;
  border-radius: 4px;
}

.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-deep-blue);
  margin-bottom: 16px;
}

.contact-form-intro {
  color: #33454e;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-field label {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-deep-blue);
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 2px rgba(54, 130, 174, 0.25);
}

.contact-form-field textarea {
  resize: vertical;
}

.contact-form-submit {
  align-self: flex-start;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .contact-split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .contact-split { padding-block: 72px; }
  .contact-form-wrap { padding: 32px 24px; }
  .contact-form-row { grid-template-columns: 1fr; }
}
