/* Template: HOLIDAY RENTAL (apartments, villas, guesthouses, small hotels)
   Availability and the nightly price on the first screen, in the guests' languages. */

@font-face { font-family: "Young Serif"; src: url("young.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC; }
@font-face { font-family: "Young Serif"; src: url("young-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-017F, U+1E9E; }
@font-face { font-family: "Figtree"; src: url("figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC; }
@font-face { font-family: "Figtree"; src: url("figtree-ext.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0100-017F, U+1E9E; }

:root {
  --bg: #f4eee3;          /* limestone */
  --surface: #fdfaf4;
  --ink: #1d2a33;
  --muted: #586570;
  --line: rgba(29, 42, 51, 0.14);
  --sea: #0e4c6e;
  --sea-2: #145a7c;
  --cta: #b84e33;         /* terracotta roof tiles */
  --cta-2: #9e4029;
  --lavender: #7c6bb8;
  --shutter: #3f6f4f;
  --head: "Young Serif", Georgia, serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
  --max: 74rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.1rem/1.65 var(--body); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }
.wrap { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.demo-bar { background: var(--sea); color: #fff; font-size: 0.9rem; padding: 0.5rem var(--pad); text-align: center; }
.demo-bar a { color: #ffe3a8; font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border-radius: 6px; border: 2px solid transparent; font: 700 1.02rem/1.1 var(--body); text-decoration: none; cursor: pointer; }
.btn--cta { background: var(--cta); color: #fff; }
.btn--cta:hover { background: var(--cta-2); }
.btn--cta:disabled { background: #c9b9a9; cursor: not-allowed; }
.btn--line { border-color: var(--ink); background: transparent; color: var(--ink); }

.top { background: rgba(244, 238, 227, 0.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top__inner { display: flex; align-items: center; gap: 1.75rem; min-height: 4.4rem; }
.logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; font: 400 1.5rem/1 var(--head); }
.logo svg { width: 1.6rem; height: 2rem; }
.top nav { margin-left: auto; display: flex; gap: 1.5rem; }
.top nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.top nav a:hover { color: var(--ink); text-decoration: underline; }
.langs { display: flex; gap: 0.15rem; font-size: 0.9rem; font-weight: 700; }
.langs a { text-decoration: none; padding: 0.25rem 0.45rem; border-radius: 4px; color: var(--muted); }
.langs a[aria-current="true"] { background: var(--ink); color: #fff; }
@media (max-width: 64rem) { .top nav { display: none; } .langs { margin-left: auto; } }
@media (max-width: 30rem) { .top .btn--cta { display: none; } }

.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.hero h1 { margin-bottom: 1.1rem; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 32em; }
.poster { margin: 1.75rem 0 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.poster figcaption { font-size: 0.88rem; color: var(--muted); padding-top: 0.5rem; }
.quick { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-weight: 600; }
.quick li::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--lavender); margin-right: 0.5rem; vertical-align: 0.15em; }
/* On phones: title first, then the calendar, then the details. */
@media (max-width: 62rem) {
  .hero__grid { grid-template-columns: 1fr; row-gap: 0; }
  .hero__side { display: contents; }
  .hero h1 { order: 1; }
  .hero__lead { order: 2; margin-bottom: 1.5rem; }
  .book { order: 3; }
  .quick { order: 4; margin-top: 1.75rem; }
  .poster { order: 5; }
}

/* Availability calendar */
.book { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: 0 20px 40px -28px rgba(14, 76, 110, 0.45); }
.book h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.units button { font: inherit; text-align: left; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 0.55rem 0.75rem; cursor: pointer; font-weight: 700; color: var(--ink); line-height: 1.3; }
.units button small { display: block; font-weight: 400; color: var(--muted); font-size: 0.86rem; }
.units button[aria-selected="true"] { border-color: var(--sea); background: #eaf3f7; }
.cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.cal__nav strong { font-family: var(--head); font-weight: 400; font-size: 1.2rem; text-transform: capitalize; }
.cal__nav button { font: inherit; font-size: 1.3rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.cal__nav button:disabled { opacity: 0.35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal__grid .dow { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-align: center; padding: 0.25rem 0; text-transform: capitalize; }
.cal__grid button { font: inherit; border: 0; background: #eef5ef; border-radius: 5px; padding: 0.3rem 0 0.25rem; cursor: pointer; color: var(--ink); line-height: 1.15; min-height: 2.9rem; }
.cal__grid button b { display: block; font-size: 0.98rem; }
.cal__grid button small { display: block; font-size: 0.68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cal__grid button:hover:not(:disabled) { outline: 2px solid var(--sea); }
.cal__grid button:disabled { background: transparent; color: #a7a39c; cursor: not-allowed; text-decoration: line-through; }
.cal__grid button:disabled small { visibility: hidden; }
.cal__grid button.in { background: #cfe3ec; }
.cal__grid button.dep { background: transparent; box-shadow: inset 0 0 0 1.5px var(--sea); }
.cal__grid button.dep small { color: var(--sea); font-weight: 700; }
.cal__grid button.edge { background: var(--sea); color: #fff; }
.cal__grid button.edge small { color: #d7e8f0; }
.cal__legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin: 0.6rem 0 0.9rem; }
.cal__legend i { display: inline-block; width: 0.85rem; height: 0.85rem; border-radius: 3px; vertical-align: -0.12em; margin-right: 0.35rem; box-shadow: inset 0 0 0 1px rgba(31,45,54,0.25); }
.stay { margin: 0; border-top: 1px solid var(--line); }
.stay div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.stay dt { color: var(--muted); }
.stay dd { margin: 0; font-weight: 700; text-align: right; }
.stay .save dd { color: var(--shutter); }
.stay .total dd { font-size: 1.25rem; }
.book .btn--cta { width: 100%; margin-top: 1rem; }
.book__status { font-size: 0.95rem; margin: 0.75rem 0 0; color: var(--muted); }
.book__status.ok { color: var(--shutter); font-weight: 600; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--white { background: var(--surface); }
.head { max-width: 42rem; margin-bottom: 2.5rem; }
.head p { color: var(--muted); font-size: 1.15rem; margin-top: 0.75rem; }

.apts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.apt figure { margin: 0 0 1.25rem; border-radius: var(--r); overflow: hidden; }
.apt figcaption { font-size: 0.85rem; color: var(--muted); padding-top: 0.4rem; }
.apt .meta { color: var(--muted); margin: 0.35rem 0 0.9rem; }
.apt ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.apt li { border: 1px solid var(--line); border-radius: 99px; padding: 0.15rem 0.7rem; font-size: 0.92rem; background: #fff; }
.apt .from { font-family: var(--head); font-size: 1.4rem; }
.apt .from small { font-family: var(--body); font-size: 0.95rem; color: var(--muted); }
@media (max-width: 52rem) { .apts { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--head); font-weight: 400; font-size: 1.2rem; }
.compare thead th:last-child, .compare td:last-child { background: #e9f2ec; }
.compare tbody th { font-weight: 400; color: var(--muted); width: 32%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
/* On phones each row becomes a small card: the question on top, the two answers side by side. */
@media (max-width: 40rem) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { display: block; border: 0; padding: 0.7rem 0.85rem; font-size: 1rem; hyphens: auto; }
  .compare tbody th { grid-column: 1 / -1; width: auto; color: var(--ink); font-weight: 700; padding-bottom: 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.8rem; color: var(--muted); font-weight: 400; margin-bottom: 0.15rem; }
  .compare td:last-child { background: #e9f2ec; border-radius: 6px; margin: 0 0.5rem 0.6rem 0; }
}

.route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; list-style: none; padding: 0; margin: 0; }
.route li { border-top: 3px solid var(--sea); padding-top: 1rem; }
.route p { color: var(--muted); margin: 0.4rem 0 0; }
@media (max-width: 52rem) { .route { grid-template-columns: 1fr; } }

.hosts { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hosts .ph { aspect-ratio: 1; border-radius: 50%; background: #e3d6c1; display: grid; place-items: center; font: 400 3rem/1 var(--head); color: var(--cta); max-width: 16rem; }
.hosts blockquote { margin: 0 0 1rem; font-family: var(--head); font-size: 1.35rem; line-height: 1.45; }
@media (max-width: 48rem) { .hosts { grid-template-columns: 1fr; } .hosts .ph { max-width: 9rem; } }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.reviews figure { margin: 0; }
.reviews blockquote { margin: 0 0 0.8rem; font-size: 1.1rem; }
.reviews figcaption { color: var(--muted); font-size: 0.95rem; }
.reviews .score { display: inline-block; background: var(--sea); color: #fff; font-weight: 700; border-radius: 4px; padding: 0 0.4rem; margin-bottom: 0.6rem; font-size: 0.9rem; }
@media (max-width: 58rem) { .reviews { grid-template-columns: 1fr; } }

.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2.5rem 1rem 0; font-weight: 700; font-size: 1.12rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font: 400 1.5rem/1 var(--body); color: var(--sea); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); }

footer { background: var(--ink); color: rgba(255, 255, 255, 0.8); padding: 2.5rem 0; font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
footer .contact a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
footer a { color: #fff; }
footer p { margin: 0.25rem 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
