/* =========================================================
   BARAN DATES — CONTACT PAGE
   Scoped styles: affects only the Contact page.
   Load this file after css/style.css.
   ========================================================= */

.contact-page {
  --contact-ink: #241812;
  --contact-brown: #563321;
  --contact-gold: #c9a227;
  --contact-cream: #f7f2e9;
  --contact-muted: #786d64;
}

/* Hero */
.contact-page .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 154px 0 92px;
  background:
    radial-gradient(circle at 15% 15%, rgba(201, 162, 39, .18), transparent 28%),
    linear-gradient(125deg, #241710 0%, #3d281d 52%, #17352c 100%);
}

.contact-page .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  left: -130px;
  bottom: -245px;
  border: 1px solid rgba(226, 190, 91, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(226, 190, 91, .035),
              0 0 0 75px rgba(226, 190, 91, .025);
}

.contact-page .page-hero h1 {
  margin-bottom: 16px;
  color: #fffaf1;
  letter-spacing: -.035em;
}

.contact-page .page-hero p {
  color: rgba(255, 250, 241, .78);
  line-height: 1.9;
  font-size: 1.02rem;
}

/* Main layout */
.contact-page .contact {
  padding: 88px 0 100px;
  background: linear-gradient(180deg, #fbf8f2 0%, #f5efe5 100%);
}

.contact-page .contact-grid {
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.contact-page .contact-grid > div:first-child {
  position: sticky;
  top: 110px;
}

.contact-page .section-title {
  color: var(--contact-ink);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.4;
}

.contact-page .section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 13px;
  border-radius: 5px;
  background: var(--contact-gold);
}

/* Business information card */
.contact-page .info-card {
  position: relative;
  overflow: hidden;
  padding: 32px !important;
  border: 1px solid rgba(86, 51, 33, .09);
  border-radius: 18px !important;
  background: #fffdf9 !important;
  box-shadow: 0 16px 45px rgba(54, 35, 22, .07);
}

.contact-page .info-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #b88b24, #e0c46d, #b88b24);
}

.contact-page .info-card p {
  position: relative;
  margin: 0 0 19px !important;
  padding: 0 0 17px;
  border-bottom: 1px solid rgba(86, 51, 33, .09);
  color: var(--contact-ink);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.contact-page .info-card p:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-page .info-card strong {
  display: inline-block;
  margin-bottom: 4px;
  color: #92701d;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.contact-page .info-card a {
  color: var(--contact-brown) !important;
  text-decoration: none;
  transition: color .2s ease;
}

.contact-page .info-card a:hover {
  color: #a77d19 !important;
}

/* Contact action buttons */
.contact-page .contact-grid > div:first-child > div:last-child {
  gap: 12px !important;
}

.contact-page .contact-grid > div:first-child .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 9px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.contact-page .contact-grid > div:first-child .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(35, 25, 17, .12);
  filter: brightness(1.03);
}

/* Inquiry form */
.contact-page .contact-grid > div:last-child {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(86, 51, 33, .09);
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 18px 50px rgba(54, 35, 22, .075);
}

.contact-page .contact-grid > div:last-child h3 {
  margin-bottom: 26px !important;
  color: var(--contact-ink);
  font-family: var(--font-display);
  font-size: 1.55rem !important;
  line-height: 1.4;
}

.contact-page .contact-form {
  display: block;
}

.contact-page .contact-form .form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px !important;
  margin-top: 17px !important;
}

.contact-page .contact-form .form-row:first-of-type {
  margin-top: 0 !important;
}

.contact-page .contact-form .form-group {
  min-width: 0;
  margin: 0;
}

.contact-page .contact-form label {
  display: block;
  margin-bottom: 8px;
  color: #49372c;
  font-size: .88rem;
  font-weight: 600;
}

.contact-page .contact-form input:not([type="hidden"]):not([name="_gotcha"]),
.contact-page .contact-form select,
.contact-page .contact-form textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid #e5ddd1;
  border-radius: 9px;
  outline: none;
  background: #fcfaf6;
  color: var(--contact-ink);
  font: inherit;
  font-size: .91rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-page .contact-form textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.8;
}

.contact-page .contact-form input::placeholder,
.contact-page .contact-form textarea::placeholder {
  color: #a69a8e;
  opacity: 1;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form select:focus,
.contact-page .contact-form textarea:focus {
  border-color: #c9a227;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .13);
}

.contact-page .contact-form input:invalid:not(:placeholder-shown) {
  border-color: #c76b5c;
}

.contact-page .contact-form button[type="submit"] {
  min-height: 52px;
  border: 1px solid #b38b25;
  border-radius: 10px;
  background: linear-gradient(135deg, #d1ad4c, #b78a22);
  color: #21170f;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 8px 20px rgba(183, 138, 34, .2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.contact-page .contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 25px rgba(183, 138, 34, .28);
}

.contact-page .contact-form button[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: .7;
  transform: none;
}

.contact-page .contact-form > p {
  color: var(--contact-muted) !important;
  line-height: 1.8;
  font-size: .82rem !important;
}

/* Form status + WhatsApp alternative */
.contact-page #formStatus {
  border: 1px solid rgba(86, 51, 33, .12);
  line-height: 1.7;
}

.contact-page #whatsappPrefill {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-page #whatsappPrefill:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(37, 211, 102, .2);
}

/* Success modal */
.contact-page .modal-content {
  border: 1px solid rgba(201, 162, 39, .25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

.contact-page #modalIcon {
  color: #b18a26;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-page .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-page .contact-grid > div:first-child {
    position: static;
  }

  .contact-page .contact {
    padding: 64px 0 76px;
  }
}

@media (max-width: 600px) {
  .contact-page .page-hero {
    padding: 125px 0 65px;
  }

  .contact-page .contact-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .contact-page .info-card {
    padding: 24px !important;
  }

  .contact-page .contact-grid > div:last-child {
    padding: 23px 18px;
    border-radius: 15px;
  }

  .contact-page .contact-grid > div:first-child > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .contact-page .contact-grid > div:first-child .btn {
    width: 100%;
  }
}
