@font-face {
  font-family: Rubik;
  src: url(assets/rubik-latin.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 900;
  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: Rubik;
  src: url(assets/rubik-cyrillic.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ink: #391652;
  --purple: #472064;
  --cream: #fcf6eb;
  --yellow: #ffd04c;
  --lilac: #ead9f2;
  --line: #c9aed5;
  --side: clamp(20px, 4vw, 62px);
  font-family: Rubik, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.5; }
a { color: inherit; }
button, input, select { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #9248b6; outline-offset: 4px; }
.booking :focus-visible { outline-color: var(--yellow); }
.booking-form :focus-visible { outline-color: #9248b6; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 820; letter-spacing: -.041em; line-height: .96; }
h2 { font-size: clamp(2.15rem, 4.65vw, 4.125rem); }
section[id], footer[id] { scroll-margin-top: 20px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }

.frame { width: min(1512px, 100%); margin-inline: auto; padding-inline: var(--side); }
.site-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 4.4vw, 70px); }
.site-header nav a { text-decoration: none; font-weight: 650; }
.site-header nav a:hover, .address:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: .22em; }
.wordmark { position: relative; display: inline-block; padding-right: .55em; color: var(--ink); font-size: clamp(1.7rem, 3.8vw, 3.1rem); line-height: 1; letter-spacing: -.065em; font-weight: 830; text-decoration: none; }
.wordmark svg { position: absolute; width: .62em; height: .62em; right: -.08em; top: -.11em; color: var(--yellow); }

.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; border: 0; border-radius: 100px; padding: 10px 24px; text-align: center; text-decoration: none; font-weight: 700; line-height: 1.2; transition: background-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-yellow:hover { background: #ffdc72; }
.button-purple { background: var(--purple); color: var(--cream); }
.button-purple:hover { background: #5b2b7c; }
.site-header .button { padding-inline: clamp(16px, 2.8vw, 36px); white-space: nowrap; }

.hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.16fr); align-items: center; gap: clamp(18px, 2.5vw, 42px); padding-top: 6px; }
.hero-copy { padding-block: 20px; }
.hero h1 { font-size: clamp(2.7rem, 6.15vw, 6rem); }
.hero h1 span, .booking h2 span { position: relative; display: inline-block; }
.rays { width: .78em; height: .78em; color: var(--yellow); vertical-align: .04em; margin-left: .2em; }
.hero h1 .rays { position: absolute; top: -.08em; left: 100%; }
.hero-copy > p { max-width: 33ch; margin-top: clamp(13px, 1.9vw, 27px); font-size: clamp(1rem, 1.55vw, 1.31rem); line-height: 1.35; }
.hero-copy .button { margin-top: clamp(16px, 2vw, 26px); min-height: 54px; padding-inline: clamp(20px, 3vw, 44px); font-size: clamp(1rem, 1.45vw, 1.25rem); }
.address { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 13px; font-size: clamp(.87rem, 1.45vw, 1.13rem); font-weight: 540; text-decoration: none; }
.address svg { width: 1.35em; height: 1.35em; flex: none; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 1.39; object-fit: cover; border-radius: 12% 8% 10% 12% / 15% 11% 13% 14%; }
.hero-star { position: absolute; width: clamp(54px, 9.5vw, 126px); aspect-ratio: 1; right: 2%; bottom: -3%; transform: rotate(12deg); fill: var(--yellow); stroke: var(--cream); stroke-width: 7; stroke-linejoin: round; }
.image-label { position: absolute; bottom: 13px; left: 7%; border-radius: 20px; background: var(--cream); padding: 3px 11px; font-size: .75rem; font-weight: 530; }

.gallery-section { padding-top: clamp(35px, 4.2vw, 62px); padding-bottom: clamp(34px, 4.2vw, 64px); }
.gallery { display: grid; grid-template-columns: 2.08fr 1fr 1fr; gap: clamp(9px, 1.25vw, 18px); margin-top: clamp(19px, 2.4vw, 32px); }
.gallery-photo { border: 0; padding: 0; background: var(--lilac); overflow: hidden; border-radius: clamp(14px, 2.1vw, 27px); }
.gallery-photo img { width: 100%; height: clamp(135px, 21vw, 310px); object-fit: cover; transition: transform .24s ease; }
.gallery-photo:hover img { transform: scale(1.04); }
.gallery-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 13px; font-size: .9rem; }
.gallery-note svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.formats { background: var(--lilac); padding-block: clamp(31px, 4vw, 60px); }
.format-list { margin-top: clamp(10px, 1.8vw, 25px); }
.format-list details + details { border-top: 1px solid var(--line); }
.format-list summary { display: grid; grid-template-columns: auto minmax(0, .87fr) minmax(0, 1.3fr) auto; align-items: center; gap: clamp(13px, 2.6vw, 36px); padding: 10px clamp(2px, 1.6vw, 23px); list-style: none; }
.format-list summary::-webkit-details-marker { display: none; }
.format-icon { display: grid; place-items: center; width: clamp(49px, 6.2vw, 84px); aspect-ratio: 1; border-radius: 48% 52% 56% 44% / 56% 47% 53% 44%; background: var(--cream); }
.format-icon svg { width: 55%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.format-name { font-size: clamp(1.13rem, 2.6vw, 2.2rem); font-weight: 770; line-height: 1.08; letter-spacing: -.035em; }
.format-description { max-width: 43ch; font-size: clamp(.95rem, 1.25vw, 1.1rem); line-height: 1.35; }
.plus { display: grid; place-items: center; width: 39px; height: 39px; border: 1.5px solid currentColor; border-radius: 50%; }
.plus::before { content: "+"; font-size: 1.55rem; line-height: 1; }
details[open] .plus::before { content: "−"; }
summary:hover .plus, details[open] .plus { color: var(--cream); background: var(--ink); }
.format-extra { padding: 0 56px 18px clamp(66px, 10.4vw, 145px); }
.format-extra a { display: inline-block; font-weight: 680; margin-top: 7px; text-underline-offset: 3px; }

.booking { padding-block: clamp(26px, 4vw, 61px); background: var(--purple); color: var(--cream); }
.booking-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(20px, 4vw, 65px); }
.booking h2 { font-size: clamp(2.6rem, 6.15vw, 5.85rem); }
.booking h2 .rays { position: absolute; top: -.14em; left: 100%; }
.booking-copy .address { margin-top: 21px; }
.booking-form { display: grid; gap: 11px; padding: clamp(18px, 2.8vw, 38px); border-radius: clamp(18px, 2.5vw, 32px); color: var(--ink); background: var(--cream); }
.form-row { display: grid; grid-template-columns: minmax(125px, .7fr) minmax(0, 1.3fr); gap: 10px; align-items: center; }
.form-row label { font-size: .92rem; font-weight: 680; }
.form-row input, .form-row select { width: 100%; min-width: 0; min-height: 45px; border-radius: 12px; padding: 8px 11px; border: 1px solid #ad97b5; color: var(--ink); background: transparent; }
.form-row input::placeholder, .form-row select:invalid { color: #705882; }
.date-field { position: relative; min-width: 0; }
.date-field #party-date { padding-right: 50px; }
.date-picker { position: absolute; inset: 0 1px 0 auto; display: grid; width: 44px; place-items: center; border-radius: 0 12px 12px 0; }
.date-picker:focus-within { outline: 2px solid #9248b6; outline-offset: -3px; }
.date-picker svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; pointer-events: none; }
.date-picker input { position: absolute; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.date-picker input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; }
.booking-form .button { margin-top: 4px; }
.booking-form > p { text-align: center; font-size: .83rem; line-height: 1.35; }

.site-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 15px; }
.site-footer .wordmark { font-size: clamp(1.5rem, 2.7vw, 2.1rem); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 19px; font-size: .9rem; }
.footer-contact a { text-decoration: none; font-weight: 650; }
.site-footer p { font-size: .83rem; line-height: 1.25; }

dialog { border: 0; padding: 0; border-radius: 22px; color: var(--ink); background: var(--cream); max-width: calc(100vw - 32px); }
dialog::backdrop { background: #21112bba; }
.close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 44px; height: 44px; padding: 0 0 2px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); font-size: 1.65rem; line-height: 1; }
.photo-dialog img { width: auto; height: auto; max-height: 74vh; object-fit: contain; }
.photo-dialog p { padding: 10px 16px; text-align: center; font-size: .9rem; }
.request-dialog { padding: clamp(24px, 5vw, 42px); width: 530px; }
.request-dialog h2 { font-size: clamp(1.9rem, 5vw, 2.6rem); padding-right: 30px; }
#request-text { white-space: pre-wrap; background: var(--lilac); padding: 16px; border-radius: 12px; margin-top: 20px; }
.request-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.copy-status { margin-top: 7px; min-height: 1.5em; font-size: .9rem; }

@media (max-width: 900px) {
  .booking-grid { grid-template-columns: .87fr 1.13fr; }
  .form-row { grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 690px) {
  .site-header { min-height: 66px; gap: 10px; }
  .site-header nav { order: 2; justify-content: center; }
  .site-header nav a { font-size: .85rem; }
  .site-header .button { order: 3; min-height: 42px; font-size: .85rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 8px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(2.45rem, 11.6vw, 4.8rem); }
  .hero-media img { aspect-ratio: 1.42; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-photo:first-child { grid-column: 1 / -1; }
  .gallery-photo:first-child img { height: clamp(165px, 47vw, 290px); }
  .gallery-photo img { height: clamp(110px, 31vw, 190px); }
  .format-list summary { grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; padding-block: 12px; }
  .format-icon, .plus { grid-row: span 2; }
  .format-description { grid-row: 2; grid-column: 2; }
  .plus { grid-column: 3; grid-row: 1 / span 2; width: 33px; height: 33px; }
  .format-extra { padding-left: 63px; padding-right: 8px; }
  .booking-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .booking h2 { font-size: clamp(2.9rem, 10vw, 4.9rem); }
  .booking-copy .address { margin-top: 13px; }
  .site-footer { flex-wrap: wrap; gap: 10px 15px; }
}

@media (max-width: 540px) {
  .site-header { flex-wrap: wrap; padding-top: 10px; padding-bottom: 7px; }
  .site-header nav { order: 4; width: 100%; justify-content: flex-start; gap: 21px; }
  .site-header nav a { display: inline-flex; min-height: 38px; align-items: center; }
  .hero { padding-top: 10px; }
  .gallery-section h2 .rays { display: none; }
  .gallery-note { justify-content: flex-start; }
  .footer-contact { flex-basis: 100%; order: 3; }
}

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