/* Гостевой дом «Ласточка» — стили сайта поверх базовой темы */
:root { --accent: #5bbfbf; --accent-dark: #3a9e9e; --ink: #24313d; }

body { font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: #4a525a; }
h1, h2, h3, h4, h5 { font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; color: var(--ink); }
a { color: var(--accent-dark); }
a:hover, a:focus { color: var(--accent); }
html, body { overflow-x: hidden; }
img { max-width: 100%; }

/* Кнопки */
a.btn_1, .btn_1 { background: var(--accent-dark); font-size: 13px; padding: 10px 22px; letter-spacing: .02em; }
a.btn_1:hover, .btn_1:hover { background: var(--ink); color: #fff; }
.btn_outline { background: transparent !important; color: var(--accent-dark) !important; box-shadow: inset 0 0 0 2px var(--accent-dark); }
.btn_outline:hover { background: var(--accent-dark) !important; color: #fff !important; }
.btn_full { width: 100%; padding: 12px; font-size: 14px; }
.backward, .forward { color: var(--accent-dark) !important; }

/* Прелоадер */
#preloader { position: fixed; inset: 0; background: #fff; z-index: 99999; }
#status { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #888; font-size: 13px; }
#status img { display: block; margin: 0 auto 10px; }

/* Главная: панель справа */
#main_container { box-shadow: -10px 0 40px rgba(0, 0, 0, .18); min-height: 100%; height: auto; }
#logo { padding: 18px 15px 14px; }
#logo img { width: 190px; height: auto; }
nav { background-color: var(--ink); }
nav ul.menu li a { padding: 11px 9px; font-size: 13px; font-weight: 500; }
nav ul.menu li a:hover { background-color: var(--accent-dark); }
#caption { left: 40px; bottom: 40px; right: 360px; }
#caption h1 { font-size: 44px; font-weight: 600; letter-spacing: -.5px; line-height: 1.15; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
#caption h2 { font-size: 22px; font-weight: 400; margin-top: 8px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
#slides:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); pointer-events: none; z-index: 2; }
ul.slides-container li img { opacity: 1; }
#middle-wizard { padding: 20px 20px 10px; }
.title span { color: #999; font-size: 12px; }
.title h3 { font-size: 18px; }
#bottom-wizard { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
#bottom-wizard strong { margin: 0 auto 0 0; float: none; font-size: 12px; line-height: 1.4; font-weight: 500; }
#bottom-wizard strong a { color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
#copy { position: static; padding: 20px; color: #999; font-size: 11px; line-height: 1.5; }
#bookingMessage { font-size: 15px; line-height: 1.5; padding: 0 10px; }
#complete { text-align: center; }
#complete button.submit { background: var(--accent-dark); }
#complete button.submit:hover { background: var(--ink); }
#complete button.submit[disabled] { opacity: .7; cursor: default; }
label.error { color: #c0392b; font-size: 11px; font-weight: 500; margin: 3px 0 0; display: block; }
.dd-select, .dd-container, .dd-options { width: 100% !important; }
.dd-option-description, .dd-selected-description { font-size: 11px; color: #999; }
#website { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ui-progressbar-value { background: var(--accent) !important; }

/* Мобильная обложка на главной */
.mobile_hero { position: relative; }
.mobile_hero img { display: block; width: 100%; height: 210px; object-fit: cover; }
.mobile_hero div { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 20px 14px; color: #fff; font-size: 14px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); }
.mobile_hero b { display: block; font-size: 20px; font-weight: 600; }

/* Окна на главной */
.modal_page { background: #fff; display: none; left: 0; min-height: 100%; position: absolute; right: 0; top: 0; z-index: 997; }

/* Верхняя полоса внутренних страниц и окон */
.top_in { display: flex; align-items: center; gap: 18px; height: auto; min-height: 65px; padding: 10px 20px; margin-bottom: 50px; background: #f1f3f3; }
.top_in .top_logo { flex: 0 0 auto; line-height: 0; }
.top_in img { position: static; width: 65px; height: 39px; }
.top_in h1, .top_in h3 { position: static; flex: 1 1 auto; min-width: 0; margin: 0; font-size: 28px; font-weight: 300; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top_in .modal-close { position: static; flex: 0 0 auto; font-size: 26px; color: #999; line-height: 1; }
.top_in .modal-close:hover { color: var(--ink); }
.top_nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.top_nav a { display: block; padding: 8px 12px; color: var(--ink); font-weight: 500; font-size: 14px; border-radius: 3px; white-space: nowrap; }
.top_nav a:hover, .top_nav a.active { color: #fff; background: var(--accent-dark); text-decoration: none; }
.nav_toggle { display: none; flex: 0 0 auto; width: 42px; height: 42px; border: 0; background: var(--ink); border-radius: 3px; padding: 11px 10px; cursor: pointer; }
.nav_toggle span { display: block; height: 2px; background: #fff; margin: 4px 0; transition: transform .2s, opacity .2s; }
.menu_open .nav_toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu_open .nav_toggle span:nth-child(2) { opacity: 0; }
.menu_open .nav_toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.footer_in { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; background: #f1f3f3; padding: 18px 20px; }
.footer_in strong a { color: var(--ink); }
.footer_copy { color: #888; font-size: 12px; margin-right: auto; }
.footer_in .modal-close { position: static; font-size: 22px; color: #999; }
.inner .footer_in .modal-close { display: none; }
.page_content { min-height: 60vh; }

/* Заголовки секций */
.main_title h2 { letter-spacing: -.5px; }
.main_title span { background-color: var(--accent); }
.main_title p { font-size: 17px; color: #777; }
.box_feat { border-top-color: var(--accent); min-height: 210px; }
.box_feat i { background: var(--accent-dark); }
.box_style_1 h3 { font-size: 20px; }
.container_gray { padding-top: 50px; }

/* Номера */
.room_row { padding: 10px 0; }
h4.styled a { color: var(--ink); }
h4.styled a:hover { color: var(--accent-dark); }
h4.styled strong { color: var(--accent-dark); white-space: nowrap; }
.room_specs { list-style: none; margin: -6px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: #666; font-size: 13px; }
.room_specs i { color: var(--accent-dark); margin-right: 4px; }
.room_specs_big { margin: 22px 0 18px; padding: 14px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; font-size: 14px; }
ul.additional_info { margin: 15px 0 20px; }
ul.additional_info li a { color: #555; }
.room_btns .btn_1 { margin: 0 8px 8px 0; }
.price_table th { background: var(--ink); color: #fff; font-weight: 500; white-space: nowrap; }
.price_table td { white-space: nowrap; }
.price_table td:first-child a { color: var(--ink); font-weight: 600; }
.price_note { color: #777; font-size: 13px; margin-bottom: 50px; }
.carousel .item img { width: 100%; }
.owl-theme .owl-controls .owl-page span { background: var(--ink); }

/* Страница номера */
.breadcrumbs { margin: -25px 0 20px; color: #888; font-size: 13px; }
.lead_p { font-size: 15px; line-height: 1.7; }
.sub_h { font-size: 20px; margin: 28px 0 14px; }
.amen_list, .incl_list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.amen_list i { font-size: 22px; color: var(--accent-dark); vertical-align: middle; margin-right: 8px; }
.incl_list li:before { content: "✓"; color: var(--accent-dark); font-weight: 700; margin-right: 8px; }
.room_side { background: #f7f8f8; border-top: 3px solid var(--accent); padding: 22px; position: sticky; top: 20px; margin-bottom: 30px; }
.room_price { font-size: 15px; color: #666; margin-bottom: 12px; }
.room_price b { font-size: 28px; color: var(--ink); font-weight: 700; }
.season_prices { list-style: none; padding: 0; margin: 0 0 18px; font-size: 13px; }
.season_prices li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dotted #ddd; }
.side_call { margin: 14px 0 0; font-size: 13px; color: #777; }
.side_call a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.other_room { display: block; margin-bottom: 25px; color: var(--ink); }
.other_room img { width: 100%; height: 170px; object-fit: cover; margin-bottom: 8px; }
.other_room b { display: block; font-size: 15px; }
.other_room span { color: var(--accent-dark); font-size: 13px; }
.other_room:hover { text-decoration: none; }
.other_room:hover img { opacity: .9; }

/* Формы */
.form-control { font-family: inherit; }
.form-control.styled { height: 44px; border-radius: 3px; border: 1px solid #e3e3e3; box-shadow: none; background: #fff; }
textarea.form-control.styled { height: auto; }
.has-error .form-control { border-color: #c0392b; }
.form-result { font-size: 14px; margin-top: 10px; }
.form-result.ok { color: #1f7a4d; font-weight: 600; }
.form-result.err { color: #c0392b; }
.datepicker { z-index: 10000 !important; }

/* Блог */
.post { padding: 20px; }
.post h2 { font-size: 22px; line-height: 1.3; }
.post h2 a { color: var(--ink); }
.post_info { background: var(--ink); }
.post-left ul li { margin-right: 14px; }
.post_lead { font-size: 16px; font-weight: 500; color: #333; }
.post_page .post p { font-size: 15px; line-height: 1.75; }
ul#cat_nav_blog li a { color: var(--ink); }
ul#cat_nav_blog li a:hover { color: var(--accent-dark); }
ul.recent_post li a:hover { color: var(--accent-dark); }
.side_book p { margin-bottom: 10px; }
.side_phone { color: var(--ink); font-weight: 700; font-size: 16px; white-space: nowrap; }
.pager.single_post li > a { border-radius: 3px; max-width: 48%; white-space: normal; text-align: left; }
.pager.single_post .next > a { text-align: right; }
#sidebar { margin-bottom: 30px; }

/* Отзывы */
blockquote.testimonial { background: #f3f8f8; }
blockquote.testimonial p, blockquote.testimonial { font-family: "Lora", Georgia, serif; }
.testimonial-arrow-down { border-top-color: #f3f8f8; }
.testimonial-author { width: auto; text-align: center; }
.testimonial-author p { margin: 0; text-align: center; }

/* Контакты */
.map_wrap { height: 380px; margin-bottom: 45px; background: #eef1f1; }
.map_wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
ul#contact_info li { line-height: 1.5; }
ul#reach_us li i { color: var(--accent-dark); }

/* Галерея */
.gal_item { display: block; position: relative; margin-bottom: 30px; overflow: hidden; border-radius: 3px; }
.gal_item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s; }
.gal_item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: 13px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); }
.gal_item:hover img { transform: scale(1.04); }
.lb { position: fixed; inset: 0; z-index: 100000; background: rgba(10, 15, 20, .92); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 50px 60px; }
.lb.on { display: flex; }
.lb img { max-width: 100%; max-height: calc(100vh - 140px); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb p { color: #ddd; margin: 14px 0 0; font-size: 14px; text-align: center; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 46px; line-height: 1; cursor: pointer; padding: 10px; opacity: .8; }
.lb button:hover { opacity: 1; }
.lb_close { top: 6px; right: 14px; }
.lb_prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb_next { right: 6px; top: 50%; transform: translateY(-50%); }
html.lb_lock { overflow: hidden; }

/* Адаптив */
@media (max-width: 1199px) {
  .top_nav a { padding: 8px 9px; font-size: 13px; }
  .top_in h1, .top_in h3 { font-size: 24px; }
}
@media (max-width: 991px) {
  #caption { right: 320px; left: 30px; }
  #caption h1 { font-size: 32px; }
  #caption h2 { font-size: 18px; }
  .top_nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 1000; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
  .top_in { position: relative; }
  .menu_open .top_nav { display: block; }
  .top_nav ul { flex-direction: column; padding: 8px 0; }
  .top_nav a { padding: 13px 20px; font-size: 15px; border-radius: 0; }
  .nav_toggle { display: block; }
  .room_side { position: static; margin-top: 20px; }
  .box_feat { min-height: 0; }
}
@media (max-width: 767px) {
  #main_container { box-shadow: none; }
  #logo { padding: 12px 15px 10px; }
  #logo img { width: 160px; }
  nav ul.menu li a { padding: 11px 8px; }
  .top_in { margin-bottom: 30px; gap: 12px; padding: 10px 15px; }
  .top_in img { width: 50px; height: 30px; }
  .top_in h1, .top_in h3 { font-size: 20px; top: auto; left: auto; }
  .gal_item img { height: 140px; }
  .gal_item { margin-bottom: 20px; }
  .gallery_grid > div { padding-left: 10px; padding-right: 10px; }
  .gallery_grid { margin-left: -10px; margin-right: -10px; }
  .amen_list, .incl_list { grid-template-columns: 1fr; }
  .map_wrap { height: 280px; }
  .footer_in { padding: 15px; }
  .lb { padding: 50px 10px; }
  .lb_prev, .lb_next { top: auto; bottom: 6px; transform: none; }
  .breadcrumbs { margin-top: -10px; }
  h4.styled { font-size: 20px; }
  .main_title h2 { font-size: 24px; }
  .post { padding: 12px; }
  .post h2 { font-size: 19px; }
  .pager.single_post li > a { max-width: 100%; display: block; margin-bottom: 8px; float: none !important; }
}
@media (max-width: 400px) {
  nav ul.menu li a { padding: 11px 6px; font-size: 12.5px; }
  .post-left ul li { margin-right: 8px; }
}

/* Исправления */
#caption h1, #caption h2 { color: #fff; }
nav.top_nav { background: transparent; }
#bottom-wizard strong { order: -1; text-align: left; }
.panel_perks { list-style: none; margin: 0; padding: 18px 20px 0; border-top: 1px solid #ededed; font-size: 13px; color: #555; }
.panel_perks li { padding: 5px 0 5px 26px; position: relative; }
.panel_perks li i { position: absolute; left: 0; top: 5px; color: var(--accent-dark); font-size: 16px; }
@media (max-width: 767px) {
  .top_in h1, .top_in h3 { white-space: normal; font-size: 17px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
.datepicker thead tr:first-child th.prev:before, .datepicker thead tr:first-child th.next:before { color: var(--accent-dark); }
.datepicker td.active, .datepicker td.active:hover { background: var(--accent-dark) !important; color: #fff; }
.room_btns a.btn_1:not(.btn_outline) { background: var(--accent-dark); color: #fff; }
.room_btns a.btn_1:not(.btn_outline):hover { background: var(--ink); }
@media (min-width: 768px) and (max-width: 991px) {
  nav ul.menu li a { padding: 10px 6px; font-size: 12px; }
  .qty-buttons input.qty { font-size: 12px; padding-left: 8px; padding-right: 0; }
}
@media (max-width: 991px) { nav.top_nav { background: #fff; } }
