/* Casa Alon, a fictional resort for Sentro's demo.
   Palette: tidewater (deep sea blue-green) on salt (cool white), sea glass for
   quiet fills, hibiscus as the one warm accent. */
:root {
  --tide: #1E4D5C;
  --tide-deep: #163A45;
  --salt: #F5F7F4;
  --sand: #E4E1D8;
  --glass: #A8D0C5;
  --hibiscus: #C4436B;
  --ink: #1B2A2F;
  --muted: #56666B;
  --display: "Gloock", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--hibiscus); outline-offset: 3px; border-radius: 2px; }

.demo-bar {
  margin: 0;
  padding: 10px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.demo-bar a { color: var(--glass); margin-left: 8px; font-weight: 600; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--tide);
  color: #fff;
  padding: 0 20px 96px;
  overflow: hidden;
}
.nav {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 0;
}
.mark { font-family: var(--display); font-size: 24px; }
.nav-links a { margin-left: 24px; text-decoration: none; opacity: .85; font-size: 15px; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* The one moment of motion: the wave draws itself once, left to right. */
.wave {
  display: block;
  width: calc(100% + 40px);
  margin: 28px -20px 0;
  height: 90px;
}
.wave path {
  fill: none;
  stroke: var(--glass);
  stroke-width: 2.5;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.4s cubic-bezier(.45,.05,.3,1) .2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-copy { max-width: 1080px; margin: 8px auto 0; }
.gloss { margin: 0 0 18px; font-size: 15px; color: var(--glass); }
.gloss span[lang] { font-family: var(--display); font-size: 20px; color: #fff; }
.gloss-pos { font-style: italic; margin: 0 6px; }
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -.01em;
  max-width: 15ch;
  margin: 0 0 28px;
}
.lede { max-width: 56ch; margin: 0; font-size: 19px; color: #DDEAE6; }

/* Search panel: shown when the concierge's booking link lands here -------- */
.search { background: var(--hibiscus); color: #fff; padding: 40px 20px; }
.search-inner { max-width: 1080px; margin: 0 auto; }
.search h2 { font-family: var(--display); font-weight: 400; font-size: 34px; margin: 0 0 18px; }
.search-facts { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 0 0 18px; }
.search-facts dt { font-size: 14px; opacity: .85; }
.search-facts dd { margin: 2px 0 0; font-size: 22px; font-weight: 600; }
.search-note { max-width: 62ch; margin: 0; }

/* Sections ---------------------------------------------------------------- */
main section { max-width: 1080px; margin: 0 auto; padding: 88px 20px 0; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 44px); margin: 0 0 32px; color: var(--tide-deep); }

.room {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--sand);
}
.room:last-child { border-bottom: 1px solid var(--sand); }
.room h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 4px; }
.room-meta { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.room p:last-child { margin: 0; max-width: 60ch; }

/* Small drawn plans instead of stock photos: garden, sea, house. */
.room-plan {
  height: 120px;
  border-radius: 60px 60px 6px 6px;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.room-plan span { position: absolute; inset: auto 0 0 0; }
.leaf { height: 58%; background: radial-gradient(circle at 30% 100%, #7FAF8E 0 45%, transparent 46%), radial-gradient(circle at 75% 100%, #5E957A 0 40%, transparent 41%); }
.sea { height: 45%; background: var(--glass); border-top: 3px solid var(--tide); }
.house { height: 62%; left: 26%; right: 26%; background: var(--tide); clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%); }

.stay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; }
.stay-grid p { margin: 0; padding-left: 18px; border-left: 3px solid var(--glass); }

.try { padding-bottom: 88px; }
.try > p { max-width: 64ch; }
.prompts { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 12px; }
.prompts button {
  font: 500 16px var(--body);
  color: var(--tide-deep);
  background: #fff;
  border: 1.5px solid var(--tide);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}
.prompts button:hover { background: var(--tide); color: #fff; }
.fine { color: var(--muted); font-size: 15px; }

.foot { background: var(--sand); padding: 32px 20px; text-align: center; font-size: 14px; color: var(--muted); }
.foot p { margin: 4px 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hero { padding-bottom: 64px; }
  .room { grid-template-columns: 1fr; gap: 16px; }
  .room-plan { height: 80px; max-width: 160px; }
  .stay-grid { grid-template-columns: 1fr; }
  main section { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave path { animation: none; stroke-dashoffset: 0; }
}
