/* Комфорт-Отель «ЧЕРНИКОВКА» — общий стиль внутренних страниц */
:root {
  --primary: #383838;
  --secondary: #C42E2E;
  --secondary-dark: #a32424;
  --text: #101010;
  --muted: #6b6b6b;
  --light: #F3F3F3;
  --bg: #faf9f7;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(16, 16, 16, .08);
  --shadow-lg: 0 10px 30px rgba(16, 16, 16, .14);
  --container: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* Иконки (SVG-спрайт assets/icons.svg) */
.ico {
  width: 1.1em; height: 1.1em;
  display: inline-block; vertical-align: -0.18em;
  flex: none;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--primary);
  color: var(--light);
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--light); text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand b { font-size: 15px; letter-spacing: .4px; display: block; line-height: 1.2; }
.brand small { font-size: 11px; opacity: .75; }
.header-nav { display: flex; gap: 18px; align-items: center; }
.header-nav a { color: var(--light); text-decoration: none; font-size: 14px; opacity: .9; }
.header-nav a:hover { opacity: 1; color: #fff; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { color: #fff; font-weight: 700; text-decoration: none; font-size: 15px; white-space: nowrap; }
.btn {
  display: inline-block; background: var(--secondary); color: #fff !important;
  padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 700;
  font-size: 14px; border: none; cursor: pointer; transition: background .2s;
  text-align: center;
}
.btn:hover { background: var(--secondary-dark); }
.btn-outline {
  background: transparent; border: 2px solid var(--secondary); color: var(--secondary) !important;
}
.btn-outline:hover { background: var(--secondary); color: #fff !important; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--secondary); }

/* Hero */
.room-hero { padding: 18px 0 8px; }
.room-hero h1 { font-size: clamp(26px, 4.2vw, 40px); margin: 8px 0 6px; line-height: 1.15; font-weight: 900; }
.room-hero .subtitle { color: var(--muted); font-size: 16px; margin: 0 0 14px; max-width: 760px; }
.fact-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; padding: 0; list-style: none; }
.fact-chips li {
  background: #fff; border: 1px solid #e5e2dd; border-radius: 999px;
  padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--primary);
}
.fact-chips li span { color: var(--secondary); margin-right: 5px; }

/* Layout: gallery + booking panel */
.room-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; padding: 16px 0 8px; }
@media (max-width: 920px) { .room-layout { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery a:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .35s; }
.gallery a:first-child img { aspect-ratio: 16 / 9; }
.gallery a:hover img { transform: scale(1.03); }

/* Booking panel */
.book-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 20px; position: sticky; top: 76px;
}
.book-card h2 { margin: 0 0 4px; font-size: 18px; }
.book-card .from-price { font-size: 30px; font-weight: 900; color: var(--secondary); }
.book-card .from-price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.price-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.price-table th, .price-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #eee; }
.price-table th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .3px; }
.price-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.price-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 14px; }
.book-card .btn { width: 100%; margin-bottom: 8px; }
.book-trust { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.book-trust span { display: block; margin: 3px 0; }

/* Sections */
.section { padding: 28px 0; }
.section h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin: 0 0 14px; }
.section p { max-width: 820px; }
.lead { font-size: 17px; }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; padding: 0; list-style: none; margin: 16px 0 0; }
.amenities li {
  background: #fff; border-radius: 10px; padding: 12px 14px; font-size: 14px;
  border: 1px solid #eee7e0; display: flex; gap: 10px; align-items: flex-start;
}
.amenities li::before {
  content: "";
  width: 16px; height: 16px; margin-top: 3px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C42E2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Highlight box (одноместное размещение) */
.single-box {
  background: linear-gradient(135deg, #fff 0%, #fdf3f3 100%);
  border: 2px solid var(--secondary); border-radius: var(--radius);
  padding: 20px 22px; margin: 22px 0; box-shadow: var(--shadow);
}
.single-box h3 { margin: 0 0 8px; font-size: 19px; }
.single-box p { margin: 0 0 10px; }
.single-box .price-line { font-size: 17px; font-weight: 800; color: var(--secondary); }

/* Other rooms */
.room-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.room-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.room-card .rc-body { padding: 14px 16px 16px; }
.room-card h3 { margin: 0 0 4px; font-size: 16px; }
.room-card .rc-meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.room-card .rc-price { font-weight: 800; color: var(--secondary); font-size: 15px; }

/* FAQ */
.faq-item { background: #fff; border-radius: 10px; margin-bottom: 10px; border: 1px solid #eee7e0; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 18px; font-size: 15.5px; list-style: none; position: relative; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; color: var(--secondary); font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 18px 14px; font-size: 14.5px; }
.faq-item .faq-body p { margin: 0 0 8px; }

/* Footer */
.site-footer { background: var(--primary); color: #cfcfcf; margin-top: 36px; padding: 34px 0 20px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
.site-footer a { color: #e9c3c3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 16px; font-size: 12.5px; color: #a9a9a9; }

/* Mobile */
@media (max-width: 760px) {
  .header-nav { display: none; }
  .brand b { font-size: 13px; }
  .header-phone { font-size: 13px; }
  .btn-book-header { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .book-card { position: static; }
}

/* Mobile call bar */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.14);
  padding: 10px 14px; gap: 10px;
}
@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 68px; }
}
.mobile-bar .btn { flex: 1; }
