/* ============== CONTACT PAGE ============== */
.cpage {
  background: var(--bg);
  min-height: 100vh;
}
.cpage-hero {
  position: relative;
  height: 78vh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  color: #fff;
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cpage-hero__media { position: absolute; inset: 0; z-index: 0; }
.cpage-hero__media img,
.cpage-hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cpage-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 35%,
    rgba(0,0,0,0.7) 100%);
}
.cpage-hero__top {
  position: absolute;
  top: 110px;
  left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 56px;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-family: var(--font-body);
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  z-index: 2;
  line-height: 1.5;
}
.cpage-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  padding: 0 32px;
}
.cpage-hero__kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #fff;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--r-pill);
  margin-bottom: 24px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}
.cpage-hero__title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  color: #fff;
  
}
.cpage-hero__sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cpage-hero__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px;
  background: #fff;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background .3s ease, color .3s ease;
}
.cpage-hero__cta:hover { background: var(--teal); color: #fff; }
.cpage-hero__corner {
  position: absolute;
  bottom: 38px;
  font-family: var(--font-body);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.72);
  z-index: 2;
  text-transform: uppercase;
}
.cpage-hero__corner--left { left: 56px; max-width: 220px; }
.cpage-hero__corner--right { right: 56px; max-width: 200px; text-align: right; }

/* form */
.cform {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 60px;
}
.cform__head { margin-bottom: 40px; }
.cform__step, .cinfo__step {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 14px;
}
.cform__head h2, .cinfo__head h2, .cmap__head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 12px;
}
.cform__head p, .cinfo__head p, .cmap__head p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.cform__form { display: flex; flex-direction: column; gap: 22px; }
.cform__row { display: grid; gap: 14px; }
.cform__row--three { grid-template-columns: 0.5fr 1fr 1fr; }

.cform__field { display: flex; flex-direction: column; gap: 8px; }
.cform__field label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.cform__field input,
.cform__field select,
.cform__field textarea {
  font-family: var(--ui);
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-input);
  padding: 13px 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cform__field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.cform__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E685C' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.cform__field input:focus,
.cform__field select:focus,
.cform__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(28, 61, 78, 0.10);
}
.cform__field--err input,
.cform__field--err select,
.cform__field--err textarea { border-color: oklch(0.55 0.18 25); }

.cform__phone {
  display: grid;
  grid-template-columns: 130px auto 1fr;
  align-items: stretch;
  border: 1px solid var(--rule);
  border-radius: var(--r-input);
  background: #fff;
  overflow: hidden;
}
.cform__phone:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(28, 61, 78, 0.10); }
.cform__phone select {
  border: 0;
  border-right: 1px solid var(--rule);
  border-radius: 0;
  background-color: var(--bg-warm);
  padding-right: 32px;
}
.cform__phone select:focus { box-shadow: none; border-color: transparent; border-right-color: var(--rule); }
.cform__phone-prefix {
  display: flex; align-items: center;
  padding: 0 4px 0 14px;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
}
.cform__phone input { border: 0; border-radius: 0; padding-left: 6px; }
.cform__phone input:focus { box-shadow: none; }

.cform__checks { display: flex; gap: 14px; flex-wrap: wrap; }
.cform__check, .cform__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-2);
  user-select: none;
}
.cform__check {
  flex: 1; min-width: 180px;
  background: #fff;
  border: 1px solid var(--rule);
  padding: 14px 16px;
  border-radius: var(--r-input);
  align-items: center;
  transition: all .2s ease;
}
.cform__check:hover { border-color: var(--ink); }
.cform__check input, .cform__privacy input {
  position: absolute;
  opacity: 0; pointer-events: none;
}
.cform__check-box {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border: 1.5px solid var(--rule);
  border-radius: 5px;
  background: #fff;
  position: relative;
  transition: all .15s ease;
}
.cform__check input:checked ~ .cform__check-box,
.cform__privacy input:checked ~ .cform__check-box {
  background: var(--ink);
  border-color: var(--ink);
}
.cform__check input:checked ~ .cform__check-box::after,
.cform__privacy input:checked ~ .cform__check-box::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat;
}
.cform__check span:last-child {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.cform__privacy {
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  padding: 16px 0 4px;
}
.cform__privacy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cform__privacy--err .cform__check-box { border-color: oklch(0.55 0.18 25); }

.cform__submit-row {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cform__submit { padding: 14px 28px; font-size: 14px; }
.cform__note { font-size: 12.5px; color: var(--muted); font-family: var(--font-body); }

.cform__success {
  text-align: center;
  padding: 60px 20px;
}
.cform__success-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cform__success h2 {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 14px;
}
.cform__success p {
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* contact info */
.cinfo {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 32px 60px;
}
.cinfo__head { text-align: center; margin-bottom: 48px; }
.cinfo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cinfo__card {
  background: #fff;
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-card);
  padding: 32px 28px;
  transition: all .2s ease;
}
.cinfo__card:hover { border-color: var(--black); }
.cinfo__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 18px;
}
.cinfo__card h4 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}
.cinfo__card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 12px;
}
.cinfo__card a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
  transition: color .2s ease;
}
.cinfo__card a:hover { color: var(--teal); }
.cinfo__hours {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  background: var(--bg-warm);
  border-radius: 999px;
  font-size: 11.5px;
  font-family: var(--font-body);
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* map */
.cmap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 100px;
}
.cmap__head { text-align: center; margin-bottom: 36px; }
.cmap__frame {
  position: relative;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--rule-soft);
  
}
.cmap__frame iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(1.05);
}
.cmap__pin-card {
  position: absolute;
  bottom: 24px; left: 24px;
  background: #fff;
  border-radius: var(--r-card);
  padding: 22px 24px;
  max-width: 320px;
  
}
.cmap__pin-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--teal);
  background: var(--bg-warm);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cmap__pin-card h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}
.cmap__pin-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.cmap__pin-card .btn { padding: 10px 18px; font-size: 12.5px; }

/* responsive */
@media (max-width: 960px) {
  .cpage-hero { height: auto; min-height: 560px; padding: 130px 0 60px; }
  .cpage-hero__top { padding: 0 28px; top: 90px; font-size: 10px; }
  .cpage-hero__inner { padding: 20px 28px 40px; }
  .cpage-hero__corner { font-size: 9px; bottom: 24px; }
  .cpage-hero__corner--left { left: 28px; max-width: 160px; }
  .cpage-hero__corner--right { right: 28px; max-width: 160px; }
  .cform { padding: 60px 24px 40px; }
  .cinfo { padding: 40px 24px 40px; }
  .cinfo__grid { grid-template-columns: 1fr; gap: 14px; }
  .cmap { padding: 30px 24px 80px; }
  .cmap__frame { height: 440px; }
  .cmap__pin-card { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

@media (max-width: 600px) {
  .cpage-hero { min-height: 520px; padding: 110px 0 40px; }
  .cpage-hero__top { display: none; }
  .cpage-hero__corner { display: none; }
  .cpage-hero__inner { padding: 0 22px; }
  .cpage-hero__sub { font-size: 14.5px; }
  .cform { padding: 48px 20px 30px; }
  .cform__row--three { grid-template-columns: 1fr; }
  .cform__phone { grid-template-columns: 110px auto 1fr; }
  .cform__phone select { padding-left: 10px; padding-right: 24px; font-size: 13px; }
  .cinfo { padding: 30px 20px 30px; }
  .cinfo__card { padding: 24px 22px; }
  .cmap { padding: 24px 20px 60px; }
  .cmap__frame { height: 380px; }
  .cmap__pin-card { padding: 18px 20px; }
  .cmap__pin-card h4 { font-size: 19px; }
}
