/* Ceylon Signature Properties — main stylesheet */

:root {
  --emerald-950: #05261c;
  --emerald-900: #072e22;
  --emerald: #0b3d2e;
  --emerald-700: #14533f;
  --emerald-100: #e4efe9;
  --gold: #c9a24d;
  --gold-light: #e2c77e;
  --gold-ink: #8a6a22; /* gold dark enough for text on light backgrounds */
  --gold-wash: #fbf6e9;
  --cream: #faf6ee;
  --cream-2: #f1ebdd;
  --white: #fff;
  --ink: #18221e;
  --muted: #5a6661;
  --line: #e6dfcf;
  --input: #d6cfbf;
  --wa: #25d366;
  --wa-btn: #1b8a4c;
  --wa-btn-hover: #157a41;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 61, 46, 0.05), 0 10px 30px rgba(11, 61, 46, 0.08);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --brand: Cinzel, 'Playfair Display', Georgia, serif;
  --header-h: 72px;
}

html[lang='si'] {
  --serif: 'Noto Serif Sinhala', 'Playfair Display', Georgia, serif;
  --sans: 'Noto Sans Sinhala', Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang='si'] body { line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: var(--emerald); text-underline-offset: 3px; }
h1, h2, h3, .card-price strong, .price-value, .spec-bar dd, .wa-numbers dd, .cc-value, .step-num { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--emerald); margin: 0 0 0.5em; }
html[lang='si'] h1, html[lang='si'] h2, html[lang='si'] h3 { line-height: 1.5; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.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; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 200; background: var(--emerald); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 6px;
  font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--emerald-950); }
.btn-gold:hover { background: var(--gold-light); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-700); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--gold-light); }
.btn-wa { background: var(--wa-btn); color: #fff; }
.btn-wa:hover { background: var(--wa-btn-hover); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--emerald); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-text { background: none; border: 0; padding: 0 4px; min-height: 44px; color: var(--muted); text-decoration: underline; font-weight: 500; cursor: pointer; }
.btn-text:hover { color: var(--emerald); }
.btn .icon { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--brand); font-size: 17px; font-weight: 600; color: var(--emerald); letter-spacing: 0.02em; }
.brand-sub { font-family: var(--brand); font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-ink); margin-top: 3px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.main-nav a[aria-current='page'] { color: var(--emerald); }
.nav-phone { display: none; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 16px; height: 16px; color: var(--gold-ink); }
.lang-toggle { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 6px; font-size: 13.5px; font-weight: 600; }
.lang-toggle a, .lang-toggle .is-active { padding: 4px 7px; border-radius: 999px; text-decoration: none; line-height: 1.2; }
.lang-toggle a { color: var(--muted); }
.lang-toggle a:hover { color: var(--emerald); }
.lang-toggle .is-active { background: var(--emerald); color: #fff; }
.lang-toggle .sep { color: var(--line); }
.lang-toggle [lang='si'], .lang-toggle .is-active:last-child { font-family: 'Noto Sans Sinhala', var(--sans); }

.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--emerald); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1079px) {
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 20px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .main-nav { display: block; }
  .main-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav a[aria-current='page'] { font-weight: 600; }
  .nav-phone { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 17px; }
  .nav-phone .icon { color: var(--gold-ink); }
}
@media (max-width: 479px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 8.5px; letter-spacing: 0.3em; }
  .lang-toggle { padding: 2px 4px; font-size: 13px; }
  .lang-toggle a, .lang-toggle .is-active { padding: 4px 6px; }
}
@media (max-width: 359px) {
  .brand-text { display: none; }
}
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .main-nav ul { display: flex; gap: 24px; }
  .main-nav { margin-left: auto; }
  .header-actions { margin-left: 8px; }
  .main-nav a { font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
  .main-nav a:hover { color: var(--emerald); }
  .main-nav a[aria-current='page'] { border-bottom-color: var(--gold); }
  html[lang='si'] .main-nav ul { gap: 18px; }
  html[lang='si'] .main-nav a { font-size: 14px; }
}
@media (min-width: 1280px) {
  .header-phone { display: inline-flex; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding-top: 32px; }
.section-cream { background: var(--cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2, .section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.section-title { margin-bottom: 32px; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 10px; }
.eyebrow-light { color: var(--gold-light); }
html[lang='si'] .eyebrow { letter-spacing: 0.02em; text-transform: none; font-size: 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 42rem; }

.page-header { background: var(--cream); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 12px; }
.page-header .lead { margin-bottom: 0; }
.fee-callout { display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 12px 20px; background: #fff; border: 1px solid var(--gold); border-radius: 12px; color: var(--emerald); }
.fee-callout .icon { color: var(--gold-ink); width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201, 162, 77, 0.16), transparent 60%),
    linear-gradient(160deg, var(--emerald) 0%, var(--emerald-900) 100%);
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-inner { display: grid; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.1; margin-bottom: 20px; }
html[lang='si'] .hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.4; }
.hero-lead { font-size: 18px; color: rgba(255, 255, 255, 0.82); max-width: 34rem; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-media { position: relative; }
.hero-media::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(201, 162, 77, 0.55); border-radius: 14px; pointer-events: none; }
.hero-media img { position: relative; width: 100%; height: auto; aspect-ratio: 915 / 480; object-fit: cover; border-radius: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .hero { padding: 96px 0 104px; }
}

/* ---------- Cards ---------- */
.grid.cards { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card:focus-within { box-shadow: 0 0 0 2px var(--gold); }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.card-media img, .card-media .g-item { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-media img { transform: scale(1.03); }
.img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--cream-2), var(--cream)); }
.card.is-sold .card-media img { filter: grayscale(0.55); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; background: #fff; color: var(--emerald); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.badge-under_offer { background: var(--gold); color: var(--emerald-950); }
.badge-sold { background: var(--emerald-950); color: #fff; }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-meta .icon { width: 15px; height: 15px; color: var(--gold-ink); }
.card-title { font-size: 21px; line-height: 1.3; margin: 0; }
html[lang='si'] .card-title { font-size: 19px; line-height: 1.5; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.card-title a:focus-visible { outline: none; }
.card-specs { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink); }
.card-specs li + li::before { content: '·'; margin: 0 8px; color: var(--gold-ink); }
.card-summary { font-size: 14.5px; color: var(--muted); margin: 0; }
.card-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.card-price strong { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--emerald); }
.card .btn { position: relative; z-index: 3; margin-top: 6px; }
.tag { display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--gold-ink); background: var(--gold-wash); border: 1px solid rgba(201, 162, 77, 0.6); border-radius: 999px; white-space: nowrap; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: 20px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.why-item .icon { width: 30px; height: 30px; color: var(--gold-ink); margin-bottom: 16px; }
.why-item h3 { font-size: 19px; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 15px; margin: 0; }
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Owners banner ---------- */
.owners-banner {
  display: grid; gap: 28px; align-items: center;
  padding: 44px 28px; border-radius: 14px; color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-900) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 77, 0.35);
}
.owners-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.owners-banner p { max-width: 40rem; }
.owners-fee { display: flex; align-items: center; gap: 10px; color: var(--gold-light); font-weight: 600; margin: 0; }
.owners-fee .icon { width: 20px; height: 20px; }
.owners-banner .btn { justify-self: start; }
.owners-banner .btn .icon { width: 16px; height: 16px; }
@media (min-width: 860px) {
  .owners-banner { grid-template-columns: 1fr auto; padding: 56px; gap: 48px; }
}

/* ---------- WhatsApp section ---------- */
.wa-inner { display: grid; gap: 32px; align-items: center; }
.wa-inner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.wa-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.wa-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 8px; }
.wa-numbers dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
html[lang='si'] .wa-numbers dt { text-transform: none; letter-spacing: 0; font-size: 13px; }
.wa-numbers dd { margin: 2px 0 0; font-family: 'Playfair Display', Georgia, serif; font-size: 21px; font-weight: 600; color: var(--emerald); white-space: nowrap; }
@media (min-width: 900px) { .wa-inner { grid-template-columns: 1.2fr 1fr; gap: 64px; } }

/* ---------- Filters ---------- */
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filters label { font-size: 13px; font-weight: 600; color: var(--ink); }
.filters .btn-text { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 860px) {
  .filters { grid-template-columns: repeat(4, 1fr) auto; }
  .filters .btn-text { grid-column: auto; }
}
select, input:not([type='file']):not([type='hidden']), textarea {
  display: block; width: 100%; margin-top: 6px;
  min-height: 46px; padding: 11px 14px;
  font-size: 16px; font-weight: 400;
  background: #fff; border: 1px solid var(--input); border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
select {
  appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b3d2e' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
textarea { resize: vertical; min-height: 110px; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.12); }
.results-count { margin: 20px 0 18px; font-size: 14px; color: var(--muted); }
.empty-state { text-align: center; padding: 48px 24px; background: var(--cream); border: 1px dashed var(--input); border-radius: 12px; }
.empty-state h2 { font-size: 24px; }
.empty-state p { color: var(--muted); max-width: 30rem; margin: 0 auto 20px; }

/* ---------- Single property ---------- */
.property-top { padding-top: 24px; }
.breadcrumb a { font-size: 14px; color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--emerald); }
.property-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 14px 0 22px; }
.property-title h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 6px 0 0; }
html[lang='si'] .property-title h1, html[lang='si'] .page-header h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.property-title .badge { position: static; flex: none; margin-top: 4px; }

.gallery { position: relative; display: grid; gap: 8px; border-radius: 12px; overflow: hidden; }
.g-item { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--cream-2); cursor: zoom-in; overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s, opacity 0.2s; }
.g-item:hover img { transform: scale(1.03); }
.g-all { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--emerald); font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); cursor: pointer; }
.g-all .icon { width: 17px; height: 17px; }
@media (max-width: 799px) {
  .gallery { margin: 0 -20px; border-radius: 0; }
  .gallery .g-item { aspect-ratio: 4 / 3; }
  .gallery .g-item:not(:first-child) { display: none; }
}
@media (min-width: 800px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; }
  .gallery .g-item:first-child { grid-row: span 2; }
  .gallery-1 { grid-template-columns: 1fr; grid-template-rows: 480px; }
  .gallery-1 .g-item:first-child { grid-row: auto; }
  .gallery-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 460px; }
  .gallery-2 .g-item:first-child { grid-row: auto; }
  .gallery-3 { grid-template-columns: 2fr 1fr; }
  .gallery-4 .g-item:nth-child(4) { grid-column: span 2; }
}

.property-layout { display: flex; flex-direction: column; gap: 32px; padding-top: 32px; padding-bottom: 80px; }
.property-aside { order: -1; }
@media (min-width: 960px) {
  .property-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
  .property-aside { order: 0; }
  .price-card { position: sticky; top: calc(var(--header-h) + 24px); }
}
.property-main > * + section { margin-top: 44px; }
.property-main h2 { font-size: 24px; margin-bottom: 14px; }
.spec-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-bar div { padding: 14px 16px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.spec-bar dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
html[lang='si'] .spec-bar dt { text-transform: none; letter-spacing: 0; font-size: 13px; }
.spec-bar dd { margin: 4px 0 0; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--emerald); }
.notice { margin: 24px 0 0; padding: 14px 18px; background: var(--gold-wash); border-left: 3px solid var(--gold); border-radius: 6px; }
.prose p { font-size: 16.5px; line-height: 1.75; max-width: 68ch; }
html[lang='si'] .prose p { line-height: 1.95; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 28px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--gold-ink); }
@media (min-width: 640px) { .property-main .check-list { grid-template-columns: 1fr 1fr; } }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 8px 16px; background: var(--emerald-100); color: var(--emerald); border-radius: 999px; font-size: 14.5px; font-weight: 500; }
.map { aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hint { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }

.price-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 12px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 10px; justify-items: start; }
.price-label { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
html[lang='si'] .price-label { text-transform: none; letter-spacing: 0; font-size: 14px; }
.price-value { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.2; color: var(--emerald); }
.price-card .btn { margin-top: 4px; }
.price-overseas { margin: 4px 0 0; justify-self: center; font-size: 13px; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { margin: 0; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 780px) { .field-row-3 { grid-template-columns: repeat(3, 1fr); } }
.file-row { display: grid; gap: 8px; margin-top: 8px; }
.file-row input { font-size: 14px; max-width: 100%; }
.file-row input::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--input); border-radius: 6px; background: var(--cream); color: var(--emerald); font-weight: 600; cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-or { font-size: 14px; color: var(--muted); }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 6px; background: #fdecea; color: #8a1c12; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.form-panel h2 { font-size: 26px; margin-bottom: 20px; }
@media (max-width: 599px) { .form-panel { padding: 22px 18px; } }
.form-aside { display: grid; gap: 20px; }
.note-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.note-card > .icon { width: 28px; height: 28px; color: var(--gold-ink); margin-bottom: 12px; }
.note-card h3 { font-size: 19px; }
.note-card p { color: var(--muted); font-size: 15px; }
.note-card-dark { background: var(--emerald); border-color: var(--emerald); }
.note-card-dark h3 { color: var(--gold-light); }
.note-card-dark p { color: rgba(255, 255, 255, 0.82); }
.social-list { list-style: none; margin: 0; padding: 0; }
.social-list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.social-list .icon { width: 16px; height: 16px; }

/* ---------- Sell: steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps li { padding: 24px 22px; border-top: 2px solid var(--gold); background: var(--cream); border-radius: 0 0 var(--radius) var(--radius); }
.step-num { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 34px; line-height: 1; color: var(--gold-ink); margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-logo img { margin: 0 auto; width: 100%; max-width: 260px; height: auto; border-radius: 50%; box-shadow: 0 20px 50px rgba(11, 61, 46, 0.25); }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
.mission { max-width: 46rem; margin: 0 auto; text-align: center; }
.mission p:last-child { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.5; color: var(--emerald); margin: 0; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.two-col h2 { font-size: 26px; margin-bottom: 18px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.contact-card { display: flex; flex-direction: column; gap: 2px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.contact-card > .icon { width: 28px; height: 28px; color: var(--emerald); margin-bottom: 12px; }
.contact-card-wa > .icon { color: var(--wa-btn); }
.cc-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
html[lang='si'] .cc-label { text-transform: none; letter-spacing: 0; font-size: 14px; }
.cc-value { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; color: var(--emerald); word-break: break-word; }
.cc-sub { font-size: 13.5px; color: var(--muted); }

/* ---------- Message pages ---------- */
.message-page { padding: 96px 0; }
.message-page img { margin: 0 auto 24px; }
.message-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.message-page .lead { margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-950); color: rgba(255, 255, 255, 0.76); padding: 64px 0 0; font-size: 15px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; } }
.footer-name { font-family: var(--brand); font-size: 17px; color: #fff; margin: 16px 0 2px; letter-spacing: 0.02em; }
.footer-tagline { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: var(--gold-light); margin: 0 0 12px; }
html[lang='si'] .footer-tagline { font-family: var(--serif); font-style: normal; }
.footer-about { max-width: 26rem; font-size: 14.5px; }
.footer-h { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 16px; }
html[lang='si'] .footer-h { text-transform: none; letter-spacing: 0.02em; font-size: 14px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact a { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); }
.footer-contact small { color: rgba(255, 255, 255, 0.55); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-social a { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; font-size: 13.5px; }
.footer-social a:hover { border-color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom p { margin: 0; }
@media (max-width: 759px) { .footer-bottom { padding-bottom: 96px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 70;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(4, 20, 15, 0.95); padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 6px; user-select: none; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.22); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.8); font-size: 14px; }
.lb-open { overflow: hidden; }

@media (max-width: 599px) {
  .section { padding: 56px 0; }
  .section-tight { padding-top: 24px; }
  .page-header { padding: 40px 0 32px; }
  .hero { padding: 48px 0 64px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .lead, .hero-lead { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
