/* ==========================================================
   Lumière Hotel — demo
   ========================================================== */
:root {
  --bg: #f2f2f2;
  --ink: #0d0d0d;
  --text: #3a3a3a;
  --muted: #7a7a7a;
  --line: #e2e2e2;
  --white: #fff;
  --bronze: #8a6a46;
  --ok: #2e9b47;
  --r: 22px;
  --gut: 24px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }

/* Typography helpers */
.h-caps { font-size: clamp(24px, 2.3vw, 32px); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.h-xl { font-size: clamp(32px, 3.4vw, 48px); }
.h-sentence { font-size: clamp(24px, 2.3vw, 33px); font-weight: 400; letter-spacing: .01em; }
.h-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 30px;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--ink); border-radius: 10px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  cursor: pointer; transition: background .2s, color .2s, opacity .2s;
}
.btn:hover { background: #2a2a2a; }
.btn--outline { background: var(--white); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: #e9e9e9; }
.btn--sm { height: 38px; padding: 0 22px; font-size: 12px; border-radius: 8px; }
.btn--block { display: flex; width: 100%; }
.btn--muted, .btn:disabled { background: #8c8c8c; border-color: #8c8c8c; cursor: not-allowed; }

.link-arrow { font-size: 12px; font-weight: 600; display: inline-flex; gap: 6px; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header: image with logo / nav cut-outs ---------- */
.top { padding-top: 20px; }
.top__frame { position: relative; height: clamp(240px, 33vw, 470px); }
.top__media {
  position: absolute; inset: 0;
  border-radius: var(--r);
  background: #ccc center / cover no-repeat;
}

/* Concave ("inverted") corners: a square of page colour with a quarter circle cut out. */
.top__logo::before, .top__logo::after,
.top__nav::before, .top__nav::after,
.notch-num::before, .notch-num::after {
  content: ""; position: absolute; width: var(--r); height: var(--r); pointer-events: none;
}

.top__logo {
  position: absolute; top: 0; left: 0; z-index: 2;
  padding: 0 12px 12px 0;
  background: var(--bg);
  border-bottom-right-radius: var(--r);
}
.top__logo::before { top: 0; left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - .5px), var(--bg) var(--r)); }
.top__logo::after { top: 100%; left: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - .5px), var(--bg) var(--r)); }
.logo-box {
  display: grid; place-items: center;
  width: 100px; height: 100px;
  background: var(--white); border-radius: 18px;
  color: var(--bronze);
}
.logo-box img { width: 66%; height: auto; }

.top__nav {
  position: absolute; top: 0; right: 0; z-index: 3;
  display: flex; align-items: center;
  padding: 2px 4px 12px 30px;
  background: var(--bg);
  border-bottom-left-radius: var(--r);
}
.top__nav::before { top: 0; right: 100%; background: radial-gradient(circle at 0 100%, transparent calc(var(--r) - .5px), var(--bg) var(--r)); }
.top__nav::after { top: 100%; right: 0; background: radial-gradient(circle at 0 100%, transparent calc(var(--r) - .5px), var(--bg) var(--r)); }
.nav-list { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-list a { font-size: 13px; font-weight: 500; position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav-list a:hover::after { transform: scaleX(1); }

.burger { display: none; width: 44px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; z-index: 60; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Intro ---------- */
.intro {
  display: grid; grid-template-columns: 1fr 1fr 2.05fr; gap: 16px;
  margin-top: 16px; height: clamp(380px, 33vw, 480px);
}
.intro__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.intro__text { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 4.4vw, 64px) 0 0 clamp(16px, 4.4vw, 64px); }
.intro__address { font-size: 11px; font-weight: 500; margin: 0 0 18px; }
.intro__title { font-size: clamp(28px, 3.3vw, 48px); font-weight: 500; text-transform: uppercase; letter-spacing: .045em; line-height: 1.2; margin-bottom: 16px; }
.intro__sub { display: flex; gap: 10px; max-width: 380px; margin: 0; font-size: 12px; color: var(--text); }
.dash { flex: none; width: 22px; height: 1px; margin-top: .75em; background: currentColor; }
.intro__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.intro__btns { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 6px; }
.intro__thumb { width: 34%; flex: none; aspect-ratio: 1.08; }
.intro__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 42% 1fr; padding-top: clamp(64px, 7vw, 100px); padding-bottom: 44px; }
.about__body p { margin: 0 0 22px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--text); max-width: 820px; }

.wide-img img { width: 100%; height: clamp(300px, 45vw, 650px); object-fit: cover; }

/* ---------- Section header ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.sec-head__note { margin: 0; max-width: 290px; font-size: 11.5px; text-align: right; color: var(--text); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.rooms { padding-top: clamp(64px, 7vw, 108px); }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 6px 14px 14px 10px; }
.card__title { font-size: 18px; font-weight: 500; margin: 2px 0 6px; }
.card__text { flex: 1; margin: 0 0 20px; font-size: 11.5px; line-height: 1.5; color: var(--text); }
.card__actions { display: flex; align-items: center; justify-content: space-between; padding-left: 4px; }

/* Image with the number cut into its bottom-left corner */
.notch-img { --notch: var(--white); --nr: 16px; position: relative; aspect-ratio: 1.58; border-radius: var(--r); overflow: hidden; }
.notch-img--bg { --notch: var(--bg); }
.notch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .notch-img img, .offer:hover .notch-img img { transform: scale(1.04); }
.notch-num {
  position: absolute; left: 0; bottom: 0;
  padding: 6px 12px 0 8px;
  background: var(--notch);
  border-top-right-radius: var(--nr);
  font-size: clamp(22px, 2vw, 30px); font-weight: 400; line-height: 1.05;
}
.notch-num::before, .notch-num::after { width: var(--nr); height: var(--nr); background: radial-gradient(circle at 100% 0, transparent calc(var(--nr) - .5px), var(--notch) var(--nr)); }
.notch-num::before { bottom: 100%; left: 0; }
.notch-num::after { bottom: 0; left: 100%; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 41fr 33fr 26fr; margin-top: 64px; height: clamp(440px, 42vw, 600px); }
.service {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px 22px 26px; color: var(--white);
  background: #222 center / cover no-repeat;
  scroll-margin-top: 20px;
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.45) 45%, rgba(0,0,0,.78)); transition: background .4s; }
.service:hover::before { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.3) 45%, rgba(0,0,0,.7)); }
.service__title { font-size: clamp(18px, 1.5vw, 21px); font-weight: 400; }
.service__foot p { margin: 0 0 10px; max-width: 360px; font-size: 11.5px; opacity: .85; }

/* ---------- Offers ---------- */
.offers { padding-top: 60px; }
.offers .h-sentence { margin-bottom: 28px; }
.offer__title { font-size: 18px; font-weight: 500; margin: 8px 0 2px; padding-left: 72px; }
.offer__text { margin: 0; padding-left: 72px; font-size: 11px; color: var(--text); max-width: 340px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: clamp(64px, 7vw, 108px); }
.faq__side { display: flex; flex-direction: column; justify-content: space-between; }
.faq__intro { margin: 0; max-width: 270px; font-size: 11px; color: var(--text); }
.faq__item { background: var(--white); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.faq__item summary { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; list-style: none; cursor: pointer; font-size: 15px; font-weight: 500; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { margin: -6px 0 16px; max-width: 92%; font-size: 11.5px; color: var(--text); }
.faq__icon { position: relative; flex: none; width: 10px; height: 10px; margin-top: 6px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); transition: transform .25s; }
.faq__icon::before { left: 0; right: 0; top: 4.5px; height: 1px; }
.faq__icon::after { top: 0; bottom: 0; left: 4.5px; width: 1px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }

/* ---------- Reviews ---------- */
.reviews { padding-top: clamp(64px, 7vw, 108px); }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; margin: 0; padding: 20px 20px 14px; background: var(--white); border-radius: 12px; scroll-snap-align: start; }
.review p { margin: 0; font-size: 11.5px; line-height: 1.6; color: #555; }
.review cite { font-style: normal; font-size: 11px; text-align: right; }
.reviews__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.circle-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0 0 3px; border: 1px solid #555; border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.circle-btn:hover { background: var(--ink); color: var(--white); }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(64px, 7vw, 100px); padding: 64px 0 28px; background: #000; color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer__logo { display: inline-block; width: 150px; }
.footer__logo img, .footer__logo svg { width: 100%; height: auto; }
.footer__title { margin: 40px 0 22px; font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.25; max-width: 460px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 52px 40px; padding-top: 70px; }
.footer__cols h3 { margin: 0 0 8px; font-size: clamp(18px, 1.6vw, 23px); font-weight: 400; }
.footer__cols p { margin: 0; font-size: 12px; color: #ddd; }
.footer__cols a:hover { color: var(--white); text-decoration: underline; }
.footer__links { display: grid; gap: 2px 20px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: #ddd; width: max-content; }
.footer__links--2 { grid-template-columns: repeat(2, auto); }
.footer__links--3 { grid-template-columns: repeat(3, auto); }
.footer__copy { margin: 60px 0 0; padding-top: 24px; border-top: 1px solid; border-image: linear-gradient(90deg, transparent, #555, transparent) 1; text-align: center; font-size: 11px; color: #bbb; }

/* ==========================================================
   Booking page
   ========================================================== */
.booking__head { padding: 36px 0 30px; }
.booking__head p { margin: 4px 0 0; font-size: 12px; color: var(--text); }

.stay-form { max-width: 720px; margin: 0 auto; }
.stay-form h2 { margin-bottom: 26px; }
.stay-form__room { margin: 26px 0 2px; font-size: clamp(20px, 1.9vw, 27px); font-weight: 400; }
.stay-form__hint { margin: 0 0 18px; font-size: 11px; color: var(--muted); }
.stay-form .btn--block { margin-top: 26px; height: 52px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; position: relative; }
.field > span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; }
.field input, .field select {
  width: 100%; height: 58px; padding: 0 18px;
  background: var(--white); border: 1px solid transparent; border-radius: 10px;
  font-size: 13px; color: #555; appearance: none; -webkit-appearance: none;
}
.field input:focus, .field select:focus { border-color: #bbb; outline: none; }
.field select { padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%23333' stroke-width='1.3'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E") right 18px center no-repeat; cursor: pointer; }
.field--icon select { padding-left: 52px; }
.field--icon .ico { position: absolute; left: 16px; top: 50%; width: 24px; transform: translateY(-50%); color: #555; pointer-events: none; }
.field--full select { padding-left: 18px; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }

.booking__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }
.panel { background: var(--white); border-radius: 16px; padding: 22px; }

.room-info { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 18px; margin-bottom: 14px; }
.room-info img { width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: 12px; }
.room-info h2 { margin-bottom: 8px; }
.room-info__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 11.5px; font-weight: 500; text-transform: uppercase; }
.room-info__meta li { display: flex; align-items: center; gap: 6px; }
.room-info__meta svg { width: 17px; }
.room-info__amen { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--text); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.room-info__amen.is-open { display: block; }
.link-more { padding: 0; margin-top: 4px; border: 0; background: none; font-size: 11.5px; font-weight: 500; cursor: pointer; }
.link-more:hover, .rate__info summary:hover { text-decoration: underline; }

.rate {
  display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 16px;
  padding: 22px 0 12px; border-radius: 12px; transition: background .2s, padding .2s;
}
.rate.is-selected { background: #f6f6f6; padding-left: 14px; padding-right: 14px; }
.rate h3 { font-size: clamp(19px, 1.7vw, 24px); font-weight: 400; margin-bottom: 4px; }
.rate__perks { margin: 0; padding: 0; list-style: none; font-size: 11px; }
.rate__perks li { display: flex; align-items: center; gap: 5px; margin-bottom: 2px; }
.rate__perks li.ok { color: var(--ok); }
.rate__perks svg { width: 13px; flex: none; }
.rate__info { margin-top: 10px; font-size: 11.5px; }
.rate__info summary { cursor: pointer; font-weight: 500; list-style: none; }
.rate__info summary::-webkit-details-marker { display: none; }
.rate__info p { margin: 6px 0 0; color: var(--text); max-width: 420px; }
.rate__price { text-align: right; }
.rate__price strong { display: block; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; line-height: 1.1; }
.rate__price small { font-size: 10.5px; color: var(--text); }
.rate__select { position: relative; margin-bottom: 4px; }
.rate__select input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.rate.is-selected .rate__select { background: var(--ok); border-color: var(--ok); }

.summary { position: sticky; top: 20px; }
.summary__dates { margin: 0 0 6px; font-size: 12px; }
.summary__guests { margin: 0; font-size: 11px; }
.summary__edit { font-size: 11px; text-decoration: underline; color: var(--muted); }
.summary hr { margin: 14px 0 12px; border: 0; border-top: 1px solid #bbb; }
.summary__total { margin: 0 0 12px; text-align: right; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; }
.summary .btn--block { height: 44px; }
.summary__guest { display: grid; gap: 10px; margin-top: 16px; }
.summary__guest[hidden] { display: none; }
.input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; font-size: 13px; resize: vertical; }
.input:focus { outline: none; border-color: #999; background: var(--white); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-errors { padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #a32020; font-size: 12px; }
.form-errors p { margin: 0; }

.booking__done { max-width: 640px; margin: 0 auto; }
.booking__done > p { color: var(--text); }
.done-list { margin: 20px 0 26px; padding: 0; list-style: none; font-size: 13px; }
.done-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.done-list span { color: var(--muted); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .intro { grid-template-columns: 1fr 1fr; height: auto; }
  .intro__img { height: clamp(260px, 42vw, 420px); }
  .intro__text { grid-column: 1 / -1; padding: 28px 0 0; gap: 28px; }
  .intro__thumb { width: 28%; }
}

@media (max-width: 1000px) {
  .burger { display: block; }
  .top__nav { padding: 0 0 8px 12px; }
  .nav-list {
    position: fixed; inset: 0; z-index: 50;
    flex-direction: column; align-items: center; justify-content: center; gap: 26px;
    background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav-list a { font-size: 22px; }
  .nav-open .nav-list { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .reviews__track { grid-auto-columns: calc((100% - 16px) / 2); }
  .booking__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 800px) {
  .about, .faq { grid-template-columns: 1fr; }
  .about .h-sentence { margin-bottom: 18px; }
  .faq__side { gap: 10px; }
  .services { grid-template-columns: 1fr; height: auto; }
  .service { min-height: 360px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__cols { padding-top: 10px; }
}

@media (max-width: 640px) {
  :root { --gut: 16px; --r: 18px; }
  .top { padding-top: 12px; }
  .logo-box { width: 68px; height: 68px; border-radius: 14px; }
  .top__logo { padding: 0 8px 8px 0; }
  .intro { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .intro__img { height: 220px; }
  .intro__bottom { flex-direction: column; align-items: stretch; }
  .intro__btns .btn { flex: 1; padding: 0 16px; }
  .intro__thumb { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sec-head__note { text-align: left; }
  .grid-3 { grid-template-columns: 1fr; }
  .offer__title, .offer__text { padding-left: 62px; }
  .reviews__track { grid-auto-columns: 86%; }
  .footer__cols { gap: 34px 20px; }
  .footer__links--3 { grid-template-columns: repeat(2, auto); }

  .field-row { grid-template-columns: 1fr; gap: 12px; }
  .panel { padding: 16px; }
  .room-info { grid-template-columns: 1fr; }
  .rate { grid-template-columns: 1fr auto; }
  .rate__main { grid-column: 1 / -1; }
  .rate__price { text-align: left; }
}
