/* ==========================================================================
   contact.css — info blocks, enquiry form, map
   ========================================================================== */

/* ==========================================================================
   Three info blocks — one full-bleed dark band, no gaps
   ========================================================================== */

.info {
  background: var(--pine);
  color: var(--bone);
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 860px) {
  .info__grid { grid-template-columns: repeat(3, 1fr); }
}

.info__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-m);
}

/* Middle column set a shade deeper so the three read as distinct panels
   without needing rules between them. */
.info__card:nth-child(2) {
  background: rgba(21, 31, 24, 0.34);
}

/* Stacked on mobile, so give them hairlines instead */
@media (max-width: 859px) {
  .info__card + .info__card {
    border-top: 1px solid rgba(242, 244, 239, 0.14);
  }
}

.info__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-s);
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info__title {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: var(--space-s);
}

.info__line {
  font-size: var(--step-0);
  line-height: 1.7;
  color: rgba(242, 244, 239, 0.86);
  max-width: 30ch;
}

.info__line a {
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(190, 133, 53, 0.6);
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.info__line a:hover { color: var(--brass); border-bottom-color: var(--brass); }

/* ---- Payment chips ------------------------------------------------------- */
/* Text chips, not brand marks. Swap in official artwork when you have it —
   each card network publishes approved assets in its brand centre. */

.pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xs);
  max-width: 30ch;
}

.pay li {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--bone);
  background: rgba(242, 244, 239, 0.09);
  border: 1px solid rgba(242, 244, 239, 0.22);
  border-radius: var(--radius-s);
  padding: 0.45em 0.75em;
  line-height: 1;
}

.pay__note {
  margin-top: var(--space-m);
  font-size: var(--step--1);
  color: rgba(242, 244, 239, 0.62);
  max-width: 30ch;
}

/* ---- Hours --------------------------------------------------------------- */

.hours {
  display: grid;
  gap: var(--space-3xs);
  width: 100%;
  max-width: 22rem;
}

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-m);
  padding-block: var(--space-2xs);
  border-bottom: 1px solid rgba(242, 244, 239, 0.12);
  font-size: var(--step-0);
  text-align: left;
}

.hours__row:last-child { border-bottom: 0; }

.hours__day { color: var(--paper); font-weight: 500; }
.hours__time { color: rgba(242, 244, 239, 0.78); font-variant-numeric: tabular-nums; }
.hours__row--closed .hours__time { color: var(--sage-light); }

/* ==========================================================================
   Form
   ========================================================================== */

.enquiry { background: var(--paper); }

.enquiry__grid {
  display: grid;
  gap: var(--space-l);
}

@media (min-width: 940px) {
  .enquiry__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-2xl);
    align-items: start;
  }
}

.enquiry__aside p {
  margin-top: var(--space-s);
  color: var(--ink-soft);
  max-width: 40ch;
}

.form {
  display: grid;
  gap: var(--space-m);
}

.form__row {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .form__row--split { grid-template-columns: repeat(2, 1fr); }
}

.field { display: grid; gap: var(--space-3xs); }

.field__label {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--pine);
}

.field__label .req { color: var(--brass-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--ink);
  font-size: var(--step-0);
  transition: border-color var(--speed) var(--ease),
              background-color var(--speed) var(--ease);
}

.field textarea { resize: vertical; min-height: 150px; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--sage-light); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--paper);
  border-color: var(--sage);
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

/* Native select arrow varies wildly between browsers — replace it */
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%235C665F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 4L6 8.5L10.5 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  background-size: 12px;
  padding-right: 2.4em;
}

/* ---- Validation ---------------------------------------------------------- */

.field__error {
  font-size: var(--step--1);
  color: #9B2C2C;
  min-height: 1.2em;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #9B2C2C;
  background: #FDF4F4;
}

/* Honeypot — hidden from people, visible to bots that fill everything */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-m);
}

.form__note {
  font-size: var(--step--1);
  color: var(--ink-soft);
  max-width: 36ch;
}

.form__status {
  font-size: var(--step-0);
  padding: var(--space-s);
  border-radius: var(--radius-s);
  background: var(--sage-wash);
  color: var(--pine);
  border-left: 3px solid var(--sage);
}

.form__status[hidden] { display: none; }

/* ==========================================================================
   Map
   ========================================================================== */

.mapblock {
  height: 500px;
  background: var(--bone-deep);
  line-height: 0;
}

.mapblock iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 600px) {
  .mapblock { height: 380px; }
}