﻿/*
 * File: styles/css/style.css
 * Project: avrora26
 * Role: Main public stylesheet
 * Used in: index.php and public pages
 * Depends on: shared public components and templates
 * Author: Team Avrora
 * Last updated: 12.02.2026
 */

/* Ð˜Ð¼Ð¿Ð¾Ñ€Ñ‚ Ð½Ð¾Ð²Ñ‹Ñ… ÑˆÑ€Ð¸Ñ„Ñ‚Ð¾Ð² */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&family=Roboto:wght@400;700&display=swap');

/* Ð¡Ð±Ñ€Ð¾Ñ ÑÑ‚Ð¸Ð»ÐµÐ¹ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}
/* ÐžÑÐ½Ð¾Ð²Ð½Ð¾Ð¹ Ñ‚ÐµÐºÑÑ‚ â€“ Roboto */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  color: #333;
}

:root {
  /* JS sets this on mobile to the computed .mobile-header height */
  --mobile-header-h: 0px;
  /* Mobile header vertical padding (design token). */
  --mobile-header-pad-y: 28px;
  /* JS sets this on desktop to the computed .header height (fixed header compensation). */
  --desktop-header-h: 140px;
}

/* ÐžÑÐ½Ð¾Ð²Ð½Ñ‹Ðµ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸ â€“ PT Serif */
h1, h2, h3, .logo, .section-title, .card-title, .menu-groups a, .site-menu ul li a {
  font-family: 'PT Serif', serif;
}


/* ÐšÐ½Ð¾Ð¿ÐºÐ¸ Ð¸ ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚Ñ‹ Ð¸Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹ÑÐ° â€“ Poppins */
button,
.button,
.auth-buttons a,
.mobile-auth-buttons a {
  display: inline-block;
  padding: 8px 16px;         /* Ð¼Ð¾Ð¶Ð½Ð¾ ÑÐºÐ¾Ñ€Ñ€ÐµÐºÑ‚Ð¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒ Ð¿Ð¾ Ð´Ð¸Ð·Ð°Ð¹Ð½Ñƒ */
  border: 1px solid #000;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  border-radius: 20px;       /* Ð²Ð¾Ñ‚ ÑÑ‚Ð¾ Ñ€Ð°Ð´Ð¸ÑƒÑ */
  transition: background 0.3s ease, transform 0.3s ease;
}
/* Ð¥Ð¾Ð²ÐµÑ€-ÑÑ„Ñ„ÐµÐºÑ‚ (ÐµÑÐ»Ð¸ Ð½ÑƒÐ¶Ð½Ð¾ Ñ‚Ð¾Ñ‚ Ð¶Ðµ) */
.auth-buttons a:hover,
.mobile-auth-buttons a:hover {
  background-color: #ccc;
  transform: scale(1.05);
}

/* Auth buttons: "Личный кабинет" uses the same base styling as other auth links. */
.auth-buttons a.cabinet,
.mobile-auth-buttons a.cabinet {
  /* no special styling for now; selector keeps future tweaks isolated */
}

.container {
  width: 980px;
  margin: 0 auto;
}

/* HEADER: Ð¾Ð±ÑŠÐµÐ´Ð¸Ð½Ñ‘Ð½Ð½Ð¾Ðµ Ð²ÐµÑ€Ñ…Ð½ÐµÐµ Ð¼ÐµÐ½ÑŽ Ñ Ð½Ð°Ð²Ð¸Ð³Ð°Ñ†Ð¸ÐµÐ¹ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Ð’ÐµÑ€Ñ…Ð½ÑÑ Ñ‡Ð°ÑÑ‚ÑŒ Ñ…ÐµÐ´ÐµÑ€Ð° */
.top-menu {
  background-color: #fff; /* Ð±ÐµÐ»Ñ‹Ð¹ Ñ„Ð¾Ð½ */
  padding: 10px 0;
}
.top-menu .container {
  width: 980px;
  margin: 0 auto;
  /* Ð¼Ð¾Ð¶Ð½Ð¾ Ð´Ð¾Ð±Ð°Ð²Ð¸Ñ‚ÑŒ padding, ÐµÑÐ»Ð¸ Ð½ÑƒÐ¶Ð½Ð¾ ÑƒÐ¼ÐµÐ½ÑŒÑˆÐ¸Ñ‚ÑŒ Ð¾Ð±Ñ‰ÑƒÑŽ ÑˆÐ¸Ñ€Ð¸Ð½Ñƒ */
  /* padding: 0 20px; */
}

/* Ð“Ñ€ÑƒÐ¿Ð¿Ñ‹ ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚Ð¾Ð² Ð¼ÐµÐ½ÑŽ */
.menu-groups {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ÐœÐ¾Ð¶Ð½Ð¾ Ð·Ð°Ð´Ð°Ñ‚ÑŒ Ð¾Ð±Ñ‰Ð¸Ð¹ ÑÑ‚Ð¸Ð»ÑŒ Ð´Ð»Ñ Ð³Ñ€ÑƒÐ¿Ð¿, ÐµÑÐ»Ð¸ Ð¿Ð¾Ñ‚Ñ€ÐµÐ±ÑƒÐµÑ‚ÑÑ */
.group {
  display: flex;
  align-items: center;
}

/* Ð“Ñ€ÑƒÐ¿Ð¿Ð° Ð»Ð¾Ð³Ð¾Ñ‚Ð¸Ð¿Ð° â€“ Ð¿Ñ€Ð¸Ð¶Ð°Ñ‚Ð° Ðº Ð»ÐµÐ²Ð¾Ð¼Ñƒ ÐºÑ€Ð°ÑŽ (Ð¿Ð¾ ÑƒÐ¼Ð¾Ð»Ñ‡Ð°Ð½Ð¸ÑŽ) */
.group-logo {
  /* Ð”Ð¾Ð¿Ð¾Ð»Ð½Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ðµ ÑÑ‚Ð¸Ð»Ð¸ Ð¿Ñ€Ð¸ Ð½ÐµÐ¾Ð±Ñ…Ð¾Ð´Ð¸Ð¼Ð¾ÑÑ‚Ð¸ */
}

/* Ð“Ñ€ÑƒÐ¿Ð¿Ð° ÐºÐ½Ð¾Ð¿Ð¾Ðº â€“ Ð¿Ñ€Ð¸Ð¶Ð°Ñ‚Ð° Ðº Ð¿Ñ€Ð°Ð²Ð¾Ð¼Ñƒ ÐºÑ€Ð°ÑŽ */
.group-buttons {
  /* Ð•ÑÐ»Ð¸ Ð¿Ð¾Ñ‚Ñ€ÐµÐ±ÑƒÐµÑ‚ÑÑ, Ð¼Ð¾Ð¶Ð½Ð¾ Ð·Ð°Ð´Ð°Ñ‚ÑŒ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ðµ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿Ñ‹ */
}

.top-menu .menu-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #000; /* Ñ‡Ñ‘Ñ€Ð½Ð°Ñ Ñ€Ð°Ð·Ð´ÐµÐ»Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ð°Ñ Ð»Ð¸Ð½Ð¸Ñ */
  padding-bottom: 5px;
}

.top-menu .logo img {
  max-height: 50px;
}
.top-menu .contact-info {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.weather-widget {
  cursor: pointer;
  padding: 5px 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.weather-widget:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.05);
}

/* ÐšÐ½Ð¾Ð¿ÐºÐ¸ "Ð’Ñ…Ð¾Ð´" Ð¸ "Ð ÐµÐ³Ð¸ÑÑ‚Ñ€Ð°Ñ†Ð¸Ñ" */
.top-menu .auth-buttons {
  margin-left: auto; /* Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ðµ Ð¿Ð¾ Ð¿Ñ€Ð°Ð²Ð¾Ð¼Ñƒ ÐºÑ€Ð°ÑŽ */
}
.top-menu .auth-buttons a {
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #000;
  color: #000;
  background: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}
.top-menu .auth-buttons a:hover {
  transform: scale(1.05);
  background-color: #ccc;
}

/* Ð Ð°Ð·Ð´ÐµÐ»Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ð°Ñ Ð»Ð¸Ð½Ð¸Ñ: 90% ÑˆÐ¸Ñ€Ð¸Ð½Ñ‹, Ñ†ÐµÐ½Ñ‚Ñ€Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð° */
.separator {
  width: 100%;
  border-bottom: 1px solid #000;
  margin: 10px auto 0;
}

.top-menu .social-icons a {
  margin-left: 10px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.top-menu .social-icons a:hover {
  transform: scale(1.1);
}

/* ÐÐ°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ, Ð¸Ð½Ñ‚ÐµÐ³Ñ€Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ð°Ñ Ð² Ñ…ÐµÐ´ÐµÑ€ */
.site-menu-wrapper {
  background-color: #fff; /* Ð±ÐµÐ»Ñ‹Ð¹ Ñ„Ð¾Ð½ */
}
.site-menu-wrapper .container {
  display: flex;
  justify-content: center;
}

.site-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}
.site-menu ul li {
  position: relative;
}
.site-menu ul li a {
  color: #000; /* Ñ‡Ñ‘Ñ€Ð½Ñ‹Ð¹ Ñ‚ÐµÐºÑÑ‚ */
  text-decoration: none;
  padding: 15px 0;
  display: block;
  transition: color 0.3s ease, transform 0.3s ease;
}
.site-menu ul li a:hover {
  color: #555;
  transform: scale(1.05);
}
/* Ð¡Ð±Ñ€Ð°ÑÑ‹Ð²Ð°ÐµÐ¼ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿Ñ‹ Ð¸ Ð¼Ð°Ñ€ÐºÐµÑ€Ñ‹ Ñƒ ÑÐ¿Ð¸ÑÐºÐ¾Ð² */
/* Ð¡Ð±Ñ€Ð°ÑÑ‹Ð²Ð°ÐµÐ¼ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿Ñ‹ Ð¸ Ð¼Ð°Ñ€ÐºÐµÑ€Ñ‹ Ñƒ ÑÐ¿Ð¸ÑÐºÐ¾Ð² */
/* Ð¡Ð±Ñ€Ð°ÑÑ‹Ð²Ð°ÐµÐ¼ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿Ñ‹ Ð¸ Ð¼Ð°Ñ€ÐºÐµÑ€Ñ‹ */
.site-menu ul,
.site-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Ð¡ÑÑ‹Ð»ÐºÐ¸ Ð²Ð½ÑƒÑ‚Ñ€Ð¸ Ð¼ÐµÐ½ÑŽ â€“ Ð±Ð»Ð¾Ñ‡Ð½Ñ‹Ð¹ ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚ */
.site-menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #000;
  transition: background 0.3s ease;
}


/* Ð Ð¾Ð´Ð¸Ñ‚ÐµÐ»ÑŒÑÐºÐ¸Ð¹ ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚ Ð´Ð»Ñ Ð¿Ð¾Ð´Ð¼ÐµÐ½ÑŽ */
.site-menu .has-submenu {
  position: relative;
}

/* Ð‘Ð°Ð·Ð¾Ð²Ñ‹Ðµ ÑÑ‚Ð¸Ð»Ð¸ Ð´Ð»Ñ Ð¿Ð¾Ð´Ð¼ÐµÐ½ÑŽ */
.site-menu .submenu {
  display: none;
  position: absolute;
  background: #f0f0f0;
  width: 200px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  z-index: 999;
}

/* ÐŸÐµÑ€Ð²Ñ‹Ð¹ ÑƒÑ€Ð¾Ð²ÐµÐ½ÑŒ Ð¿Ð¾Ð´Ð¼ÐµÐ½ÑŽ: Ð²Ñ‹Ð¿Ð°Ð´Ð°ÐµÑ‚ Ð²Ð½Ð¸Ð· Ð¾Ñ‚Ð½Ð¾ÑÐ¸Ñ‚ÐµÐ»ÑŒÐ½Ð¾ Ñ€Ð¾Ð´Ð¸Ñ‚ÐµÐ»Ñ */
.site-menu > ul > li.has-submenu:hover > .submenu {
  display: block;
  top: 100%;
  left: 0;
}

/* Ð’Ñ‚Ð¾Ñ€Ð¾Ð¹ Ð¸ Ð±Ð¾Ð»ÐµÐµ Ð³Ð»ÑƒÐ±Ð¾ÐºÐ¸Ðµ ÑƒÑ€Ð¾Ð²Ð½Ð¸ Ð¿Ð¾Ð´Ð¼ÐµÐ½ÑŽ: Ð²Ñ‹Ð¿Ð°Ð´Ð°ÑŽÑ‚ ÑÐ¿Ñ€Ð°Ð²Ð° Ð¾Ñ‚ Ñ€Ð¾Ð´Ð¸Ñ‚ÐµÐ»ÑŒÑÐºÐ¾Ð³Ð¾ Ð¿ÑƒÐ½ÐºÑ‚Ð° */
.site-menu .submenu .has-submenu {
  position: relative;
}
.site-menu .submenu .has-submenu:hover > .submenu {
  display: block;
  top: 0;       /* Ð’Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°ÐµÐ¼ Ð¿Ð¾ Ð²ÐµÑ€Ñ…Ð½ÐµÐ¼Ñƒ ÐºÑ€Ð°ÑŽ Ñ€Ð¾Ð´Ð¸Ñ‚ÐµÐ»ÑŒÑÐºÐ¾Ð³Ð¾ Ð¿ÑƒÐ½ÐºÑ‚Ð° */
  left: 100%;   /* Ð’Ñ‹Ð¿Ð°Ð´Ð°ÐµÑ‚ ÑÐ¿Ñ€Ð°Ð²Ð° */
  background: #e0e0e0; /* Ð”Ð»Ñ Ð²Ð¸Ð·ÑƒÐ°Ð»ÑŒÐ½Ð¾Ð³Ð¾ Ñ€Ð°Ð·Ð´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¼Ð¾Ð¶Ð½Ð¾ Ð¸Ð·Ð¼ÐµÐ½Ð¸Ñ‚ÑŒ Ñ„Ð¾Ð½ */
}

/* ÐžÐ±Ñ‰ÐµÐµ Ð¿Ñ€Ð°Ð²Ð¸Ð»Ð¾ Ð´Ð»Ñ Ð¾Ñ‚Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð´Ð¼ÐµÐ½ÑŽ Ð¿Ñ€Ð¸ Ð½Ð°Ð²ÐµÐ´ÐµÐ½Ð¸Ð¸ (ÐµÑÐ»Ð¸ Ð½ÐµÐ¾Ð±Ñ…Ð¾Ð´Ð¸Ð¼Ð¾) */
/* ÐœÐ¾Ð¶Ð½Ð¾ ÑƒÐ´Ð°Ð»Ð¸Ñ‚ÑŒ ÑÑ‚Ñƒ ÑÑ‚Ñ€Ð¾ÐºÑƒ, ÐµÑÐ»Ð¸ Ð¾Ð½Ð° ÐºÐ¾Ð½Ñ„Ð»Ð¸ÐºÑ‚ÑƒÐµÑ‚ Ñ Ð±Ð¾Ð»ÐµÐµ ÑÐ¿ÐµÑ†Ð¸Ñ„Ð¸Ñ‡Ð½Ñ‹Ð¼Ð¸ Ð¿Ñ€Ð°Ð²Ð¸Ð»Ð°Ð¼Ð¸ Ð²Ñ‹ÑˆÐµ */
/* .site-menu .has-submenu:hover > .submenu {
  display: block;
} */

/* ÐžÑ‚ÑÑ‚ÑƒÐ¿Ñ‹ Ð´Ð»Ñ Ð¿ÑƒÐ½ÐºÑ‚Ð¾Ð² Ð²Ð½ÑƒÑ‚Ñ€Ð¸ Ð¿Ð¾Ð´Ð¼ÐµÐ½ÑŽ */
.site-menu .submenu li {
  padding: 5px 15px;
}




/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ð¾Ðµ Ð¼ÐµÐ½ÑŽ (ÑˆÐ°Ð¿ÐºÐ°) */
.mobile-header {
  display: none;
  background-color: #fff; /* Ð±ÐµÐ»Ñ‹Ð¹ Ñ„Ð¾Ð½ */
  padding: 10px 0;
  animation: fadeIn 0.5s ease-in-out;
}
.mobile-header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}
.mobile-header .mobile-hamburger { margin-left: auto; }

.mobile-header .mobile-weather-inline {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
}
.mobile-header .mobile-weather-inline:hover {
  background: rgba(0,0,0,0.06);
}
.mobile-header .mobile-logo img {
  max-height: 50px;
  display: block; /* avoid baseline whitespace under inline images on mobile header */
}
.mobile-header .mobile-hamburger button {
  background: none;
  border: none;
  padding: 0; /* override global button padding so header height is not inflated */
  font-size: 24px;
  line-height: 1; /* prevents extra vertical whitespace around the hamburger glyph */
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #000; /* Ñ‡Ñ‘Ñ€Ð½Ñ‹Ð¹ Ñ†Ð²ÐµÑ‚ */
}
.mobile-header .mobile-hamburger button:hover {
  transform: scale(1.1);
}

/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ð¾Ðµ Ð²Ñ‹Ð¿Ð°Ð´Ð°ÑŽÑ‰ÐµÐµ Ð¼ÐµÐ½ÑŽ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff; /* Ð±ÐµÐ»Ñ‹Ð¹ Ñ„Ð¾Ð½ */
  color: #000; /* Ñ‡Ñ‘Ñ€Ð½Ñ‹Ð¹ Ñ‚ÐµÐºÑÑ‚ */
  padding: 20px;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}
.mobile-menu.active {
  transform: translateY(0);
}

/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ð¾Ðµ Ð¼ÐµÐ½ÑŽ: Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº Ñ Ð²Ð¸Ð´Ð¶ÐµÑ‚Ð¾Ð¼ Ð¿Ð¾Ð³Ð¾Ð´Ñ‹ Ð¸ ÐºÐ½Ð¾Ð¿ÐºÐ¾Ð¹ Ð·Ð°ÐºÑ€Ñ‹Ñ‚Ð¸Ñ */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #000;
}
.mobile-weather-widget {
  font-size: 16px;
  color: #000;
}
.mobile-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #000;
  cursor: pointer;
}

/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ð¾Ðµ Ð¼ÐµÐ½ÑŽ: Ð½Ð°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ñ Ð¸ Ð¿Ð¾Ð´Ð¼ÐµÐ½ÑŽ */
.mobile-menu .mobile-site-menu ul {
  list-style: none;
}
.mobile-menu .mobile-site-menu ul li {
  margin-bottom: 10px;
  position: relative;
}
.mobile-menu .mobile-site-menu ul li a {
  color: #000;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.mobile-menu .mobile-site-menu ul li a:hover {
  color: #555;
  transform: scale(1.05);
}
/* ÐšÐ½Ð¾Ð¿ÐºÐ° Ð´Ð»Ñ Ð¿ÐµÑ€ÐµÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð´Ð¼ÐµÐ½ÑŽ Ð² Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ð¾Ð¹ Ð²ÐµÑ€ÑÐ¸Ð¸ */
.mobile-menu .has-submenu .submenu-toggle {
  background: none;
  border: none;
  color: #000;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
}
/* Ð¡ÐºÑ€Ñ‹Ð²Ð°ÐµÐ¼ Ð¿Ð¾Ð´Ð¼ÐµÐ½ÑŽ Ð² Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ð¾Ð¼ Ð¼ÐµÐ½ÑŽ Ð¿Ð¾ ÑƒÐ¼Ð¾Ð»Ñ‡Ð°Ð½Ð¸ÑŽ */
.mobile-menu .mobile-site-menu .submenu {
  display: none;
  background: #f0f0f0;
  list-style: none;
  padding: 5px 10px;
  margin-top: 5px;
}
.mobile-menu .mobile-site-menu .submenu.active {
  display: block;
}

/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ð¾Ðµ Ð¼ÐµÐ½ÑŽ: ÐºÐ¾Ð½Ñ‚Ð°ÐºÑ‚Ñ‹ Ð¸ ÑÐ¾Ñ†ÑÐµÑ‚Ð¸ */
.mobile-menu .mobile-contacts,
.mobile-menu .mobile-social-icons {
  margin-top: 15px;
}

/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ðµ ÐºÐ½Ð¾Ð¿ÐºÐ¸ Ð²Ñ…Ð¾Ð´Ð°/Ñ€ÐµÐ³Ð¸ÑÑ‚Ñ€Ð°Ñ†Ð¸Ð¸ */
.mobile-auth-buttons {
  padding: 0 10px;
  margin: 10px 0;
}
.mobile-auth-buttons a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  border: 1px solid #000;
  color: #000;
  background: #fff;
  margin-bottom: 10px;
  text-decoration: none;
}
.mobile-auth-buttons a:last-child {
  margin-bottom: 0;
}


/* ÐÐ½Ð¸Ð¼Ð°Ñ†Ð¸Ñ Ð¿Ð¾ÑÐ²Ð»ÐµÐ½Ð¸Ñ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.content {
  /* Desktop fixed header compensation (no magic numbers in layout; JS keeps it in sync). */
  padding-top: var(--desktop-header-h, 140px);
}

@media (max-width: 999px) {
  .content {
    /* Fixed mobile header is compensated via body padding-top (var --mobile-header-h). */
    padding-top: 0;
  }
}

/* ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð²Ð½Ð¾ÑÑ‚ÑŒ */
@media (max-width: 1024px) {
  .container {
    width: 90%;
  }
}
@media (max-width: 999px) {
  /* ÐÐ° Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ñ… ÑƒÑÑ‚Ñ€Ð¾Ð¹ÑÑ‚Ð²Ð°Ñ… Ð´ÐµÑÐºÑ‚Ð¾Ð¿Ð½Ñ‹Ð¹ Ñ…ÐµÐ´ÐµÑ€ ÑÐºÑ€Ñ‹Ð²Ð°ÐµÑ‚ÑÑ, Ð¿Ð¾ÐºÐ°Ð·Ñ‹Ð²Ð°ÐµÑ‚ÑÑ Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ð°Ñ ÑˆÐ°Ð¿ÐºÐ° */
  .header,
  .site-menu-wrapper {
    display: none;
  }
  .mobile-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    z-index: 1100;

    /* Taller mobile header: symmetric padding + iPhone safe-area */
    padding-top: calc(var(--mobile-header-pad-y) + env(safe-area-inset-top, 0px));
    padding-bottom: var(--mobile-header-pad-y);
  }

  .mobile-menu {
    display: block;
  }

  body {
    padding-top: var(--mobile-header-h);
  }

  /* Home hero: let the video start higher (under fixed mobile header). */
  .video-preview {
    margin-top: calc(-1 * var(--mobile-header-h));
    height: 100vh;
    height: 100svh; /* modern mobile viewport units */
  }
}

/* Ð’Ð¸Ð´Ð¶ÐµÑ‚ Ð¿Ð¾Ð³Ð¾Ð´Ñ‹: Ð²ÑÐ¿Ð»Ñ‹Ð²Ð°ÑŽÑ‰ÐµÐµ Ð¾ÐºÐ½Ð¾ */
/* Ð’Ð¸Ð´Ð¶ÐµÑ‚ Ð¿Ð¾Ð³Ð¾Ð´Ñ‹: Ð²ÑÐ¿Ð»Ñ‹Ð²Ð°ÑŽÑ‰ÐµÐµ Ð¾ÐºÐ½Ð¾ */
/* Ð’Ð¸Ð´Ð¶ÐµÑ‚ Ð¿Ð¾Ð³Ð¾Ð´Ñ‹: Ð²ÑÐ¿Ð»Ñ‹Ð²Ð°ÑŽÑ‰ÐµÐµ Ð¾ÐºÐ½Ð¾ */
/* Ð’Ð¸Ð´Ð¶ÐµÑ‚ Ð¿Ð¾Ð³Ð¾Ð´Ñ‹: Ð²ÑÐ¿Ð»Ñ‹Ð²Ð°ÑŽÑ‰ÐµÐµ Ð¾ÐºÐ½Ð¾ */
.weather-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.weather-popup.active {
  display: flex;
}
.weather-popup-content {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}
.weather-popup-content h2 {
  margin-bottom: 15px;
}
.weather-popup-content .close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.forecast-item {
  margin-bottom: 10px;
  padding: 5px;
  background: #E8F5E9;
  border-radius: 4px;
}

/* Ð’Ð¸Ð´ÐµÐ¾-Ð¿Ñ€ÐµÐ²ÑŒÑŽ - Ð·Ð°Ð½Ð¸Ð¼Ð°ÐµÑ‚ Ð²ÐµÑÑŒ ÑÐºÑ€Ð°Ð½ Ð¿Ð¾Ð´ Ñ…ÐµÐ´ÐµÑ€Ð¾Ð¼ */
/* Ð’Ð¸Ð´ÐµÐ¾-Ð¿Ñ€ÐµÐ²ÑŒÑŽ - Ð·Ð°Ð½Ð¸Ð¼Ð°ÐµÑ‚ Ð²ÐµÑÑŒ ÑÐºÑ€Ð°Ð½ Ð¿Ð¾Ð´ Ñ…ÐµÐ´ÐµÑ€Ð¾Ð¼ */
/* â€”â€”â€” Ð¢ÐµÐ½Ð¸ Ð´Ð»Ñ Ñ‚ÐµÐºÑÑ‚Ð° â€”â€”â€” */
.overlay-region,
/* â€”â€”â€” Ð¢ÐµÐ½Ð¸ Ð¸ Ñ€Ð°Ð·Ð¼ÐµÑ€ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ñ â€”â€”â€” */
.overlay-text {
  font-size: 1.3rem;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 1.5em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.4);
}


/* â€”â€”â€” Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº â€”â€”â€” */
.overlay-title {
  font-size: 3rem;
  line-height: 1.1;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.4);
}

/* â€”â€”â€” ÐšÐ¾Ð½Ñ‚ÐµÐ¹Ð½ÐµÑ€ Ð²Ð¸Ð´ÐµÐ¾ â€”â€”â€” */
.video-preview {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* â€”â€”â€” ÐžÐ²ÐµÑ€Ð»ÐµÐ¹ Ñ Ñ†ÐµÐ½Ñ‚Ñ€Ð¾Ð²ÐºÐ¾Ð¹ â€”â€”â€” */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

/* â€”â€”â€” Ð‘Ð»Ð¾Ðº Ñ Ñ‚ÐµÐºÑÑ‚Ð¾Ð¼ Ð¸ ÐºÐ½Ð¾Ð¿ÐºÐ°Ð¼Ð¸ â€”â€”â€” */
.overlay-content {
  pointer-events: all;
  text-align: center;
  max-width: 90%;
  color: #fff;
}

/* â€”â€”â€” ÐšÐ½Ð¾Ð¿ÐºÐ¸ Ð² Ð¾Ð²ÐµÑ€Ð»ÐµÐµ â€”â€”â€” */
/* Ð£Ð±Ð¸Ñ€Ð°ÐµÐ¼ Ð¿Ð¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹ Ñ„Ð¾Ð½ Ð·Ð° ÐºÐ½Ð¾Ð¿ÐºÐ°Ð¼Ð¸ */
.overlay-buttons {
  background: none !important;
  padding: 0 !important;    /* ÐµÑÐ»Ð¸ Ð½Ðµ Ð½ÑƒÐ¶ÐµÐ½ Ð²Ð½ÑƒÑ‚Ñ€ÐµÐ½Ð½Ð¸Ð¹ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿ */
  margin-top: 1em;          /* Ð¾ÑÑ‚Ð°Ð²Ð»ÑÐµÐ¼ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿ ÑÐ²ÐµÑ€Ñ…Ñƒ */
  display: inline-flex;
  gap: 1rem;
  pointer-events: all;
}

.overlay-buttons a {
  pointer-events: all;
}

/* â€”â€”â€” Ð¡Ñ‚Ð¸Ð»Ð¸ ÐºÐ½Ð¾Ð¿Ð¾Ðº â€”â€”â€” */
.btn {
  padding: 0.7em 1.5em;
  background: #00A88E;
  color: #fff;
  border-radius: 0.4em;
  text-decoration: none;
  transition: background 0.3s;
  box-shadow: none !important;
}
.btn:hover {
  background: #008C6A;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  box-shadow: none !important;
}
.btn-outline:hover {
  background: #fff;
  color: #00A88E;
}

.load-more-wrapper .load-more-btn,
.load-more-wrapper .show-all-btn {
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 5px;
}

.load-more-wrapper {
  text-align: center;
  margin-top: 20px;
}

.hidden {
  display: none;
}


/* --- ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ¸ (Ð½Ð¾Ð¼ÐµÑ€Ð½Ð¾Ð¹ Ñ„Ð¾Ð½Ð´) --- */
/* --- ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ¸ (Ð½Ð¾Ð¼ÐµÑ€Ð½Ð¾Ð¹ Ñ„Ð¾Ð½Ð´) --- */
.cards-section {
  padding: 10px 0;
  
  background: #fff;
}

.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card.hidden {
  display: none;
}

.card:hover {
  transform: translateY(-5px);
}

.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.favorite-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 20px;
  color: #e74c3c;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px 8px;
}

.card-content {
  padding: 15px 15px 15px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;               /* Ð·Ð°Ð½Ð¸Ð¼Ð°ÐµÑ‚ Ð²ÑÑ‘ ÑÐ²Ð¾Ð±Ð¾Ð´Ð½Ð¾Ðµ Ð¼ÐµÑÑ‚Ð¾ */
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-bottom: 8px;
}

.card-info {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.card-price {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #00a88e;
  padding: 8px 10px;
  border-radius: 4px;
  text-align: center;
}
.card-buttons {
  display: flex;
  margin-top: auto;   /* ÑƒÐ¶Ðµ ÐµÑÑ‚ÑŒ */
  /* ÑƒÐ±Ð¸Ñ€Ð°ÐµÐ¼ Ð¿Ñ€Ð¾Ð¼ÐµÐ¶ÑƒÑ‚Ð¾Ðº */
  gap: 0;
  /* Ð¾Ð±Ð¾Ñ€Ð°Ñ‡Ð¸Ð²Ð°ÐµÐ¼ ÐºÐ½Ð¾Ð¿ÐºÐ¸, Ñ‡Ñ‚Ð¾Ð±Ñ‹ Ð¼Ð¾Ð¶Ð½Ð¾ Ð±Ñ‹Ð»Ð¾ ÑÐºÑ€ÑƒÐ³Ð»Ð¸Ñ‚ÑŒ Ð¾Ð±Ñ‰Ð¸Ð¹ Ð±Ð»Ð¾Ðº */
  overflow: hidden;
  border-radius: 4px; /* Ð¾Ð±Ñ‰Ð¸Ð¹ Ñ€Ð°Ð´Ð¸ÑƒÑ */
}
/* Ð¡Ñ‚Ð¸Ð»ÑŒ Ð¾Ð±Ñ‰ÐµÐ¹ ÐºÐ½Ð¾Ð¿ÐºÐ¸ */
.card-button {
  flex: 1;
  margin: 0;
  border-radius: 0;
  display: inline-block;
  background: #00a88e;
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 14px;
  text-align: center;
  transition: background 0.3s ease;
}
/* Ð Ð°ÑÐºÑ€Ð°ÑˆÐ¸Ð²Ð°ÐµÐ¼ Ð¿ÐµÑ€Ð²ÑƒÑŽ Ð¸ Ð¿Ð¾ÑÐ»ÐµÐ´Ð½ÑŽÑŽ Ð¿Ð¾Ð»Ð¾Ð²Ð¸Ð½Ñƒ Ð±Ð»Ð¾ÐºÐ° */
.card-button:first-child {
  background: #00a88e;      /* ÐŸÐ¾Ð´Ñ€Ð¾Ð±Ð½ÐµÐµ */
}
.card-button:last-child {
  background: #ff6b6b;      /* Ð—Ð°Ð±Ñ€Ð¾Ð½Ð¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒ */
}

/* Ð¥Ð¾Ð²ÐµÑ€Ñ‹ Ð´Ð»Ñ ÐºÐ°Ð¶Ð´Ð¾Ð¹ Ð¿Ð¾Ð»Ð¾Ð²Ð¸Ð½Ñ‹ */
.card-button:first-child:hover {
  background: #4eab9d;
}
.card-button:last-child:hover {
  background: #ff5252;
}
.card-button:hover {
  background: #4eab9d;
}
/* Ð¡Ð¿ÐµÑ†Ð¸Ð°Ð»ÑŒÐ½Ñ‹Ð¹ ÑÑ‚Ð¸Ð»ÑŒ ÐºÐ½Ð¾Ð¿ÐºÐ¸ Â«Ð—Ð°Ð±Ñ€Ð¾Ð½Ð¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒÂ» */
.booking-button {
  background: #ff6b6b;
}

/* Ð¥Ð¾Ð²ÐµÑ€ Ð´Ð»Ñ Â«Ð—Ð°Ð±Ñ€Ð¾Ð½Ð¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒÂ» */
.booking-button:hover {
  background: #ff5252;
}

/* Home houses: full-width hero sections (one house per row) */
.cards-section--houses {
  padding: 0 0 8px;
  margin-top: 0;
  background: #fff;
}

.cards-section--houses .cards-wrapper {
  display: block;
  gap: 0;
}

.cards-section--houses .card.house-hero {
  position: relative;
  width: 100%;
  height: 76vh;
  min-height: 520px;
  max-height: 860px;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #000;
}

.cards-section--houses .card.house-hero.hidden {
  display: none;
}

.cards-section--houses .card.house-hero:hover {
  transform: none;
}

.cards-section--houses .house-hero__media {
  position: absolute;
  inset: 0;
  display: block;
}

.cards-section--houses .house-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: brightness(0.96);
}

.cards-section--houses .house-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 28%, rgba(0,0,0,0.62) 100%);
}

.cards-section--houses .card.house-hero:hover .house-hero__media img {
  transform: scale(1.04);
  filter: brightness(0.88);
}

.cards-section--houses .house-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 0 22px;
}

.cards-section--houses .house-hero__content-inner {
  color: #fff;
}

.cards-section--houses .house-hero__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.08;
}

.cards-section--houses .house-hero__info {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
}

.cards-section--houses .house-hero__buttons {
  max-width: 520px;
  display: flex;
  gap: 10px;
  overflow: visible;
  border-radius: 0;
}

.cards-section--houses .house-hero__buttons .card-button {
  flex: 0 0 auto;
  min-width: 170px;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
}

.cards-section--houses .house-hero__buttons .card-button:first-child {
  background: rgba(0,168,142,0.78);
}

.cards-section--houses .house-hero__buttons .card-button:last-child {
  background: rgba(255,107,107,0.78);
}

.cards-section--houses .house-hero__buttons .card-button:first-child:hover {
  background: rgba(0,168,142,0.90);
}

.cards-section--houses .house-hero__buttons .card-button:last-child:hover {
  background: rgba(255,107,107,0.90);
}

.cards-section--houses .house-hero__buttons .card-button:hover {
  transform: none;
}

.cards-section--houses .houses-load-more {
  margin-top: 18px;
  padding: 24px 0 20px;
  text-align: center;
}

.services-section {
  padding-top: 0;
}

.cards-section--houses .houses-load-more button {
  margin: 0 8px;
}

.cards-section--houses .houses-load-more .btn-outline {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.2);
  color: #333;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.cards-section--houses .houses-load-more .btn-outline:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.28);
  transform: none;
}

/* Services section: same full-width presentation style */
.cards-section--services {
  padding: 0 0 8px;
  margin-top: 0;
  background: #fff;
}

.cards-section--services .cards-wrapper {
  display: block;
  gap: 0;
}

.cards-section--services .card.service-hero {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 500px;
  max-height: 820px;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #000;
}

.cards-section--services .card.service-hero.hidden {
  display: none;
}

.cards-section--services .card.service-hero:hover {
  transform: none;
}

.cards-section--services .service-hero__media {
  position: absolute;
  inset: 0;
  display: block;
}

.cards-section--services .service-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: brightness(0.96);
}

.cards-section--services .service-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 24%, rgba(0,0,0,0.62) 100%);
}

.cards-section--services .card.service-hero:hover .service-hero__media img {
  transform: scale(1.04);
  filter: brightness(0.88);
}

.cards-section--services .service-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 0 22px;
}

.cards-section--services .service-hero__content-inner {
  color: #fff;
}

.cards-section--services .service-hero__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.08;
}

.cards-section--services .service-hero__short {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  max-width: 760px;
}

.cards-section--services .service-hero__price {
  margin: 0 0 14px;
  color: #fff;
  padding: 0;
  background: none;
  border-radius: 0;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
}

.cards-section--services .service-hero__buttons {
  display: flex;
  gap: 10px;
}

.cards-section--services .service-hero__btn.btn-outline {
  border: 1px solid rgba(255,255,255,0.30);
  color: #fff;
  background: rgba(0,0,0,0.16);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
  text-decoration: none;
}

.cards-section--services .service-hero__btn.btn-outline:hover {
  background: rgba(0,0,0,0.26);
  color: #fff;
  transform: none;
  text-decoration: none;
}

.cards-section--services .services-load-more {
  margin-top: 18px;
  padding: 24px 0 20px;
  text-align: center;
}

.cards-section--services .services-load-more button {
  margin: 0 8px;
}

.cards-section--services .services-load-more .btn-outline {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.2);
  color: #333;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.cards-section--services .services-load-more .btn-outline:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.28);
  transform: none;
}

@media (max-width: 900px) {
  .cards-section--houses .card.house-hero {
    height: 72vh;
    min-height: 420px;
    margin-bottom: 0;
  }

  .cards-section--houses .house-hero__content {
    padding-bottom: 16px;
  }

  .cards-section--houses .house-hero__buttons {
    flex-direction: column;
    gap: 8px;
    overflow: visible;
    border-radius: 0;
    max-width: 280px;
  }

  .cards-section--houses .house-hero__buttons .card-button {
    width: 100%;
    min-width: 0;
    border-radius: 999px;
  }

  .cards-section--houses .houses-load-more {
    margin-top: 12px;
    padding: 18px 0 14px;
  }

  .cards-section--houses .houses-load-more button {
    margin: 5px;
  }

  .cards-section--services .card.service-hero {
    height: 68vh;
    min-height: 420px;
  }

  .cards-section--services .service-hero__content {
    padding-bottom: 16px;
  }

  .cards-section--services .service-hero__buttons {
    max-width: 220px;
  }

  .cards-section--services .service-hero__btn.btn-outline {
    width: 100%;
    text-align: center;
    border-radius: 12px;
  }

  .cards-section--services .services-load-more {
    margin-top: 12px;
    padding: 18px 0 14px;
  }

  .cards-section--services .services-load-more button {
    margin: 5px;
  }
}



/* Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸ ÑÐµÐºÑ†Ð¸Ð¹ (Ð¿Ð¾ Ñ†ÐµÐ½Ñ‚Ñ€Ñƒ) */
.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 10px 0 20px;
  text-align: center; /* Ð’Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°ÐµÐ¼ Ñ‚ÐµÐºÑÑ‚ Ð¿Ð¾ Ñ†ÐµÐ½Ñ‚Ñ€Ñƒ */
}
/* Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸ ÑÐµÐºÑ†Ð¸Ð¹ */
.section-header {
  text-align: center; /* Ð’Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ðµ Ð¿Ð¾ Ñ†ÐµÐ½Ñ‚Ñ€Ñƒ */
  margin: 10px 0 10px;
}

.section-title {
  font-size: 26px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.section-description {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto; /* Ð¦ÐµÐ½Ñ‚Ñ€Ð¸Ñ€ÑƒÐµÐ¼ Ñ‚ÐµÐºÑÑ‚ */
  line-height: 1.4;
}
/* ÐŸÐµÑ€ÐµÐ¾Ð¿Ñ€ÐµÐ´ÐµÐ»ÑÐµÐ¼ ÑÑ‚Ð¸Ð»ÑŒ Ñ†ÐµÐ½Ñ‹ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð² ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ°Ñ… ÑÐµÑ€Ð²Ð¸ÑÐ¾Ð² */
.services-section:not(.cards-section--services) .card-price {
  background: none;           /* ÑƒÐ±Ð¸Ñ€Ð°ÐµÐ¼ Ñ„Ð¾Ð½ */
  color: #333;                /* Ñ†Ð²ÐµÑ‚ Ñ‚ÐµÐºÑÑ‚Ð°, Ð¼Ð¾Ð¶Ð½Ð¾ Ð²Ñ‹Ð±Ñ€Ð°Ñ‚ÑŒ Ð»ÑŽÐ±Ð¾Ð¹ */
  padding: 0;                 /* ÑƒÐ±Ð¸Ñ€Ð°ÐµÐ¼ Ð²Ð½ÑƒÑ‚Ñ€ÐµÐ½Ð½Ð¸Ðµ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿Ñ‹ */
  border-radius: 0;           /* ÑƒÐ±Ð¸Ñ€Ð°ÐµÐ¼ ÑÐºÑ€ÑƒÐ³Ð»ÐµÐ½Ð¸Ðµ */
  text-align: left;           /* Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ðµ Ð¿Ð¾ Ð»ÐµÐ²Ð¾Ð¼Ñƒ ÐºÑ€Ð°ÑŽ */
  margin: 0 0 15px;           /* Ð½ÐµÐ±Ð¾Ð»ÑŒÑˆÐ¾Ð¹ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿ ÑÐ½Ð¸Ð·Ñƒ Ð¿ÐµÑ€ÐµÐ´ ÐºÐ½Ð¾Ð¿ÐºÐ¾Ð¹ */
  font-size: 16px;            /* Ñ‡ÑƒÑ‚ÑŒ Ð±Ð¾Ð»ÑŒÑˆÐµ Ñ€Ð°Ð·Ð¼ÐµÑ€ ÑˆÑ€Ð¸Ñ„Ñ‚Ð° (Ð¿Ð¾ Ð¶ÐµÐ»Ð°Ð½Ð¸ÑŽ) */
  font-weight: bold;          /* Ð¾ÑÑ‚Ð°Ð²Ð»ÑÐµÐ¼ Ð¿Ð¾Ð»ÑƒÐ¶Ð¸Ñ€Ð½Ñ‹Ð¹ */
}

/* Ð¡Ñ‚Ð¸Ð»Ð¸ Ð´Ð»Ñ Ð¿Ð¾Ð¸ÑÐºÐ¾Ð²Ð¾Ð³Ð¾ Ð±Ð»Ð¾ÐºÐ° */
/* Ð‘Ð»Ð¾Ðº Ð¿Ð¾Ð¸ÑÐºÐ° â€” Ð´ÐµÑÐºÑ‚Ð¾Ð¿ */
.search-widget {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  margin: 0;
  max-width: 980px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  position: relative;
  z-index: 5;
}

/* Guaranteed hero/search overlap (home page) */
.hero-search-stack {
  position: relative;
  overflow: visible;
  margin-bottom: 0;
}

.hero-search-stack__widget {
  position: absolute;
  left: 0;
  bottom: -56px; /* 50-60px overlap onto hero section */
  transform: none;
  width: 100%;
  z-index: 8;
}

.hero-search-stack__widget .search-widget {
  width: 100%;
  max-width: none;
  border-radius: 0;
}

.hero-search-stack__widget .search-widget form {
  max-width: 980px;
  margin: 0 auto;
}

.hero-search-stack + .cards-section--houses {
  padding-top: 0;
  margin-top: 0;
}

/* Ð’ÑÑ ÑÑ‚Ñ€Ð¾ÐºÐ°: Ð³Ð¾ÑÑ‚Ð¸, Ð´Ð°Ñ‚Ñ‹, ÐºÐ½Ð¾Ð¿ÐºÐ° */
.search-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;          /* Ð½Ðµ Ð¿ÐµÑ€ÐµÐ½Ð¾ÑÐ¸Ð¼ Ð½Ð° Ð½Ð¾Ð²ÑƒÑŽ ÑÑ‚Ñ€Ð¾ÐºÑƒ */
  gap: 15px;
  justify-content: space-between;
}

/* ÐžÐ±Ñ‰Ð¸Ðµ Ð½Ð°ÑÑ‚Ñ€Ð¾Ð¹ÐºÐ¸ Ð´Ð»Ñ ÐºÐ°Ð¶Ð´Ð¾Ð³Ð¾ Ð¿Ð¾Ð»Ñ */
.search-field {
  display: flex;
  flex-direction: column;
  flex: 1 1 180px;            /* Ñ€Ð°ÑÑ‚ÑÐ³Ð¸Ð²Ð°ÐµÐ¼ Ñ€Ð°Ð²Ð½Ð¾Ð¼ÐµÑ€Ð½Ð¾, Ð½Ð¾ Ð½Ðµ ÑƒÐ¶Ðµ 180px */
}

.search-field label {
  font-weight: bold;
  margin-bottom: 5px;
}

/* ÐŸÐ¾Ð»Ðµ Â«Ð“Ð¾ÑÑ‚Ð¸Â» */
.occupancy-field input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 16px;
}

/* ÐžÐ±Ñ‘Ñ€Ñ‚ÐºÐ° Ð´Ð»Ñ Ð´Ð°Ñ‚ */
.search-fields-wrapper {
  display: flex;
  align-items: flex-end;      /* Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°ÐµÐ¼ label Ð¸ Ð¿Ð¸ÐºÑ‚Ð¾Ð³Ñ€Ð°Ð¼Ð¼Ñƒ Ð¿Ð¾ Ð±Ð°Ð·Ð¾Ð²Ð¾Ð¹ Ð»Ð¸Ð½Ð¸Ð¸ */
  gap: 15px;
}

/* ÐšÐ°Ð¶Ð´Ð¾Ðµ Ð¿Ð¾Ð»Ðµ Ð´Ð°Ñ‚Ñ‹ */
.search-fields-wrapper .date-field {
  flex: none;                 /* Ð½Ðµ Ñ€Ð°ÑÑ‚ÑÐ³Ð¸Ð²Ð°ÐµÐ¼ */
  max-width: 200px;           /* Ð¿Ð¾Ð´Ð±ÐµÑ€Ð¸Ñ‚Ðµ Ð¿Ð¾Ð´ Ð²Ð°Ñˆ Ð´Ð¸Ð·Ð°Ð¹Ð½ */
}

/* Ð¡Ñ‚Ð¸Ð»Ð¸ Ð´Ð»Ñ input type="date" */
.date-field input[type="date"] {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 14px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.date-field input[type="date"]:hover,
.date-field input[type="date"]:focus {
  border-color: #00a88e;
  box-shadow: 0 0 5px rgba(39,174,96,0.5);
}

/* ÐšÐ½Ð¾Ð¿ÐºÐ° Â«ÐÐ°Ð¹Ñ‚Ð¸Â» */
.search-button {
  margin-left: auto;
  margin-top: 23px;           /* Ð¿Ð¾Ð´Ð½Ð¸Ð¼Ð¸Ñ‚Ðµ/Ð¾Ð¿ÑƒÑÑ‚Ð¸Ñ‚Ðµ Ð¿Ñ€Ð¸ Ð½ÐµÐ¾Ð±Ñ…Ð¾Ð´Ð¸Ð¼Ð¾ÑÑ‚Ð¸ */
}

.search-button .button {
  background: #00a88e;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.search-button .button:hover {
  background: #4eab9d;
  transform: scale(1.05);
}

/* ÐœÐ¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ðµ Ð¾ÐºÐ½Ð¾ */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 20px;
  text-align: center;
}

.modal-field {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.modal-field label {
  font-size: 14px;
  margin-bottom: 5px;
}

/* ÐžÐ±ÑŠÐµÐ´Ð¸Ð½Ñ‘Ð½Ð½Ñ‹Ð¹ input Ñ ÐºÐ½Ð¾Ð¿ÐºÐ°Ð¼Ð¸ Ð² Ð¼Ð¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ð¼ Ð¾ÐºÐ½Ðµ */
.modal-field .number-input {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.modal-field .number-input button {
  background: #eee;
  border: none;
  padding: 0 10px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
}

.modal-field .number-input button:hover {
  background: #ddd;
}

.modal-field .number-input input {
  width: 100%;
  text-align: center;
  border: none;
  font-size: 16px;
  outline: none;
  background-color: transparent;
  line-height: 36px;
}

/* Ð£Ð±Ð¸Ñ€Ð°ÐµÐ¼ ÑÑ‚Ð°Ð½Ð´Ð°Ñ€Ñ‚Ð½Ñ‹Ðµ ÑÑ‚Ñ€ÐµÐ»Ð¾Ñ‡ÐºÐ¸ Ñƒ input[type=number] */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

#children-inputs .child-age {
  margin-top: 10px;
}

#children-inputs .child-age label {
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
}

#children-inputs .child-age select {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  font-size: 14px;
}

/* ÐšÐ½Ð¾Ð¿ÐºÐ° Ð·Ð°ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ð¼Ð¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ð³Ð¾ Ð¾ÐºÐ½Ð° */
.modal-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Ð”ÐµÐ¹ÑÑ‚Ð²Ð¸Ñ Ð² Ð¼Ð¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ð¼ Ð¾ÐºÐ½Ðµ */
.modal-actions {
  text-align: center;
  margin-top: 20px;
}

.modal-actions button {
  background: #00a88e;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-actions button:hover {
  background: #4eab9d;
}


/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ð°Ñ Ð°Ð´Ð°Ð¿Ñ‚Ð°Ñ†Ð¸Ñ: Ñ€Ð°Ð·Ð¼ÐµÑ‰ÐµÐ½Ð¸Ðµ Ð¿Ð¾Ð»ÐµÐ¹ Ð´Ð°Ñ‚Ñ‹ Ð·Ð°ÐµÐ·Ð´Ð° Ð¸ Ð²Ñ‹ÐµÐ·Ð´Ð° Ð½Ð° Ð¾Ð´Ð½Ð¾Ð¹ ÑÑ‚Ñ€Ð¾ÐºÐµ */
/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ð°Ñ Ð°Ð´Ð°Ð¿Ñ‚Ð°Ñ†Ð¸Ñ: Ñ€Ð°Ð·Ð¼ÐµÑ‰ÐµÐ½Ð¸Ðµ Ð¿Ð¾Ð»ÐµÐ¹ Ð´Ð°Ñ‚Ñ‹ Ð·Ð°ÐµÐ·Ð´Ð° Ð¸ Ð²Ñ‹ÐµÐ·Ð´Ð° Ð½Ð° Ð¾Ð´Ð½Ð¾Ð¹ ÑÑ‚Ñ€Ð¾ÐºÐµ */
@media (max-width: 768px) {
  .hero-search-stack {
    margin-bottom: 0;
  }

  .hero-search-stack__widget {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    padding: 0;
    margin-top: 10px;
  }

  .hero-search-stack__widget .search-widget {
    border-radius: 0;
  }

  .hero-search-stack__widget .search-widget form {
    max-width: none;
  }

  .search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px; /* ÑƒÐ¼ÐµÐ½ÑŒÑˆÐµÐ½Ð½Ñ‹Ð¹ Ð¿Ñ€Ð¾Ð¼ÐµÐ¶ÑƒÑ‚Ð¾Ðº Ð¼ÐµÐ¶Ð´Ñƒ ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚Ð°Ð¼Ð¸ */
  }
  .search-field {
    flex: none !important;
    width: 100%;
    margin: 0 0 8px 0;
    height: auto !important;
    padding: 0;
  }

  /* ÐžÐ±ÐµÑÐ¿ÐµÑ‡Ð¸Ð²Ð°ÐµÐ¼, Ñ‡Ñ‚Ð¾Ð±Ñ‹ ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚Ñ‹ Ð½Ðµ Ð²Ñ‹Ð»ÐµÐ·Ð°Ð»Ð¸ Ð·Ð° Ð¿Ñ€ÐµÐ´ÐµÐ»Ñ‹ ÑÐºÑ€Ð°Ð½Ð° */
  .search-fields-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 100%; /* Ð£Ð±ÐµÐ´Ð¸Ð¼ÑÑ, Ñ‡Ñ‚Ð¾ ÐºÐ¾Ð½Ñ‚ÐµÐ¹Ð½ÐµÑ€ Ð±ÑƒÐ´ÐµÑ‚ Ð·Ð°Ð½Ð¸Ð¼Ð°Ñ‚ÑŒ Ð²ÑÑŽ ÑˆÐ¸Ñ€Ð¸Ð½Ñƒ */
    flex-wrap: wrap;
  }

  .search-field.date-field {
    flex: 1;
    width: 48%; /* Ð£ÑÑ‚Ð°Ð½Ð°Ð²Ð»Ð¸Ð²Ð°ÐµÐ¼ ÑˆÐ¸Ñ€Ð¸Ð½Ñƒ 48% Ð´Ð»Ñ Ñ€Ð°Ð²Ð½Ð¾Ð¼ÐµÑ€Ð½Ð¾Ð³Ð¾ Ñ€Ð°ÑÐ¿Ñ€ÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ */
  }

  /* Ð¡Ñ‚Ð¸Ð»Ð¸ Ð´Ð»Ñ input */
  .search-field input,
  .search-field select {
    padding: 10px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .search-button {
    width: 100%;
    margin-top: 8px;
  }

  .search-button .button {
    width: 100%;
  }
}
