/* Sogody — shared UI styles: contact modal + generic page scaffolding.
   The legacy navbar/dropdown/mobile-menu CSS that used to live here was removed:
   every page now renders the homepage header (SrcHeader) styled by
   styles/main-compiled.css, so those duplicate rules only conflicted with it
   (e.g. forcing the header to position:sticky and mis-anchoring the dropdown). */

@media (max-width: 1023px) {
  .where-we-come-in-text { font-size: 24px; line-height: 34px; }
}

/* ============ CONTACT MODAL ============ */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 30, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
  animation: sg-fade 0.2s ease;
}
@keyframes sg-fade { from { opacity: 0; } to { opacity: 1; } }
.contact-modal {
  background: #fff;
  border-radius: 24px;
  width: min(960px, 100%);
  max-height: 92vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.contact-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid #e8e8e8;
  background: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background-color 0.2s ease;
}
.contact-modal-close:hover { background: #f2f1f6; }
.contact-modal-close img { width: 14px; height: 14px; }
.contact-modal-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.contact-modal-left {
  background: #2b2b2b;
  color: #f8f8f8;
  padding: 56px 44px;
  border-radius: 24px 0 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-modal-left h2 {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 18px;
}
.contact-modal-left p {
  font-family: "HelveticaNeueLT Pro 45 Lt", Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: #c6c7ce; margin: 0 0 28px;
}
.contact-modal-meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.contact-modal-meta a { color: #67be83; text-decoration: none; }
.contact-modal-meta span { color: #9a9aa3; }
.contact-modal-right { padding: 48px 44px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-family: "HelveticaNeueLT Pro 55 Roman", Arial, sans-serif;
  font-size: 14px; color: #2b2b2b;
}
.contact-form input, .contact-form textarea {
  font-family: "HelveticaNeueLT Pro 45 Lt", Arial, sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #c6c7ce;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: #67be83;
  box-shadow: 0 0 0 3px rgba(103, 190, 131, 0.18);
}
.budget-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.budget-chip {
  font-family: "HelveticaNeueLT Pro 45 Lt", Arial, sans-serif;
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid #c6c7ce;
  border-radius: 32px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.budget-chip:hover { border-color: #67be83; }
.budget-chip.active { background: #67be83; border-color: #67be83; color: #fff; }
.contact-submit { border: none; margin-top: 6px; align-self: flex-start; }
.contact-sent { display: flex; flex-direction: column; gap: 14px; justify-content: center; height: 100%; }
.contact-sent h3 { font-family: "Cabinet Grotesk", sans-serif; font-weight: 400; font-size: 28px; margin: 0; }
.contact-sent p { font-family: "HelveticaNeueLT Pro 45 Lt", Arial, sans-serif; color: #636363; margin: 0; }

@media (max-width: 767px) {
  .contact-modal-grid { grid-template-columns: 1fr; }
  .contact-modal-left { border-radius: 24px 24px 0 0; padding: 40px 28px; }
  .contact-modal-right { padding: 32px 28px; }
}

/* ============ GENERIC PAGE SCAFFOLDING ============ */
.layout-container { display: flex; flex-direction: column; min-height: 100vh; }
.layout-container > main { flex: 1; }
.page-hero { max-width: 1240px; margin: 0 auto; padding: 80px 20px 40px; }
.page-eyebrow {
  font-family: "HelveticaNeueLT Pro 45 Lt", Arial, sans-serif;
  font-size: 14px; color: #67be83; margin: 0 0 16px; letter-spacing: 0.02em;
}
.page-title {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.04;
  color: #2b2b2b;
  margin: 0 0 24px;
  max-width: 900px;
}
.page-lead {
  font-family: "HelveticaNeueLT Pro 45 Lt", Arial, sans-serif;
  font-size: 20px; line-height: 1.5; color: #636363; max-width: 720px; margin: 0;
}
