:root {
  --ink: #12263a;
  --ink-2: #3d5163;
  --muted: #6b7b88;
  --sea: #1d6a86;
  --sea-dark: #134d63;
  --sand: #f6f1e9;
  --sand-2: #ece4d6;
  --terra: #c4623a;
  --white: #fff;
  --line: #e3dccf;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 38, 58, .08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--sand); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--sea); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.section { padding: 48px 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--terra); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--ink); color: var(--white); border: 0; border-radius: 999px; padding: .85em 1.5em; font: 600 .95rem var(--sans); cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--sea-dark); text-decoration: none; }
.btn-small { padding: .55em 1.1em; font-size: .88rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 233, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.logo:hover { text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .85rem; padding: .4em .7em; border: 1px solid var(--line); border-radius: 8px; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch div { position: absolute; right: 0; top: 110%; background: var(--white); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; display: grid; min-width: 70px; }
.lang-switch div a { padding: .4em .8em; color: var(--ink); border-radius: 6px; font-size: .9rem; }
.lang-switch div a[aria-current] { background: var(--sand); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .lang-switch { margin-left: auto; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--sand); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .main-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 12px; }
  .nav-open .main-nav { display: flex; }
}

/* hero */
.hero { position: relative; color: var(--white); background:
  linear-gradient(180deg, rgba(18, 38, 58, .25) 0%, rgba(18, 38, 58, .75) 100%),
  radial-gradient(120% 90% at 80% 10%, #f3c58f 0%, #d98a5c 28%, #2f7e9b 62%, #12263a 100%); }
.hero-inner { padding: 96px 16px 64px; }
.hero h1 { max-width: 16em; }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero .eyebrow { color: #ffd3b0; }
.hero .btn { background: var(--white); color: var(--ink); }
.hero .btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }
.quick-search { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; background: rgba(255, 255, 255, .96); padding: 8px; border-radius: 16px; max-width: 760px; box-shadow: var(--shadow); }
.quick-search .btn { background: var(--terra); color: var(--white); }
@media (max-width: 680px) { .quick-search { grid-template-columns: 1fr; } .hero-inner { padding-top: 64px; } }

/* forms */
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .7em .85em; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sea); outline-offset: 0; border-color: transparent; }
label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.quick-search input, .quick-search select { border: 0; background: var(--sand); }

/* values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 56px; padding-bottom: 8px; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value h3 { margin-top: .3em; }
.value p { color: var(--ink-2); margin: 0; }
.value-n { font-family: var(--serif); color: var(--terra); font-size: .95rem; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values, .value-grid { grid-template-columns: 1fr; } }

/* cards */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card { display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(18, 38, 58, .13); }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--sand-2); }
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.badge { background: rgba(18, 38, 58, .85); color: var(--white); font-size: .75rem; font-weight: 600; padding: .3em .7em; border-radius: 999px; }
.badge-warn { background: var(--terra); }
.card-body { padding: 16px 18px 20px; }
.card-meta { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card h3 { margin: .35em 0 .5em; font-size: 1.2rem; }
.card-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--ink-2); }
.price { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-top: 10px; }
.price.big { font-size: 2rem; margin: 0; }

/* band */
.band { background: var(--ink); color: var(--white); }
.band-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 64px 16px; align-items: center; }
.band .eyebrow { color: #ffb68f; }
.band .lead { color: rgba(255, 255, 255, .85); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 30px; position: relative; color: rgba(255, 255, 255, .85); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #ffb68f; font-weight: 700; }
.ticks strong { color: var(--white); display: block; }
@media (max-width: 820px) { .band-inner { grid-template-columns: 1fr; gap: 24px; } }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0; display: grid; gap: 4px; }
.steps li { counter-increment: s; position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--serif); font-size: 1.6rem; color: var(--terra); }
.steps li p { margin: 0; color: var(--ink-2); }
.steps.compact { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps.compact li { padding: 48px 0 0; border: 0; }
.steps.compact li::before { top: 0; }
@media (max-width: 900px) { .steps.compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps.compact { grid-template-columns: 1fr; } }

/* listing filters */
.filters { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; align-items: end; background: var(--white); padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); margin: 16px 0 20px; }
@media (max-width: 900px) { .filters { grid-template-columns: repeat(2, 1fr); } .filters .btn { grid-column: 1 / -1; } }
.empty { background: var(--white); border-radius: var(--radius); padding: 32px; text-align: center; }

/* property page */
.prop-head { padding-top: 24px; }
.back { font-size: .9rem; }
.prop-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 16px 0 24px; flex-wrap: wrap; }
.prop-title h1 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.prop-price { text-align: right; }
.tour { background: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tour .pano { width: 100%; height: min(70vh, 560px); }
@media (max-width: 680px) { .tour .pano { height: 58vh; } }
.tour-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; color: rgba(255, 255, 255, .8); font-size: .85rem; }
.tour-rooms { display: flex; flex-wrap: wrap; gap: 6px; }
.tour-rooms button { font: 500 .85rem var(--sans); color: var(--white); background: rgba(255, 255, 255, .12); border: 0; border-radius: 999px; padding: .45em 1em; cursor: pointer; }
.tour-rooms button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-top: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.gallery-hero { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 1fr; }
.gallery-hero a:first-child { grid-row: span 2; }
.gallery-hero a:first-child img { height: 100%; aspect-ratio: auto; }
@media (max-width: 680px) { .gallery-hero { grid-template-columns: 1fr 1fr; } .gallery-hero a:first-child { grid-column: 1 / -1; grid-row: auto; } }
.prop-body { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding-top: 32px; padding-bottom: 64px; align-items: start; }
@media (max-width: 960px) { .prop-body { grid-template-columns: 1fr; } }
.prop-side { position: sticky; top: 88px; }
.facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--white); padding: 14px 16px; display: grid; }
.facts span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts strong { font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { background: var(--sand-2); padding: .35em .85em; border-radius: 999px; font-size: .85rem; }
.prose { color: var(--ink-2); margin-bottom: 32px; }
.costs { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.costs dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 0; margin: 0 0 16px; }
.costs dt { color: var(--ink-2); }
.costs dd { margin: 0; padding-left: 16px; font-weight: 600; text-align: right; white-space: nowrap; }
.costs .total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }

/* lead form */
.lead-form { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; scroll-margin-top: 90px; }
.lead-form h2 { font-size: 1.4rem; margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }
.check { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; font-size: .8rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); border-radius: 999px; padding: 4px; }
.segmented label { display: block; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.segmented span { display: block; text-align: center; padding: .5em; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .88rem; }
.segmented input:checked + span { background: var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); color: var(--ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--sea); }
.vc-only { display: none; }
.lead-form.is-vc .vc-only { display: grid; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.notice.ok { background: #e4f3ea; color: #1d5b36; }
.notice.err { background: #fbe6df; color: #8a2f12; }

/* footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 40px 0 24px; }
.site-footer .logo { color: var(--white); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer .muted { color: rgba(255, 255, 255, .55); }

/* copy blocks (v3) */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.why-item { border-top: 2px solid var(--terra); padding-top: 14px; }
.why-item p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.split-card p { color: var(--ink-2); }
.rental-note { margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--sea); font-weight: 700; }
.verified { display: inline-block; background: #e4f3ea; color: #1d5b36; font-weight: 600; padding: .4em .9em; border-radius: 999px; margin-bottom: .4em; }
.faq details { background: var(--white); border-radius: 12px; margin-bottom: 8px; box-shadow: 0 2px 10px rgba(18,38,58,.05); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--terra); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }
.guide-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--sand-2); border-radius: var(--radius); padding: 32px; }
.guide-cta h2 { margin-bottom: .3em; }
.guide-cta p { margin: 0; color: var(--ink-2); max-width: 40em; }
.mt { margin-top: 40px; }
.badge-ok { background: #1d6b45; }
.str-box { display: grid; gap: 4px; background: #eef2f5; border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.str-box.ok { background: #e4f3ea; color: #1d5b36; }
.str-box.no { background: #f3ece6; color: #6b4a33; }
.str-box span { font-size: .85rem; }
.planb { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.planb h2 { color: var(--white); }
.planb label { color: rgba(255,255,255,.85); font-size: .95rem; display: flex; justify-content: space-between; gap: 12px; }
.planb output { font-weight: 700; color: #ffb68f; white-space: nowrap; }
.planb input[type=range] { padding: 0; border: 0; background: transparent; accent-color: #ffb68f; margin: 12px 0 18px; }
.planb dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 0; margin: 0 0 12px; }
.planb dt { color: rgba(255,255,255,.75); }
.planb dt span { display: block; color: rgba(255,255,255,.5); }
.planb dd { margin: 0; padding-left: 16px; text-align: right; font-weight: 600; white-space: nowrap; }
.planb .total { border-top: 1px solid rgba(255,255,255,.2); padding-top: 10px; color: var(--white); font-size: 1.1rem; }
.pb-verdict { font-weight: 600; color: #9fe0b8; margin-bottom: 6px; }
.pb-verdict.neg { color: #ffcf9f; }
.planb .muted { color: rgba(255,255,255,.55); }
.filters .inline-check { grid-column: 1 / -2; display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink); }
.filters .inline-check input { width: 18px; height: 18px; }
@media (max-width: 900px) { .filters .inline-check { grid-column: 1 / -1; } }
