/* Roseapp landing page: base styles. The page's section styling lives inline in index.html
   (exported unchanged from the design). This file adds the base, the enquiry form and the
   consent banner only. */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', 'Noto Sans Malayalam', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #2B1019;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
a { color: #6B0F2B; }
a:hover { color: #D81B60; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #D81B60; outline-offset: 2px; }

/* ---------- Enquiry form (inside the closing WhatsApp section) ---------- */
.enquiry {
  width: 100%;
  max-width: 560px;
  margin-top: 28px;
  padding: 28px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 24px;
  text-align: left;
  color: #2B1019;
  box-shadow: 0 24px 48px rgba(43, 16, 25, 0.3);
}
.enquiry__title {
  margin: 0 0 6px;
  font-family: 'Baloo Chettan 2', 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  color: #6B0F2B;
}
.enquiry__lead { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: #6A4853; }
.enquiry__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 15px; font-weight: 600; color: #2B1019; }
.field input, .field select {
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid #E2BFCB;
  border-radius: 12px;
  background: #FFFFFF;
  font: inherit;
  font-size: 16px;
  color: #2B1019;
  box-sizing: border-box;
  width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: #6B0F2B; box-shadow: 0 0 0 3px #F8D7E1; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B3261E; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #4E2D38; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #6B0F2B; flex: none; }
.enquiry__submit {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #6B0F2B;
  color: #FFFFFF;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
}
.enquiry__submit:hover { background: #561024; }
.enquiry__submit[disabled] { opacity: 0.6; cursor: progress; }
.enquiry__status { margin: 0; font-size: 15px; line-height: 1.5; min-height: 1em; }
.enquiry__status--error { color: #B3261E; }
.enquiry__status--ok { color: #1E6B3A; font-weight: 600; }

/* ---------- Footer legal row ---------- */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid #6B0F2B;
}
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal__links a, .linklike {
  font: inherit;
  font-size: 14px;
  color: #F8D7E1;
  background: none;
  border: 0;
  padding: 10px 0;
  cursor: pointer;
  text-decoration: underline;
}
.footer-legal__links a:hover, .linklike:hover { color: #FFFFFF; }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  padding: 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent__card {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  background: #FFFFFF;
  color: #2B1019;
  border: 1px solid #F3D9E1;
  border-radius: 20px;
  padding: 20px 22px;
  box-sizing: border-box;
  box-shadow: 0 18px 50px rgba(43, 16, 25, 0.28);
}
.consent__title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #6B0F2B; }
.consent__text { margin: 0; font-size: 15px; line-height: 1.55; color: #4E2D38; }
.consent__prefs { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.consent__prefs[hidden] { display: none; }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #4E2D38; }
.consent__opt input { width: 20px; height: 20px; margin: 0; accent-color: #6B0F2B; flex: none; }
.consent__opt strong { color: #2B1019; margin-right: 4px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.consent__btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.consent__btn[hidden] { display: none; }
.consent__btn--solid { background: #6B0F2B; color: #FFFFFF; border: 2px solid #6B0F2B; }
.consent__btn--ghost { background: #FFFFFF; color: #6B0F2B; border: 2px solid #6B0F2B; }
@media (max-width: 480px) {
  .consent { padding: 10px; }
  .consent__btn { flex: 1 1 auto; }
}
