/* ================================================
   HOME CONTACT + MAP SECTION
================================================ */

.pps-contact-section {
  padding: 8rem 0 10rem;
  background: #111111;
  color: #ffffff;
  font-family: "Montserrat", system-ui, sans-serif;
  overflow: hidden;
  /* Visible by default — JS adds .will-animate only if off-screen */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.pps-contact-section.will-animate {
  opacity: 0;
  transform: translateY(40px);
}

.pps-contact-section.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.pps-contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== HEADING ========== */

.pps-contact-heading {
  text-align: center;
  margin-bottom: 4rem;
  /* Visible by default */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.pps-contact-heading.will-animate {
  opacity: 0;
  transform: translateY(30px);
}

.pps-contact-heading.contact-animate {
  opacity: 1;
  transform: translateY(0);
}

.pps-contact-heading-bg {
  font-size: 7rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -2px;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  margin-bottom: -3rem;
  font-family: "BeyondInfinity", "Beyond Infinity", cursive;
}

.pps-contact-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.pps-contact-underline {
  width: 160px;
  height: 16px;
  margin: 1.2rem auto 1.5rem;
  position: relative;
}

.pps-contact-underline::after {
  content: \'\';
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: 0;
  height: 100%;
  background-image: url("data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 1418 125\'><path d=\'M1412.29 72.17c-11.04-5.78-20.07-14.33-85.46-25.24-22.37-3.63-44.69-7.56-67.07-11.04-167.11-22.06-181.65-21.24-304.94-30.56C888.78 1.39 822.57 1.1 756.44 0c-46.63-.11-93.27 1.56-139.89 2.5C365.5 13.55 452.86 7.68 277.94 23.15 202.57 33.32 127.38 45.01 52.07 55.69c-11.23 2.41-22.63 4.17-33.71 7.22C6.1 66.33 5.64 66.19 3.89 67.79c-7.99 5.78-2.98 20.14 8.72 17.5 33.99-9.47 32.28-8.57 178.06-29.66 4.26 4.48 7.29 3.38 18.42 3.11 13.19-.32 26.38-.53 39.56-1.12 53.51-3.81 106.88-9.62 160.36-13.95 18.41-1.3 36.8-3.12 55.21-4.7 23.21-1.16 46.43-2.29 69.65-3.4 120.28-2.16 85.46-3.13 234.65-1.52 23.42.99 1.57-.18 125.72 6.9 96.61 8.88 200.92 27.94 295.42 46.12 40.87 7.91 116.67 23.2 156.31 36.78 3.81 1.05 8.28-.27 10.51-3.58 3.17-3.72 2.66-9.7-.78-13.13-3.25-3.12-8.14-3.44-12.18-5.08-17.89-5.85-44.19-12.09-63.67-16.56l26.16 3.28c23.02 3.13 46.28 3.92 69.34 6.75 10.8.96 25.43 1.81 34.34-4.39 2.26-1.54 4.86-2.75 6.21-5.27 2.76-4.59 1.13-11.06-3.59-13.68ZM925.4 23.77c37.64 1.4 153.99 10.85 196.64 14.94 45.95 5.51 91.89 11.03 137.76 17.19 24.25 4.77 74.13 11.21 101.72 18.14-11.87-1.15-23.77-1.97-35.65-3.06-133.46-15.9-266.8-33.02-400.47-47.21Z\' fill=\'%23f36e36\'></path></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.pps-contact-subtitle {
  max-width: 650px;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ================================================
   ROW 1 — MAP (LEFT) + FORM (RIGHT)
================================================ */

.pps-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

/* ========== MAP CARD ========== */

.pps-contact-map-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(243, 110, 54, 0.2);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pps-contact-map-card:hover {
  border-color: rgba(243, 110, 54, 0.35);
}

.pps-contact-map-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.pps-contact-map-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.pps-contact-map-dot--active {
  background: #f36e36;
  box-shadow: 0 0 8px rgba(243, 110, 54, 0.4);
}

.pps-contact-map-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.pps-contact-map-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.pps-contact-tab {
  flex: 1 1 30%;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(243, 110, 54, 0.25);
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", system-ui, sans-serif;
}

.pps-contact-tab:hover {
  border-color: #f36e36;
  color: #fff;
  background: rgba(243, 110, 54, 0.05);
}

.pps-contact-tab.is-active {
  background: #f36e36;
  border-color: #f36e36;
  color: #fff;
  box-shadow: 0 4px 12px rgba(243, 110, 54, 0.25);
}

.pps-contact-map-viewport {
  position: relative;
  flex: 1;
  min-height: 320px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pps-contact-map-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.pps-contact-map-layer.is-active {
  opacity: 1;
  pointer-events: all;
}

.pps-contact-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) brightness(0.92);
}

/* ========== FORM CARD ========== */

.pps-contact-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(243, 110, 54, 0.2);
  border-radius: 20px;
  padding: 2.5rem 2.8rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

.pps-contact-form-card:hover {
  border-color: rgba(243, 110, 54, 0.35);
}

.pps-contact-badge-row {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pps-contact-badge {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(243, 110, 54, 0.35);
  border-radius: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f36e36;
  background: rgba(243, 110, 54, 0.08);
  letter-spacing: 0.2px;
}

.pps-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.pps-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.pps-contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pps-contact-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.2px;
}

.pps-contact-label-optional {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  margin-left: 0.4rem;
  letter-spacing: 0.2px;
}

.pps-contact-field input,
.pps-contact-field textarea {
  padding: 0.9rem 1.3rem;
  border: 1px solid rgba(243, 110, 54, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.94rem;
  font-family: "Montserrat", system-ui, sans-serif;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.pps-contact-field input::placeholder,
.pps-contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.pps-contact-field input:focus,
.pps-contact-field textarea:focus {
  outline: none;
  border-color: #f36e36;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(243, 110, 54, 0.1);
}

/* ---- Date Input ---- */

.pps-contact-field input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}

.pps-contact-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(60%) sepia(60%) saturate(400%) hue-rotate(340deg);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.pps-contact-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* ---- Select Wrapper ---- */

.pps-contact-select-wrapper {
  position: relative;
  display: block;
}

.pps-contact-select-wrapper::after {
  content: \'\';
  position: absolute;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  width: 11px;
  height: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'8\' viewBox=\'0 0 12 8\'%3E%3Cpath fill=\'%23f36e36\' d=\'M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z\'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.pps-contact-select-wrapper.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}

.pps-contact-field select {
  width: 100%;
  padding: 0.9rem 2.8rem 0.9rem 1.3rem;
  border: 1px solid rgba(243, 110, 54, 0.25);
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.98);
  color: #fff;
  font-size: 0.94rem;
  font-family: "Montserrat", system-ui, sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.pps-contact-field select:focus {
  outline: none;
  border-color: #f36e36;
  background: rgba(17, 17, 17, 0.98);
  box-shadow: 0 0 0 3px rgba(243, 110, 54, 0.1);
}

.pps-contact-field select option {
  background: #1a1a1a;
  color: #ffffff;
}

.pps-contact-field select option:checked {
  background: #f36e36;
  color: #fff;
}

.pps-contact-field select option[value=""] {
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Error State ---- */

.pps-contact-field--error input,
.pps-contact-field--error textarea,
.pps-contact-field--error select {
  border-color: rgba(239, 68, 68, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.pps-contact-field-error-msg {
  font-size: 0.78rem;
  color: #f87171;
  font-weight: 500;
  margin-top: 0.1rem;
  letter-spacing: 0.1px;
}

/* ---- Phone Wrapper ---- */

.pps-contact-phone-wrapper {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.pps-contact-phone-code-wrapper {
  flex: 0 0 auto;
  width: 110px;
}

.pps-contact-phone-code-wrapper select {
  width: 100%;
  padding: 0.9rem 2rem 0.9rem 0.75rem;
  font-size: 0.88rem;
}

.pps-contact-phone-wrapper input[type="tel"] {
  flex: 1;
  min-width: 0;
}

/* ---- Textarea ---- */

.pps-contact-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* ========== FORM FOOTER ========== */

.pps-contact-footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.pps-contact-submit {
  width: 100%;
  padding: 1.05rem 2rem;
  border: 2px solid #f36e36;
  border-radius: 11px;
  background: #f36e36;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  font-family: "Montserrat", system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(243, 110, 54, 0.2);
}

.pps-contact-submit:hover:not(:disabled):not(.is-loading) {
  background: transparent;
  color: #f36e36;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 110, 54, 0.3);
}

.pps-contact-submit:active:not(:disabled):not(.is-loading) {
  transform: translateY(0);
}

.pps-contact-submit:disabled,
.pps-contact-submit.is-loading {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.pps-contact-meta-info {
  text-align: center;
}

.pps-contact-meta-line {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0.35rem 0;
  line-height: 1.5;
}

.pps-contact-meta-line a {
  color: #f36e36;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.pps-contact-meta-line a:hover {
  color: #fff;
  text-decoration: underline;
}

.pps-contact-small-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0.8rem 0 0;
  text-align: center;
  line-height: 1.6;
}

/* ---- Toast ---- */

.pps-contact-toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.4rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.pps-contact-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pps-contact-toast--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.pps-contact-toast--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ================================================
   ROW 2 — THREE OFFICE CARDS
================================================ */

.pps-contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Visible by default — JS adds .will-animate only if off-screen */
.pps-contact-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(243, 110, 54, 0.2);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease,
              border-color 0.35s ease, box-shadow 0.35s ease,
              background 0.35s ease;
}

.pps-contact-info-card.will-animate {
  opacity: 0;
  transform: translateY(24px);
}

.pps-contact-info-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Prevent hover lift while card is still hidden */
.pps-contact-info-card.will-animate:not(.card-visible):hover {
  transform: translateY(24px);
}

.pps-contact-info-card:nth-child(1) { transition-delay: 0.05s; }
.pps-contact-info-card:nth-child(2) { transition-delay: 0.18s; }
.pps-contact-info-card:nth-child(3) { transition-delay: 0.31s; }

.pps-contact-info-card:hover {
  border-color: rgba(243, 110, 54, 0.55);
  box-shadow: 0 14px 36px rgba(243, 110, 54, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.pps-contact-info-card.card-visible:hover,
.pps-contact-info-card:not(.will-animate):hover {
  transform: translateY(-6px);
}

.pps-contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(243, 110, 54, 0.14) 0%, rgba(243, 110, 54, 0.04) 100%);
  border: 1px solid rgba(243, 110, 54, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f36e36;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.pps-contact-info-card:hover .pps-contact-info-icon {
  background: linear-gradient(135deg, rgba(243, 110, 54, 0.24) 0%, rgba(243, 110, 54, 0.1) 100%);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(243, 110, 54, 0.28);
}

.pps-contact-info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pps-contact-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.4rem;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.pps-contact-info-location {
  font-size: 0.78rem;
  color: #f36e36;
  margin: 0 0 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pps-contact-info-description {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  line-height: 1.65;
  flex: 1;
}

.pps-contact-info-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(243, 110, 54, 0.3) 0%, rgba(243, 110, 54, 0.03) 100%);
  margin: 1.4rem 0;
  flex-shrink: 0;
}

.pps-contact-info-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pps-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.pps-contact-info-item a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pps-contact-info-item a:hover {
  color: #f36e36;
}

.pps-contact-info-item svg {
  color: rgba(243, 110, 54, 0.75);
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.3s ease;
}

.pps-contact-info-card:hover .pps-contact-info-item {
  color: rgba(255, 255, 255, 0.92);
}

.pps-contact-info-card:hover .pps-contact-info-item svg {
  color: #f36e36;
}

/* ================================================
   RESPONSIVE
================================================ */

@media (max-width: 1200px) {
  .pps-contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .pps-contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 1024px) {
  .pps-contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .pps-contact-map-viewport {
    flex: none;
    height: 380px;
    min-height: unset;
  }
  .pps-contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .pps-contact-section {
    padding: 6rem 0 7rem;
  }
  .pps-contact-heading-bg {
    font-size: 4.5rem;
    margin-bottom: -2.2rem;
  }
  .pps-contact-title {
    font-size: 2.2rem;
  }
  .pps-contact-subtitle {
    font-size: 0.95rem;
  }
  .pps-contact-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-bottom: 1.8rem;
  }
  .pps-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .pps-contact-form-card {
    padding: 2rem 2.2rem;
  }
  .pps-contact-map-card {
    padding: 1.8rem;
  }
  .pps-contact-map-viewport {
    flex: none;
    height: 300px;
    min-height: unset;
  }
  .pps-contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .pps-contact-info-card {
    padding: 1.6rem;
  }
  .pps-contact-phone-code-wrapper {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .pps-contact-section {
    padding: 4rem 0 5rem;
  }
  .pps-contact-container {
    padding: 0 1.5rem;
  }
  .pps-contact-heading-bg {
    font-size: 3rem;
    margin-bottom: -1.5rem;
  }
  .pps-contact-title {
    font-size: 1.8rem;
  }
  .pps-contact-map-viewport {
    flex: none;
    height: 260px;
    min-height: unset;
  }
  .pps-contact-form-card {
    padding: 1.8rem 1.5rem;
  }
  .pps-contact-map-card {
    padding: 1.5rem;
  }
  .pps-contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pps-contact-info-card {
    padding: 1.6rem;
  }
  .pps-contact-phone-wrapper {
    flex-direction: column;
    gap: 0.8rem;
  }
  .pps-contact-phone-code-wrapper {
    width: 100%;
  }
  .pps-contact-phone-code-wrapper select {
    padding: 0.9rem 2.8rem 0.9rem 1.3rem;
  }
}

/* ================================================
   END OF HOME CONTACT + MAP SECTION
================================================ */