/* contact.css - styles for pages/contactUs.html only.
   Save this file in the same folder as demo3.css (project root). */

:root {
  --c-gold: #bb9a65;
  --c-gold-dark: #a3834f;
  --c-brown: #3f3127;
  --c-text: #6b6158;
  --c-sand: #f6f2ec;
  --c-line: #e3ddd5;
}

/* ---------- Hero ---------- */
.contact-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 70px;
  color: #fff;
  background: var(--c-brown) center / cover no-repeat;
  isolation: isolate;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(63, 49, 39, .88) 0%, rgba(63, 49, 39, .45) 70%, rgba(63, 49, 39, .2) 100%);
  z-index: -1;
}
.contact-hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 0 16px;
}
.contact-hero p {
  max-width: 520px;
  margin: 0 0 26px;
  font-size: 18px;
  color: rgba(255, 255, 255, .85);
}
.contact-hero__btn {
  display: inline-block;
  background: var(--c-gold);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: background .25s, color .25s;
}
.contact-hero__btn:hover { background: #fff; color: var(--c-brown); }

/* ---------- Main two-column block ---------- */
.contact-main { padding: 90px 0; background: #fff; }
.contact-main__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
}

/* Left: details */
.contact-details h2 {
  color: var(--c-brown);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
}
.contact-details > p { color: var(--c-text); margin: 0 0 32px; max-width: 460px; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--c-line); }
.contact-list__icon {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-sand);
  color: var(--c-gold-dark);
  font-size: 18px;
}
.contact-list h3 { margin: 0 0 4px; font-size: 18px; color: var(--c-brown); }
.contact-list p, .contact-list a { margin: 0; color: var(--c-text); }
.contact-list a:hover { color: var(--c-gold-dark); }

.contact-social { display: flex; gap: 10px; margin-top: 28px; }
.contact-social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-brown);
  transition: background .25s, color .25s, border-color .25s;
}
.contact-social a:hover { background: var(--c-gold); border-color: var(--c-gold); color: #fff; }

/* Right: form card */
.contact-form-card {
  background: var(--c-sand);
  border-radius: 28px;
  padding: 44px;
}
.contact-form-card h2 { color: var(--c-brown); font-size: 30px; margin: 0 0 6px; }
.contact-form-card > p { color: var(--c-text); margin: 0 0 28px; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-field { margin-bottom: 18px; }
.cf-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--c-brown); }
.cf-field label span { color: #b3261e; }
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  color: var(--c-brown);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.cf-field textarea { min-height: 150px; resize: vertical; }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(187, 154, 101, .2);
}
.cf-submit {
  background: var(--c-brown);
  color: #fff;
  border: 0;
  padding: 16px 38px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.cf-submit:hover { background: var(--c-gold-dark); transform: translateY(-2px); }
.cf-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.cf-status { margin: 16px 0 0; font-weight: 600; min-height: 1.4em; }
.cf-status.ok { color: #2e7d32; }
.cf-status.err { color: #b3261e; }
.cf-note { margin: 14px 0 0; font-size: 13px; color: var(--c-text); }

/* ---------- Map ---------- */
.contact-map { line-height: 0; background: var(--c-sand); }
.contact-map iframe {
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(.3) contrast(1.05);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  left: 24px; bottom: 24px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  font-size: 28px;
  z-index: 99;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .contact-main { padding: 60px 0; }
  .contact-main__grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 575px) {
  .contact-hero { min-height: 380px; padding: 120px 0 50px; }
  .contact-form-card { padding: 28px 20px; border-radius: 20px; }
  .cf-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}