/* ---------- Contact page (contact.php) ---------- */

.pm-ct { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---- 1. Map + info ---- */
.pm-ct__visit {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  margin-bottom: 96px;
}
.pm-ct__map {
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  background: #e9e5dc;
  border: 1px solid rgba(10, 10, 10, 0.07);
}
.pm-ct__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

.pm-ct__info { display: grid; gap: 14px; align-content: start; }
.pm-ct__card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.07);
  border-radius: 22px;
  transition: border-color .25s ease, transform .25s ease;
}
.pm-ct__card:hover { border-color: rgba(252, 72, 5, 0.4); transform: translateY(-2px); }
.pm-ct__icon {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  color: var(--primary, #FC4805);
  background: rgba(252, 72, 5, 0.1);
  border-radius: 14px;
}
.pm-ct__grow { flex: 1; min-width: 0; }
.pm-ct__label {
  margin: 0 0 6px;
  font-family: "Antonio", sans-serif;
  font-size: 22px; font-weight: 700; line-height: 1.1;
}
.pm-ct__card address { font-style: normal; color: #3a3a3e; font-size: 15.5px; line-height: 1.6; }
.pm-ct__strong { color: #0a0a0a; font-weight: 600; text-decoration: none; word-break: break-all; }
.pm-ct__strong:hover { color: var(--primary, #FC4805); }
.pm-ct__phones { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.pm-ct__phones li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 12px;
  background: #f7f4ee;
  border-radius: 12px;
  font-size: 14px;
}
.pm-ct__phones span { color: #6c6963; }
.pm-ct__phones a { color: #0a0a0a; font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pm-ct__phones a:hover { color: var(--primary, #FC4805); }

/* ---- Follow us: one quiet bar ---- */
.pm-ct__visit { margin-bottom: 20px; }
.pm-social { margin-bottom: 96px; }
.pm-social__bar {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 20px;
  overflow: hidden;
}
.pm-social__label {
  flex: none;
  display: flex; align-items: center;
  margin: 0;
  padding: 0 32px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: #8a8780;
  border-right: 1px solid rgba(10, 10, 10, 0.08);
}
.pm-social__list {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.pm-social__list li + li { border-left: 1px solid rgba(10, 10, 10, 0.08); }
.pm-social__item {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 76px;
  font-size: 15px; font-weight: 500;
  color: #0a0a0a;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.pm-social__item svg { flex: none; transition: transform .2s ease; }
.pm-social__item:hover { color: var(--primary, #FC4805); background: #fcfbf8; }
.pm-social__item:hover svg { transform: translateY(-1px); }
.pm-social__item:focus-visible { outline: 2px solid var(--primary, #FC4805); outline-offset: -4px; }

@media (max-width: 860px) {
  .pm-social__bar { flex-direction: column; }
  .pm-social__label { padding: 16px 20px; border-right: 0; border-bottom: 1px solid rgba(10, 10, 10, 0.08); }
  .pm-social__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-social__list li:nth-child(3) { border-left: 0; }
  .pm-social__list li:nth-child(n+3) { border-top: 1px solid rgba(10, 10, 10, 0.08); }
  .pm-social__item { height: 64px; }
  .pm-social { margin-bottom: 64px; }
}

/* ---- 2. WhatsApp quick response ---- */
.pm-wa { margin-bottom: 96px; }
.pm-wa__inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 64px;
  color: #fff;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(135deg, #0f7a4f 0%, #128c56 45%, #1fae63 100%);
  border-radius: 36px;
  box-shadow: 0 40px 80px -40px rgba(18, 140, 86, 0.65);
}
.pm-wa__inner::after {
  content: "";
  position: absolute; right: -120px; bottom: -160px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.pm-wa__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  padding: 7px 14px 7px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
.pm-wa__live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #a8ffcf;
  box-shadow: 0 0 0 4px rgba(168, 255, 207, 0.3);
  animation: pm-wa-pulse 1.8s ease-in-out infinite;
}
@keyframes pm-wa-pulse { 50% { box-shadow: 0 0 0 9px rgba(168, 255, 207, 0); } }
.pm-wa__title {
  margin: 0;
  font-family: "Antonio", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.pm-wa__text { margin: 22px 0 32px; max-width: 520px; font-size: 18px; color: rgba(255, 255, 255, 0.85); }
.pm-wa__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pm-wa__btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 30px;
  font-size: 18px; font-weight: 600;
  color: #0f7a4f;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pm-wa__btn svg { color: #25d366; }
.pm-wa__btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 40px -14px rgba(0, 0, 0, 0.5); }
.pm-wa__call { color: rgba(255, 255, 255, 0.85); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.pm-wa__call:hover { color: #fff; }

/* chat mock */
.pm-wa__chat {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.pm-wa__bubble {
  max-width: 85%;
  padding: 12px 16px;
  font-size: 15px; line-height: 1.45;
  border-radius: 18px;
  opacity: 0;
  animation: pm-wa-in .5s ease forwards;
}
.pm-wa__bubble--in { align-self: flex-start; color: #0a0a0a; background: #fff; border-bottom-left-radius: 6px; }
.pm-wa__bubble--out { align-self: flex-end; color: #0a0a0a; background: #d9fdd3; border-bottom-right-radius: 6px; }
.pm-wa__bubble:nth-child(1) { animation-delay: .2s; }
.pm-wa__bubble:nth-child(2) { animation-delay: .9s; }
.pm-wa__bubble:nth-child(3) { animation-delay: 1.6s; }
@keyframes pm-wa-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pm-wa__typing {
  align-self: flex-start;
  display: flex; gap: 5px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 18px; border-bottom-left-radius: 6px;
}
.pm-wa__typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa3a0; animation: pm-wa-dot 1.2s infinite ease-in-out; }
.pm-wa__typing span:nth-child(2) { animation-delay: .15s; }
.pm-wa__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes pm-wa-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }

/* floating WhatsApp button */
.pm-wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7);
  transition: transform .25s ease;
}
.pm-wa-float:hover { transform: scale(1.08); }

/* ---- 3. Form ---- */
.pm-form-wrap { margin-bottom: 120px; max-width: 920px; }
.pm-form-wrap__intro { margin-bottom: 28px; }
.pm-form-wrap__title {
  margin: 0 0 10px;
  font-family: "Antonio", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
}
.pm-form-wrap__title em { font-style: normal; color: var(--primary, #FC4805); }
.pm-form-wrap__intro p { margin: 0; color: #5b5b61; }

.pm-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  padding: 40px;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.07);
  border-radius: 28px;
}
.pm-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pm-field { display: flex; flex-direction: column; gap: 8px; }
.pm-field--full { grid-column: 1 / -1; }
.pm-field label { font-size: 14px; font-weight: 600; color: #3a3a3e; }
.pm-field input, .pm-field select, .pm-field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit; font-size: 16px;
  color: #0a0a0a;
  background: #f7f4ee;
  border: 1.5px solid transparent;
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.pm-field textarea { resize: vertical; min-height: 130px; }
.pm-field input:focus, .pm-field select:focus, .pm-field textarea:focus {
  background: #fff;
  border-color: var(--primary, #FC4805);
  box-shadow: 0 0 0 4px rgba(252, 72, 5, 0.12);
}
.pm-field.has-error input, .pm-field.has-error textarea { border-color: #d92d20; background: #fff5f4; }
.pm-field small { color: #d92d20; font-size: 13px; }

.pm-form__foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 6px;
}
.pm-form__foot p { margin: 0; max-width: 440px; font-size: 13.5px; color: #8a8780; }
.pm-form__foot a { color: inherit; }
.pm-form__submit {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 8px 0 24px;
  font: inherit; font-size: 16px; font-weight: 600;
  color: #fff;
  background: var(--primary, #FC4805);
  border: 0; border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(252, 72, 5, 0.7);
  transition: transform .25s ease;
}
.pm-form__submit span {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 11px;
}
.pm-form__submit:hover { transform: translateY(-2px); }

.pm-alert { margin-bottom: 18px; padding: 16px 20px; border-radius: 16px; font-weight: 500; }
.pm-alert--ok { color: #0f5132; background: #d1f4e0; }
.pm-alert--err { color: #842029; background: #fde2e1; }

/* ---- Responsive ---- */
@media (max-width: 1023.98px) {
  .pm-ct__visit { grid-template-columns: 1fr; }
  .pm-wa__inner { grid-template-columns: 1fr; padding: 56px 40px; }
}
@media (max-width: 640px) {
  .pm-ct { padding: 0 16px; }
  .pm-ct__map, .pm-ct__map iframe { min-height: 320px; }
  .pm-ct__visit, .pm-wa { margin-bottom: 64px; }
  .pm-wa__inner { padding: 44px 24px; border-radius: 26px; }
  .pm-wa__btn { width: 100%; justify-content: center; }
  .pm-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .pm-form__foot { flex-direction: column; align-items: stretch; }
  .pm-form__submit { justify-content: space-between; }
}
