/* CONTACT page only */
.page-contact{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-contact .page-main{
  flex: 1;
}

/* Title like screenshot (serif + big) */
.contact-title{
  padding: 34px 0 10px;
}
.contact-title h1{
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  color: #111;
}

/* Big beige card */
.contact-card{
  padding: 12px 0 60px;
}
.contact-card .container{
  position: relative;
}

.card-grid{
  background: #f3eedf;
  border: 1px solid #cdbb8b;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  padding: 28px 28px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
}

.card-grid-2{
  margin-top: 18px;
}

.card-left p{
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15.5px;
  line-height: 1.9;
  color: #1b1b1b;
}

.contact-lines{
  margin: 18px 0 14px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.85;
}
.contact-lines b{
  font-weight: 700;
}
.contact-lines a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.muted{
  font-family: Georgia, "Times New Roman", serif;
  color: #1b1b1b;
}

.map-wrap{
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  height: 260px;
}
.map-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* Scribble divider like screenshot */
.scribble{
  height: 22px;
  margin: 24px 0;
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 18px;
  opacity: .7;
  /* simple inline svg squiggle */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='22' viewBox='0 0 220 22'%3E%3Cpath d='M0 11c10-10 20 10 30 0s20-10 30 0 20 10 30 0 20-10 30 0 20 10 30 0 20-10 30 0 20 10 30 0' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Digital card section */
.card-left h2{
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 22px;
  color: #111;
}
.download-link{
  display: inline-block;
  margin-top: 8px;
  color: #2b5bd7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.photo-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  overflow: hidden;
}
.photo-card img{
  width: 100%;
  height: auto;
  display: block;
}
.qr-badge{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 78px;
  height: 78px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 6px;
  overflow: hidden;
}
.qr-badge img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form title (center) */
.form-title{
  margin: 36px 0 18px;
  text-align: center;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #000;
}

/* Form panel (same beige / borders) */
.contact-form{
  background: #f3eedf;
  border: 1px solid #cdbb8b;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  padding: 26px;
}

.field-row{
  margin-bottom: 18px;
}
.field-row.two{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label{
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: #111;
}
.req{ color: #d11; }

.field input,
.field select,
.field textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.18);
  background: #efe2c5;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 16px;
  outline: none;
}
.field textarea{
  min-height: 170px;
  resize: vertical;
}
.field select{
  background: #efe2c5;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(0,0,0,.45);
}

/* Turnstile row */
.turnstile-row{
  margin: 14px 0 8px;
}

/* Actions */
.form-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.form-msg{
  font-weight: 600;
  font-size: 14px;
}
.form-msg.ok{ color: #0a7a2f; }
.form-msg.err{ color: #b00020; }

/* ===== Luxury form messages + field errors ===== */

.form-msg{
  margin-top: 12px;
  padding: 0;
}

.form-msg.ok,
.form-msg.err{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.form-msg.ok{ border-color: rgba(180,155,63,.40); }
.form-msg.err{ border-color: rgba(220,38,38,.25); }

.form-msg .fm-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  flex: 0 0 auto;
  color: #111827;
  border: 1px solid var(--line);
  background: #fff;
}

.form-msg.ok .fm-icon{
  border-color: rgba(180,155,63,.55);
  color: var(--accent);
}

.form-msg.err .fm-icon{
  border-color: rgba(220,38,38,.35);
  color: #dc2626;
}

.form-msg .fm-title{
  font-weight: 700;
  font-size: 14px;
  color: #111827;
  margin-bottom: 2px;
}

.form-msg .fm-text{
  font-size: 13px;
  line-height: 1.55;
  color: #374151;
}

/* Field highlight */
.contact-form input.is-invalid,
.contact-form textarea.is-invalid,
.contact-form select.is-invalid{
  border-color: rgba(220,38,38,.45) !important;
  box-shadow: 0 0 0 4px rgba(220,38,38,.10);
}

/* Optional: subtle focus to match luxury look */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  outline: none;
  border-color: rgba(180,155,63,.55);
  box-shadow: 0 0 0 4px rgba(180,155,63,.12);
}



/* Responsive */
@media (max-width: 980px){
  .card-grid{
    grid-template-columns: 1fr;
  }
  .map-wrap{ height: 240px; }
}
@media (max-width: 680px){
  .field-row.two{ grid-template-columns: 1fr; }
  .contact-title h1{ font-size: 40px; }
}
