/* ═══════════════════════════════════════════════════════
   CONTACT PAGE — contact.css
   Loaded on /contact only.
   Layers on top of style.css.
   ═══════════════════════════════════════════════════════ */

/* ── NAV OVERRIDE (scrolled state on load) ────────── */
.page-contact nav {
  background: rgba(245,240,230,0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194,160,110,0.2);
  padding: 14px 48px;
}
.page-contact .nav-logo { color: var(--slate); }
.page-contact .nav-links a { color: var(--text-mid); }
.page-contact .nav-links a:hover,
.page-contact .nav-links a.active { color: var(--sand); }
.page-contact .nav-cta {
  border-color: var(--sand);
  color: var(--sand) !important;
}
.page-contact .nav-burger span { background: var(--slate); }

/* ── CONTACT LAYOUT ──────────────────────────────── */
.contact-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 48px 100px;
}

.contact-page h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--slate);
  line-height: 1.15;
  margin-bottom: 8px;
}

.contact-page h1 em {
  font-style: italic;
  color: var(--sage);
}

.contact-intro {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 56px;
}

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

/* ── LEFT: DIRECT CONTACT ────────────────────────── */
.contact-direct-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ivory-mid);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.contact-channel:hover {
  border-color: var(--sand);
  background: rgba(194,160,110,0.03);
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-channel-icon--wa { background: #25D366; }
.contact-channel-icon--wa svg { fill: white; width: 22px; height: 22px; }
.contact-channel-icon--email { background: var(--sage); }
.contact-channel-icon--email svg { stroke: white; width: 20px; height: 20px; fill: none; stroke-width: 2; }
.contact-channel-icon--phone { background: var(--sand); }
.contact-channel-icon--phone svg { stroke: white; width: 20px; height: 20px; fill: none; stroke-width: 2; }

.contact-channel-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 2px;
}
.contact-channel-info span {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-mid);
}

/* Languages + response */
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-mid);
}
.contact-meta-item::before {
  content: '\2713';
  color: var(--sand);
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* Apartments links */
.contact-apartments-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 16px;
}

.contact-apt-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-apt-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  text-decoration: none;
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 300;
  transition: border-color 0.2s;
}
.contact-apt-link:hover { border-color: var(--sand); }
.contact-apt-link::after {
  content: '\2192';
  color: var(--sand);
  font-size: 1rem;
}
.contact-apt-link strong {
  font-weight: 500;
}
.contact-apt-link span {
  font-size: 0.72rem;
  color: var(--text-mid);
  margin-left: 8px;
}

/* ── RIGHT: CONTACT FORM ─────────────────────────── */
.contact-form-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ivory-mid);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text);
  padding: 12px 16px;
  border: 1px solid var(--ivory-mid);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sand);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235C5248' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--sage);
}
.form-consent a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  padding: 14px 32px;
  background: var(--sand);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  align-self: flex-start;
}
.form-submit:hover { background: #A8864F; }

.form-note {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .page-contact nav { padding: 12px 24px; }
  .contact-page { padding: 100px 24px 80px; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .form-row { grid-template-columns: 1fr; }
}
