:root {
  --ink: #18151d;
  --ink-soft: #514b57;
  --plum: #4a2947;
  --plum-dark: #2d172b;
  --lilac: #d9cfdf;
  --lilac-light: #eee9f0;
  --paper: #f5f4f6;
  --white: #fff;
  --line: #d8d4dc;
  --success: #315b4b;
  --warning: #8a6731;
  --danger: #8b414a;
  --shell: 1280px;
  --text: 720px;
  --shadow: 0 24px 80px rgba(35, 23, 37, 0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Mobiilimenüü on suletuna transform: translateX(102%) abil ekraanist
     paremale pargitud ja venitas dokumendi kaks korda laiemaks. "clip"
     lõikab selle ära, kuid ei tee kerimiskonteinerit — nii jäävad päise ja
     broneerimispaneeli position: sticky terveks, mida overflow-x: hidden
     oleks lõhkunud. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(74, 41, 71, 0.32);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 64px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--plum);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--lilac);
}

p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  hyphens: none;
  word-break: normal;
}

h1 {
  font-size: clamp(46px, 7.4vw, 106px);
  line-height: 0.92;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button {
  padding: 13px 22px;
  background: var(--plum);
  color: var(--white);
}

.button:hover {
  background: var(--plum-dark);
  transform: translateY(-1px);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.button--light:hover {
  background: var(--lilac-light);
}

.button--outline {
  border: 1px solid currentColor;
  background: transparent;
  color: var(--plum);
}

.button--outline:hover {
  background: var(--plum);
  color: var(--white);
}

.text-link {
  position: relative;
  min-height: 36px;
  padding: 4px 0;
  color: var(--plum);
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  transform: scaleX(1);
  transform-origin: left;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(0.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(245, 244, 246, 0.94);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(32, 22, 35, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
}

.brand small {
  margin-top: 7px;
  font-family: Arial, Helvetica, sans-serif;
  /* 11px oli alla kataloogi 12px piiri. */
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 25px;
}

.nav-link {
  position: relative;
  padding: 28px 0 26px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--plum);
  content: "";
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  margin-left: 18px;
  min-height: 46px;
  padding: 11px 18px;
  background: var(--plum);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--plum-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f7f9 0%, #f0ebf2 100%);
  color: var(--ink);
}

.hero .shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(440px, 0.82fr);
  align-items: center;
  gap: clamp(52px, 6vw, 86px);
  min-height: 730px;
  padding-block: clamp(72px, 8vw, 112px) clamp(94px, 10vw, 140px);
}

.hero-copy {
  max-width: 630px;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 28px;
  overflow-wrap: normal;
  font-size: clamp(46px, 4.6vw, 68px);
  hyphens: none;
  line-height: 0.96;
  word-break: normal;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-media {
  position: relative;
  min-height: 570px;
  margin: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 46% 54% 26px 26px / 30% 36% 26px 26px;
  box-shadow: 0 35px 100px rgba(45, 23, 43, 0.16);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% center;
}

.hero-botanical {
  position: absolute;
  top: -72px;
  right: -100px;
  z-index: 2;
  width: clamp(250px, 27vw, 390px);
  max-width: none;
  transform: rotate(5deg);
  opacity: 0.86;
  pointer-events: none;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero .text-link {
  color: var(--plum);
}

.availability-strip {
  background: var(--white);
}

.availability-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(150px, 0.72fr)) auto;
  align-items: end;
  gap: 18px;
  margin-top: -42px;
  padding: 26px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(45, 23, 43, 0.12);
}

.availability-intro h2 {
  margin-bottom: 5px;
  font-size: 29px;
}

.availability-intro .eyebrow {
  margin-bottom: 5px;
}

.availability-intro p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.availability-card .button {
  min-width: 150px;
  border-radius: 999px;
}

.availability-card .field {
  margin-bottom: 0;
}

.availability-card .field input,
.availability-card .field select,
.availability-card .date-control {
  border-radius: 12px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field > span,
.field-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea,
.date-control {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-error {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-left: 3px solid var(--danger);
  background: rgba(139, 65, 74, 0.08);
  color: var(--danger);
  font-weight: 700;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.date-control:focus-within {
  border-color: var(--plum);
  outline: 2px solid rgba(74, 41, 71, 0.14);
  outline-offset: 0;
}

.date-control {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.date-control input {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 50px;
  opacity: 0;
  cursor: pointer;
}

.date-display {
  color: var(--ink-soft);
}

.date-display.has-value {
  color: var(--ink);
}

.date-icon {
  width: 18px;
  height: 18px;
  margin-left: auto;
  stroke: var(--plum);
  stroke-width: 1.6;
  fill: none;
}

.section {
  padding-block: clamp(82px, 10vw, 144px);
}

.section--white {
  background: var(--white);
}

.section--plum {
  background: var(--plum-dark);
  color: var(--white);
}

.section--lilac {
  background: var(--lilac-light);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 56px;
}

.section-heading h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.section-heading > p {
  margin: 0;
  color: var(--ink-soft);
}

.section--plum .section-heading > p,
.section--plum .lead {
  color: rgba(255, 255, 255, 0.72);
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-row > div {
  padding: 28px 26px 30px 0;
}

.fact-row > div + div {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.fact-row strong {
  display: block;
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
}

.fact-row span {
  color: var(--ink-soft);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(52px, 8vw, 110px);
}

.split--reverse {
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.08fr);
}

.split-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--lilac);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.split-copy {
  max-width: 570px;
}

.split-copy p:not(.eyebrow) {
  color: var(--ink-soft);
}

.feature-list {
  display: grid;
  margin: 30px 0;
  border-top: 1px solid var(--line);
}

.feature-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list dt {
  font-weight: 750;
}

.feature-list dd {
  margin: 0;
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.content-card {
  min-width: 0;
  background: var(--white);
}

.content-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--lilac);
}

.content-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.content-card:hover .content-card__image img {
  transform: scale(1.025);
}

.content-card__body {
  padding: 28px;
}

.content-card__body h3 {
  font-size: 30px;
}

.content-card__body p {
  color: var(--ink-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  background: var(--lilac-light);
  color: var(--ink-soft);
  font-size: 13px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 58px);
}

.format-card {
  padding-top: 26px;
  border-top: 2px solid var(--plum);
}

.format-card h3 {
  font-size: 30px;
}

.format-card > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.timeline article {
  position: relative;
  padding: 34px 30px 12px 0;
}

.timeline article + article {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.23);
}

.timeline time {
  display: block;
  margin-bottom: 34px;
  color: var(--lilac);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.timeline h3 {
  font-size: 28px;
}

.timeline p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr;
  grid-template-rows: repeat(2, minmax(240px, 1fr));
  gap: 14px;
}

.mosaic figure,
.gallery-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--lilac);
}

.mosaic figure:first-child {
  grid-row: 1 / 3;
}

.mosaic img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.mosaic a:hover img,
.gallery-grid button:hover img {
  transform: scale(1.025);
}

.mosaic a,
.gallery-grid button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 7vw, 94px);
  background: linear-gradient(135deg, #f8f7f9 0%, #f0ebf2 100%);
  color: var(--ink);
}

.page-hero .shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.82fr);
  align-items: center;
  gap: clamp(52px, 7vw, 92px);
}

.page-hero__copy {
  max-width: 680px;
}

.page-hero h1 {
  max-width: 680px;
  margin-bottom: 24px;
  overflow-wrap: normal;
  font-size: clamp(48px, 5vw, 76px);
  hyphens: none;
  line-height: 0.97;
  word-break: normal;
}

.page-hero p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.page-hero .eyebrow {
  color: var(--plum);
}

.page-hero__media {
  position: relative;
  min-height: 450px;
  margin: 0;
}

.page-hero__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 44% 56% 22px 22px / 28% 34% 22px 22px;
  box-shadow: 0 28px 80px rgba(45, 23, 43, 0.14);
}

.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__botanical {
  position: absolute;
  top: -58px;
  right: -82px;
  z-index: 2;
  width: clamp(220px, 23vw, 330px);
  max-width: none;
  transform: rotate(6deg);
  opacity: 0.76;
  pointer-events: none;
}

.page-hero--simple {
  padding-block: clamp(62px, 6vw, 82px);
}

.page-hero--simple .shell {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
  min-height: 310px;
}

.page-hero--plain .shell {
  grid-template-columns: minmax(0, 760px);
  min-height: auto;
}

.page-hero__ornament {
  position: relative;
  height: 310px;
  margin: 0;
  overflow: hidden;
}

.page-hero__ornament img {
  position: absolute;
  top: 50%;
  right: -28px;
  width: 280px;
  max-width: none;
  transform: translateY(-50%) rotate(9deg);
  opacity: 0.55;
}

@media (min-width: 921px) {
  .page-hero--reverse .shell {
    grid-template-columns: minmax(400px, 0.82fr) minmax(0, 1fr);
  }

  .page-hero--reverse .page-hero__media {
    order: -1;
  }
}

.spec-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec-grid article,
.info-grid article {
  padding: 30px;
  background: var(--paper);
}

.spec-grid h3,
.info-grid h3 {
  font-size: 25px;
}

.spec-grid p,
.info-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.price-card.is-featured {
  border-color: var(--plum);
  box-shadow: 0 18px 55px rgba(50, 31, 51, 0.1);
}

.price-card__label {
  align-self: flex-start;
  margin: -49px 0 24px;
  padding: 7px 10px;
  background: var(--plum);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 31px;
}

.price {
  display: block;
  margin: 4px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  line-height: 1;
}

.price small {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.check-list li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 5px;
  transform: rotate(-45deg);
  border-bottom: 1.5px solid var(--plum);
  border-left: 1.5px solid var(--plum);
  content: "";
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.price-example {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--lilac-light);
}

.price-example .eyebrow {
  margin-bottom: 7px;
}

.price-example p:last-child {
  max-width: 920px;
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.menu-tab {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.menu-tab[aria-selected="true"] {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--white);
}

.menu-panel[hidden] {
  display: none;
}

.menu-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.menu-group + .menu-group {
  margin-top: 42px;
}

.menu-group h3 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.menu-item strong {
  display: block;
  margin-bottom: 4px;
}

.menu-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.menu-item > span {
  font-weight: 750;
  white-space: nowrap;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.gallery-filter {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.gallery-filter.is-active {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 110px;
  gap: 14px;
}

.gallery-grid figure {
  grid-column: span 4;
  grid-row: span 3;
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(6) {
  grid-column: span 8;
  grid-row: span 4;
}

.gallery-grid figure.is-hidden {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(16, 12, 17, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 84vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
}

.lightbox-control {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(16, 12, 17, 0.45);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
}

.lightbox-control--prev {
  left: 22px;
}

.lightbox-control--next {
  right: 22px;
}

.lightbox-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.lightbox :focus-visible,
.site-footer :focus-visible,
.section--plum :focus-visible {
  outline-color: rgba(255, 255, 255, 0.9);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 50px 24px 0;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 25px;
  right: 4px;
  content: "+";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details > div {
  max-width: 760px;
  padding-bottom: 24px;
  color: var(--ink-soft);
}

.booking-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: clamp(50px, 8vw, 100px);
}

.form-panel {
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  box-shadow: 0 16px 60px rgba(32, 22, 35, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
}

.field--full {
  grid-column: 1 / -1;
}

.step-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 36px;
}

.step-progress span {
  height: 4px;
  background: var(--line);
}

.step-progress span.is-current,
.step-progress span.is-complete {
  background: var(--plum);
}

.form-step[hidden] {
  display: none;
}

.form-step h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.form-back {
  border: 0;
  background: transparent;
  color: var(--plum);
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.choice {
  position: relative;
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.choice[hidden] {
  display: none;
}

.choice:has(input:checked) {
  border-color: var(--plum);
  background: var(--lilac-light);
}

.choice input {
  position: absolute;
  top: 18px;
  right: 18px;
  accent-color: var(--plum);
}

.choice strong,
.choice small {
  display: block;
  padding-right: 24px;
}

.choice small {
  margin-top: 5px;
  color: var(--ink-soft);
}

.counter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.counter {
  display: grid;
  grid-template-columns: 1fr 44px 44px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
}

.counter > span {
  padding-left: 14px;
  font-weight: 700;
}

.counter output {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 400;
}

.counter button {
  width: 44px;
  height: 56px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--white);
  color: var(--plum);
  cursor: pointer;
  font-size: 22px;
}

.counter button:hover {
  background: var(--lilac-light);
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 16px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--plum);
}

.form-note {
  padding: 16px;
  background: var(--lilac-light);
  color: var(--ink-soft);
  font-size: 14px;
}

.form-note--before {
  margin-bottom: 24px;
  border-left: 3px solid var(--plum);
}

.form-success {
  padding: 18px 0;
}

.form-success[hidden] {
  display: none;
}

.form-success h2 {
  max-width: 620px;
}

.booking-aside {
  position: sticky;
  top: 112px;
  padding: 28px;
  border-top: 4px solid var(--plum);
  background: var(--lilac-light);
}

.booking-aside h2 {
  font-size: 30px;
}

.booking-summary {
  display: grid;
  margin: 22px 0;
}

.booking-summary div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.booking-summary dt {
  color: var(--ink-soft);
}

.booking-summary dd {
  max-width: 62%;
  margin: 0;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.booking-summary a {
  color: var(--plum);
}

.availability-demo {
  margin-top: 26px;
}

.availability-demo h3 {
  font-size: 23px;
}

.calendar-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 12px;
}

.calendar-key span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

.calendar-key .held::before {
  background: var(--warning);
}

.calendar-key .booked::before {
  background: var(--danger);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 12px;
}

.calendar-grid span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.6);
}

.calendar-grid .available {
  color: var(--success);
  font-weight: 800;
}

.calendar-grid .held {
  color: var(--warning);
  font-weight: 800;
}

.calendar-grid .booked {
  color: var(--danger);
  text-decoration: line-through;
}

.next-steps {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.next-steps h3 {
  font-size: 23px;
}

.next-steps ol {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--ink-soft);
}

.legal {
  padding-block: 70px 120px;
}

.legal h2 {
  margin-top: 50px;
  font-size: 32px;
}

.legal h3 {
  margin-top: 30px;
  font-size: 24px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal a {
  color: var(--plum);
}

.not-found {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
}

.not-found .hero-actions {
  margin-top: 30px;
}

.cta-band {
  padding-block: 76px;
  background: var(--plum);
  color: var(--white);
}

.cta-band .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
}

.cta-band h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
}

.site-footer {
  padding-block: 66px 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr 0.8fr;
  gap: 50px;
  padding-bottom: 54px;
}

.footer-brand p {
  max-width: 340px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-col h2 {
  margin-bottom: 18px;
  color: var(--lilac);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: table;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-col a {
  position: relative;
}

.footer-col a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--lilac);
  content: "";
  transition: transform 180ms ease;
}

.footer-col a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a {
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  transform: translateY(90px);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--plum);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  font-size: 21px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.back-to-top.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 22px;
  }

  .main-nav {
    gap: 16px;
  }

  .nav-cta {
    margin-left: 16px;
  }

  .hero .shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
    gap: 52px;
  }

  .hero-botanical {
    right: -74px;
  }

  .availability-card {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }

  .availability-intro {
    grid-column: 1 / -1;
  }

  .counter-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 0.8fr);
    gap: 30px;
  }
}

@media (max-width: 920px) {
  .shell,
  .narrow {
    width: min(100% - 40px, var(--shell));
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow-y: auto;
    padding: 26px 20px 50px;
    transform: translateX(102%);
    visibility: hidden;
    pointer-events: none;
    background: var(--paper);
    transition: transform 220ms ease, visibility 0s linear 220ms;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .nav-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 400;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    display: flex;
    margin: 28px 0 0;
  }

  .hero,
  .hero .shell {
    min-height: auto;
  }

  .hero .shell {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 76px 96px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-media {
    min-height: min(68vw, 580px);
  }

  .hero-botanical {
    top: -58px;
    right: -50px;
    width: 310px;
  }

  .page-hero__copy {
    max-width: 660px;
  }

  .page-hero__media {
    min-height: clamp(390px, 62vw, 540px);
  }

  .page-hero__botanical {
    top: -50px;
    right: -48px;
    width: 290px;
  }

  .section-heading,
  .page-hero .shell,
  .split,
  .split--reverse,
  .booking-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .page-hero--simple .shell {
    grid-template-columns: minmax(0, 1fr) 220px;
    min-height: 260px;
  }

  .page-hero__ornament {
    height: 250px;
  }

  .page-hero__ornament img {
    width: 235px;
  }

  .split--reverse .split-copy {
    order: 2;
  }

  .split-image,
  .split-image img {
    min-height: clamp(390px, 62vw, 560px);
  }

  .fact-row,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-row > div:nth-child(3),
  .timeline article:nth-child(3) {
    border-left: 0;
  }

  .fact-row > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .timeline article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.23);
  }

  .card-grid,
  .format-grid,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card:last-child {
    grid-column: 1 / -1;
  }

  .spec-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 280px);
  }

  .mosaic figure:first-child {
    grid-row: 1 / 3;
  }

  .mosaic figure:last-child {
    display: none;
  }

  .booking-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) and (min-width: 621px) {
  .availability-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .availability-intro,
  .availability-card .button {
    grid-column: 1 / -1;
  }

  .availability-card .button {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 300px;
  }

  .gallery-grid figure,
  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .shell,
  .narrow {
    width: min(100% - 28px, var(--shell));
  }

  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    top: 72px;
  }

  .hero .shell {
    gap: 36px;
    padding-block: 58px 76px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 48px);
  }

  .hero-media {
    min-height: 390px;
  }

  .hero-photo {
    border-radius: 48% 48% 20px 20px / 28% 28% 20px 20px;
  }

  .hero-botanical {
    top: -42px;
    right: -54px;
    width: 230px;
    opacity: 0.78;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .availability-card {
    grid-template-columns: 1fr;
    margin-top: -26px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .availability-intro {
    grid-column: auto;
    margin-bottom: 5px;
  }

  .availability-card .button {
    width: 100%;
  }

  .section {
    padding-block: 74px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .fact-row,
  .card-grid,
  .format-grid,
  .price-grid,
  .spec-grid,
  .info-grid,
  .timeline,
  .menu-columns,
  .form-grid,
  .choice-grid,
  .counter-row {
    grid-template-columns: 1fr;
  }

  .fact-row > div,
  .fact-row > div + div,
  .fact-row > div:nth-child(3) {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact-row > div:first-child {
    border-top: 0;
  }

  .timeline article,
  .timeline article + article,
  .timeline article:nth-child(3) {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.23);
    border-left: 0;
  }

  .timeline article:first-child {
    border-top: 0;
  }

  .timeline time {
    margin-bottom: 10px;
  }

  .split-image,
  .split-image img {
    min-height: 390px;
  }

  .feature-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price-card:last-child {
    grid-column: auto;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 280px);
  }

  .mosaic figure:first-child {
    grid-row: auto;
  }

  .mosaic figure:last-child {
    display: block;
  }

  .page-hero {
    padding-block: 56px 66px;
  }

  .page-hero .shell {
    gap: 24px;
  }

  .page-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(38px, 11.5vw, 52px);
  }

  .page-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .page-hero__media {
    min-height: 370px;
  }

  .page-hero__photo {
    border-radius: 46% 54% 18px 18px / 27% 31% 18px 18px;
  }

  .page-hero__botanical {
    top: -38px;
    right: -48px;
    width: 215px;
    opacity: 0.68;
  }

  .page-hero--simple .shell {
    display: block;
    min-height: auto;
  }

  .page-hero--simple .page-hero__copy {
    position: relative;
    z-index: 2;
  }

  .page-hero__ornament {
    position: absolute;
    right: -64px;
    bottom: -46px;
    display: block;
    width: 180px;
    height: 190px;
    opacity: 0.4;
  }

  .page-hero__ornament img {
    right: -30px;
    width: 190px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .gallery-grid figure,
  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .form-panel {
    padding: 24px 18px;
  }

  .field--full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .cta-band .shell {
    grid-template-columns: 1fr;
  }

  .cta-band .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox {
    padding: 72px 16px 84px;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 72vh;
  }

  .lightbox-control {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .lightbox-control--prev {
    left: calc(50% - 70px);
  }

  .lightbox-control--next {
    right: calc(50% - 70px);
  }

  .lightbox-count {
    bottom: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Näidislehe märge. Jalus renderdatakse components.js-ist, seega see rida
   elab staatilises HTML-is — nii näeb seda ka JS-ita külastaja. */
.demo-note {
  margin: 0;
  padding: 18px 24px 26px;
  color: #7c7468;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
