/* =========================================================
   Contact page styles (light theme, reference-inspired)
   Loaded AFTER style.css
   ========================================================= */

/* ---------- Page banner (full-bleed width, same height) ---------- */
.page-banner { padding: 0; }
.page-banner .pb-frame {
  position: relative;
  max-width: none;
  margin: 0;
  height: 300px;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
}
.page-banner .pb-frame .pb-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-banner .pb-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,16,12,.78) 0%, rgba(20,16,12,.45) 45%, rgba(20,16,12,.15) 100%);
}
.pb-mark {
  position: absolute; top: 22px; left: 30px; z-index: 2;
  height: 46px; width: auto;
}
.pb-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex;
  align-items: center;
}
.pb-title {
  margin: 0; z-index: 2;
  font-size: 46px; font-weight: 700; letter-spacing: .5px;
  text-shadow: 0 3px 24px rgba(0,0,0,.35);
}
.pb-crumb {
  position: absolute; right: 26px; bottom: 26px; z-index: 2;
  background: #fff; color: var(--ink);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px; font-weight: 400;
}
.pb-crumb a { color: var(--muted); }
.pb-crumb a:hover { color: var(--gold); }
.pb-crumb .sep { color: var(--line); margin: 0 8px; }
.pb-rotated {
  position: absolute; right: 6px; top: 50%; z-index: 2;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 62px; font-weight: 600;
  letter-spacing: 4px;
  color: rgba(255,255,255,.14);
  user-select: none;
}

/* ---------- Contact section ---------- */
.contact-section { padding: 80px 0 90px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-lead .overline {
  font-size: 14px; letter-spacing: 1px; color: var(--gold);
  margin-bottom: 22px;
}
.contact-lead h2 {
  font-weight: 600;
  font-size: 38px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 22px;
}
.contact-lead > p {
  color: var(--text);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 40px;
  max-width: 460px;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 30px;
}
.info-block h4 {
  font-weight: 600; font-size: 22px; color: var(--ink);
  margin: 0 0 12px;
}
.info-block p, .info-block a {
  display: block;
  font-weight: 400; font-size: 18px; color: #575757;
  line-height: 1.8; margin: 0;
}
.info-block a:hover { color: var(--gold); }
.social-row { display: flex; gap: 14px; margin-top: 2px; }
.social-row a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: all .2s;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.social-row a svg { width: 17px; height: 17px; }

/* ---------- Form card ---------- */
.form-card {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 44px 46px 46px;
}
.form-card h3 { font-weight: 500; font-size: 26px; color: var(--ink); margin: 0 0 10px; }
.form-card .sub { color: var(--muted); font-weight: 400; font-size: 18px; margin: 0 0 32px; line-height: 1.6; }
.field { position: relative; margin-bottom: 26px; }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d5d5d5;
  background: transparent;
  padding: 10px 2px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
.field textarea { min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: #9a9a9a; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.form-msg { font-size: 14px; margin: 4px 0 18px; min-height: 18px; }
.form-msg.ok { color: #1a7d3c; }
.form-msg.err { color: #c0392b; }
.form-card .btn-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 30px;
  padding: 14px 30px;
  font-family: inherit; font-weight: 400; font-size: 15px;
  cursor: pointer;
  transition: background .2s;
}
.form-card .btn-submit:hover { background: var(--gold); }

/* ---------- Map ---------- */
.map-wrap { position: relative; }
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
  filter: grayscale(30%);
}
.map-card {
  position: absolute; top: 26px; left: 26px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
  padding: 18px 20px;
  max-width: 260px;
}
.map-card .mc-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.map-card .mc-addr { font-weight: 300; font-size: 13.5px; color: var(--text); line-height: 1.6; margin: 6px 0 8px; }
.map-card .mc-link { font-size: 13.5px; color: var(--gold); font-weight: 400; }
.map-card .mc-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .pb-title { font-size: 40px; }
  .pb-rotated { display: none; }
}
@media (max-width: 600px) {
  .page-banner .pb-frame { height: 220px; }
  .pb-title { font-size: 32px; left: 22px; bottom: 22px; }
  .pb-mark { left: 22px; top: 20px; }
  .pb-crumb { right: 16px; bottom: 16px; padding: 8px 12px; font-size: 12.5px; }
  .contact-lead h2 { font-size: 30px; }
  .contact-info { grid-template-columns: 1fr; gap: 26px; }
  .form-card { padding: 30px 24px; }
  .map-card { position: static; max-width: none; margin: 0 16px; border-radius: 0 0 10px 10px; box-shadow: none; border: 1px solid var(--line); }
  .map-wrap iframe { height: 360px; }
}
