@import url("base.css");

:root {
  --ink: #251d29;
  --forest: #4a3555;
  --forest-deep: #17121c;
  --paper: #f4efe9;
  --white: #fffaf5;
  --amber: #d7a55c;
  --line: rgba(37, 29, 41, .16);
  --muted: #746a76;
}

.hero-image {
  background-image: url("assets/images/room-polulux-4.jpg");
  background-position: center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(19,13,22,.94) 0%, rgba(24,17,27,.72) 50%, rgba(20,14,22,.18) 82%), linear-gradient(0deg, rgba(18,12,21,.46), transparent 55%);
}

.brand-mark { border-radius: 50%; transform: none; font-family: Georgia, serif; }
.room-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 54px; background: var(--line); border: 1px solid var(--line); }
.room-summary article { padding: 28px 22px; background: var(--white); }
.room-summary span { color: var(--amber); font-size: 11px; font-weight: 700; }
.room-summary h3 { margin: 30px 0 9px; font-size: 19px; }
.room-summary p { margin: 0; color: var(--muted); font-size: 12px; }
.room-summary strong { display: block; margin-top: 16px; font-size: 13px; }

.room-list { display: grid; gap: 22px; }
.room-card { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 430px; background: var(--white); }
.room-card:nth-child(even) .room-card-media { order: 2; }
.room-card-media { position: relative; overflow: hidden; }
.room-card-media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; transition: transform .45s ease; }
.room-card:hover .room-card-media img { transform: scale(1.025); }
.room-card-copy { display: flex; flex-direction: column; justify-content: center; padding: 50px; }
.room-card-copy .number { color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.room-card-copy h2 { margin: 18px 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; font-weight: 500; }
.room-card-copy p { color: var(--muted); }
.room-card-copy ul { padding-left: 18px; color: var(--muted); font-size: 14px; }
.room-price { margin-top: 20px; font-size: 17px; font-weight: 700; }

.hotel-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.hotel-gallery .gallery-button { grid-column: span 4; min-height: 360px; }
.hotel-gallery .gallery-button:nth-child(1), .hotel-gallery .gallery-button:nth-child(6) { grid-column: span 8; }
.hotel-gallery .gallery-button img { width: 100%; height: 100%; min-height: 360px; aspect-ratio: auto; object-fit: cover; }
.hotel-gallery .gallery-button:nth-child(n+6) img { min-height: 430px; }

.fact-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.15); }
.fact-band article { padding: 32px; border-right: 1px solid rgba(255,255,255,.15); }
.fact-band article:last-child { border-right: 0; }
.fact-band strong { display: block; margin-bottom: 18px; color: var(--amber); font-size: 26px; }
.fact-band p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; }

.booking-note { padding: 26px 28px; border-left: 3px solid var(--amber); background: rgba(74,53,85,.08); color: var(--muted); }

/* Небольшая линейная графика для информационных карточек на главной. */
.mini-graphic, .step-graphic { position: relative; height: 84px; margin: 22px 0 8px; color: var(--forest); overflow: hidden; }
.mini-graphic::after, .step-graphic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--amber) 0 28%, currentColor 28% 76%, transparent 76%); opacity: .55; }
.mini-graphic i, .mini-graphic b, .step-graphic i, .step-graphic b { position: absolute; display: block; box-sizing: border-box; }

.icon-clock i { left: 8px; top: 5px; width: 61px; height: 61px; border: 1px solid currentColor; border-radius: 50%; }
.icon-clock i::before, .icon-clock i::after { content: ""; position: absolute; left: 29px; top: 13px; width: 1px; height: 19px; background: currentColor; transform-origin: bottom; }
.icon-clock i::after { height: 16px; transform: rotate(125deg); }
.icon-clock b { left: 34px; top: 34px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); transform: translate(-50%, -50%); }

.icon-location i { left: 17px; top: 5px; width: 45px; height: 45px; border: 1px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.icon-location i::after { content: ""; position: absolute; left: 14px; top: 14px; width: 13px; height: 13px; border: 1px solid var(--amber); border-radius: 50%; }
.icon-location b { left: 54px; top: 58px; width: 49%; height: 1px; background: repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 12px); opacity: .55; }

.icon-room i { left: 7px; top: 30px; width: 79px; height: 30px; border: 1px solid currentColor; border-radius: 2px 2px 0 0; }
.icon-room i::before { content: ""; position: absolute; left: -1px; top: -18px; width: 16px; height: 48px; border: 1px solid currentColor; border-bottom: 0; }
.icon-room i::after { content: ""; position: absolute; left: 22px; top: 7px; width: 23px; height: 12px; border: 1px solid var(--amber); border-radius: 8px 8px 2px 2px; }
.icon-room b { left: 18px; top: 60px; width: 2px; height: 8px; background: currentColor; box-shadow: 63px 0 0 currentColor; }

.icon-laundry i { left: 10px; top: 3px; width: 56px; height: 63px; border: 1px solid currentColor; border-radius: 2px; }
.icon-laundry i::before { content: ""; position: absolute; left: 9px; top: 20px; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 7px rgba(74,53,85,.08); }
.icon-laundry i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 10px; height: 1px; background: currentColor; opacity: .45; }
.icon-laundry b { left: 51px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }

.step-graphic { height: 76px; margin-top: 24px; }
.step-select i { left: 4px; top: 7px; width: 38px; height: 46px; border: 1px solid currentColor; box-shadow: 13px 9px 0 -1px var(--paper), 13px 9px 0 0 currentColor; }
.step-select i::before { content: ""; position: absolute; left: 7px; top: 8px; width: 23px; height: 12px; background: rgba(74,53,85,.1); }
.step-select b { left: 52px; top: 35px; width: 23px; height: 12px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }

.step-call i { left: 16px; top: 3px; width: 42px; height: 58px; border: 1px solid currentColor; border-radius: 7px; }
.step-call i::before { content: ""; position: absolute; left: 12px; right: 12px; top: 7px; height: 1px; background: currentColor; opacity: .45; }
.step-call i::after { content: ""; position: absolute; left: 18px; bottom: 5px; width: 5px; height: 5px; border: 1px solid var(--amber); border-radius: 50%; }
.step-call b { left: 68px; top: 12px; width: 36%; height: 35px; border-top: 1px dashed currentColor; border-right: 1px dashed currentColor; opacity: .5; }

.step-confirm i { left: 9px; top: 3px; width: 52px; height: 58px; border: 1px solid currentColor; }
.step-confirm i::before { content: ""; position: absolute; left: 10px; right: 10px; top: 13px; height: 1px; background: currentColor; box-shadow: 0 10px 0 rgba(74,53,85,.5), 0 20px 0 rgba(74,53,85,.3); }
.step-confirm b { left: 54px; top: 35px; width: 26px; height: 13px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }

.step-arrive i { left: 5px; top: 35px; width: 65%; height: 22px; border-top: 1px dashed currentColor; border-right: 1px dashed currentColor; border-radius: 0 18px 0 0; opacity: .65; }
.step-arrive i::before { content: ""; position: absolute; left: -3px; top: -4px; width: 8px; height: 8px; border: 1px solid var(--amber); border-radius: 50%; background: var(--paper); }
.step-arrive b { right: 18%; top: 2px; width: 31px; height: 31px; border: 1px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.step-arrive b::after { content: ""; position: absolute; left: 10px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.service-strip h3 { margin-top: 13px; }
.process-grid li { min-height: 335px; }
.process-grid h3 { margin-top: 14px; }

@media (max-width: 980px) {
  .room-summary { grid-template-columns: repeat(2, 1fr); }
  .room-summary article:last-child { grid-column: 1 / -1; }
  .room-card { grid-template-columns: 1fr; }
  .room-card:nth-child(even) .room-card-media { order: 0; }
  .hotel-gallery .gallery-button, .hotel-gallery .gallery-button:nth-child(1), .hotel-gallery .gallery-button:nth-child(6) { grid-column: span 6; }
  .fact-band { grid-template-columns: repeat(2, 1fr); }
  .fact-band article:nth-child(2) { border-right: 0; }
  .fact-band article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
}

@media (max-width: 650px) {
  .room-summary, .fact-band { grid-template-columns: 1fr; }
  .room-summary article:last-child { grid-column: auto; }
  .room-card-copy { padding: 34px 26px; }
  .hotel-gallery .gallery-button, .hotel-gallery .gallery-button:nth-child(1), .hotel-gallery .gallery-button:nth-child(6) { grid-column: 1 / -1; min-height: 300px; }
  .fact-band article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
}
