/* ==========================================================================
   Lohabour — Get_inquiry.css
   Contact / Request a Quote page styles. Assumes base.css is already
   loaded for variables, typography, buttons, reveal system, section
   primitives, tags, header, and footer. Self-contained.
   ========================================================================== */

.display--sm {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
}

/* ---------------- Hero (minimal, text-only) ---------------- */

.contact-hero {
  padding: 200px 0 80px;
  background: var(--bg);
}

.contact-hero__inner {
  max-width: 760px;
}

.contact-hero__kicker {
  animation: solFadeUp 0.9s var(--ease-soft) 0.15s both;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11px;
  color: rgba(241, 239, 232, 0.82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.contact-hero__kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--accent);
}


@keyframes contactFadeUp {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.contact-fade {
  animation: contactFadeUp 0.9s var(--ease-soft) var(--d, 0s) both;
}

.contact-hero .display--lg {
  margin: 14px 0 22px;
}

@media (max-width: 700px) {
  .contact-hero {
    padding: 130px 0 60px;
  }
}

/* ---------------- Contact info + form split ---------------- */

.contact-split {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 80px;
}

.contact-info .lede {
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 28px;
  margin: 0 0 28px;
  border-top: 1px solid var(--border);
}

.contact-details__item dt {
  margin-bottom: 6px;
}

.contact-details__item dd {
  margin: 0;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

.contact-details__item dd a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-details__item dd a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-note {
  padding: 20px 22px;
  border: 1px solid var(--border);
  background: rgba(176, 141, 87, 0.05);
}

.contact-note .mono-label {
  margin-bottom: 8px;
}

.contact-note p:last-child {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 960px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------------- Form ---------------- */

.contact-form-wrap .lede {
  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-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px;
  padding: 13px 14px;
  border-radius: 2px;
  transition: border-color 0.25s var(--ease);
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-display);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(241, 239, 232, 0.32);
}

.contact-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2396948D' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-field select:invalid {
  color: rgba(241, 239, 232, 0.32);
}

/* Honeypot — visually and functionally hidden from real users, but
   present in the DOM and tabbable-excluded so it still catches simple
   bots that autofill every field they can find. Deliberately NOT
   display:none, since some bots skip those. */
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-file {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-file input[type="file"] {
  flex: 1 1 auto;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  padding: 11px 12px;
  border-radius: 2px;
}

.contact-file__hint {
  color: rgba(241, 239, 232, 0.4);
  white-space: nowrap;
}

.contact-form__submit {
  margin-top: 8px;
  align-self: flex-start;
  min-width: 200px;
  justify-content: center;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.contact-form__privacy {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(241, 239, 232, 0.4);
  margin: 0;
}

.contact-form__status {
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.6;
}

.contact-form__status.is-success {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(176, 141, 87, 0.08);
}

.contact-form__status.is-error {
  border-color: #b05757;
  color: #f1efe8;
  background: rgba(176, 87, 87, 0.08);
}

@media (max-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------------- What to send us ---------------- */

.contact-whatsend-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 8px;
}

.contact-whatsend-item {
  background: var(--bg);
  padding: 28px 22px;
}

.contact-whatsend-item__num {
  display: block;
  margin-bottom: 16px;
}

.contact-whatsend-item h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.contact-whatsend-item p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 900px) {
  .contact-whatsend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .contact-whatsend-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Project types ---------------- */

.contact-types-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.contact-type-card {
    display: flex;
    flex-direction: column;

    padding: 28px 22px;
    border: 1px solid var(--border);

    transition:
        border-color 0.3s var(--ease),
        transform 0.3s var(--ease);
}

.contact-type-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.contact-type-card__ref {
    display: block;
    margin-bottom: 16px;
}

.contact-type-card h3 {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 10px;
}

.contact-type-card p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 18px;
}

/* Always stays at the bottom of the card */
.contact-type-card__cta {
    display: block;
    margin-top: auto;

    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

@media (max-width: 960px) {
    .contact-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-types-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 420px) {
    .contact-types-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------- Location ---------------- */

.contact-location {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-location__card {
  position: relative;
  border: 1px solid var(--border);
  padding: 40px 32px;
  background: var(--bg-secondary);
}

.contact-location__pin {
  color: var(--accent);
  display: inline-flex;
  margin-bottom: 20px;
}

.contact-location__card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 8px;
}

.contact-location__card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.contact-location__coords {
  color: rgba(241, 239, 232, 0.4);
}

@media (max-width: 900px) {
  .contact-location {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------------- Final CTA (minimal, no image) ---------------- */

.contact-final-cta {
  padding: 140px 0;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.contact-final-cta .display {
  margin: 0 0 16px;
}

.contact-final-cta .lede {
  margin: 0 auto 32px;
  max-width: 50ch;
}

@media (max-width: 700px) {
  .contact-final-cta {
    padding: 90px 0;
  }
}