/* Draft stylesheet – plain CSS, mobile-first */
:root {
  --sea: #1d5b73;
  --sea-dark: #143f50;
  --sand: #f7f2ea;
  --accent: #c2623a;
  --accent-dark: #a24f2c;
  --text: #22303a;
  --muted: #5e6b74;
  --line: #e2dccf;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 40, 50, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--sea-dark); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--accent); margin-bottom: .4em; font-weight: 600; }
.eyebrow.light { color: #ffe3d2; }
.lead { font-size: 1.15rem; }
.loading { padding: 4rem 1.25rem; text-align: center; color: var(--muted); }

/* placeholders: always visible for the owner */
.ph { background: #fff1b8; color: #6b4e00; border: 1px dashed #d4a800; border-radius: 4px; padding: 0 .3em; font-size: .92em; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.placeholder-box { border: 2px dashed #d4a800; background: #fffbe6; border-radius: var(--radius); padding: 2.5rem 1.5rem; text-align: center; min-height: 160px; display: grid; place-items: center; }
.draft-banner { background: #3a3a3a; color: #fff; text-align: center; font-size: .8rem; padding: .3rem 1rem; letter-spacing: .04em; }

/* buttons */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; padding: .7rem 1.3rem; border-radius: 999px; text-decoration: none; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.2; text-align: center; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .92rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-light { background: rgba(255,255,255,.92); color: var(--sea-dark); }
.btn-ghost { background: transparent; border-color: var(--sea); color: var(--sea); }
.btn-ghost:hover { background: var(--sea); color: #fff; }
.btn-whatsapp { background: #25d366; color: #0b3d1f; }
.btn-viber { background: #7360f2; color: #fff; }
.btn.is-placeholder { opacity: .9; cursor: not-allowed; }
.btn small.ph { font-size: .72rem; font-weight: 500; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 1rem 0; }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; text-decoration: none; color: var(--sea-dark); margin-right: auto; font-size: .95rem; }
.main-nav { display: flex; align-items: center; gap: 1.1rem; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.main-nav a[aria-current] { color: var(--accent); }
.main-nav a.btn { color: #fff; }
.lang-switch { display: flex; gap: .15rem; }
.lang-switch a { text-decoration: none; font-size: .78rem; font-weight: 600; padding: .25rem .4rem; border-radius: 6px; color: var(--muted); }
.lang-switch a[aria-current] { background: var(--sea); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .35rem .7rem; font: inherit; cursor: pointer; }

/* hero */
.hero { background-size: cover; background-position: center; min-height: min(78vh, 680px); display: flex; }
.hero-overlay { flex: 1; display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(10,30,40,.05) 20%, rgba(10,30,40,.72) 100%); padding: 4rem 0 3.5rem; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: #f1f5f7; max-width: 48ch; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* sections */
.section { padding: 3.5rem 0; }
.band { background: var(--sand); }
.page-head { background: var(--sand); padding: 2.5rem 0 2rem; }
.page-head .back { display: inline-block; margin-bottom: .8rem; text-decoration: none; font-size: .95rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.fact { background: var(--sand); border-radius: var(--radius); padding: 1.3rem; }
.fact p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* apartment cards */
.apt-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.apt-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.apt-card-img img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.apt-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.apt-card h3 a { text-decoration: none; color: inherit; }
.chips { list-style: none; padding: 0; margin: 0 0 .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { background: var(--sand); border-radius: 999px; padding: .15rem .7rem; font-size: .85rem; }
.price { margin: .2rem 0 1rem; }
.card-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: auto; }

.apt-list.featured { grid-template-columns: 1fr; }
.apt-list.featured .apt-card { flex-direction: row; }
.apt-list.featured .apt-card-img { flex: 0 0 55%; }
.apt-list.featured .apt-card-img img { height: 100%; }
.apt-list.featured .apt-card-body { padding: 1.8rem 2rem; justify-content: center; }

/* filters */
.filters { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 1rem; align-items: end; background: var(--sand); padding: 1.2rem; border-radius: var(--radius); margin-bottom: .6rem; }
.filters label, .inquiry-form label { display: flex; flex-direction: column; font-size: .88rem; font-weight: 600; gap: .3rem; }
select, input, textarea { font: inherit; padding: .6rem .7rem; border: 1px solid #cfc7b8; border-radius: 8px; background: #fff; width: 100%; }
.results-count { font-weight: 600; margin: 1rem 0; }
.empty { padding: 2rem; background: var(--sand); border-radius: var(--radius); }

/* reviews */
.score { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; margin-bottom: .3rem; }
.score-num { font-size: 1.5rem; font-weight: 700; color: var(--sea-dark); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.quote { margin: 0; background: var(--sand); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.quote blockquote { margin: 0 0 .7rem; font-style: italic; }
.quote figcaption { font-size: .82rem; color: var(--muted); }

/* detail */
.gallery-section { padding: 1.5rem 0; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: .6rem; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: none; border-radius: 8px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; align-content: start; max-height: 100%; overflow: hidden; }
.thumb img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .2s; }
.thumb:hover img { transform: scale(1.04); }
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; padding-bottom: 2rem; }
.block { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.inquire-card { position: sticky; top: 84px; margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); background: #fff; }
.inquire-card .contact-buttons { flex-direction: column; }
.inquire-card .contact-buttons .btn { width: 100%; }
.facts-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; margin: 0 0 1.2rem; }
.facts-dl div { background: var(--sand); border-radius: 10px; padding: .7rem 1rem; }
.facts-dl dt { font-size: .82rem; color: var(--muted); }
.facts-dl dd { margin: 0; font-weight: 600; }
ul.plain, ul.rules { padding-left: 1.2rem; }
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .4rem 1rem; }
.amenities li::before { content: "✓"; color: var(--sea); font-weight: 700; margin-right: .5rem; }
.table-wrap { overflow-x: auto; margin-bottom: .6rem; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--sand); font-size: .85rem; }
.distances { list-style: none; padding: 0; max-width: 460px; }
.distances li { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); padding: .35rem 0; }
.calendar { width: 100%; min-height: 420px; border: 1px solid var(--line); border-radius: var(--radius); }

/* how to book */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 2.5rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.4rem 3.4rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--sea); color: #fff; display: grid; place-items: center; font-weight: 700; }
.callout { background: var(--sand); border-radius: var(--radius); padding: 1.6rem; margin-top: 1rem; }

/* contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }
.contact-side .contact-buttons { justify-content: flex-start; }
.inquiry-form { background: var(--sand); padding: 1.6rem; border-radius: var(--radius); display: grid; gap: 1rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1rem; }
.inquiry-form label.check { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; }
.inquiry-form label.check input { width: auto; margin-top: .3rem; }
.form-notice { background: #fff1b8; border: 1px dashed #d4a800; border-radius: 8px; padding: .7rem 1rem; font-size: .9rem; margin: 0; }
.form-result.warn { background: #fde5dc; border-radius: 8px; padding: .8rem 1rem; color: #7a2e12; font-weight: 600; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .7rem; background: #fff; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; }
.faq details p { padding: 0 1.2rem 1rem; margin: 0; }
.faq details.pending summary::after { content: " •"; color: #d4a800; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,20,25,.92); z-index: 50; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 2.2rem; width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-count { position: absolute; bottom: 1rem; color: #fff; margin: 0; }

/* footer */
.site-footer { background: var(--sea-dark); color: #d9e5ea; padding: 2.5rem 0 1rem; font-size: .92rem; }
.site-footer strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.5rem; padding-top: 1rem; font-size: .82rem; }

/* responsive */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; gap: .3rem; order: 2; }
  .lang-switch { order: 3; width: 100%; justify-content: flex-end; padding-bottom: .5rem; }
  .main-nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: flex-start; padding: .5rem 0 1rem; gap: .8rem; }
  .nav-open .main-nav { display: flex; }
  .detail-layout { grid-template-columns: 1fr; gap: 0; }
  .inquire-card { position: static; }
  .filters { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { gap: .5rem; }
  .brand { font-size: .78rem; flex: 1 1 0; min-width: 0; }
  .lang-switch { justify-content: flex-start; }
  .section { padding: 2.5rem 0; }
  .hero { min-height: min(72vh, 560px); }
  .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .filters { grid-template-columns: 1fr; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .apt-list { grid-template-columns: 1fr; }
  .apt-list.featured .apt-card { flex-direction: column; }
  .apt-list.featured .apt-card-img { flex: none; }
  .apt-list.featured .apt-card-img img { height: auto; }
  .apt-list.featured .apt-card-body { padding: 1.2rem 1.3rem 1.4rem; }
  .hero-actions .btn { width: 100%; }
}

/* prices & discounts */
.price-table td:first-child { min-width: 11rem; }
.price-table td:nth-child(2), .price-table td.disc { white-space: nowrap; }
.price-table td.disc { font-size: .88rem; }
.price-table tr.special td:first-child { font-weight: 600; }
.price-table tr.ota td { background: #f4f6f7; color: var(--muted); }
.price-table tr.ota td:nth-child(2) { white-space: normal; }
.discount-box { background: #e8f1f4; border-left: 4px solid var(--sea); border-radius: 10px; padding: 1rem 1.2rem; margin: 1rem 0 1.2rem; }
.discount-box h3 { margin-bottom: .4rem; }
.discounts { margin: .3rem 0 1rem; padding-left: 1.2rem; }
.discount-box .discounts { margin-bottom: 0; }

/* landing hero extras */
.hero h1 { max-width: 26ch; }
.hero-price { color: #fff; font-size: 1.1rem; margin: .4rem 0 .2rem; }
.hero-price .muted { color: #d9e5ea; }
.hero-note { color: #ffe3d2; font-weight: 600; max-width: 60ch; }
.back.light { color: #fff; display: inline-block; margin-bottom: .6rem; }
.detail-layout.single { grid-template-columns: 1fr; max-width: 900px; }
.inquire-card .btn-block { margin-bottom: .6rem; }
section[id], .block[id], div[id="contact"] { scroll-margin-top: 80px; }

/* availability calendar */
.calendar-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 1.2rem; box-shadow: var(--shadow); }
.cal-nav { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.cal-nav .btn[disabled] { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.cal-month h3 { text-align: center; text-transform: capitalize; font-size: 1rem; margin-bottom: .5rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { text-align: center; font-size: .72rem; color: var(--muted); text-transform: uppercase; padding-bottom: .2rem; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 6px; font: inherit; font-size: .85rem; cursor: pointer; padding: 0; background: #e3f2e6; color: #1d4d2a; }
.cal-day.empty { background: none; cursor: default; }
.cal-day.unknown { background: #eef1f3; color: var(--text); }
.cal-day.booked { background: #f3d4c8; color: #7a2e12; text-decoration: line-through; cursor: not-allowed; }
.cal-day.past { background: none; color: #b8c0c5; cursor: default; }
.cal-day.sel, .cal-day.sel-end { background: var(--sea); color: #fff; text-decoration: none; }
.cal-day.sel-end { border-radius: 6px 50% 50% 6px; }
.cal-day:not(.past):not(.booked):not(.empty):hover { outline: 2px solid var(--sea); }
.cal-legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .88rem; margin: .4rem 0 .8rem; }
.cal-swatch { display: inline-block; width: 1rem; height: 1rem; border-radius: 4px; vertical-align: -.15rem; margin-right: .4rem; background: #e3f2e6; }
.cal-swatch.unknown { background: #eef1f3; border: 1px solid #d5dbdf; }
.cal-swatch.booked { background: #f3d4c8; }
.cal-swatch.past { background: #fff; border: 1px solid #d5dbdf; }
.cal-swatch.sel { background: var(--sea); }
.cal-notice { background: #fff; border-left: 4px solid #d4a800; border-radius: 8px; padding: .7rem 1rem; }
.cal-msg { font-weight: 600; color: var(--sea-dark); min-height: 1.6em; margin: .8rem 0 .2rem; }

/* inquiry + estimate */
.inquiry-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.inquiry-form h3 { margin: 0; }
.estimate { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; }
.estimate h4 { margin: 0 0 .5rem; color: var(--sea-dark); }
.est-lines { list-style: none; padding: 0; margin: 0 0 .5rem; font-size: .93rem; }
.est-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; border-bottom: 1px dotted var(--line); }
.est-lines li.est-disc { color: #1d6b3a; }
.est-total { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.05rem; margin: .4rem 0; }
.est-total strong { font-size: 1.25rem; color: var(--sea-dark); }
.est-warn { color: #7a2e12; font-weight: 600; }
.est-ota { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-result.ok { background: #e3f2e6; border-radius: 8px; padding: .8rem 1rem; color: #1d4d2a; font-weight: 600; }
.form-result.info { background: #e8f1f4; border-radius: 8px; padding: .8rem 1rem; }
.inquiry-form button[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 980px) { .inquiry-layout { grid-template-columns: 1fr; } }
.cal-day.booked.sel { background: #9a4a2c; text-decoration: line-through; }
.hero-overlay { background: linear-gradient(90deg, rgba(10,30,40,.78) 0%, rgba(10,30,40,.55) 40%, rgba(10,30,40,.08) 75%), linear-gradient(180deg, rgba(10,30,40,0) 50%, rgba(10,30,40,.45) 100%); }
.hero .lead, .hero-price, .hero-note { text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.detail-main, .inquiry-layout > *, .cal-months > * { min-width: 0; }
.site-footer a { color: #bfe0ec; }
