/* ===== Rental Agreement Page ===== */

/* Hero */
.ra-hero { padding: 50px 0 60px; background: linear-gradient(180deg, #fff, var(--bg-alt)); overflow: hidden; color: var(--ink); }
.ra-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.ra-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 16px; color: var(--muted); }
.ra-stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; }
.ra-hero h1 { font-size: 42px; font-weight: 800; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 16px; }
.ra-city-highlight { display: inline-block; background: linear-gradient(135deg, #f59e0b, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ra-sub { font-size: 17px; color: var(--ink-2); line-height: 1.6; max-width: 480px; margin-bottom: 20px; }
.ra-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.ra-hbadge { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ra-hbadge svg { color: #16a34a; }
.ra-cta-btn { padding: 16px 32px; font-size: 17px; border-radius: 12px; }

/* Steps card */
.ra-steps-card { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.ra-steps-card h3 { font-size: 20px; margin-bottom: 20px; }
.ra-mini-steps { display: flex; flex-direction: column; gap: 18px; }
.ra-mini-step { display: flex; gap: 14px; align-items: flex-start; }
.ra-ms-num { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-light); color: var(--brand); font-weight: 800; font-size: 16px; display: grid; place-items: center; flex: none; }
.ra-mini-step strong { display: block; font-size: 15px; margin-bottom: 2px; }
.ra-mini-step p { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Trust strip */
.ra-trust { padding: 20px 0; background: var(--brand); color: #fff; }
.ra-trust-row { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.ra-trust-item { text-align: center; }
.ra-trust-item strong { display: block; font-size: 24px; font-weight: 800; }
.ra-trust-item span { font-size: 13px; opacity: .85; }
.ra-trust-sep { width: 1px; height: 36px; background: rgba(255,255,255,.3); }

/* Section titles */
.ra-section-title { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 10px; }
.ra-section-sub { text-align: center; color: var(--muted); font-size: 16px; margin-bottom: 40px; }

/* Cost Calculator */
.ra-calc { padding: 60px 0; }
.ra-calc-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; max-width: 900px; margin: 0 auto; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.ra-calc-left { padding: 36px 32px; background: var(--bg-alt); display: flex; flex-direction: column; }
.ra-calc-left h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.ra-calc-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.ra-info { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #b0b3ba; color: #b0b3ba; display: inline-grid; place-items: center; font-size: 11px; font-style: italic; font-weight: 400; cursor: pointer; font-family: Georgia, serif; vertical-align: middle; transition: all .2s; }
.ra-info:hover { border-color: var(--brand); color: var(--brand); }
.ra-info-tooltip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; box-shadow: 0 4px 16px rgba(15,23,42,.1); font-size: 13px; color: var(--ink-2); line-height: 1.6; position: relative; }
.ra-info-tooltip strong { color: var(--ink); }
.ra-info-close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 18px; color: var(--muted); cursor: pointer; line-height: 1; }
.ra-info-close:hover { color: var(--ink); }
.ra-calc-visual { flex: 1; display: flex; align-items: center; justify-content: center; }
.ra-calc-breakdown { display: flex; flex-direction: column; gap: 5px; margin-top: auto; padding: 0 2px; }
.ra-calc-brow { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.ra-calc-brow strong { color: var(--ink-2); font-weight: 600; font-size: 13px; }
.ra-calc-total-bar { background: #fff; border-radius: 12px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.ra-calc-total-bar span { font-size: 14px; color: var(--muted); }
.ra-calc-total-bar strong { font-size: 26px; font-weight: 800; color: var(--ink); }
.ra-calc-right { padding: 36px 32px; }
.ra-calc-field { margin-bottom: 20px; }
.ra-calc-field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.ra-calc-field select, .ra-calc-field input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-family: inherit; font-size: 15px; outline: none; background: #fff; }
.ra-calc-field select:focus, .ra-calc-field input:focus { border-color: var(--brand); }
.ra-calc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ra-calc-chip { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 18px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.ra-calc-chip:hover { border-color: var(--brand); color: var(--brand); }
.ra-calc-chip.active { background: var(--brand-light); border-color: var(--brand); color: var(--brand); }
.ra-calc-custom { margin-top: 10px; }
.ra-calc-custom input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: 15px; outline: none; }
.ra-calc-custom input:focus { border-color: var(--brand); }
.ra-calc-cta { padding: 15px; font-size: 16px; border-radius: 12px; margin-top: 8px; background: #00a699; box-shadow: none; }
.ra-calc-cta:hover { background: #009086; }

/* How it works (horizontal steps) */
.ra-how { padding: 70px 0; background: var(--bg-alt); }
.ra-how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ra-how-step { text-align: center; padding: 24px 16px; position: relative; }
.ra-how-icon { width: 72px; height: 72px; border-radius: 18px; background: #fff; box-shadow: 0 4px 16px rgba(15,23,42,.08); display: grid; place-items: center; font-size: 32px; margin: 0 auto 18px; }
.ra-how-connector { position: absolute; top: 56px; left: calc(50% + 44px); width: calc(100% - 88px); height: 2px; background: repeating-linear-gradient(90deg, var(--muted) 0, var(--muted) 6px, transparent 6px, transparent 12px); z-index: 1; }
.ra-how-step:last-child .ra-how-connector { display: none; }
.ra-how-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ra-how-step p { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 220px; margin: 0 auto; }

/* Add-ons */
.ra-addons { padding: 70px 0; background: var(--bg-alt); }
.ra-addons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ra-addon { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; transition: border-color .2s; }
.ra-addon:hover { border-color: var(--brand); }
.ra-addon-icon { font-size: 32px; margin-bottom: 10px; }
.ra-addon h4 { font-size: 16px; margin-bottom: 6px; }
.ra-addon p { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }


/* Remove total/plan selector styles */
.ra-form-selected-plan, .ra-total { display: none; }

/* Form section */
.ra-form-section { padding: 70px 0; }
.ra-form-wrap { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); }
.ra-form-head { text-align: center; margin-bottom: 30px; }
.ra-form-head h2 { font-size: 28px; margin-bottom: 8px; }
.ra-form-head p { color: var(--muted); font-size: 15px; }
.ra-form-group-title { font-size: 17px; color: var(--brand); margin: 24px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.ra-form-group-title:first-of-type { border-top: none; padding-top: 0; }
.ra-form-selected-plan { display: flex; align-items: center; gap: 10px; background: var(--brand-light); border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-size: 15px; }
.ra-form-selected-plan span { color: var(--muted); }
.ra-form-selected-plan strong { flex: 1; color: var(--brand); }
.ra-change-plan { font-size: 13px; color: var(--brand); font-weight: 600; }

/* Add-on checkboxes */
.ra-addon-checks { display: flex; flex-direction: column; gap: 10px; }
.ra-addon-check { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; font-size: 14px; }
.ra-addon-check:hover { border-color: var(--brand); background: var(--brand-light); }
.ra-addon-check input { width: 18px; height: 18px; accent-color: var(--brand); }

/* Total */
.ra-total { display: flex; justify-content: space-between; align-items: center; padding: 18px; background: var(--bg-alt); border-radius: 12px; margin: 24px 0 18px; font-size: 17px; }
.ra-total strong { font-size: 28px; color: var(--brand); font-weight: 800; }
.ra-submit-btn { padding: 16px; font-size: 17px; border-radius: 12px; }
.ra-form-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* FAQ */
.ra-faq { padding: 70px 0; background: var(--bg-alt); }
.ra-faq-list { max-width: 700px; margin: 0 auto; }
.ra-faq-item { border-bottom: 1px solid var(--line); }
.ra-faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; padding: 18px 0; cursor: pointer; }
.ra-faq-q::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.ra-faq-item.open .ra-faq-q::after { content: "−"; }
.ra-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ra-faq-item.open .ra-faq-a { max-height: 200px; }
.ra-faq-a p { font-size: 14px; color: var(--ink-2); line-height: 1.7; padding-bottom: 18px; }

/* Bottom CTA */
.ra-bottom-cta { padding: 60px 0; background: var(--brand); color: #fff; }
.ra-bottom-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.ra-bottom-cta p { font-size: 17px; opacity: .85; margin-bottom: 24px; }

/* Responsive */
@media (max-width: 980px) {
  .ra-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .ra-hero h1 { font-size: 30px; }
  .ra-how-steps { grid-template-columns: 1fr 1fr; }
  .ra-how-connector { display: none; }
  .ra-calc-wrap { grid-template-columns: 1fr; }
  .ra-calc-visual { display: none; }
  .ra-addons-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ra-included-grid { grid-template-columns: 1fr; }
  .ra-addons-grid { grid-template-columns: 1fr; }
  .ra-trust-row { gap: 20px; }
  .ra-trust-sep { display: none; }
  .pp-row { grid-template-columns: 1fr; }
}
