/* Bright coastal theme for the guest demo. Loaded last on index.html; overrides styles.css visuals only. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&display=swap');

:root {
  --ink: #0e3a48; --muted: #5d7480; --cream: #fbf7f0; --paper: #fff; --line: #e6e0d4;
  --teal: #0e4f5f; --ocean: #0b6f80; --aqua: #17a2a7; --seafoam: #e2f4f1; --lime: #ffd9a0;
  --coral: #f26b4f; --coral-dark: #d9553a; --light: #e9f6f3; --sand: #f4ecdd; --green: #13795b;
  --radius: 22px; --shadow: 0 18px 50px #0e3a4814; --lift: 0 22px 50px #0e3a4824;
  background: var(--cream);
}
.theme-boutique { --teal: #3d3029; --ocean: #5b4636; --aqua: #b48a5a; --coral: #a8643f; --coral-dark: #8d5233; --seafoam: #f3e9dc; --light: #f3e9dc; --cream: #faf5ee; }

h1, h2, .wordmark { font-family: 'Fraunces', Georgia, serif; }
h1 { letter-spacing: -1.6px; font-weight: 600; }
h2 { letter-spacing: -.8px; }

/* Buttons */
button.primary, .primary { background: linear-gradient(135deg, var(--ocean), var(--teal)); border-radius: 999px; padding: 13px 22px; box-shadow: 0 8px 20px #0b6f8033; transition: transform .15s, box-shadow .15s; }
button.primary:hover:not(:disabled), .primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px #0b6f8044; }
button.outline { border-radius: 999px; border-color: #c9d8da; background: var(--paper); transition: border-color .15s, background .15s; }
button.outline:hover:not(:disabled) { border-color: var(--aqua); background: var(--seafoam); }
button.pill { border-radius: 999px; transition: background-color .15s, color .15s, border-color .15s; }
button.pill:hover { border-color: var(--aqua); }
button.pill.active { background: var(--ocean); border-color: var(--ocean); }

/* Header */
.demo-strip { background: var(--teal); }
.demo-strip button { color: var(--lime); }
.site-header { position: sticky; top: 0; z-index: 20; background: #fffffffa; border-bottom-color: #ece6da; padding-top: 16px; padding-bottom: 16px; }
.brand-symbol { color: var(--aqua); }
.nav { font-size: 14px; font-weight: 500; border-radius: 999px; padding: 8px 14px; transition: background .15s, color .15s; }
.nav:hover { background: var(--seafoam); color: var(--ink); }
.nav.active { background: var(--ink); color: #fff; border-bottom: 0; }
#inbox-count { background: var(--coral); color: #fff; font-weight: 700; padding: 2px 6px; }
.nav.active #inbox-count { background: var(--lime); color: var(--ink); }

/* Full-bleed photo hero */
.hero { position: relative; display: flex; align-items: center; min-height: 540px; margin: 0; border-radius: 0; background: var(--teal); isolation: isolate; }
.hero-image { position: absolute; inset: 0; z-index: -2; background-position: center 60%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #072b36e6 0%, #072b36a6 38%, #072b3600 72%), linear-gradient(0deg, #072b3666, #072b3600 40%); }
.hero-image span { left: auto; right: 4%; bottom: 96px; background: #072b36cc; }
.hero-copy { position: relative; color: #fff; padding: 60px 4% 120px; max-width: 760px; gap: 24px; }
.hero-copy h1 { font-size: clamp(46px, 6.4vw, 84px); text-shadow: 0 2px 30px #0005; }
.hero-copy p { color: #e4f1f1; font-size: 17px; max-width: 470px; }
.hero-copy .eyebrow { background: #ffffff33; border: 1px solid #ffffff33; padding: 7px 13px; border-radius: 999px; }
.hero-copy .dot { background: var(--lime); box-shadow: 0 0 0 4px #ffd9a033; }
.hero-copy .primary { background: var(--coral); box-shadow: 0 10px 26px #f26b4f55; padding: 15px 26px; font-size: 15px; }
.hero-copy .primary:hover { background: var(--coral-dark); }
.hero-copy .muted, .hero-copy small { color: #c6dcdc; }
@media (min-width: 1500px) { .hero { max-width: none; } }

/* Search panel floats up over the hero */
.hero + .content { position: relative; z-index: 2; margin-top: -84px; }
.search-shell { border: 0; border-radius: var(--radius); box-shadow: 0 24px 70px #0e3a4826; }
.search-tabs { background: var(--sand); border-bottom: 0; padding: 8px; }
.search-tabs button { border-radius: 16px; transition: background .15s; }
.search-tabs button:hover { background: #ffffff88; }
.search-tabs button.active { box-shadow: 0 6px 18px #0e3a4814; }
.spark { color: var(--coral); }
.query { background: #fffdf9; border: 1.5px solid #d9e6e6; border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.query:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px #17a2a71f; outline: none; }
input, select, textarea { border-radius: 12px; border-color: #d4dfe0; }
.preference-grid label { background: var(--cream); border-color: #ece5d8; border-radius: 14px; }
.scenario-chips button { background: var(--seafoam); border-color: transparent; color: var(--ocean); font-weight: 500; }
.scenario-chips button:hover { background: #cdeee9; }

/* Results */
.section-title h2 { font-size: clamp(30px, 4vw, 42px); }
.count-tag { color: var(--aqua); font-weight: 700; }
.cards { gap: 28px; }
.property-card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; animation: sw-rise .45s ease both; }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--lift); }
.cards > :nth-child(2) { animation-delay: .05s; } .cards > :nth-child(3) { animation-delay: .1s; }
.cards > :nth-child(4) { animation-delay: .15s; } .cards > :nth-child(5) { animation-delay: .2s; } .cards > :nth-child(6) { animation-delay: .25s; }
@keyframes sw-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.photo { aspect-ratio: 1.45; }
.photo::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, #072b3655, transparent); pointer-events: none; }
.property-card:hover .photo img { transform: scale(1.06); }
.photo img { transition: transform .6s ease; }
.photo .image-label { z-index: 1; background: #072b36bb; border-radius: 999px; padding: 4px 8px; }
.score { background: #fffffff5; color: var(--ink); border-radius: 14px; box-shadow: 0 6px 18px #0002; }
.score strong { color: var(--green); font-size: 21px; }
.favorite { box-shadow: 0 4px 12px #0002; transition: transform .15s; }
.favorite:hover { transform: scale(1.08); }
.favorite.active { background: var(--coral); color: #fff; }
.card-body { padding: 20px 22px 22px; }
.place { color: var(--aqua); font-weight: 700; }
.card-body h3 { font-size: 21px; }
.tag { background: var(--seafoam); color: var(--ocean); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 500; }
.reason { border-top-style: dashed; }
.reason b { color: var(--green); }
.price { font-size: 26px; font-weight: 700; color: var(--ink); }
.card-body .view-btn { border-radius: 999px; padding: 11px 18px; white-space: nowrap; flex-shrink: 0; }
.notice { border: 0; background: var(--seafoam); border-radius: 16px; }
.notice.warning { background: #fff1e0; }
.empty { border-radius: var(--radius); border-color: #c9dcdc; }
.unverified-row { background: var(--sand); border-radius: 16px; }
.benefit-band { gap: 20px; border: 0; }
.benefit-band > * { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.benefit-band h4 { font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 600; }
.status { background: var(--seafoam); }

/* Compare tray, dialog, quote */
#compare-tray { background: var(--ink); border-radius: 999px; padding: 12px 14px 12px 24px; box-shadow: 0 16px 40px #0e3a4855; }
#compare-tray button { background: var(--coral); color: #fff; border-radius: 999px; font-weight: 600; }
dialog { border: 0; border-radius: 24px; box-shadow: 0 30px 90px #0006; }
dialog[open] { animation: sw-pop .22s ease both; }
@keyframes sw-pop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
dialog::backdrop { background: #072b36b3; }
.modal-head { border-bottom-color: #efe8dc; }
.close { transition: background .15s; }
.close:hover { background: var(--seafoam); }
.detail-image { border-radius: 18px; }
.quote-panel { border: 0; border-radius: 20px; box-shadow: var(--shadow); }
.quote-line.total { font-size: 22px; font-weight: 700; color: var(--ink); }
.facts > div { border: 0; background: var(--paper); border-radius: 14px; box-shadow: 0 4px 14px #0e3a480a; }
.facts span { color: var(--aqua); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.panel, .stat, .mail, .mail-item { border-color: #ece5d8; border-radius: 18px; }
.mail-item.active { border-color: var(--aqua); background: var(--seafoam); }
.mail-top { background: linear-gradient(135deg, var(--ocean), var(--teal)); border-radius: 16px; }
.dashboard-head { background: linear-gradient(135deg, var(--ocean), var(--teal)); border-radius: var(--radius); }
.success .checkmark { color: var(--aqua); }
#toast { background: var(--ink); border-radius: 999px; padding: 13px 24px; }

/* Footer */
footer { background: var(--teal); color: #d6e7e7; border: 0; padding: 44px 4%; }
footer .wordmark { color: #fff; }
footer p, footer > span { color: #a9c6c8; }

@media (max-width: 640px) {
  .hero { min-height: 520px; align-items: end; }
  .hero::before { background: linear-gradient(0deg, #072b36f0 0%, #072b36aa 50%, #072b3633 100%); }
  .hero-copy { padding: 40px 6% 110px; }
  .hero-copy p { font-size: 15px; }
  .hero-image span { display: none; }
  .hero + .content { margin-top: -70px; }
  .site-header { position: static; }
  #compare-tray { border-radius: 18px; }
  .card-body h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .property-card, dialog[open] { animation: none; }
  .property-card:hover { transform: none; }
}
