/* PorteroQR · Alta de casas */
body.registro-casa-page { display: block; width: 100%; margin: 0; min-height: 100vh; color: #1d2d42; background: #f4f7fb; }
.casa-registro-shell { width: min(100% - 32px, 1120px); display: grid; grid-template-columns: minmax(300px, .86fr) minmax(460px, 1.14fr); gap: 28px; align-items: start; margin: 0 auto; padding: 40px 0; }
.casa-intro { position: sticky; top: 28px; display: flex; min-height: 600px; flex-direction: column; justify-content: center; padding: 48px; overflow: hidden; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #13243b, #1d5260); box-shadow: 0 18px 40px rgba(27,52,75,.2); }
.casa-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 850; }
.casa-brand__mark { display: block; width: 36px; height: 36px; flex: 0 0 auto; }
.casa-intro__eyebrow { margin: 58px 0 14px; color: #a9efc5; font-size: 13px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.casa-intro h1 { max-width: 470px; margin: 0; color: #fff; font-size: clamp(32px, 4vw, 45px); line-height: 1.08; letter-spacing: -.04em; }
.casa-intro__text { margin: 20px 0 0; color: #e2f0f3; font-size: 16px; line-height: 1.6; }
.casa-benefits { display: grid; gap: 14px; padding: 0; margin: 34px 0 0; list-style: none; color: #e8f3f3; }
.casa-benefits li { display: flex; align-items: center; gap: 10px; }
.casa-benefits li::before { content: "✓"; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #174331; background: #96e7b8; font-size: 13px; font-weight: 900; }
.casa-origin { margin: auto 0 0; padding-top: 34px; color: #abc2c8; font-size: 13px; }

.casa-card { padding: 38px; border: 1px solid #e7edf4; border-radius: 24px; background: #fff; box-shadow: 0 16px 38px rgba(37,55,77,.08); }
.casa-card__header { margin-bottom: 26px; }
.casa-card__header h2 { margin: 0; color: #1a2a3d; font-size: 27px; letter-spacing: -.03em; }
.casa-card__header p { margin: 8px 0 0; color: #5f7490; font-size: 14px; line-height: 1.5; }
.casa-change-space { display: inline-flex; margin-top: 12px; color: #315ce4; font-size: 13px; font-weight: 850; text-decoration: none; }
.casa-change-space:hover { text-decoration: underline; }
.casa-error { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #f5cccc; border-radius: 10px; color: #a42626; background: #fff1f1; font-size: 14px; }
.casa-section { padding: 23px 0; border-top: 1px solid #e8eef5; }
.casa-section:first-of-type { padding-top: 0; border-top: 0; }
.casa-section h3 { margin: 0 0 5px; color: #26384d; font-size: 16px; }
.casa-section__hint { margin: 0 0 14px; color: #627894; font-size: 13px; line-height: 1.5; }
.casa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.casa-field { min-width: 0; margin-top: 14px; }
.casa-grid .casa-field { margin-top: 0; }
.casa-field--full { grid-column: 1 / -1; }
.casa-field label { display: block; margin-bottom: 6px; color: #2d435f; font-size: 13px; font-weight: 800; }
.casa-field input, .casa-field select { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #b9cbdf; border-radius: 10px; color: #1e334d; background: #fcfdff; font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.casa-field input::placeholder { color: #a7b2c0; }
.casa-field input:focus, .casa-field select:focus { outline: 0; border-color: #315ce4; background: #fff; box-shadow: 0 0 0 4px rgba(49,92,228,.14); }
.casa-field select:disabled { color: #8494a8; background: #f3f6fa; }
.casa-password { position: relative; }
.casa-password input { padding-right: 48px; }
.casa-password button { position: absolute; top: 50%; right: 8px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; border-radius: 8px; color: #64758b; background: transparent; cursor: pointer; transform: translateY(-50%); }
.casa-password button:hover { color: #2753dc; background: #edf2ff; }
.casa-google { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; border: 1px solid #c7d4e5; border-radius: 10px; color: #243a57; background: #fff; box-shadow: 0 2px 5px rgba(25, 48, 74, .05); font-size: 14px; font-weight: 800; text-decoration: none; }
.casa-google:hover { border-color: #9fb2cb; background: #f9fbfe; }
.casa-google__icon { display: block !important; width: 20px !important; height: 20px !important; flex: 0 0 20px !important; }
.casa-oauth-separator { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #8090a3; font-size: 12px; font-weight: 700; text-align: center; }
.casa-oauth-separator::before, .casa-oauth-separator::after { height: 1px; flex: 1; content: ""; background: #e3eaf2; }
.casa-google-status { display: flex; align-items: center; gap: 9px; padding: 12px 13px; border: 1px solid #cae8da; border-radius: 10px; color: #277150; background: #f0fbf5; font-size: 13px; font-weight: 750; }
.casa-google-status span { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: #fff; background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0); font-size: 12px; font-weight: 900; }
.casa-map { height: 255px; margin-top: 12px; overflow: hidden; border: 1px solid #b9cbdf; border-radius: 12px; background: #edf2f7; }
.casa-map-help { margin: 8px 0 0; color: #6b7e96; font-size: 12px; line-height: 1.5; }
.casa-switch { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; padding: 13px; border: 1px solid #dce8f3; border-radius: 11px; background: #f8fbff; }
.casa-switch input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #315ce4; }
.casa-switch label { color: #39506b; font-size: 13px; line-height: 1.45; font-weight: 700; }
.casa-submit { width: 100%; min-height: 52px; margin-top: 25px; border: 0; border-radius: 11px; color: #fff; background: #3461e8; box-shadow: 0 9px 18px rgba(52,97,232,.25); cursor: pointer; font: inherit; font-size: 15px; font-weight: 850; }
.casa-submit:hover { background: #244fd2; }
.casa-login { margin: 18px 0 0; color: #718198; text-align: center; font-size: 14px; }
.casa-login a { color: #315ce4; font-weight: 800; }

@media (max-width: 820px) {
    .casa-registro-shell { grid-template-columns: 1fr; padding: 18px 0 32px; gap: 18px; }
    .casa-intro { position: static; min-height: auto; padding: 30px 27px; }
    .casa-intro__eyebrow { margin-top: 33px; }
    .casa-intro h1 { font-size: 32px; }
    .casa-benefits { grid-template-columns: 1fr 1fr; margin-top: 26px; font-size: 13px; }
    .casa-origin { margin-top: 26px; padding-top: 0; }
    .casa-card { padding: 28px 22px; }
}
@media (max-width: 500px) {
    .casa-registro-shell { width: min(100% - 20px, 1120px); }
    .casa-intro { padding: 25px 21px; border-radius: 18px; }
    .casa-intro__text { font-size: 14px; }
    .casa-benefits, .casa-grid { grid-template-columns: 1fr; }
    .casa-field--full { grid-column: auto; }
    .casa-card { padding: 25px 18px; border-radius: 18px; }
}
