/* ===== Премиум / бутик хостел — журнальный минимализм ===== */
:root {
  --bg: #15130f;
  --bg-alt: #1d1a15;
  --text: #ece6da;
  --muted: #a59d8c;
  --accent: #c9a96a;
  --accent-dark: #b3925a;
  --card: #221e18;
  --line: #322c23;
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.8; }
.container { width: min(1200px, 90%); margin-inline: auto; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.1; font-weight: 500; }
a { color: var(--accent); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.btn { display: inline-block; padding: 1rem 2.6rem; border: none; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: all 0.25s ease; }
.btn-primary { background: var(--accent); color: #1a1611; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-block { display: block; width: 100%; }

.section-title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.5rem; color: var(--accent); font-style: italic; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(21,19,15,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0; }
.logo { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.7rem; font-weight: 700; letter-spacing: 0.2em; color: var(--text); display: flex; flex-direction: column; line-height: 1; }
.logo small { font-size: 0.55rem; letter-spacing: 0.35em; color: var(--accent); margin-top: 0.3rem; font-family: 'Inter', sans-serif; text-transform: uppercase; }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--accent); color: var(--accent) !important; padding: 0.5rem 1.3rem; transition: all 0.25s; }
.nav-cta:hover { background: var(--accent); color: #1a1611 !important; }

/* Hero — только типографика, без фоновой картинки */
.hero { position: relative; min-height: 88vh; display: flex; flex-direction: column; justify-content: center; }
.hero-content { max-width: 880px; }
.hero-kicker { text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.8rem; font-weight: 600; color: var(--accent); margin-bottom: 2rem; }
.hero-content h1 { font-size: clamp(2.8rem, 9vw, 6rem); margin-bottom: 2rem; color: #fff; font-weight: 500; }
.hero-content h1 em { color: var(--accent); font-weight: 400; }
.hero-desc { font-size: 1.3rem; margin-bottom: 2.6rem; color: var(--muted); max-width: 600px; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.7rem; color: var(--muted); }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 40px; background: var(--accent); margin: 0.8rem auto 0; }

/* Баннер-полотно */
.banner img { width: 100%; height: 60vh; min-height: 360px; object-fit: cover; }

/* Философия */
.philosophy { padding: 7rem 0; }
.lead { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.6rem, 4vw, 2.6rem); font-style: italic; line-height: 1.4; color: var(--text); max-width: 900px; margin: 0 auto 5rem; text-align: center; }
.philosophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3rem 2.5rem; }
.phil-item span { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--accent); display: block; margin-bottom: 0.8rem; letter-spacing: 0.1em; }
.phil-item h3 { font-size: 1.7rem; color: #fff; margin-bottom: 0.6rem; }
.phil-item p { color: var(--muted); font-size: 0.98rem; line-height: 1.7; }

/* Размещение — крупные чередующиеся ряды */
.rooms { padding: 4rem 0 7rem; }
.rooms .section-title { text-align: center; margin-bottom: 4rem; }
.room-row { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 0; margin-bottom: 5rem; }
.room-row.reverse .room-photo { order: 2; }
.room-photo img { width: 100%; height: 70vh; max-height: 620px; object-fit: cover; }
.room-detail { padding: 3rem clamp(2rem, 5vw, 5rem); }
.room-index { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; color: var(--accent); }
.room-detail h3 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; margin: 0.8rem 0 1.2rem; }
.room-detail p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.5rem; }
.price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--accent) !important; }
.price span { font-size: 1rem; color: var(--muted); font-family: 'Inter', sans-serif; }

/* Галерея — асимметричная сетка */
.gallery-section { padding: 4rem 0 7rem; }
.gallery-section .section-title { text-align: center; margin-bottom: 3rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 1rem; width: min(1200px, 90%); margin-inline: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); filter: brightness(0.82); transition: filter 0.3s ease; cursor: pointer; }
.gallery img:hover { filter: brightness(1.05); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* Бронирование — по центру */
.booking-section { padding: 7rem 0; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.booking-wrap { width: min(720px, 90%); margin-inline: auto; text-align: center; }
.booking-section .section-title { margin-bottom: 0.5rem; }
.booking-sub { color: var(--muted); margin-bottom: 3rem; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; text-align: left; }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 500; margin-bottom: 0.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.req { color: var(--accent); }
.field input, .field select, .field textarea { padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; font-family: inherit; background: #15120e; color: var(--text); transition: border-color 0.2s ease; }
.field input::placeholder, .field textarea::placeholder { color: #6b6356; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field select option { background: #15120e; }
.error-msg { display: none; color: #e0796b; font-size: 0.85rem; margin-top: 0.3rem; }
.field input:user-invalid { border-color: #b3534a; background: #2a1a17; }
.field input:user-invalid ~ .error-msg { display: block; }
.form-success { grid-column: 1 / -1; text-align: center; background: #1f2a1f; color: #8fcf8f; padding: 1rem; border-radius: var(--radius); font-weight: 600; border: 1px solid #2f4a2f; }

/* Подвал */
.site-footer { background: #100e0a; color: var(--muted); padding: 4rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer h3 { color: var(--accent); font-size: 1.8rem; letter-spacing: 0.2em; margin-bottom: 0.75rem; }
.site-footer h4 { color: #fff; margin-bottom: 0.75rem; font-size: 1.3rem; }
.site-footer a { color: var(--accent); }
.site-footer a:hover { color: #fff; }
.copyright { text-align: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; opacity: 0.6; }

/* Адаптив */
@media (max-width: 820px) {
  .room-row { grid-template-columns: 1fr; margin-bottom: 3rem; }
  .room-row.reverse .room-photo { order: 0; }
  .room-photo img { height: 45vh; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery .g-wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .nav { gap: 0.8rem; font-size: 0.9rem; }
  .nav a:not(.nav-cta) { display: none; }
  .booking-form { grid-template-columns: 1fr; }
  .philosophy { padding: 4rem 0; }
  .gallery .g-tall { grid-row: span 1; }
}
