/* ============================================================
   Contact page — location cards + form
   ============================================================ */

/* ----- Section heading ----- */
.loc-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.loc-head h2 { margin-bottom: 10px; }

/* ----- Location cards grid ----- */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.loc-card {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.loc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  border-color: var(--orange);
}

.loc-map {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eef0f3;
  position: relative;
}
.loc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.loc-map-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  background: transparent;
  cursor: pointer;
}

.loc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 18px;
}
.loc-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.loc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.loc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}
.loc-list li a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}
.loc-list li a:hover { color: var(--orange); }

.loc-ico {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.loc-ico svg { width: 100%; height: 100%; }

.loc-btn {
  margin-top: auto;
  width: 100%;
}

/* ============================================================
   Send Us a Message
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-intro h2 { margin-bottom: 10px; }
.contact-intro .lede { margin-bottom: 36px; }

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-quick-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s ease;
}
.contact-quick-row:hover { color: var(--orange); }
.contact-quick-row .loc-ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: rgba(255, 127, 0, 0.12);
  color: var(--orange);
}
.contact-quick-row .loc-ico svg { width: 18px; height: 18px; }

/* ----- Form ----- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.field {
  position: relative;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 17px 23px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #c3c3c3;
  font-weight: 500;
}
.field select {
  appearance: none;
  cursor: pointer;
  color: #c3c3c3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c3c3c3' stroke-width='2.2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 23px center;
  padding-right: 56px;
}
.field select:valid,
.field select.has-value {
  color: var(--ink);
}
/* Once user picks an option, browser-valid styling shows ink color */
.field select option { color: var(--ink); }
.field select option[disabled] { color: #c3c3c3; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.15);
}

.form-submit {
  align-self: flex-start;
  min-width: 187px;
}

.form-status {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 6px;
}
.form-status.ok { color: #1f8a5b; background: rgba(31, 138, 91, 0.08); }
.form-status.err { color: #c0392b; background: rgba(192, 57, 43, 0.08); }

/* ----- Direct-contact CTA (call + WhatsApp; replaces the old form) ----- */
.contact-cta-card {
  background: linear-gradient(135deg, #0f2a4a 0%, #16385f 100%);
  border-radius: 16px;
  padding: 36px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(15, 42, 74, .18);
}
.contact-cta-card h3 { font-size: 24px; margin: 0 0 10px; color: #fff; }
.contact-cta-card p { font-size: 15px; line-height: 1.6; color: #d5deea; margin: 0 0 24px; }
.contact-cta-btn {
  width: 100%;
  gap: 10px;
  height: 56px;
  font-size: 15px;
  margin-bottom: 14px;
}
.contact-cta-btn:last-child { margin-bottom: 0; }
.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.btn-whatsapp:hover { background: #1eb857; border-color: #1eb857; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .loc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .loc-grid { grid-template-columns: 1fr; gap: 24px; }
  .loc-card { padding: 20px; gap: 22px; }
  .loc-body h3 { font-size: 18px; }

  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-form { gap: 16px; }
  .field input, .field select, .field textarea { font-size: 14px; padding: 14px 18px; }
  .field select { background-position: right 16px center; padding-right: 48px; }
  .field textarea { min-height: 150px; }
  .form-submit { width: 100%; }
  .contact-cta-card { padding: 24px; }
}
