/* Demo: Apartmani Lipa (fictional). Editorial boutique-hospitality look. */
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-normal-400-700-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-normal-400-700-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic-400-600-latin-ext.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic-400-600-latin.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-normal-400-800-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-normal-400-800-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F5EFE4; --paper-2: #EBE1CF; --sand: #E2D4BA;
  --green: #14302A; --green-2: #1D4238; --moss: #6E8B6B;
  --clay: #C4572E; --clay-deep: #A8441F; --ink: #1B2723; --muted: #5B6A63;
  --line: rgba(20, 48, 42, 0.16);
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans: Figtree, "Segoe UI", system-ui, sans-serif;
  --maxw: 72rem; --focus: #C4572E; --dm-ink: #14302A; --dm-tint: #E2D4BA;
}
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; }
em { font-style: italic; color: var(--clay); }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(245, 239, 228, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.6rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; text-decoration: none; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: -0.02em; }
.brand svg { width: 1.5rem; height: 1.5rem; fill: var(--moss); }
.brand small { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-left: 0.2rem; }
.nav { display: flex; gap: 1.7rem; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--clay); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border: 0; border-radius: 999px; background: var(--clay); color: #fff; font-weight: 700; font-size: 0.97rem; text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.cta:hover { background: var(--clay-deep); transform: translateY(-1px); }
.cta--green { background: var(--green); }
.cta--green:hover { background: var(--green-2); }

/* Hero: centred, with the window rising behind a booking bar */
.hero { position: relative; overflow: hidden; background: var(--green); color: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60rem 36rem at 50% 70%, rgba(196, 87, 46, 0.3), transparent 70%), radial-gradient(36rem 26rem at 0% 0%, rgba(110, 139, 107, 0.22), transparent 70%); }
.hero__top { position: relative; display: grid; justify-items: center; text-align: center; padding: clamp(3rem, 6vw, 5rem) 0 0; }
.hero__tag { display: inline-flex; align-items: center; gap: 0.8rem; margin-bottom: 1.3rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #E7C9A6; }
.hero__tag::before, .hero__tag::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(3.4rem, 1.2rem + 8vw, 8rem); font-weight: 400; line-height: 0.94; letter-spacing: -0.04em; }
.hero h1 em { color: #F0A57F; }
.hero__lead { max-width: 34rem; margin-top: 1.5rem; font-size: 1.2rem; color: #D6D2C4; }
.hero__art { position: relative; width: min(100%, 30rem); margin: 2rem auto 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.hero__art svg { display: block; width: 100%; height: auto; }
.sun { transform-origin: 330px 240px; animation: sun 9s ease-in-out infinite alternate; }
@keyframes sun { from { transform: translateY(14px); } to { transform: translateY(-10px); } }
.bird { animation: fly 14s linear infinite; }
@keyframes fly { from { transform: translateX(-60px); } to { transform: translateX(380px); } }
@media (prefers-reduced-motion: reduce) { .sun, .bird { animation: none; } }
.hero__dock { position: relative; z-index: 2; margin-top: -4.6rem; padding-bottom: 2rem; }
.dock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0.6rem; align-items: end; max-width: 52rem; margin-inline: auto; padding: 1rem; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 22px; background: rgba(245, 239, 228, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.dock__f { display: grid; gap: 0.2rem; padding: 0.3rem 0.8rem; }
.dock__f label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.dock__f input, .dock__f select { width: 100%; padding: 0.4rem 0; border: 0; border-bottom: 2px solid #D2C4A8; background: transparent; color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.dock__f input:focus, .dock__f select:focus { outline: none; border-color: var(--clay); }
.dock .cta { padding: 1rem 1.7rem; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; margin-top: 1.1rem; color: #D6D2C4; font-size: 0.92rem; }
.quick li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 1.4rem 0.2em -0.4rem; border-radius: 50%; background: #F0A57F; }
.hero__dock .quick li + li::before { margin-right: 0; margin-left: 0; margin-inline: 0 1.4rem; }

/* Manifesto */
.manifest { padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3rem); }
.manifest .wrap { --maxw: 56rem; }
.manifest__t { font-family: var(--serif); font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.9rem); font-weight: 400; line-height: 1.22; letter-spacing: -0.02em; text-align: center; color: var(--green); }

/* Rooms carousel */
.kicker { margin-bottom: 1rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); }
.rooms { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6.5rem); }
.rooms__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.rooms h2, .stay h2, .around h2, .qa h2, .contact h2 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); }
.rooms__ctl { display: flex; gap: 0.6rem; }
.rooms__ctl button { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border: 1.5px solid var(--green); border-radius: 50%; background: transparent; color: var(--green); cursor: pointer; transition: background 0.2s, color 0.2s; }
.rooms__ctl button:hover { background: var(--green); color: var(--paper); }
.rooms__ctl svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.track { display: flex; gap: 1.2rem; padding: 0.4rem max(1rem, calc((100% - var(--maxw)) / 2)) 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(1rem, calc((100% - var(--maxw)) / 2)); scrollbar-width: thin; scrollbar-color: var(--green) transparent; }
.track:focus-visible { outline-offset: -3px; }
.room { flex: 0 0 min(22rem, 78vw); scroll-snap-align: start; overflow: hidden; border-radius: 200px 200px 18px 18px; background: #fff; box-shadow: 0 30px 50px -34px rgba(20, 48, 42, 0.6); }
.room img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.room:hover img { transform: scale(1.04); }
.room { position: relative; }
.room__t { padding: 1.3rem 1.5rem 1.6rem; background: #fff; position: relative; z-index: 1; }
.room h3 { font-size: 1.7rem; }
.room p { margin-top: 0.3rem; color: var(--muted); font-size: 0.97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chips li { padding: 0.55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff8; font-size: 0.93rem; font-weight: 600; }
.chips li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.55rem; border-radius: 50%; background: var(--clay); }

/* Stay: text scrolls, the calculator stays in view */
.stay { padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--paper-2); }
.stay__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3rem 4.5rem; align-items: start; }
.stay__text { display: grid; gap: 1.6rem; }
.sec__lead { max-width: 34rem; margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; }
.rates { display: grid; gap: 0.7rem; }
.rate { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: #fffa; }
.rate b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.1; }
.rate span { color: var(--muted); font-size: 0.93rem; }
.rate strong { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--clay); white-space: nowrap; }
.rate small { font-family: var(--sans); font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.note { color: var(--muted); font-size: 0.93rem; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.rules div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.rules dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.rules dd { margin: 0.1rem 0 0; font-family: var(--serif); font-size: 1.35rem; }
.card { padding: 2rem; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(20, 48, 42, 0.4); }
.card h3 { font-size: 1.9rem; }
.calc { position: sticky; top: 6.5rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 1.4rem; }
.fld { display: grid; gap: 0.35rem; }
.fld label { font-size: 0.85rem; font-weight: 700; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 0.8rem 0.9rem; border: 1.5px solid #D5CAB5; border-radius: 10px; background: var(--paper); color: var(--ink); font-size: 1rem; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--clay); background: #fff; box-shadow: 0 0 0 3px rgba(196, 87, 46, 0.18); }
.fld textarea { min-height: 7rem; resize: vertical; }
.fld--wide { grid-column: 1 / -1; }
.sum { margin-top: 1.4rem; padding: 1.2rem 1.3rem; border-radius: 12px; background: var(--paper); }
.sum__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; font-size: 0.97rem; color: var(--muted); }
.sum__row b { color: var(--ink); font-weight: 600; }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.6rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.sum__total span { font-weight: 700; }
.sum__total strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--green); }
.sum__hint { color: var(--muted); font-size: 0.95rem; }
.card .cta { width: 100%; margin-top: 1.1rem; }

/* Around */
.around { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.around__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: center; }
.map { aspect-ratio: 1; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 50px -36px rgba(20, 48, 42, 0.5); }
.map svg { display: block; width: 100%; height: 100%; }
.places { margin-top: 1.6rem; }
.places li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.places li:first-child { border-top: 1px solid var(--line); }
.places b { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.places span { color: var(--muted); font-size: 0.95rem; white-space: nowrap; }

/* Q and A, always open */
.qa { padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--green); color: var(--paper); }
.qa .kicker { color: #F0A57F; }
.qa em { color: #F0A57F; }
.qa__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; margin-top: 2.6rem; }
.qa__grid > div { padding: 1.6rem 0; border-top: 1px solid rgba(245, 239, 228, 0.22); }
.qa dt { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; }
.qa dd { margin: 0.5rem 0 0; color: #CFCBBD; }

/* Contact */
.contact { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem 4rem; align-items: start; }
.host { display: grid; gap: 1.4rem; margin-top: 2rem; }
.host li { display: grid; gap: 0.1rem; }
.host b { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); }
.host span { font-family: var(--serif); font-size: 1.5rem; }

.foot { padding: 2.2rem 0; background: var(--green); color: #BFBBAD; font-size: 0.92rem; border-top: 1px solid rgba(245, 239, 228, 0.12); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; }
.foot a { color: #fff; }

@media (max-width: 62rem) {
  .stay__grid, .around__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .calc { position: static; }
  .qa__grid { grid-template-columns: minmax(0, 1fr); }
  .dock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dock .cta { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  .menu-btn { display: block; }
  .top__row { position: relative; }
  .top .cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 0.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.4); }
  .nav.open { display: flex; }
  .nav a { padding: 0.9rem 0.8rem; font-size: 1.05rem; }
}
@media (max-width: 36rem) {
  .grid2, .rules { grid-template-columns: minmax(0, 1fr); }
  .dock { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dock__f:nth-child(3) { grid-column: 1 / -1; }
  .card { padding: 1.4rem; }
  .brand small { display: none; }
  .rooms__ctl { display: none; }
  .hero__dock { margin-top: -3.4rem; }
}
