/* ================================================================
   Contact page — extends css/styles.css and css/products.css tokens
   ================================================================ */

/* ---------- Hero banner (illustrated quarry graphic — no animation) ---------- */
.contact-hero{
  position: relative;
  min-height: 42vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: #14110e;
}
.contact-hero-media{
  position: absolute; inset: 0;
  background-image: url('images/quarry-banner.svg');
  background-size: cover;
  background-position: center bottom;
}
.contact-hero-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,12,10,.25) 0%, rgba(14,12,10,.35) 40%, rgba(14,12,10,.9) 100%);
}
.contact-hero-inner{ position: relative; z-index: 1; padding: 9.5rem 0 3.4rem; color: #fff; }
.contact-hero .eyebrow-line{ color: rgba(255,255,255,.7); }
.contact-hero-title{
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 20ch;
  margin: 1rem 0 1.2rem;
  color: #fff;
}
.contact-hero-title em{ font-style: italic; font-weight: 500; color: #E4A583; }
.contact-hero-sub{
  max-width: 46ch;
  color: rgba(255,255,255,.72);
  font-size: 1.02rem;
  font-weight: 300;
  margin-bottom: 0;
}

.contact-section{ padding-top: 4.4rem; }

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-heading{
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1.6rem;
}

.contact-subheading{
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .9rem;
}

/* ---------- Direct channels ---------- */
.contact-channels{
  list-style: none; margin: 0 0 2.4rem; padding: 0;
  border-top: 1px solid var(--slate-line);
}
.contact-channels li{ border-bottom: 1px solid var(--slate-line); }

.contact-channel{
  display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem .1rem;
  color: inherit; text-decoration: none;
}
.contact-channel:hover{ color: var(--terracotta-deep); }

.contact-icon{
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--stone-cream); border: 1px solid var(--slate-line);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg{ width: 18px; height: 18px; fill: var(--charcoal); }
.contact-icon-whatsapp{ background: #25D366; border-color: #25D366; }
.contact-icon-whatsapp svg{ width: 20px; height: 20px; fill: #fff; }

.contact-channel-body{ display: flex; flex-direction: column; gap: .15rem; }
.contact-channel-label{ font-size: .74rem; color: var(--slate); }
.contact-channel-value{ font-size: .96rem; font-weight: 500; }

/* ---------- Hours ---------- */
.contact-hours{ margin-bottom: 2.4rem; }
.contact-hours-table{
  display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.4rem;
  margin: 0; font-size: .9rem;
}
.contact-hours-table dt{ color: var(--slate); }
.contact-hours-table dd{ margin: 0; font-weight: 500; }

/* ---------- Tips ---------- */
.contact-tip-list{ margin: 0; padding-left: 1.1rem; font-size: .9rem; color: var(--slate); line-height: 1.7; }
.contact-tip-list a{ color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Form panel ---------- */
.contact-form-panel{
  background: var(--stone-white);
  box-shadow: 0 0 0 1px var(--slate-line);
  border-radius: 2px;
  padding: 2.2rem 2rem 2.4rem;
}

.contact-form{ display: flex; flex-direction: column; gap: 1.25rem; }
.form-row{ display: flex; flex-direction: column; gap: .4rem; }
.form-row-split{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-row-split > div{ display: flex; flex-direction: column; gap: .4rem; }

.contact-form label{ font-size: .8rem; font-weight: 500; color: var(--slate); }
.form-optional{ font-weight: 400; color: var(--slate); }

.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  font-family: var(--sans);
  font-size: .94rem;
  color: var(--charcoal);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--slate-line);
  padding: .55rem .1rem;
  outline: none;
  border-radius: 0;
}
.contact-form select{ appearance: none; background-image: none; cursor: pointer; }
.contact-form textarea{ resize: vertical; min-height: 6rem; line-height: 1.5; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{ border-color: var(--terracotta); }

.contact-submit{ align-self: flex-start; border: none; cursor: pointer; margin-top: .4rem; }

.contact-form-note{ font-size: .78rem; color: var(--slate); margin: .4rem 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; gap: 2.6rem; }
}
@media (max-width: 480px){
  .form-row-split{ grid-template-columns: 1fr; gap: 1.25rem; }
  .contact-form-panel{ padding: 1.8rem 1.4rem 2rem; }
}

/* ---------- Location map ---------- */
.map-section{ background: var(--stone-white); border-top: 1px solid var(--slate-line); padding: 4rem 0 3.4rem; }
.map-heading-row{ margin-bottom: 1.6rem; }
.map-heading-row .contact-heading{ margin: .5rem 0 0; }
.map-frame{
  width: 100%; aspect-ratio: 16/6; min-height: 280px;
  box-shadow: 0 0 0 1px var(--slate-line);
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; display: block; }
.map-note{
  font-size: .8rem; color: var(--slate); margin: 1rem 0 0;
  max-width: 60ch;
}
.map-note code{ font-size: .78rem; background: var(--stone-cream); padding: .1rem .35rem; border-radius: 2px; }

@media (max-width: 640px){
  .map-frame{ aspect-ratio: 4/5; }
}