/* ==========================================================================
   Contact page. Relies on tokens and components in styles.css.
   ========================================================================== */

.page-hero__actions { margin-top: 2.25rem; }

/* ---------- Contact cards (overlap the hero edge) ---------- */
.contact-strip { position: relative; z-index: 2; margin-top: -3rem; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  box-shadow: var(--shadow);
}
.contact-card .card__icon { margin-bottom: 0.6rem; }
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  overflow-wrap: anywhere;
  transition: color var(--dur) var(--ease);
}
a.contact-card__value:hover { color: var(--amber-600); }
.contact-card__value--address {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}
.contact-card p { font-size: 0.95rem; }
.contact-card .link-arrow { margin-top: auto; padding-top: 0.25rem; font-size: 0.95rem; }

@media (max-width: 960px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-strip { margin-top: -2rem; }
}

/* ---------- Quote form ---------- */
.quote__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  align-items: start;
}
.quote__intro {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  display: grid;
  gap: 1.25rem;
}
.quote__intro h2 { font-size: var(--fs-h2); }

.next-steps {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}
.next-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}
.next-steps__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber-600);
  padding-top: 0.2rem;
}
.next-steps h3 { font-size: 1.05rem; }
.next-steps p { margin-top: 0.3rem; font-size: 0.93rem; color: var(--color-text-muted); }

.area-note {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--amber-500);
  background: var(--off-white);
}
.area-note__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.area-note p { font-weight: 500; }
.area-note span[aria-hidden] { color: var(--amber-600); }

.quote__panel {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.quote__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 0.5rem;
}
.quote__submit .form-note { flex: 1 1 220px; }
.quote__submit .req { color: var(--amber-600); }

@media (max-width: 960px) {
  .quote__inner { grid-template-columns: 1fr; }
  .quote__intro { position: static; }
}
@media (max-width: 480px) {
  .quote__submit .btn,
  .page-hero__actions .btn { width: 100%; }
}

/* ---------- Map ---------- */
.map__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.map__info { display: grid; gap: 1.25rem; justify-items: start; }
.map__info h2 { font-size: var(--fs-h2); }
.map__info address { font-size: var(--fs-md); line-height: 1.6; color: var(--color-text-muted); }
.map__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

@media (max-width: 960px) {
  .map__inner { grid-template-columns: 1fr; }
  .map__frame { aspect-ratio: 4 / 3; }
}

/* ---------- Enquiry buttons (WhatsApp / Email) ---------- */
.quote__submit { display: grid; gap: 0.85rem; }
.quote__submit-label { font-size: 0.875rem; font-weight: 600; }
.quote__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem; }
.quote__buttons .btn { width: 100%; }
.btn--whatsapp {
  --btn-bg: #128c4a;
  --btn-fg: #ffffff;
  --btn-border: #128c4a;
  --btn-hover-bg: #0f7a40;
}
.btn--whatsapp:hover { box-shadow: 0 12px 24px -12px rgba(18, 140, 74, 0.6); }
.btn--whatsapp .icon { width: 20px; height: 20px; }

@media (max-width: 400px) {
  .quote__buttons { grid-template-columns: 1fr; }
}

/* Additional phone numbers / email under the main contact value */
.contact-card__more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: -0.2rem;
}
.contact-card p.contact-card__more { font-size: 1rem; }
.contact-card__more a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  overflow-wrap: anywhere;
  transition: color var(--dur) var(--ease);
}
.contact-card__more a:hover { color: var(--amber-600); }
