:root {
  --ink: #001652;
  --deep: #001652;
  --green: #0cb14b;
  --cream: #f1f3f8;
  --paper: #fbfcff;
  --gold: #0cb14b;
  --line: #d8deeb;
  --muted: #66708a;
  --slate: #7a85a1;
  --shadow: 0 24px 70px rgba(0, 22, 82, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 "DM Sans", sans-serif; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.site-header { min-height: 78px; display: flex; align-items: center; gap: 48px; padding: 0 5vw; border-bottom: 1px solid rgba(0,22,82,.12); background: rgba(251,252,255,.94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; background: var(--deep); color: white; display: inline-grid; place-items: center; font: 800 24px "Manrope", sans-serif; }
.brand-logo { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 5px 16px rgba(0,22,82,.16); }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font: 800 20px "Manrope", sans-serif; text-transform: uppercase; letter-spacing: -.04em; }
.brand small { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; gap: 30px; font-weight: 600; }
nav a:hover { color: var(--green); }
.header-cta { border: 1px solid var(--deep); padding: 10px 17px; border-radius: 999px; font-weight: 700; }
.hero { min-height: 600px; padding: clamp(74px, 10vw, 138px) 5vw 62px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr); gap: 7vw; align-items: center; background: radial-gradient(circle at 88% 14%, rgba(12,177,75,.22), transparent 28%), linear-gradient(128deg,#eef1f7 0%,#f8f9fc 60%,#dfe4ef 100%); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -220px; bottom: -260px; border: 70px solid rgba(0,22,82,.07); border-radius: 50%; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
h1,h2 { font-family: "Manrope", sans-serif; letter-spacing: -.055em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(52px, 7vw, 96px); line-height: .98; }
.hero-text { max-width: 620px; margin: 28px 0 0; font-size: clamp(18px,2vw,23px); color: var(--slate); }
.search-panel { position: relative; z-index: 2; padding: 26px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); border-radius: 26px 26px 26px 6px; border: 1px solid rgba(255,255,255,.8); }
.operation-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 22px; background: #edf0f6; border-radius: 14px; }
.operation-tab { border: 0; padding: 12px; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.operation-tab.active { background: var(--deep); color: white; }
label { display: grid; gap: 7px; margin-bottom: 16px; font-size: 14px; font-weight: 700; }
select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); }
.primary-button { width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: var(--green); color: var(--deep); font-weight: 800; cursor: pointer; }
.catalog-section { padding: 86px 5vw 104px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; }
#result-count { color: var(--muted); font-weight: 600; }
.property-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px 20px 20px 5px; background: white; transition: transform .25s ease, box-shadow .25s ease; }
.property-card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(0,22,82,.13); }
.card-image { min-height: 240px; background-size: cover; background-position: center; position: relative; }
.badge { position: absolute; top: 15px; left: 15px; padding: 7px 10px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 800; }
.card-body { padding: 22px; }
.card-meta { color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card-body h3 { margin: 10px 0 8px; font: 700 23px/1.15 "Manrope", sans-serif; letter-spacing: -.035em; }
.card-address { min-height: 48px; margin: 0; color: var(--muted); }
.card-footer { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-price { font-size: 20px; font-weight: 800; }
.card-link { color: var(--green); font-weight: 800; }
.trust-strip { margin: 0 5vw 100px; padding: 45px; border-radius: 28px 28px 28px 7px; background: var(--deep); color: white; display: grid; grid-template-columns: 180px 1fr auto; gap: 45px; align-items: center; }
.trust-strip strong,.trust-strip span { display: block; }
.trust-strip strong { color: var(--gold); font: 800 54px/1 "Manrope",sans-serif; }
.trust-strip span { opacity: .75; }
.trust-strip p { max-width: 680px; margin: 0; font-size: 18px; color: #dfe4f0; }
.trust-strip a { padding: 12px 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-weight: 700; }
footer { padding: 70px 5vw 35px; background: #000e36; color: white; }
.footer-title { display: flex; align-items: center; gap: 22px; max-width: 850px; }
.footer-title .brand-mark { background: var(--green); color: var(--deep); }
.footer-logo { width: 156px; height: 156px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.footer-contact { margin: 45px 0 60px; display: flex; flex-wrap: wrap; gap: 18px 36px; color: #d9deea; }
.footer-note { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); color: #9faac2; font-size: 13px; }
@media (max-width: 900px) { nav { display: none; } .hero { grid-template-columns: 1fr; min-height: auto; } .search-panel { max-width: 650px; } .property-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .trust-strip { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .site-header { min-height: 68px; padding: 0 18px; } .brand small { display: none; } .brand strong { font-size: 16px; } .header-cta { padding: 8px 12px; font-size: 14px; } .hero { padding: 70px 20px 44px; } h1 { font-size: 52px; } .search-panel { padding: 18px; border-radius: 20px 20px 20px 5px; } .catalog-section { padding: 64px 20px 76px; } .section-heading { display: block; } .property-grid { grid-template-columns: 1fr; } .trust-strip { margin: 0 20px 70px; padding: 30px; } footer { padding-left: 20px; padding-right: 20px; } }

[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--ink); background: white; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(12,177,75,.42); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.menu-button { display: none; border: 0; background: transparent; color: var(--deep); font-weight: 800; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 42px; color: var(--green); font-size: 14px; font-weight: 700; }
.hero-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.catalog-toolbar { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill, .small-button, .outline-button { border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); padding: 10px 16px; font-weight: 700; cursor: pointer; }
.filter-pill.active { border-color: var(--deep); background: var(--deep); color: white; }
.compact-filter { margin: 0; }
.compact-filter select { min-width: 190px; }
.property-card { cursor: pointer; }
.property-card.featured { border-color: rgba(12,177,75,.78); }
.featured-badge { position: absolute; top: 15px; right: 15px; padding: 7px 10px; border-radius: 999px; background: var(--gold); color: var(--deep); font-size: 12px; font-weight: 800; }
.spec-list { display: flex; gap: 13px; min-height: 24px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.spec-list span:not(:empty) + span:not(:empty)::before { content: "·"; margin-right: 13px; }
.card-link { padding: 0; border: 0; background: transparent; cursor: pointer; }
.empty-state { margin: 24px 0; padding: 56px; text-align: center; border: 1px dashed var(--line); border-radius: 22px; }
.empty-state span { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.empty-state h3 { font: 700 26px "Manrope", sans-serif; }
.empty-state button { border: 0; background: transparent; color: var(--green); font-weight: 800; cursor: pointer; }
.consulting-feature { margin: 0 5vw 100px; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 540px; overflow: hidden; border-radius: 30px 30px 30px 8px; background: #e9edf5; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px,7vw,90px); }
.feature-copy p:not(.eyebrow) { margin: 26px 0 32px; color: var(--muted); font-size: 18px; }
.outline-button { align-self: flex-start; border-color: var(--deep); background: transparent; }
.contact-section { margin: 0 5vw 100px; padding: clamp(36px,6vw,72px); border: 1px solid var(--line); border-radius: 28px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: start; }
.contact-section > div > p:last-child { color: var(--muted); font-size: 18px; }
.contact-section form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-section label { margin: 0; }
.full-field { grid-column: 1/-1; }
.contact-section .primary-button { grid-column: 1/-1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.footer-note { padding: 0; border: 0; margin: 0; }
.admin-entry { color: #b7c0d5; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(0,14,54,.76); backdrop-filter: blur(5px); }
.property-dialog { width: min(1060px, calc(100% - 32px)); max-height: min(820px, calc(100vh - 32px)); border-radius: 26px 26px 26px 7px; overflow: auto; box-shadow: var(--shadow); }
.dialog-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: white; color: var(--deep); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
#property-detail { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 610px; }
.detail-image { position: relative; min-height: 420px; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.detail-copy h2 { margin-top: 9px; font-size: 44px; }
.detail-address { color: var(--muted); font-size: 17px; }
.detail-price { margin: 16px 0 24px; font: 800 28px "Manrope",sans-serif; }
.detail-specs { display: flex; gap: 12px; margin-bottom: 24px; }
.detail-specs span { flex: 1; padding: 13px 10px; text-align: center; background: var(--cream); border-radius: 10px; color: var(--muted); font-size: 12px; }
.detail-specs strong { display: block; color: var(--deep); font-size: 18px; }
.detail-description { margin: 0 0 28px; color: var(--muted); }
.detail-cta { display: grid; place-items: center; text-decoration: none; }
.confirm-dialog { width: min(430px,calc(100% - 32px)); padding: 30px; border-radius: 20px; }
.confirm-dialog h3 { margin: 0; font: 800 24px "Manrope",sans-serif; }
.confirm-dialog p { color: var(--muted); }
.confirm-dialog > div { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.danger-button { border: 0; border-radius: 999px; padding: 10px 17px; background: #a52d2d; color: white; font-weight: 700; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%,30px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: var(--deep); color: white; box-shadow: var(--shadow); transition: .25s ease; }
.toast.visible { transform: translate(-50%,0); opacity: 1; }

.admin-shell { min-height: 100vh; background: #f1f3f8; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: radial-gradient(circle at 20% 0%,rgba(12,177,75,.18),transparent 25%),#edf0f6; }
.admin-login > .brand { position: absolute; top: 28px; left: 5vw; }
.login-card { width: min(500px,100%); padding: 44px; background: white; border-radius: 28px 28px 28px 7px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 48px; }
.login-card > p:not(.eyebrow), .form-hint { color: var(--muted); }
.login-card form { margin: 30px 0 22px; }
.form-hint { font-size: 13px; text-align: center; }
.form-error { color: #a52d2d; min-height: 24px; font-weight: 700; }
.back-link { color: var(--green); font-weight: 700; }
.admin-dashboard { min-height: 100vh; display: grid; grid-template-columns: 255px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 24px; background: var(--deep); color: white; display: flex; flex-direction: column; }
.admin-brand { color: white; margin: 0 0 50px; }
.admin-brand small { color: #aeb8d0; }
.admin-brand .brand-mark { background: var(--green); color: var(--deep); }
.admin-nav { display: grid; gap: 8px; }
.admin-nav button { width: 100%; padding: 12px 14px; border: 0; border-radius: 10px; background: transparent; color: #d5daea; text-align: left; font-weight: 700; cursor: pointer; }
.admin-nav button.active { background: rgba(255,255,255,.1); color: white; }
.admin-sidebar-bottom { margin-top: auto; display: grid; gap: 13px; color: #c0c8dc; font-size: 14px; }
.admin-sidebar-bottom button { padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.admin-main { min-width: 0; padding: 42px clamp(24px,5vw,72px) 72px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 34px; }
.admin-topbar h1 { font-size: 48px; }
.add-button { width: auto; padding: 0 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stats-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.stats-grid span { display: block; color: var(--muted); font-size: 14px; }
.stats-grid strong { font: 800 34px "Manrope",sans-serif; }
.admin-actions { margin: 30px 0 16px; display: flex; justify-content: space-between; gap: 16px; }
.admin-actions > div { display: flex; gap: 8px; }
.admin-search { width: min(420px,100%); margin: 0; }
.file-button { position: relative; display: inline-flex; align-items: center; }
.file-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: white; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 18px; border-bottom: 1px solid #e5e8f0; text-align: left; white-space: nowrap; }
th { color: var(--muted); background: #f8f9fc; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
tbody tr:last-child td { border-bottom: 0; }
.table-property { display: flex; align-items: center; gap: 13px; min-width: 280px; }
.table-property img { width: 62px; height: 48px; object-fit: cover; border-radius: 8px; }
.table-property strong, .table-property span { display: block; }
.table-property span { color: var(--muted); font-size: 13px; }
.status-chip { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-chip.neutral { background: #e9edf5; }
.status-chip.published { background: #ddf1e8; color: #17634e; }
.status-chip.draft { background: #f5e9cf; color: #785713; }
.row-actions { display: flex; gap: 12px; }
.row-actions button { padding: 0; border: 0; background: transparent; color: var(--green); font-weight: 700; cursor: pointer; }
.row-actions .delete-link { color: #a52d2d; }
.table-empty { padding: 40px; color: var(--muted); text-align: center; }
.property-form { max-width: 920px; display: grid; gap: 20px; }
.form-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.form-card-heading { margin-bottom: 24px; }
.form-card-heading h2 { font-size: 25px; }
.form-card-heading p { margin: 6px 0 0; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-three { grid-template-columns: repeat(3,1fr); }
.form-grid label { margin: 0; }
.form-grid select { min-height: 49px; }
.image-uploader { min-height: 220px; padding: 20px; border: 2px dashed var(--line); border-radius: 14px; display: grid; place-items: center; text-align: center; background: #f9fafe; }
.image-uploader input { max-width: 420px; }
.image-uploader img { width: min(420px,100%); max-height: 260px; object-fit: cover; border-radius: 12px; }
.image-uploader p { color: var(--muted); }
.compact-card { display: flex; flex-wrap: wrap; gap: 24px; }
.check-label { display: flex; align-items: center; gap: 9px; margin: 0; }
.check-label input { width: 18px; height: 18px; }
.form-footer { display: flex; justify-content: flex-end; gap: 10px; }
.save-button { width: auto; padding: 0 22px; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  #main-nav { display: none; position: absolute; top: 68px; left: 18px; right: 18px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  #main-nav.open { display: grid; gap: 14px; }
  .consulting-feature, .contact-section { grid-template-columns: 1fr; }
  .feature-image { min-height: 360px; }
  #property-detail { grid-template-columns: 1fr; }
  .detail-image { min-height: 340px; max-height: 400px; }
  .admin-dashboard { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; padding: 18px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .admin-brand { margin: 0; }
  .admin-nav { display: none; }
  .admin-sidebar-bottom { margin: 0; display: flex; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .site-header { gap: 14px; }
  .site-header .header-cta { display: none; }
  .brand-logo { width: 46px; height: 46px; }
  .footer-title { align-items: flex-start; flex-direction: column; }
  .footer-logo { width: 124px; height: 124px; }
  .hero-proof { flex-wrap: wrap; }
  .catalog-toolbar, .admin-actions { display: grid; }
  .compact-filter select { width: 100%; }
  .consulting-feature { margin: 0 20px 70px; min-height: 0; }
  .feature-image { min-height: 260px; }
  .contact-section { margin: 0 20px 70px; padding: 28px 20px; }
  .contact-section form, .form-grid, .form-grid-three { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .contact-section .primary-button { grid-column: auto; }
  .footer-bottom { display: grid; }
  .property-dialog { max-height: calc(100vh - 20px); }
  .detail-copy { padding: 28px 22px; }
  .detail-copy h2 { font-size: 34px; }
  .detail-specs { display: grid; grid-template-columns: repeat(3,1fr); }
  .login-card { padding: 32px 24px; }
  .login-card h1 { font-size: 38px; }
  .admin-sidebar { grid-template-columns: 1fr; gap: 16px; }
  .admin-sidebar-bottom { justify-content: space-between; }
  .admin-main { padding: 28px 16px 60px; }
  .admin-topbar { align-items: flex-end; }
  .admin-topbar h1 { font-size: 38px; }
  .add-button { font-size: 0; width: 46px; padding: 0; }
  .add-button::first-letter { font-size: 20px; }
  .stats-grid { gap: 10px; }
  .stats-grid article { padding: 16px; }
  .form-card { padding: 20px 16px; }
}
