/* Sakan public site. Palette from the brand: deep sea blue, turquoise, sand, coral and mauve.
   The one bold element is the arched sunset window in the hero; everything else stays quiet. */
:root {
  --deep: #10609a;
  --deep-ink: #0b3a5c;
  --teal: #12a6b5;
  --sand: #e2c48d;
  --sand-soft: #f7eedc;
  --coral: #f0898a;
  --mauve: #a2577e;
  --ink: #14324a;
  --muted: #566b7c;
  --line: #dde6ec;
  --sea-wash: #edf6f8;
  --paper: #ffffff;
  --wa: #13874a;
  --wa-dark: #0f6f3c;
  --radius: 16px;
  --display: "El Messiri", "Readex Pro", system-ui, sans-serif;
  --text: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.75; font-weight: 400; }
img { max-width: 100%; display: block; }
a { color: var(--deep); }
h1, h2, h3 { font-family: var(--display); color: var(--deep-ink); margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--deep); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }
.icon { flex: none; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep-ink); font-family: var(--display); font-size: 1.7rem; font-weight: 700; }
.brand img { width: 46px; height: 46px; }
.nav { display: flex; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 10px; font-weight: 500; }
.nav a:hover { background: var(--sea-wash); color: var(--deep); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; background: var(--deep); color: #fff; padding: 12px 22px; font: inherit; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--deep-ink); }
.btn-outline { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 2px var(--deep); }
.btn-outline:hover { background: var(--deep); color: #fff; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }

/* Hero */
.hero { padding-block: 56px 64px; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.25; max-width: 15ch; }
.lead { margin-top: 18px; font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.city-search { margin-top: 30px; max-width: 520px; }
.city-search label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--deep-ink); }
.field-row { display: flex; gap: 10px; }
.field-row select { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.field-row select:focus-visible { border-color: var(--teal); }
.horizon { justify-self: end; width: 100%; max-width: 410px; aspect-ratio: 5 / 6; border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: 0 0 0 12px var(--sand-soft), 0 0 0 13px #ead7b3; margin: 13px; }
.horizon-art { width: 100%; height: 100%; display: block; }
.horizon-art .sun { animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) both; transform-box: fill-box; }
@keyframes rise { from { transform: translateY(46%); opacity: .4; } to { transform: none; opacity: 1; } }

/* Listings */
.listings { padding-block: 24px 72px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head p { color: var(--muted); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cities a { text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 500; }
.cities a span { color: var(--muted); font-size: .9em; }
.cities a:hover { border-color: var(--teal); }
.cities a[aria-current="page"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.cities a[aria-current="page"] span { color: #cfe3f2; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 34px 24px; }
.card-link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
.card-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sea-wash); }
.card-media > img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { width: 100%; height: 100%; display: grid; place-items: center; background: var(--sand-soft); }
.no-photo img { opacity: .55; }
.photo-count { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(11, 58, 92, .78); color: #fff; font-size: .8rem; padding: 3px 10px; border-radius: 999px; }
.card-body { position: relative; margin: -46px 14px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; box-shadow: 0 14px 28px -20px rgba(16, 96, 154, .55); }
.card-body h3 { font-size: 1.28rem; }
.card-link:hover h3 { color: var(--deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.place { color: var(--muted); }
.types { font-size: .93rem; margin-top: 4px; }
.price { margin-top: 10px; color: var(--muted); }
.price strong { color: var(--deep-ink); font-size: 1.3rem; font-weight: 600; }
.wa-note { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--wa); font-size: .9rem; font-weight: 500; }
.wa-note .icon { width: 18px; height: 18px; }
.empty { text-align: center; padding: 56px 24px; border: 1.5px dashed var(--line); border-radius: 20px; background: var(--sea-wash); }
.empty h3 { font-size: 1.4rem; }
.empty p { color: var(--muted); margin: 8px 0 20px; }
.page-empty { margin-block: 72px; border: 0; }

/* Owners */
.owners { background: var(--deep); color: #fff; padding-block: 72px; }
.owners-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.owners h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.owners-copy p { color: #d3e5f2; margin: 14px 0 26px; max-width: 44ch; }
.owners .btn-wa { background: var(--sand); color: var(--deep-ink); }
.owners .btn-wa:hover { background: #eed6a8; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.steps li::before { content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--deep-ink); font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.steps strong { font-weight: 600; }
.steps span { color: #d3e5f2; font-size: .95rem; }

/* Footer */
.foot { background: var(--deep-ink); color: #cfe0ec; padding-block: 40px; font-size: .95rem; }
.foot-row { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.foot strong { color: #fff; font-family: var(--display); font-size: 1.2rem; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--sand); }
.copy { grid-column: 1 / -1; color: #9fb9cc; font-size: .85rem; }

/* Property page */
.property { padding-block: 28px 72px; }
.back { display: inline-block; margin-bottom: 14px; font-weight: 500; }
.property h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.place.big { font-size: 1.1rem; margin-top: 4px; }
.gallery { margin-top: 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px; border-radius: 20px; overflow: hidden; }
.gallery .shot { display: block; background: var(--sea-wash); overflow: hidden; }
.gallery .shot img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main { grid-row: span 2; }
.gallery.single { grid-template-columns: 1fr; grid-template-rows: 440px; }
.gallery.single .main { grid-row: auto; }
.empty-gallery { grid-template-columns: 1fr; grid-template-rows: auto; place-items: center; gap: 10px; padding: 48px 16px; background: var(--sand-soft); color: var(--muted); }
.empty-gallery img { opacity: .6; }
.more-photos { margin-top: 14px; }
.more-photos summary { cursor: pointer; font-weight: 600; color: var(--deep); width: fit-content; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin-top: 12px; }
.photo-grid img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 10px; }
.property-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; margin-top: 36px; align-items: start; }
.details { display: grid; gap: 34px; min-width: 0; }
.details > section { min-width: 0; }
.details h2 { font-size: 1.45rem; margin-bottom: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: start; padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { color: var(--muted); font-weight: 500; font-size: .88rem; }
tbody th { font-weight: 600; color: var(--deep-ink); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--sea-wash); border-radius: 999px; padding: 5px 14px; }
.notes { margin: 12px 0 0; padding-inline-start: 22px; }
.notes li + li { margin-top: 4px; }
.contact { position: sticky; top: 24px; border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--paper); box-shadow: 0 18px 40px -30px rgba(16, 96, 154, .6); }
.contact .price { margin: 0 0 16px; }
.contact .price strong { font-size: 1.6rem; }
.btn.wide { width: 100%; padding-block: 14px; font-size: 1.05rem; }
.contact-note { color: var(--muted); background: var(--sea-wash); border-radius: 12px; padding: 12px 14px; font-size: .95rem; }
.social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 12px; font-size: .92rem; font-weight: 500; }
.social a:hover { border-color: var(--teal); color: var(--deep); }
.social .icon { width: 19px; height: 19px; }

/* Privacy */
.prose { max-width: 780px; padding-block: 44px 72px; }
.prose h1 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
.prose .updated { color: var(--muted); margin: 6px 0 24px; }
.prose h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.prose p, .prose li { line-height: 1.95; }
.prose ul { padding-inline-start: 22px; margin: 0; }
.prose li + li { margin-top: 6px; }

@media (max-width: 900px) {
  .hero { padding-block: 32px 44px; }
  .hero-row, .owners-row { grid-template-columns: 1fr; gap: 36px; }
  .horizon { justify-self: center; max-width: 300px; }
  .property-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact { position: static; order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .top-row { min-height: 64px; }
  .brand { font-size: 1.45rem; }
  .brand img { width: 40px; height: 40px; }
  .nav a { padding: 6px 8px; font-size: .95rem; }
  .field-row { flex-direction: column; }
  .horizon { max-width: 240px; }
  .gallery, .gallery.single { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 16px; grid-template-rows: none; }
  .gallery .shot { flex: 0 0 86%; height: 260px; scroll-snap-align: start; border-radius: 12px; }
  .gallery.single .shot { flex-basis: 100%; }
  .owners { padding-block: 56px; }
  .foot-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .horizon-art .sun { animation: none; }
}
