/* India Rose — enquiry & owner forms (shared by index.html and rentals.html) */
.ir-modal {
  border: none; padding: 0; margin: auto;
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  background: var(--bg, #F5F0E5); color: var(--ink, #1F1B14);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  box-shadow: 0 30px 80px rgba(31,27,20,0.25);
  overflow: auto; overscroll-behavior: contain;
}
.ir-modal::backdrop { background: rgba(31,27,20,0.72); }
.ir-modal[open] { animation: irIn 0.28s cubic-bezier(0.25,0.1,0.25,1); }
@keyframes irIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ir-inner { padding: 44px 44px 36px; position: relative; }
.ir-close {
  position: absolute; top: 10px; right: 14px; background: none; border: none; cursor: pointer;
  font-family: var(--font-display, Georgia, serif); font-size: 34px; line-height: 1; font-weight: 300;
  color: var(--ink-muted, #6B6256); padding: 8px;
}
.ir-close:hover { color: var(--ink, #1F1B14); }
.ir-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent, #B85A3C); font-weight: 500; margin-bottom: 14px;
}
.ir-modal h2 {
  font-family: var(--font-display, Georgia, serif); font-weight: 300;
  font-size: clamp(26px, 4vw, 34px); line-height: 1.12; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144; margin-bottom: 28px; padding-right: 24px;
}
.ir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.ir-full { grid-column: 1 / -1; }
.ir-field { display: flex; flex-direction: column; gap: 6px; }
.ir-field > span {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted, #6B6256); font-weight: 400;
}
.ir-field > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--ink-soft, #8E867A); }
.ir-field input, .ir-field select, .ir-field textarea {
  font: inherit; font-size: 16px; font-weight: 300; color: var(--ink, #1F1B14);
  background: transparent; border: none; border-bottom: 1px solid var(--rule, #D5CCB8);
  border-radius: 0; padding: 8px 0; width: 100%; -webkit-appearance: none; appearance: none;
}
.ir-field select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 22px;
}
.ir-field textarea { resize: vertical; min-height: 92px; border: 1px solid var(--rule, #D5CCB8); padding: 10px 12px; margin-top: 2px; }
.ir-field input:focus, .ir-field select:focus, .ir-field textarea:focus { outline: none; border-color: var(--accent, #B85A3C); }
.ir-field input::placeholder, .ir-field textarea::placeholder { color: var(--ink-soft, #8E867A); }
.ir-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-muted, #6B6256); line-height: 1.5; cursor: pointer; }
.ir-check input { accent-color: var(--accent, #B85A3C); width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.ir-radios { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 6px; }
.ir-radios label { display: flex; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; }
.ir-radios input { accent-color: var(--accent, #B85A3C); }
.ir-actions { margin-top: 28px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ir-btn, .ir-submit {
  display: inline-block; background: var(--accent, #B85A3C); color: var(--bg, #F5F0E5);
  border: none; cursor: pointer; text-decoration: none;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 500; padding: 14px 26px; transition: background 0.25s;
}
.ir-btn:hover, .ir-submit:hover { background: var(--ink, #1F1B14); }
.ir-submit[disabled] { opacity: 0.6; cursor: wait; }
.ir-small { font-size: 13px; color: var(--ink-soft, #8E867A); line-height: 1.5; }
.ir-small a, .ir-thanks a { color: inherit; }
.ir-error { margin-top: 16px; font-size: 14px; color: var(--accent, #B85A3C); }
.ir-error a { color: inherit; }
.ir-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ir-thanks p { font-size: 16px; color: var(--ink-muted, #6B6256); line-height: 1.65; margin-bottom: 12px; }
.ir-thanks .ir-direct { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
.ir-thanks .ir-direct a {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent, #B85A3C);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-weight: 500;
}
/* Contact section row (works on light and dark backgrounds) */
.ir-contact-row { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-bottom: 36px; }
.ir-contact-row .ir-textlink {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; opacity: 0.85;
}
.ir-contact-row .ir-textlink:hover { opacity: 1; }
.contact .ir-contact-row { color: inherit; }
/* Footer links */
.ir-footlinks { margin-top: 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.ir-footlinks a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.ir-footlinks a:hover { border-bottom-color: currentColor; }
body.ir-lock { overflow: hidden; }
@media (max-width: 600px) {
  .ir-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .ir-inner { padding: 40px 22px 32px; }
  .ir-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ir-modal[open] { animation: none; } }
