/* ═══════════════════════════════════════════
   Amadio — Contact page (editorial + form + map)
   Relies on styles.css + heritage.css for tokens,
   header, drawer, footer, hero banner and intro type.
   ═══════════════════════════════════════════ */

#hero.menu-hero {
  background-image: url("../images/contact-banner.jpg");
}
.contact-divider {
  aspect-ratio: 8448 / 5225;
}

/* ─── FORM SECTION ─── */
.res-section {
  background: var(--bg-reservation);
}
.res-section .section__inner {
  max-width: 900px;
  text-align: center;
}
.res-section .eyebrow {
  justify-content: center;
}
.res-section .display {
  text-align: center;
}
.res-section .res-form {
  text-align: left;
  margin-top: 40px;
}

/* Select + textarea inherit the reservation input styling */
.res-form select,
.res-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 0.75px solid rgba(28, 28, 28, 0.3);
  outline: none;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  color: var(--ink);
  padding: 8px 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
}
.res-form select:focus,
.res-form textarea:focus {
  border-bottom-color: var(--red);
}
.res-form textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.4;
}
.res-form textarea::placeholder {
  color: rgba(28, 28, 28, 0.35);
  font-size: 22px;
}

/* Select — chevron + placeholder colour */
.res-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231C1C1C' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 28px;
  cursor: pointer;
}
.res-form select:invalid {
  color: rgba(28, 28, 28, 0.35);
}
.res-form select option {
  color: var(--ink);
  font-family: var(--ui);
  font-size: 15px;
}

/* ─── MAP SECTION ─── */
.contact-map {
  background: var(--bg-reservation);
}
.contact-map__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 28px 88px;
}
.contact-map__frame {
  position: relative;
  border: 0.5px solid var(--border);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #e4decf;
}
.contact-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(0.95);
}
.contact-map__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact-map__caption a {
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}
.contact-map__caption a:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .res-form select,
  .res-form textarea {
    font-size: 16px;
  }
  .res-form input::placeholder,
  .res-form textarea::placeholder {
    font-size: 16px;
  }
  .res-section .section__inner {
    padding: 56px 20px 48px;
  }
  .her2-rule {
    margin: 25px auto;
  }
  .contact-map__inner {
    padding: 0 20px 64px;
  }
  .contact-map__frame {
    aspect-ratio: 4 / 5;
  }
  .contact-map__caption {
    flex-direction: column;
    gap: 4px;
  }
}
