/* PAGE */
.page-wrap {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 520px;
}

/* LEFT: form side */
.form-side {
  padding: 5rem 4rem 5rem 3rem;
  background: var(--cream);
  position: relative; overflow: hidden;
}
.form-side::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(196,136,154,0.1) 1px, transparent 1px);
  background-size: 26px 26px;
}
.form-side > * { position: relative; z-index: 1; }

.page-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--coral);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.page-kicker::before { content: ''; display: block; width: 28px; height: 2px; background: var(--coral); flex-shrink: 0; }
.page-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700; color: var(--plum);
  line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
}
.page-title em { font-style: italic; color: var(--coral); }
.page-sub {
  font-size: 1.04rem; color: var(--muted);
  line-height: 1.72; max-width: 480px;
  margin-bottom: 2.5rem;
}

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }

.field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.field-group label {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--plum);
}
.field-group input,
.field-group textarea {
  background: var(--white);
  border: 1.5px solid rgba(196,136,154,0.3);
  border-radius: var(--r);
  padding: 0.8rem 1rem;
  font-family: var(--ff-body); font-size: 0.96rem;
  color: var(--text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: rgba(107,80,112,0.4); }
.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(74,30,76,0.08);
}
.field-group textarea { resize: vertical; min-height: 110px; }

/* CHECKBOXES */
.checkbox-label {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--plum);
  margin-bottom: 0.6rem; display: block;
}
.checkbox-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.checkbox-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r);
  border: 1.5px solid rgba(196,136,154,0.25);
  background: var(--white);
  transition: all 0.2s;
}
.checkbox-item:hover {
  border-color: var(--plum);
  background: rgba(74,30,76,0.03);
}
.checkbox-item input[type="checkbox"] {
  width: 17px; height: 17px; flex-shrink: 0;
  accent-color: var(--plum);
  margin-top: 1px;
  cursor: pointer;
  border: none; box-shadow: none; padding: 0;
  background: none;
}
.checkbox-item input[type="checkbox"]:focus {
  border: none; box-shadow: none;
}
.checkbox-item span {
  font-size: 0.88rem; font-weight: 600;
  color: var(--text); line-height: 1.3;
}
.checkbox-item:has(input:checked) {
  border-color: var(--plum);
  background: rgba(74,30,76,0.06);
}
.checkbox-item:has(input:checked) span {
  color: var(--plum);
}

/* SUBMIT BUTTON */
.submit-btn {
  background: var(--plum); color: var(--white);
  border: none; border-radius: 50px;
  padding: 1rem 2.5rem;
  font-family: var(--ff-body); font-size: 1rem;
  font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
  margin-top: 0.5rem;
}
.submit-btn:hover { background: var(--mauve); transform: translateY(-2px); }

.form-note {
  font-size: 0.8rem; color: var(--muted);
  margin-top: 0.3rem; line-height: 1.5;
}

/* HONEYPOT (hidden from real visitors, left for bots to fill in) */
.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* FORM STATUS MESSAGE */
.form-status {
  font-size: 0.9rem; font-weight: 600;
  line-height: 1.5; margin-top: 0.4rem;
  min-height: 1.3em;
}
.form-status--success { color: var(--teal); }
.form-status--error { color: var(--coral); }

/* RIGHT: photo + quick info */
.info-side {
  background: var(--dark);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.info-side::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(232,137,106,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
}
.info-photo {
  flex: 1;
  position: relative; min-height: 380px;
}
.info-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
}
.info-photo::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--dark));
}
.info-content {
  padding: 2.5rem;
  position: relative; z-index: 1;
}
.info-tagline {
  font-family: var(--ff-script);
  font-size: 1.5rem; color: var(--coral);
  margin-bottom: 1.5rem; display: block;
}
.info-items { display: flex; flex-direction: column; gap: 1.2rem; }
.info-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.info-item-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-item-icon svg { width: 16px; height: 16px; stroke: var(--coral); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-item-title {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 0.2rem;
}
.info-item-text {
  font-size: 0.86rem; color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.info-divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.08);
  margin: 1.5rem 0;
}
.social-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.social-pill {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  padding: 0.28rem 0.75rem; border-radius: 50px; transition: all 0.2s;
}
.social-pill:hover { color: var(--white); background: rgba(255,255,255,0.12); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .page-wrap { grid-template-columns: 1fr; }
  .form-side { padding: 4rem 1.5rem 3rem; }
  .info-side { min-height: 500px; }
}
@media (max-width: 600px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   FLUENT FORMS — matched to the site's form styling
   ========================================================= */
.contact-form-wrap { margin-top: 0.5rem; }

.contact-form-wrap .fluentform,
.contact-form-wrap .frm-fluent-form {
  font-family: var(--ff-body);
}

/* Field spacing (mirrors .contact-form gap) */
.contact-form-wrap .ff-el-group {
  margin-bottom: 1.4rem;
}

/* Labels */
.contact-form-wrap .ff-el-input--label label,
.contact-form-wrap .ff-el-form-check-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum);
}
.contact-form-wrap .ff-el-form-check-label {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
}

/* Text / email / tel / textarea / select inputs */
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="number"],
.contact-form-wrap textarea,
.contact-form-wrap select,
.contact-form-wrap .ff-el-form-control {
  width: 100%;
  background: var(--white);
  border: 1.5px solid rgba(196, 136, 154, 0.3);
  border-radius: var(--r);
  padding: 0.8rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.96rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
  color: rgba(107, 80, 112, 0.4);
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus,
.contact-form-wrap .ff-el-form-control:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(74, 30, 76, 0.08);
}
.contact-form-wrap textarea {
  resize: vertical;
  min-height: 130px;
}

/* Checkboxes (e.g. the marketing opt-in) */
.contact-form-wrap .ff-el-form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r);
  border: 1.5px solid rgba(196, 136, 154, 0.25);
  background: var(--white);
  transition: all 0.2s;
  cursor: pointer;
}
.contact-form-wrap .ff-el-form-check:hover {
  border-color: var(--plum);
  background: rgba(74, 30, 76, 0.03);
}
.contact-form-wrap .ff-el-form-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--plum);
  margin-top: 1px;
  cursor: pointer;
}
.contact-form-wrap .ff-el-form-check:has(input:checked) {
  border-color: var(--plum);
  background: rgba(74, 30, 76, 0.06);
}
.contact-form-wrap .ff-el-form-check:has(input:checked) .ff-el-form-check-label {
  color: var(--plum);
}

/* Submit button */
.contact-form-wrap button[type="submit"],
.contact-form-wrap .ff-btn-submit {
  background: var(--plum);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.contact-form-wrap button[type="submit"]:hover,
.contact-form-wrap .ff-btn-submit:hover {
  background: var(--mauve);
  transform: translateY(-2px);
}

/* Validation + success/error messaging */
.contact-form-wrap .error,
.contact-form-wrap .text-danger {
  color: var(--coral);
  font-size: 0.82rem;
  margin-top: 0.3rem;
}
.contact-form-wrap .ff-message-success {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid #78a887;
  background: #eef8f1;
  color: #245b35;
}

/* =========================================================
   MOBILE WIDTH GUARD
   Keeps grid/flex content inside the viewport.
   ========================================================= */
.hero,
.hero-wrap,
.page-hero,
.page-wrap,
.hero-left,
.hero-right,
.hero-content,
.container {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 600px) {
  section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-left,
  .hero-content,
  .form-side {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-title,
  .page-title,
  .page-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-btns,
  .about-btns,
  .jump-links,
  .jump-pills,
  .pod-links {
    max-width: 100%;
  }
}
