/* Fotografías, zonas y conversación: mejoras de la web Realtor FM. */
:root{--fm-ink:#242424;--fm-sage:#4b6355;--fm-line:#deded8}
html{scroll-padding-top:170px}
.fm-showcase{padding:88px 24px;background:#eeefe9}
.fm-section-inner{max-width:1200px;margin:auto}
.fm-eyebrow{font-size:12px;letter-spacing:.17em;text-transform:uppercase;color:#59665d;font-weight:600}
.fm-showcase h2{font:600 clamp(2rem,3.8vw,3rem)/1.12 Inter,system-ui,sans-serif;letter-spacing:-.025em;max-width:720px;margin:14px 0 30px}
.fm-gallery{display:grid;grid-template-columns:1.35fr 1fr;grid-template-rows:300px 300px;gap:20px}
.fm-scene{position:relative;display:flex;flex-direction:column;border:0;padding:0;text-align:left;border-radius:22px;overflow:hidden;background:#202822;color:white;cursor:pointer;isolation:isolate;min-width:0}
.fm-scene-main{grid-row:span 2}
.fm-scene img{width:100%;height:0;flex:1 1 0;min-height:0;object-fit:cover;display:block;transition:transform .85s cubic-bezier(.2,.65,.3,1)}
.fm-scene:hover img{transform:scale(1.045)}
.fm-scene:focus-visible{outline:3px solid #506f58;outline-offset:4px}
.fm-scene-copy{position:relative;z-index:1;display:flex;flex-direction:column;gap:8px;flex:none;width:100%;box-sizing:border-box;padding:20px 24px;background:#202822}
.fm-scene-copy small{font:600 11px Inter,system-ui,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#f4f4ee}
.fm-scene-copy strong{font:500 clamp(1.3rem,2.4vw,1.7rem)/1.22 Inter,system-ui,sans-serif;max-width:390px}
.fm-photo-note{font-size:12px;color:#5b615b;margin:18px 0 0}
.fm-profile-socials{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.fm-profile-socials a{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;min-height:44px;text-decoration:none}
.fm-profile-socials svg{width:20px;height:20px;flex:none}
.fm-footer-logos{max-width:1200px;margin:38px auto 0;background:#fff;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;border-radius:18px;padding:26px 20px;box-sizing:border-box}
.fm-footer-logos figure{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px;min-width:0}
.fm-footer-logos img{height:96px;width:100%;max-width:210px;object-fit:contain;display:block}
.fm-footer-logos .fm-footer-brand{max-width:175px}
.fm-footer-logos .fm-footer-broker{max-width:230px;height:80px;filter:brightness(0)}
.fm-footer-logos figcaption{font:500 11px/1.4 Inter,system-ui,sans-serif;color:#444;text-align:center}
.fm-site-footer{background:#242424;color:#ddd;padding:48px 24px 32px;font-family:Inter,system-ui,sans-serif}
.fm-footer-content{max-width:1200px;margin:auto;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:36px}
.fm-footer-info{display:flex;flex-direction:column;gap:9px;font-size:13px;line-height:1.6}
.fm-footer-info strong{font:400 23px/1.2 Fraunces,Georgia,serif;color:#fff;max-width:370px}
.fm-footer-info a{color:#fff;overflow-wrap:anywhere}
.fm-footer-group h2{font:600 12px Inter,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.12em;margin:0 0 13px;color:#fff}
.fm-footer-links{display:flex;flex-direction:column;gap:4px}
.fm-footer-link{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:14px;min-height:40px}
.fm-footer-link svg{width:19px;height:19px;flex:none}
.fm-footer-link:hover{color:#d4e3d0}
.fm-footer-legal{max-width:1200px;margin:28px auto 0;padding-top:22px;border-top:1px solid #555;font-size:12px;line-height:1.6}
.fm-footer-legal p{margin:6px 0 0;max-width:760px}
@media(max-width:760px){.fm-footer-content{grid-template-columns:1fr 1fr;gap:32px 20px}.fm-footer-info{grid-column:1/-1}.fm-footer-group h2{font-size:11px}}
.fm-modal:not([open]){display:none}
.fm-modal{padding:0;border:1px solid #ddd;border-radius:24px;box-shadow:0 24px 90px #0004;color:#242424;font-family:Inter,system-ui,sans-serif;max-height:calc(100dvh - 32px);overflow:auto}
.fm-modal::backdrop{background:rgba(20,27,22,.55);backdrop-filter:blur(5px)}
.fm-modal-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid var(--fm-line);background:#f7f7f4}
.fm-modal-head h2{margin:0;font:500 22px/1.15 Fraunces,Georgia,serif}
.fm-modal-head p{margin:5px 0 0;color:#646960;font-size:12px}
.fm-close{border:1px solid #d9ddd7;border-radius:50%;background:white;width:44px;height:44px;flex:none;cursor:pointer;display:grid;place-items:center;font-size:26px;line-height:1;color:#242424}
.fm-close:focus-visible,.fm-modal button:focus-visible,.fm-modal a:focus-visible{outline:3px solid #566f5c;outline-offset:3px}
.fm-modal input,.fm-modal textarea,.fm-modal select{font:inherit;width:100%;box-sizing:border-box;border:1px solid #bfc7bf;border-radius:10px;padding:12px;background:#fff;color:#242424;min-height:46px}
.fm-modal textarea{resize:vertical}
.fm-modal label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}
.fm-primary{border:0;border-radius:999px;background:#242424;color:white;padding:13px 20px;font:600 14px Inter,system-ui,sans-serif;min-height:46px;cursor:pointer;text-decoration:none;text-align:center;box-sizing:border-box}
.fm-primary:disabled{opacity:.5;cursor:wait}
.fm-secondary{border:1px solid #bcc8bd;border-radius:999px;background:#fff;color:#242424;padding:11px 16px;font:500 13px Inter,system-ui,sans-serif;min-height:44px;cursor:pointer;text-decoration:none;box-sizing:border-box}
.fm-area-dialog{width:min(1040px,calc(100% - 32px))}
.fm-area-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:26px;padding:26px}
.fm-map{width:100%;height:395px;border:0;border-radius:16px;background:#e7ece5;display:block}
.fm-map-caption{font-size:12px;color:#626960;line-height:1.5;margin:12px 0 14px}
.fm-area-form{display:flex;flex-direction:column;gap:14px}
.fm-area-form h3{font:500 24px/1.15 Fraunces,Georgia,serif;margin:0 0 4px}
.fm-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fm-email-help{font-size:12px;line-height:1.5;color:#656b63;margin:0}
.fm-chat-dialog{width:min(480px,calc(100% - 24px));height:min(740px,calc(100dvh - 24px));margin:auto 24px 24px auto;overflow:hidden}
.fm-chat-dialog[open]{display:flex;flex-direction:column}
.fm-chat-body{padding:18px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:100px;display:flex;flex-direction:column;gap:14px;background:#fff}
.fm-chat-message{max-width:91%;border-radius:17px;padding:13px 15px;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;background:#f0f2ed;align-self:flex-start}
.fm-chat-user{align-self:flex-end;background:#26382d;color:#fff}
.fm-chat-error{background:#faf3e6;color:#5b482c}
.fm-chat-choices{display:flex;flex-wrap:wrap;gap:8px}
.fm-chat-footer{padding:14px 18px 16px;border-top:1px solid var(--fm-line);background:#f7f8f5;flex:none}
.fm-chat-compose{display:flex;align-items:flex-end;gap:8px}
.fm-chat-compose textarea{max-height:100px;min-height:46px;padding:11px 12px;font-size:14px}
.fm-chat-compose button{height:46px;flex:none;min-width:72px;padding:10px 14px}
.fm-chat-disclosure{font-size:10px;color:#626b61;line-height:1.5;margin:10px 0 0}
.fm-chat-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:9px}
.fm-chat-toolbar button{border:0;background:none;text-decoration:underline;font-size:11px;color:#425646;cursor:pointer;padding:6px 0;min-height:32px}
.fm-chat-summary{border:1px solid #ccd7cc;border-radius:16px;background:#f6f8f3;padding:16px;align-self:stretch;font-size:13px}
.fm-chat-summary h3{margin:0 0 12px;font:500 21px Fraunces,Georgia,serif}
.fm-chat-summary textarea{font-size:12px;min-height:180px;line-height:1.5;margin-bottom:12px}
.fm-chat-typing{font-size:12px;color:#657061;align-self:flex-start}
.fm-chat-dialog [hidden],.fm-area-dialog [hidden]{display:none!important}
@media(max-width:760px){html{scroll-padding-top:150px}.fm-showcase{padding:60px 20px}.fm-gallery{grid-template-columns:1fr;grid-template-rows:360px 320px 320px;gap:14px}.fm-scene-main{grid-row:auto}.fm-scene-copy{padding:18px 22px}.fm-area-grid{grid-template-columns:1fr;padding:18px;gap:20px}.fm-map{height:270px}.fm-modal-head{padding:18px}.fm-modal-head h2{font-size:21px}.fm-footer-logos{grid-template-columns:1fr 1fr;padding:12px 4px;gap:0}.fm-footer-logos figure{padding:20px 12px}.fm-footer-logos img{height:86px}.fm-footer-logos .fm-footer-broker{height:70px}.fm-chat-dialog{margin:auto;width:calc(100% - 16px);height:calc(100dvh - 16px);border-radius:20px}.fm-chat-body{padding:15px}}
@media(prefers-reduced-motion:reduce){.fm-scene img{transition:none!important;transform:none!important}.fm-modal::backdrop{backdrop-filter:none}}
