/* ==========================================================================
   Dublux Properties — Contact page
   ========================================================================== */

.contact-page {
  min-height: 100vh;
  background: #fff;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Form + addresses section ---------- */
.contact-form-section {
  position: relative;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
}

.contact-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.contact-form-inner {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .contact-form-inner { padding: 0 2rem; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 2fr 1fr; }
}

.contact-form-col h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue-900);
}

@media (min-width: 768px) {
  .contact-form-col h2 { font-size: 3.75rem; }
}

.contact-form-col > p {
  margin-top: 1rem;
  color: var(--gray-600);
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  color: var(--blue-900);
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.5rem;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--blue-900);
  background: transparent;
  padding: 0.75rem 0;
  outline: none;
  font-size: 1rem;
}

.contact-form textarea {
  height: 7rem;
  resize: none;
}

.contact-submit {
  margin-top: 1.5rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background: var(--blue-900);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
  font-size: 1rem;
}

.contact-submit:hover { background: var(--blue-800); }

.contact-submit .arrow { margin-left: 0.75rem; }

/* Addresses aside */
.contact-aside .label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}

.contact-aside h3,
.contact-aside h4 {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-900);
}

@media (min-width: 768px) {
  .contact-aside h3,
  .contact-aside h4 { font-size: 1.5rem; }
}

.contact-aside .inquiry {
  margin-top: 2rem;
}

.contact-aside .inquiry a {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  text-decoration: underline;
}

.contact-aside hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid var(--gray-200);
}

/* Section entrance animation */
.contact-fade {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: all 0.7s ease-out;
}

.contact-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Map section ---------- */
.contact-map-section {
  position: relative;
  width: 100%;
  padding: 4rem 0;
  background: var(--gray-100);
  overflow: hidden;
}

.contact-map-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .contact-map-inner { padding: 0 2rem; }
}

.contact-map-heading {
  margin-bottom: 3rem;
}

.contact-map-heading h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .contact-map-heading h2 { font-size: 3rem; }
}

.contact-map-heading p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

.contact-map-frame {
  position: relative;
  width: 100%;
  height: 24rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(3rem) scale(0.95);
  transition: all 1s ease-out;
}

@media (min-width: 768px) {
  .contact-map-frame { height: 500px; }
}

.contact-map-frame.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
