:root {
  --ink: #10253f;
  --ink-soft: #203b59;
  --teal: #0f766e;
  --teal-deep: #0b5b55;
  --gold: #e2a840;
  --paper: #f6f8fb;
  --line: #dce4ec;
  --muted: #62738a;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Tahoma, Arial, sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(15, 118, 110, .3); outline-offset: 3px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 9px 15px; border: 1px solid transparent; border-radius: 8px; color: white; background: var(--teal); text-decoration: none; font-size: .9rem; font-weight: 800; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.button:hover { background: var(--teal-deep); }
.button:active { transform: translateY(1px); }
.button.outline { border-color: #bdccda; color: var(--ink); background: white; }
.button.outline:hover { border-color: var(--teal); color: var(--teal-deep); background: #f2f9f8; }
.button.light { color: var(--teal-deep); background: white; }
.button.light:hover { background: #effaf9; }
.button.icon { width: 39px; padding: 0; font-size: 1.1rem; }

.site-shell { min-height: 100vh; overflow-x: clip; background: var(--paper); }
.site-header { position: sticky; top: 0; z-index: 30; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 clamp(20px, 6vw, 92px); border-bottom: 1px solid rgba(220, 228, 236, .8); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; border: 0; color: var(--ink); background: transparent; text-decoration: none; font-size: 1.05rem; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 10px; color: white; background: var(--ink); font-size: 1.25rem; line-height: 1; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; margin-left: 22px; }
.desktop-nav a { color: var(--ink-soft); font-size: .95rem; text-decoration: none; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--teal); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.mobile-menu, .mobile-nav { display: none; }

.hero { min-height: 510px; display: grid; align-items: center; padding: 70px clamp(20px, 8.2vw, 128px) 66px; color: white; background-color: var(--ink); background-image: linear-gradient(90deg, rgba(7, 22, 40, .93) 0%, rgba(7, 22, 40, .77) 40%, rgba(7, 22, 40, .15) 79%), url('../images/hero-villa.png'); background-size: cover; background-position: center; }
.hero-content { width: min(710px, 100%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 15px; color: #d8f0ef; font-size: .86rem; font-weight: 700; letter-spacing: .03em; }
.eyebrow.dark { color: var(--teal-deep); }
.eyebrow.dark i { width: 7px; height: 7px; border-radius: 99px; background: var(--teal); }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(2.35rem, 5vw, 4.7rem); font-weight: 800; letter-spacing: -.075em; line-height: 1.09; }
.hero h1 em { color: #a8dcd6; font-style: normal; }
.hero-copy { max-width: 550px; margin: 18px 0 28px; color: #e2ebf5; font-size: 1.12rem; line-height: 1.8; }
.search-panel { display: grid; grid-template-columns: minmax(230px, 1.7fr) minmax(120px, .75fr) auto; align-items: stretch; gap: 8px; padding: 8px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 20px 40px rgba(3, 14, 26, .22); }
.search-field { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 11px; color: var(--teal); }
.search-field span { font-size: 1.45rem; line-height: 1; }
.search-field input { width: 100%; height: 44px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.select-field { display: grid; gap: 1px; padding: 4px 13px; border-inline: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.select-field select { width: 100%; padding: 0; border: 0; color: var(--ink); background: transparent; font-size: .91rem; font-weight: 700; outline: 0; }
.search-button { min-height: 47px; border-radius: 10px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; color: #cad9e6; font-size: .9rem; }
.hero-trust span { display: inline-flex; gap: 5px; align-items: center; }.hero-trust strong { color: white; }

.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); width: min(1070px, calc(100% - 40px)); margin: -31px auto 0; position: relative; z-index: 2; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 16px 35px rgba(26, 49, 72, .08); overflow: hidden; }
.quick-links > * { display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 18px 24px; border: 0; border-inline-start: 1px solid var(--line); color: var(--ink); background: white; text-align: right; text-decoration: none; transition: background .18s ease, color .18s ease; }
.quick-links > *:first-child { border-inline-start: 0; }.quick-links > * > span:nth-child(2) { flex: 1; font-size: .98rem; font-weight: 800; }.quick-icon { color: var(--teal); font-size: 1.35rem; }.quick-links b { font-size: 1rem; }.quick-links > *:hover { color: var(--teal-deep); background: #f0f7f7; }

.content-section { width: min(1230px, calc(100% - 40px)); margin: 0 auto; }.results-section { padding: 92px 0 72px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }.section-heading h2, .area-strip h2, .contact-band h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.055em; line-height: 1.25; }.result-count { padding: 8px 13px; border-radius: 999px; color: var(--teal-deep); background: #e4f2f1; font-size: .88rem; font-weight: 700; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }.filter-chip { padding: 8px 14px; border: 1px solid #cbd7e2; border-radius: 999px; color: var(--ink); background: white; font-size: .88rem; font-weight: 700; }.filter-chip:hover, .filter-chip.active { border-color: var(--teal); color: white; background: var(--teal); }.filter-note { margin-right: auto; color: var(--muted); font-size: .9rem; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 5px 16px rgba(20, 48, 78, .04); transition: transform .22s ease, box-shadow .22s ease; }.property-card:hover { transform: translateY(-5px); box-shadow: 0 17px 30px rgba(20, 48, 78, .11); }.property-card[hidden] { display: none; }
.property-image { position: relative; height: 214px; overflow: hidden; background: #cbd8e4; }.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }.property-card:hover .property-image img { transform: scale(1.04); }.purpose-badge { position: absolute; top: 13px; right: 13px; padding: 6px 10px; border-radius: 999px; color: var(--ink); background: rgba(255, 255, 255, .93); font-size: .78rem; font-weight: 800; }.heart-button { position: absolute; left: 13px; top: 13px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 99px; color: var(--ink); background: rgba(255, 255, 255, .93); font-size: 1.45rem; line-height: 1; }.heart-button.saved { color: #bd3b56; }
.property-body { padding: 18px 18px 17px; }.property-price { margin: 0 0 6px; color: var(--teal-deep); font-size: 1.05rem; font-weight: 800; }.property-body h3 { min-height: 48px; margin: 0; color: var(--ink); font-size: 1.08rem; letter-spacing: -.025em; line-height: 1.45; }.property-location { margin: 9px 0 16px; color: var(--muted); font-size: .88rem; }.property-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-top: 13px; border-top: 1px solid #edf1f5; color: var(--ink-soft); font-size: .77rem; }.property-facts span { white-space: nowrap; }.empty-results { padding: 42px 20px; border: 1px dashed #aebdcb; border-radius: 14px; color: var(--muted); text-align: center; }

.area-strip { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 58px max(20px, calc((100vw - 1230px) / 2)); color: white; background: var(--ink); }.area-strip .eyebrow { color: #9fd7d2; }.area-strip p:not(.eyebrow) { max-width: 540px; margin: 11px 0 0; color: #cdd9e5; line-height: 1.7; }.neighborhoods { display: flex; flex-wrap: wrap; max-width: 540px; gap: 10px; }.neighborhoods button { padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .21); border-radius: 10px; color: #e6edf4; background: rgba(255, 255, 255, .06); font-size: .92rem; transition: background .2s ease, border-color .2s ease; }.neighborhoods button:hover { border-color: #80c7c1; background: rgba(127, 202, 195, .17); }
.guide-section { padding: 80px 0 92px; }.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.guide-card { min-height: 212px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: white; }.guide-card > span { color: var(--teal-deep); font-size: .8rem; font-weight: 800; }.guide-card h3 { margin: 14px 0 8px; color: var(--ink); font-size: 1.12rem; letter-spacing: -.025em; line-height: 1.45; }.guide-card p { flex: 1; margin: 0 0 19px; color: var(--muted); font-size: .91rem; line-height: 1.7; }.guide-card button { width: fit-content; padding: 0; border: 0; color: var(--teal-deep); background: transparent; font-weight: 800; }.guide-card button:hover { color: var(--teal); }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 25px; width: min(1230px, calc(100% - 40px)); margin: 0 auto 28px; padding: 33px 38px; border-radius: 16px; color: white; background: linear-gradient(112deg, var(--teal-deep), #0c877d); }.contact-band .eyebrow { margin-bottom: 8px; color: #c5f1ed; }.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 6vw, 92px); border-top: 1px solid var(--line); background: white; }.site-footer p { margin: 0; color: var(--muted); font-size: .87rem; }.site-footer > a { color: var(--teal-deep); font-size: .9rem; font-weight: 800; text-decoration: none; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 256px minmax(0, 1fr); background: var(--paper); }.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 15px; color: #d8e2ee; background: var(--ink); }.admin-brand { padding: 0 10px; color: white; }.admin-brand .brand-mark { color: var(--ink); background: white; }.admin-label { margin: 0; color: #7e90a5; font-size: .76rem; font-weight: 800; letter-spacing: .04em; }.admin-sidebar .admin-label { margin: 40px 10px 10px; color: #93a6ba; }.admin-nav { display: grid; gap: 5px; }.admin-nav a { padding: 12px; border-radius: 8px; color: #c4d1df; text-decoration: none; font-size: .92rem; font-weight: 700; }.admin-nav a:hover, .admin-nav a.active { color: white; background: rgba(159, 221, 215, .16); }.sidebar-return { width: calc(100% - 20px); margin: auto 10px 0; border-color: rgba(255, 255, 255, .23) !important; color: #deecf6 !important; background: transparent !important; }
.admin-main { min-width: 0; padding: 34px clamp(20px, 4vw, 64px) 55px; }.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 29px; }.admin-header h1 { margin: 5px 0 0; color: var(--ink); font-size: 2rem; letter-spacing: -.055em; }.admin-user { display: flex; align-items: center; gap: 10px; }.admin-user > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; color: white; background: var(--teal); font-size: .92rem; font-weight: 800; }.admin-user strong, .admin-user small { display: block; }.admin-user strong { color: var(--ink); font-size: .86rem; }.admin-user small { margin-top: 2px; color: var(--muted); font-size: .73rem; }.admin-notice { margin: -12px 0 22px; padding: 12px 14px; border: 1px solid #acd7d2; border-radius: 11px; color: var(--teal-deep); background: #e7f4f3; font-size: .9rem; }.admin-notice.error { border-color: #edb6bd; color: #922f39; background: #fff0f2; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }.metric-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; text-align: right; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }.metric-card:not(.static):hover { border-color: #8dc5c0; box-shadow: 0 9px 22px rgba(20, 54, 81, .07); }.metric-card > b { margin-right: auto; color: #9aaabb; }.metric-card strong, .metric-card p { display: block; margin: 0; }.metric-card strong { font-size: 1.38rem; letter-spacing: -.04em; }.metric-card p { margin-top: 3px; color: var(--muted); font-size: .78rem; }.metric-icon { flex: 0 0 auto; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; font-size: 1.15rem; }.metric-icon.teal { color: var(--teal-deep); background: #e3f3f1; }.metric-icon.gold { color: #9b6605; background: #fff2d9; }.metric-icon.blue { color: #2e609b; background: #e8f1fb; }.metric-icon.ink { color: var(--ink); background: #e6ecf3; }
.admin-two-column { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: 20px; align-items: start; }.admin-panel { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }.panel-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }.panel-title h2 { margin: 4px 0 0; color: var(--ink); font-size: 1.25rem; letter-spacing: -.035em; }.panel-title > span { color: var(--teal); font-size: 1.2rem; }.panel-title .button { min-height: 34px; }
.admin-form { display: grid; gap: 14px; }.admin-form label { display: grid; gap: 7px; color: var(--ink-soft); font-size: .85rem; font-weight: 800; }.admin-form input, .admin-form textarea, .admin-form select { width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid #cfdbe5; border-radius: 6px; color: var(--ink); background: white; font-size: .92rem; outline: 0; }.admin-form textarea { min-height: 88px; resize: vertical; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.form-row.three { grid-template-columns: repeat(3, 1fr); }.feature-toggle { display: flex !important; align-items: center; gap: 8px; font-weight: 600 !important; }.feature-toggle input { width: 16px; min-height: 16px; accent-color: var(--teal); }.admin-form > .button { justify-self: start; min-width: 137px; }
.record-list { display: grid; gap: 6px; }.property-record, .post-record { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #edf1f4; }.property-record:last-child, .post-record:last-child { border-bottom: 0; }.property-record img { width: 50px; height: 43px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; }.property-record div, .post-record div { min-width: 0; flex: 1; }.property-record strong, .post-record strong { display: block; overflow: hidden; color: var(--ink); font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }.property-record span, .post-record span { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }.icon-delete { flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 7px; color: #a44751; background: transparent; font-size: 1.15rem; }.icon-delete:hover { color: #a32c39; background: #fff0f2; }.post-icon { display: grid !important; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; border-radius: 8px; color: #42739d !important; background: #eaf2fb; }.status-pill { padding: 5px 8px; border-radius: 999px; color: var(--teal-deep) !important; background: #e7f4f2; font-size: .7rem !important; font-weight: 800; }.overview-panels { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); }.highlight-panel { min-height: 247px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: white; border: 0; background: linear-gradient(137deg, #173b57, #0f766e); }.highlight-panel .admin-label { color: #aae2dc; }.highlight-panel h2 { margin: 5px 0 8px; font-size: 1.5rem; letter-spacing: -.04em; }.highlight-panel p:not(.admin-label) { max-width: 290px; margin: 0 0 20px; color: #d8e9ed; font-size: .9rem; line-height: 1.7; }
.media-panel { min-height: 520px; }.upload-drop { position: relative; display: grid; place-items: center; gap: 6px; min-height: 170px; padding: 22px; border: 1.5px dashed #8ebbb7; border-radius: 13px; color: var(--teal-deep); background: #f2faf9; text-align: center; }.upload-drop strong { margin-top: 2px; }.upload-drop small { color: var(--muted); }.upload-drop input[type=file] { max-width: 260px; color: var(--muted); font-size: .8rem; }.upload-symbol { font-size: 1.8rem; }.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 21px; }.media-grid figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }.media-grid img { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; }.media-grid figcaption { padding: 8px; overflow: hidden; color: var(--muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }.media-empty { min-height: 230px; display: grid; place-content: center; justify-items: center; gap: 9px; color: var(--muted); text-align: center; }.media-empty span { font-size: 1.6rem; }.media-empty p { margin: 0; }
.logout-form { margin: 10px 10px 0; }.logout-link { width: 100%; padding: 8px; border: 0; color: #9fb0c1; background: transparent; font-size: .8rem; font-weight: 700; }.logout-link:hover { color: white; }.login-shell { min-height: 100vh; display: grid; place-content: center; gap: 25px; padding: 36px 20px; color: var(--ink); background: linear-gradient(130deg, #eef6f5, #f8fafc 46%, #eaf2f7); }.login-brand { justify-self: center; }.login-card { width: min(440px, 100%); padding: 31px; border: 1px solid #d7e2ea; border-radius: 18px; background: white; box-shadow: 0 24px 60px rgba(32, 64, 89, .12); }.login-card h1 { margin: 0; font-size: 1.8rem; letter-spacing: -.055em; }.login-card > p:not(.eyebrow) { margin: 10px 0 24px; color: var(--muted); line-height: 1.75; }.login-card .admin-notice { margin: 0 0 18px; }.login-form .button { width: 100%; margin-top: 3px; }.login-back { display: block; width: fit-content; margin-top: 22px; color: var(--teal-deep); font-size: .88rem; font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .site-header { padding-inline: 20px; }.desktop-nav, .header-actions > .outline { display: none; }.mobile-menu { display: inline-flex; }.mobile-nav { position: absolute; top: 68px; right: 14px; left: 14px; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 16px 35px rgba(20, 42, 65, .13); }.mobile-nav.is-open { display: grid; }.mobile-nav a { padding: 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 700; }.mobile-nav a:hover { color: var(--teal-deep); background: #edf7f6; }
  .property-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }.area-strip { flex-direction: column; align-items: flex-start; gap: 28px; }.neighborhoods { max-width: none; }.admin-shell { grid-template-columns: 1fr; }.admin-sidebar { position: relative; height: auto; padding: 16px 20px; }.admin-sidebar .admin-label, .sidebar-return { display: none; }.admin-nav { display: flex; overflow-x: auto; gap: 4px; margin-top: 17px; padding-bottom: 2px; }.admin-nav a { flex: 0 0 auto; }.admin-main { padding: 26px 20px 44px; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.admin-two-column, .overview-panels { grid-template-columns: 1fr; }.media-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .hero { min-height: 550px; padding: 54px 20px 42px; background-position: 64% center; }.hero h1 { font-size: clamp(2.45rem, 12vw, 3.4rem); }.hero-copy { font-size: 1rem; }.search-panel { grid-template-columns: 1fr; gap: 2px; border-radius: 14px; }.select-field { padding: 7px 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-inline: 0; }.search-button { margin: 4px; }.hero-trust { gap: 12px 18px; margin-top: 22px; font-size: .8rem; }.quick-links { grid-template-columns: 1fr; margin-top: -18px; }.quick-links > * { min-height: 64px; border-inline-start: 0; border-top: 1px solid var(--line); }.quick-links > *:first-child { border-top: 0; }.content-section { width: min(100% - 32px, 1230px); }.results-section { padding: 64px 0; }.section-heading { align-items: flex-start; }.section-heading h2, .area-strip h2, .contact-band h2 { font-size: 1.62rem; }.filter-note { width: 100%; margin-right: 0; }.property-grid, .guide-grid { grid-template-columns: 1fr; }.property-image { height: 228px; }.area-strip { padding: 45px 20px; }.guide-section { padding: 64px 0; }.contact-band { flex-direction: column; align-items: flex-start; width: calc(100% - 32px); padding: 27px 22px; }.site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 28px 20px; }.admin-header { align-items: flex-start; }.admin-header h1 { font-size: 1.7rem; }.admin-user { display: none; }.metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.metric-card { padding: 13px; gap: 9px; }.metric-card strong { font-size: 1.2rem; }.metric-card > b { display: none; }.admin-panel { padding: 18px; }.form-row, .form-row.three { grid-template-columns: 1fr; }.media-grid { grid-template-columns: repeat(2, 1fr); }
}
