/* realty.dad-look.com - Dad, Look Realty: a clean white listing page with a teal accent */
body { margin: 0; background: #ffffff; color: #1d2b2b; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: #0f7a6c; }
a:focus-visible, button:focus-visible, input:focus-visible, .re-room:focus-visible { outline: 3px solid #0f7a6c; outline-offset: 2px; }
.re-small { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #5d6b6b; }
.re-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #0f7a6c; }

/* Bar */
.re-bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 24px; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid #e3e9e8; }
.re-logo { display: inline-flex; align-items: center; gap: 10px; color: #1d2b2b; font-size: 19px; font-weight: 800; text-decoration: none; }
.re-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #0f7a6c; color: #ffffff; }
.re-bar nav { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.re-bar nav a { color: #1d2b2b; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.re-bar nav a:hover { color: #0f7a6c; }

.re-page { max-width: 1180px; margin: 0 auto; padding: 20px 24px 0; }
.re-page h2 { margin: 0 0 14px; font-size: 22px; }
.re-page section { scroll-margin-top: 80px; }

/* Gallery */
.re-main-photo { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 12px; background: #111111; }
.re-main-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.re-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 6px; background: #d93a3a; color: #ffffff; font-size: 13px; font-weight: 800; }
.re-count { position: absolute; bottom: 14px; right: 14px; padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); color: #ffffff; font-size: 13px; font-weight: 700; }
.re-thumbs { margin: 10px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.re-thumb { display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; border: 3px solid transparent; border-radius: 8px; overflow: hidden; background: #111111; cursor: pointer; }
.re-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.re-thumb[aria-pressed="true"] { border-color: #0f7a6c; }
.re-caption { margin: 8px 0 0; font-size: 14px; color: #5d6b6b; }

/* Columns */
.re-columns { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; margin-top: 24px; align-items: start; }
.re-main { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.re-main > section + section { padding-top: 28px; border-top: 1px solid #e3e9e8; }
.re-status { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.re-dot { width: 10px; height: 10px; border-radius: 50%; background: #d93a3a; }
.re-price { margin: 6px 0 0; font-size: clamp(40px, 6vw, 56px); font-weight: 900; letter-spacing: -0.02em; }
.re-specs { margin: 4px 0 0; font-size: 18px; color: #3a4848; }
.re-specs b { color: #1d2b2b; }
.re-summary h1 { margin: 14px 0 0; font-size: 22px; font-weight: 700; }
.re-address { margin: 4px 0 0; color: #5d6b6b; }
.re-estimate { margin: 12px 0 0; font-size: 15px; }
.re-about p { margin: 0 0 12px; font-size: 17px; line-height: 1.6; }
.re-facts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.re-facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef2f1; font-size: 15px; }
.re-facts dt { color: #5d6b6b; }
.re-facts dd { margin: 0; font-weight: 700; text-align: right; }

/* Floor plan */
.re-plan-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 12px; }
.re-plan-svg { display: block; width: 100%; height: auto; background: #f6faf9; border: 2px solid #1d2b2b; border-radius: 4px; }
.re-room { cursor: pointer; outline: none; }
.re-room rect { fill: #ffffff; stroke: #1d2b2b; stroke-width: 0.6; transition: fill 0.2s ease; }
.re-room text { font-size: 3.6px; font-weight: 700; fill: #1d2b2b; pointer-events: none; }
.re-room:hover rect, .re-room.is-active rect { fill: #d3efe9; }
.re-room:focus-visible rect { stroke: #0f7a6c; stroke-width: 1.2; }
.re-room-info { padding: 18px; border-radius: 10px; background: #f6faf9; }
.re-room-info b { font-size: 18px; }
.re-room-info p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; }

/* History and area */
.re-history table { width: 100%; border-collapse: collapse; font-size: 15px; }
.re-history th, .re-history td { padding: 10px 8px; text-align: left; border-bottom: 1px solid #eef2f1; }
.re-history th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #5d6b6b; }
.re-history td:last-child { font-weight: 700; text-align: right; }
.re-history th:last-child { text-align: right; }
.re-scores { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.re-scores li { padding: 16px; border-radius: 10px; background: #f6faf9; display: flex; flex-direction: column; gap: 4px; }
.re-scores b { font-size: 26px; color: #0f7a6c; }
.re-scores span { font-size: 13px; color: #5d6b6b; line-height: 1.35; }

/* Sidebar */
.re-side { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 18px; }
.re-calc, .re-agent { padding: 22px; border: 1px solid #e3e9e8; border-radius: 14px; box-shadow: 0 4px 18px rgba(29, 43, 43, 0.06); }
.re-calc h2, .re-agent h2 { margin: 0; font-size: 18px; }
.re-payment { margin: 8px 0 16px; font-size: 38px; font-weight: 900; letter-spacing: -0.02em; }
.re-payment span { font-variant-numeric: tabular-nums; }
.re-field { margin-bottom: 14px; }
.re-field label { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.re-field label b { font-variant-numeric: tabular-nums; }
.re-field input { width: 100%; margin: 0; accent-color: #0f7a6c; height: 26px; cursor: pointer; }
.re-breakdown { margin: 4px 0 0; border-top: 1px solid #eef2f1; }
.re-breakdown div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f1; font-size: 14px; }
.re-breakdown dt { color: #5d6b6b; }
.re-breakdown dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.re-calc-note { margin: 12px 0 0; min-height: 20px; font-size: 14px; font-weight: 700; color: #b84a1a; line-height: 1.45; }
.re-button { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; min-height: 48px; margin-top: 12px; padding: 0 18px; border: 0; border-radius: 10px; background: #0f7a6c; color: #ffffff; font: inherit; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; }
.re-button:hover { background: #0b5f54; color: #ffffff; }
.re-button-ghost { background: #ffffff; color: #0f7a6c; border: 2px solid #0f7a6c; }
.re-button-ghost:hover { background: #f6faf9; color: #0f7a6c; }
.re-approved { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #0f7a6c; line-height: 1.45; }
.re-approved:empty { display: none; }
.re-agent-head { display: flex; align-items: center; gap: 14px; }
.re-agent-head img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 86%; }
.re-agent-head p { margin: 2px 0 0; font-size: 14px; color: #5d6b6b; }
.re-open { margin: 14px 0 0; font-size: 14px; line-height: 1.5; }

/* Bottom */
.re-bottom { max-width: 1180px; margin: 0 auto; padding: 60px 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.re-cta { padding: 44px 24px; border-radius: 16px; background: #0f3f39; color: #ffffff; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.re-cta .re-kicker { color: #8fe3d4; }
.re-cta h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.re-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #d3efe9; }
.re-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #ec6e6a; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.re-cta-button:hover { background: #d95450; color: #ffffff; }
.re-cta-arrow { display: inline-block; }
.re-share { min-height: 48px; padding: 0 22px; border: 2px solid #ffffff; border-radius: 999px; background: none; color: #ffffff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.re-share:hover { background: #ffffff; color: #0f3f39; }
.re-status-line { margin: 0; font-size: 14px; font-weight: 700; color: #8fe3d4; }
.re-status-line:empty { display: none; }
.re-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #5d6b6b; border-top: 1px solid #e3e9e8; padding-top: 14px; }
.re-footer a { color: #1d2b2b; }

@media (max-width: 960px) {
	.re-columns { grid-template-columns: minmax(0, 1fr); }
	.re-side { position: static; }
}
@media (max-width: 640px) {
	.re-bar { padding: 10px 16px; gap: 12px; }
	.re-logo { font-size: 16px; }
	.re-bar nav { gap: 14px; }
	.re-page { padding: 12px 16px 0; }
	.re-main-photo { aspect-ratio: 4 / 3; }
	.re-thumbs { gap: 4px; }
	.re-facts dl { grid-template-columns: minmax(0, 1fr); }
	.re-plan-wrap { grid-template-columns: minmax(0, 1fr); }
	.re-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.re-calc, .re-agent { padding: 18px 16px; }
	.re-bottom { padding: 44px 16px 40px; }
	.re-cta h2 { font-size: 26px; }
	.re-cta-button { font-size: 17px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.re-dot { animation: re-blink 1.6s ease-in-out infinite; }
	.js .re-main-photo { animation: re-in 0.8s ease both; }
	.js .re-summary > * { animation: re-rise 0.5s ease both; }
	.js .re-summary > *:nth-child(2) { animation-delay: 0.1s; }
	.js .re-summary > *:nth-child(3) { animation-delay: 0.2s; }
	.js .re-summary > *:nth-child(n+4) { animation-delay: 0.3s; }
	.re-main-photo img.is-fading { opacity: 0.2; }
	.re-payment span.is-changed { display: inline-block; animation: re-tick 0.3s ease; }
	.re-cta-button { animation: re-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.re-cta-button:hover { transform: scale(1.02); }
	.re-cta-arrow { animation: re-nudge 1.1s ease-in-out infinite; }
}

@keyframes re-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes re-in { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
@keyframes re-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes re-tick { 0% { transform: translateY(-4px); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
@keyframes re-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(236, 110, 106, 0); } }
@keyframes re-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
