/*
 * 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('./fonts.css?v=20260809-lato-1');




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Optional public journal module. The business logic remains in its external package. */
.blog-page-body{background:#f4f7f5;color:#18312a}.blog-page{padding:54px 0 80px}.blog-hero{padding-top:42px;padding-bottom:28px}.blog-hero h1,.blog-article h1{margin:0;color:#163c33;font-family:Georgia,serif;font-size:clamp(2.35rem,6vw,5rem);line-height:1.02}.blog-hero>p:last-child{max-width:760px;margin:18px 0 0;color:#5c7069;font-size:1.08rem;line-height:1.7}.blog-kicker{margin:0 0 12px;color:#16705d;font-size:.78rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.blog-categories{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:28px}.blog-categories a,.blog-pagination a{padding:9px 14px;border:1px solid #d8e3de;border-radius:999px;background:#fff;color:#31564c;text-decoration:none;font-weight:700}.blog-categories a:hover,.blog-categories a.is-active,.blog-pagination a.is-active{border-color:#176d5b;background:#176d5b;color:#fff}.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.blog-card{overflow:hidden;border:1px solid #dfe8e4;border-radius:22px;background:#fff;box-shadow:0 16px 40px rgba(26,67,57,.07)}.blog-card__cover{display:block;aspect-ratio:16/10;overflow:hidden;background:#dfe8e4}.blog-card__cover img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.blog-card:hover .blog-card__cover img{transform:scale(1.025)}.blog-card__body{padding:22px}.blog-card__body h2{margin:8px 0 10px;font-family:Georgia,serif;font-size:1.42rem;line-height:1.2}.blog-card__body h2 a,.blog-related h3 a{color:#183f35;text-decoration:none}.blog-card__body>p:not(.blog-card__meta){color:#687a74;line-height:1.6}.blog-card__meta{margin:0;color:#71847d;font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.blog-card__more{display:inline-block;margin-top:8px;color:#176d5b;font-weight:800;text-decoration:none}.blog-empty{grid-column:1/-1;padding:54px;border:1px dashed #c7d8d1;border-radius:22px;background:#fff;text-align:center;color:#667970}.blog-pagination{display:flex;justify-content:center;gap:8px;margin-top:34px}.blog-article{max-width:980px;padding-top:110px;padding-bottom:80px}.blog-breadcrumbs{display:flex;gap:9px;align-items:center;margin-bottom:24px;color:#73867f;font-size:.9rem}.blog-breadcrumbs a{color:#176d5b}.blog-article__header{max-width:820px;margin-bottom:28px}.blog-article__lead{max-width:760px;margin:22px 0;color:#5b7068;font-size:1.18rem;line-height:1.7}.blog-article__cover{display:block;width:100%;max-height:620px;object-fit:cover;border-radius:26px;background:#dfe8e4}.blog-article__content{max-width:760px;margin:42px auto;font-size:1.08rem;line-height:1.85}.blog-article__content h2,.blog-article__content h3{margin:1.7em 0 .65em;color:#173e34;font-family:Georgia,serif;line-height:1.25}.blog-article__content blockquote{margin:28px 0;padding:20px 24px;border-left:4px solid #d69b42;background:#fff8eb}.blog-article__content a{color:#176d5b}.blog-article__cta{max-width:760px;margin:42px auto;padding:28px;border-radius:22px;background:#174f42;color:#fff}.blog-article__cta h2{margin:0 0 8px}.blog-article__cta p{margin:0 0 18px;color:#d7e6e1}.blog-article__cta a{display:inline-block;padding:12px 18px;border-radius:999px;background:#fff;color:#174f42;text-decoration:none;font-weight:800}.blog-related{margin-top:64px;padding-top:36px;border-top:1px solid #dbe5e1}.blog-related>h2{font-family:Georgia,serif;font-size:2rem}.blog-related__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.blog-related__grid article{padding:21px;border:1px solid #dfe8e4;border-radius:18px;background:#fff}.blog-related h3{margin:9px 0}.blog-related article>p:last-child{color:#667970;line-height:1.55}@media(max-width:900px){.blog-grid,.blog-related__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.blog-page{padding-top:24px}.blog-hero{padding-top:26px}.blog-grid,.blog-related__grid{grid-template-columns:1fr}.blog-card__body{padding:18px}.blog-article{padding-top:82px}.blog-article__cover{border-radius:17px}.blog-article__content{font-size:1rem}.blog-empty{padding:34px 20px}}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: #fff;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button, input, select, textarea {
  font-family: var(--font-primary);
}

: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;
  --site-update-notice-h: 0px;
  /* Max canvas width for apple-like wide layout on home page. */
  --home-canvas-max: 2560px;
  /* Max width for header/footer chrome on all pages. */
  --chrome-max: 2560px;
  /* Shared horizontal padding from viewport edges. */
  --site-edge-pad: 0px;
}


h1, h2, h3, .section-title, .card-title {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.015em;
}

.logo, .menu-groups a, .site-menu ul li a {
  font-family: var(--font-primary);
}



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: var(--font-primary);
  font-weight: 500;
  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 {
  position: fixed;
  top: var(--site-update-notice-h, 0px);
  left: 0;
  right: 0;
  width: min(100%, var(--chrome-max));
  max-width: var(--chrome-max);
  margin-left: auto;
  margin-right: auto;
  z-index: 1000;
}

.site-update-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: min(100%, var(--chrome-max));
  max-width: var(--chrome-max);
  margin-left: auto;
  margin-right: auto;
  z-index: 1300;
  color: #1f2933;
  background: linear-gradient(90deg, #fff7d6 0%, #e8f7f2 48%, #eef6ff 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.site-update-notice__inner {
  width: min(980px, calc(100% - 32px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.site-update-notice__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  color: #fff;
  background: #0e7c66;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 800;
}

.site-update-notice__text {
  overflow-wrap: anywhere;
}

.booking-trust {
  font-family: var(--font-primary);
  color: #24423d;
}

.booking-trust--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.booking-trust--compact span,
.booking-trust--compact a {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 118, 110, 0.20);
  color: #0f766e;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.booking-trust--full {
  margin-top: 14px;
  padding: 10px 0 0;
  border-top: 1px solid rgba(15, 118, 110, 0.14);
}

.booking-trust__line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.booking-trust strong,
.booking-trust span {
  display: block;
}

.booking-trust strong {
  margin-bottom: 5px;
  color: #0f766e;
  font-size: 14px;
}

.booking-trust span,
.booking-trust p {
  color: #36514d;
  font-size: 13px;
  line-height: 1.4;
}

.booking-trust__line span,
.booking-trust__line a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #36514d;
  font-size: 13px;
  line-height: 1.25;
}

.booking-trust__line span:not(:last-child)::after,
.booking-trust__line a:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: rgba(54, 81, 77, 0.55);
  font-weight: 700;
}

.booking-trust a {
  color: #0f766e;
  font-weight: 800;
}

.booking-trust__faq {
  margin-top: 6px;
}

.booking-trust__faq summary {
  cursor: pointer;
  color: #24423d;
  font-size: 13px;
  font-weight: 900;
}

.booking-trust__faq div {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6fbf9;
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.booking-trust__faq p {
  margin: 5px 0;
}

@media (max-width: 680px) {
  .booking-trust--compact {
    gap: 5px;
  }

  .booking-trust--compact span,
  .booking-trust--compact a {
    max-width: 100%;
    font-size: 11px;
  }

  .booking-trust__line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .booking-trust__line span:not(:last-child)::after,
  .booking-trust__line a:not(:last-child)::after {
    content: "";
    margin-left: 0;
  }
}

.home-page .header {
  transform: none;
}

/* Home header: apple-like glass effect */
.home-page .header,
.header.header--glass {
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}

.home-page .top-menu,
.home-page .site-menu-wrapper,
.header--glass .top-menu,
.header--glass .site-menu-wrapper {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-page .top-menu,
.header--glass .top-menu {
  padding: 8px 0 6px;
  border-bottom: 0;
  box-shadow: none;
}

.home-page .site-menu-wrapper,
.header--glass .site-menu-wrapper {
  border-top: 0;
}

.home-page .site-menu > ul,
.header--glass .site-menu > ul {
  gap: 14px;
}

.home-page .site-menu > ul > li > a,
.header--glass .site-menu > ul > li > a {
  padding: 6px 12px;
  line-height: 1.15;
}

.home-page .top-menu .container,
.header--glass .top-menu .container {
  position: relative;
}

.home-page .separator,
.header--glass .separator {
  display: none;
}

.home-page .top-menu .auth-buttons a,
.header--glass .top-menu .auth-buttons a {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: #333;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-page .top-menu .auth-buttons a:hover,
.header--glass .top-menu .auth-buttons a:hover {
  background: transparent;
  color: #333;
  text-decoration: underline;
  transform: none;
}

.home-page .top-menu .auth-buttons,
.header--glass .top-menu .auth-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

@supports not ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .home-page .header {
    background: rgba(255, 255, 255, 0.90);
  }
}


.top-menu {
  background-color: #fff; 
  padding: 10px 0;
}
.top-menu .container {
  width: 980px;
  margin: 0 auto;
  
  /* 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;
}

.top-menu .contact-info a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: #0b6b5e;
  line-height: 1.2;
  text-decoration: none;
}

.top-menu .contact-info a:hover {
  color: #08806f;
  text-decoration: none;
}
.weather-widget {
  cursor: pointer;
  padding: 0;
  background: transparent;
  border-radius: 0;
  transition: color 0.2s ease;
}
.weather-widget:hover {
  color: #0f766e;
}


.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;
}


.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;
  border-radius: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

.site-menu > ul > li > a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #162033;
  transform: none;
}



.site-menu .has-submenu {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}


.site-menu .submenu {
  display: flex;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.2s;
}

.site-menu .has-submenu::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}


.site-menu > ul > li.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}


.site-menu .submenu .has-submenu {
  position: relative;
  padding-bottom: 0;
  margin-bottom: 0;
}

.site-menu .submenu .has-submenu > .submenu {
  top: -10px;
  left: calc(100% + 2px);
  transform: translateX(6px);
  will-change: opacity, transform;
}
.site-menu .submenu .has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

/* Hover bridge between level 2 and level 3 menu to prevent accidental close. */
.site-menu .submenu .has-submenu > .submenu::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 12px;
}



/* .site-menu .has-submenu:hover > .submenu {
  display: block;
} */


.site-menu .submenu li {
  width: 100%;
  padding: 0;
}

.site-menu .submenu li a {
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.25;
  color: #162033;
  white-space: normal;
}

.site-menu .submenu li a:hover {
  background: rgba(0, 168, 142, 0.10);
  color: #0f766e;
  transform: none;
}

.site-menu .submenu .has-submenu > a {
  padding-right: 34px;
  position: relative;
}

.site-menu .submenu .has-submenu > a::after {
  content: '›';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #5b6474;
  font-size: 18px;
  line-height: 1;
}





.mobile-header {
  display: none;
  background-color: #fff; 
  padding: 10px 0;
  animation: fadeIn 0.5s ease-in-out;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.home-page .mobile-header,
.mobile-header.mobile-header--glass {
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
}
.home-page .mobile-header .mobile-hamburger button,
.mobile-header--glass .mobile-hamburger button {
  width: auto;
  height: auto;
  border-radius: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  display: inline-block;
}
.mobile-header .container {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}
.mobile-header .mobile-hamburger { margin-left: auto; }

.mobile-header .mobile-weather-inline {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.mobile-header .mobile-weather-inline:hover {
  color: #0f766e;
}
.mobile-header .mobile-logo img {
  max-height: 50px;
  display: block; /* avoid baseline whitespace under inline images on mobile header */
}
.mobile-header .mobile-logo,
.mobile-header .mobile-hamburger {
  position: relative;
  z-index: 2;
}
.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);
}

body.mobile-menu-open .mobile-header {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}


.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);
}

.home-page .mobile-menu,
.mobile-menu.mobile-menu--glass {
  background: rgba(247, 250, 253, 0.70);
  color: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
}

.home-page .mobile-menu-header,
.mobile-menu--glass .mobile-menu-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  padding: 8px 4px 12px;
}

.home-page .mobile-weather-widget,
.mobile-menu--glass .mobile-weather-widget {
  color: #0f172a;
  font-weight: 600;
}

.home-page .mobile-close,
.mobile-menu--glass .mobile-close {
  width: auto;
  height: auto;
  border-radius: 0;
  border: 0;
  background: transparent;
  display: inline-block;
  padding: 0;
}

.home-page .mobile-menu .mobile-site-menu ul li,
.mobile-menu--glass .mobile-site-menu ul li {
  margin-bottom: 8px;
}

.home-page .mobile-menu .mobile-site-menu ul li a,
.mobile-menu--glass .mobile-site-menu ul li a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 17px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.home-page .mobile-menu .mobile-site-menu ul li a:hover,
.mobile-menu--glass .mobile-site-menu ul li a:hover {
  color: #0f766e;
  background: rgba(255, 255, 255, 0.62);
  transform: none;
}

.home-page .mobile-menu .mobile-site-menu .submenu,
.mobile-menu--glass .mobile-site-menu .submenu {
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 6px;
}

.home-page .mobile-auth-buttons a,
.mobile-menu--glass .mobile-auth-buttons a {
  border: 0;
  background: transparent;
  color: #0f172a;
  border-radius: 0;
  padding: 0;
  text-align: left;
  margin: 0 0 8px;
  box-shadow: none;
  font-weight: 400;
}

.home-page .mobile-auth-buttons a:hover,
.mobile-menu--glass .mobile-auth-buttons a:hover {
  color: #0f766e;
  background: transparent;
  transform: none;
}

.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 .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-menu .mobile-contacts {
  text-align: center;
}

.mobile-menu .mobile-contacts p {
  margin: 6px 0;
}

.mobile-menu .mobile-contacts a {
  color: #0b6b5e;
  text-decoration: none;
}

.mobile-menu .mobile-contacts a:hover {
  color: #08806f;
  text-decoration: none;
}


.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);
  flex: 1 0 auto;
}

body > .footer {
  flex-shrink: 0;
  margin-top: auto;
}

@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: var(--site-update-notice-h, 0px);
    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);
  }

  .home-page .mobile-header,
  .mobile-header.mobile-header--glass {
    padding-top: calc(env(safe-area-inset-top, 0px) + 6px);
    padding-bottom: 6px;
    background: rgba(255, 255, 255, 0.56);
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
    -webkit-backdrop-filter: saturate(170%) blur(14px);
    backdrop-filter: saturate(170%) blur(14px);
  }

  .mobile-menu {
    display: block;
    top: var(--site-update-notice-h, 0px);
  }

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

  /* Home keeps its own first-screen spacing; the fixed header is accounted for
     by the hero margin/height below. */
  body.home-page {
    padding-top: 0 !important;
  }

  .home-page .video-preview {
    margin-top: var(--mobile-header-h) !important;
  }

  /* Default mobile hero rule for inner pages; home overrides its offset above. */
  .video-preview {
    margin-top: calc(-1 * var(--mobile-header-h));
    height: 100vh;
    height: 100svh; /* modern mobile viewport units */
  }
}

@media (max-width: 640px) {
  .site-update-notice__inner {
    width: min(100% - 20px, 980px);
    min-height: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    font-size: 13px;
    padding: 7px 0;
  }

  .site-update-notice__icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 14px;
  }
}





.weather-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 16, 28, 0.30);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 18px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.weather-popup.active {
  display: flex;
}
.weather-popup-content {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.20);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  padding: 16px 16px 14px;
  border-radius: 16px;
  width: min(100%, 560px);
  position: relative;
}
.weather-popup-content h2 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #0f172a;
}
.weather-popup-content .close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(15, 23, 42, 0.16);
  font-size: 20px;
  line-height: 1;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.weather-popup-content .close-popup:hover {
  background: rgba(255, 255, 255, 0.80);
  border-color: rgba(0, 168, 142, 0.38);
}
#weekly-forecast {
  display: grid;
  gap: 8px;
}
.forecast-item {
  margin: 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.35;
}




.overlay-region {
  display: block;
  margin-bottom: 0.8rem;
  font-size: clamp(0.9rem, 1.25vw, 1.2rem);
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.4);
}



.overlay-title {
  margin: 0.25rem 0 0.8rem;
  line-height: 1;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.4);
}

.overlay-title__name {
  display: block;
  font-size: clamp(3rem, 5vw, 5.25rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.overlay-title__type {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.15;
}



.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: #007a67;
  color: #fff;
  border-radius: 0.4em;
  text-decoration: none;
  transition: background 0.3s;
  box-shadow: none !important;
}
.btn:hover {
  background: #006453;
}

.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;
  margin-top: 0;
  background: #fff;
}

.home-page .cards-section--houses {
  width: min(100%, var(--home-canvas-max));
  margin-left: auto;
  margin-right: auto;
}

.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,0,0,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.30);
}

.cards-section--houses .house-hero__buttons .card-button:last-child {
  background: rgba(0,168,142,0.82);
  color: #fff;
  border: 1px solid rgba(0,168,142,0.36);
}

.cards-section--houses .house-hero__buttons .booking-button {
  background: rgba(0,168,142,0.82);
  color: #fff;
  border: 1px solid rgba(0,168,142,0.36);
}

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

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

.cards-section--houses .house-hero__buttons .booking-button:hover {
  background: rgba(0,168,142,0.94);
}

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

.cards-section--houses .houses-load-more {
  margin-top: 0;
  margin-bottom: 0;
  padding: 18px 12px 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  text-align: center;
  width: min(100%, var(--home-canvas-max));
  margin-left: auto;
  margin-right: auto;
}

.cards-section--houses .houses-load-more button {
  margin: 0;
  width: 100%;
}

.cards-section--houses .houses-load-more .btn-outline {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.18);
  color: #233733;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cards-section--houses .houses-load-more .btn-outline:hover {
  background: #f4fbf9;
  border-color: rgba(0, 168, 142, 0.55);
  color: #0f766e;
  box-shadow: inset 0 0 0 1px rgba(0, 168, 142, 0.10);
  transform: none;
}

.top-houses-week {
  width: min(100%, var(--home-canvas-max));
  margin-left: auto;
  margin-right: auto;
  padding: 6px 0;
  --top-houses-gap: 12px;
}

.home-booking-picks {
  background: linear-gradient(180deg, #f3faf7 0%, #ffffff 100%);
  padding-top: 18px;
  scroll-margin-top: calc(var(--desktop-header-h, 140px) + var(--site-update-notice-h, 0px) + 12px);
}

.home-booking-picks__head {
  width: calc(100% - 24px);
  margin: 0 auto 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #163b35;
  letter-spacing: 0;
  text-align: center;
}

.home-booking-picks__head h2 {
  display: block;
  max-width: 920px;
  color: #173d37;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1.12;
  font-weight: 700;
  text-wrap: balance;
}

.home-booking-picks__head span {
  color: #59716d;
  font-size: 15px;
  line-height: 1.35;
}

.home-weekend-carousel + .home-booking-picks__head {
  margin-top: 28px;
}

.home-booking-picks__head + .home-booking-picks__group {
  margin-top: 0;
}

.home-booking-picks__content {
  width: 100%;
  padding: 0 var(--top-houses-gap);
}

.home-weekend-carousel {
  margin-bottom: 22px;
}

.home-weekend-carousel__topline {
  margin: 0 auto 14px;
  padding: 0 72px;
  text-align: center;
}

.home-weekend-carousel__topline strong,
.home-weekend-carousel__topline span {
  display: block;
}

.home-weekend-carousel__topline strong {
  color: #24423d;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.15;
  text-wrap: balance;
}

.home-weekend-carousel__topline span {
  margin-top: 5px;
  color: #59716d;
  font-size: 14px;
  line-height: 1.35;
}

.home-weekend-carousel__stage {
  position: relative;
}

.home-weekend-carousel__arrows {
  position: absolute;
  inset: 0 16px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.home-weekend-carousel__arrows button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #0f766e;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.home-weekend-carousel__arrows button:hover:not(:disabled) {
  border-color: #fff;
  background: #fff;
  transform: scale(1.05);
}

.home-weekend-carousel__arrows button:disabled {
  cursor: default;
  opacity: 0.35;
}

.home-weekend-carousel__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.home-weekend-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.home-weekend-carousel__track {
  display: flex;
  gap: var(--top-houses-gap);
}

.home-weekend-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.home-weekend-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 28px;
  margin-top: 8px;
}

.home-weekend-carousel__dots button {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.home-weekend-carousel__dots button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b8c8c4;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, background 0.2s ease;
}

.home-weekend-carousel__dots button[aria-current="true"]::before {
  width: 24px;
  background: #0f766e;
}

.home-weekend-carousel__swipe-hint {
  display: none;
}

.home-booking-picks__catalog-cta {
  display: flex;
  justify-content: center;
  margin: 24px 0 18px;
}

.home-booking-picks__catalog-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #0f766e;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-booking-picks__catalog-cta a:hover {
  border-color: rgba(15, 118, 110, 0.5);
  background: #edf9f5;
  transform: translateY(-1px);
}

.home-booking-picks__weekend .top-houses-week__link {
  aspect-ratio: 21 / 7;
  min-height: 310px;
}

.home-booking-picks__weekend .top-houses-week__shade {
  background: linear-gradient(90deg, rgba(9, 16, 32, 0.78) 0%, rgba(9, 16, 32, 0.48) 52%, rgba(9, 16, 32, 0.10) 100%);
}

.home-booking-picks__weekend .top-houses-week__label {
  right: auto;
  width: min(650px, calc(100% - 48px));
}

.home-booking-picks__group {
  margin-top: 22px;
}

.home-booking-picks__group h3 {
  margin: 0 0 10px;
  color: #24423d;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.2;
}

.home-booking-picks__tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--top-houses-gap);
}

.home-booking-picks__group--feature .home-booking-picks__tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-booking-picks__tile {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  background: #173d37;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.home-booking-picks__tile img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 260ms ease;
}

.home-booking-picks__tile-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 16, 32, 0.04) 18%, rgba(9, 16, 32, 0.82) 100%);
}

.home-booking-picks__tile-count {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  background: rgba(0, 168, 142, 0.70);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.home-booking-picks__tile-copy {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.home-booking-picks__tile-copy strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.08;
  text-wrap: balance;
}

.home-booking-picks__tile-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-booking-picks__tile-copy > span {
  margin-top: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.home-booking-picks__tile:hover img {
  transform: scale(1.05);
}

.home-booking-picks__tile:hover .home-booking-picks__tile-copy > span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-booking-picks .top-houses-week__badge {
  background: rgba(0, 168, 142, 0.72);
  border-color: rgba(255, 255, 255, 0.34);
}

.home-booking-picks .top-houses-week__shade {
  background: linear-gradient(180deg, rgba(9,16,32,0.06) 20%, rgba(9,16,32,0.80) 100%);
}

.home-booking-picks .top-houses-week__label small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.4em;
}

.top-houses-week__inner {
  width: 100%;
  padding: 0 var(--top-houses-gap);
}

.top-houses-week__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--top-houses-gap);
}

@media (min-width: 901px) {
  .home-booking-picks--count-3 .top-houses-week__grid {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .home-booking-picks--count-3 .home-booking-picks__item:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 0;
  }

  .home-booking-picks--count-3 .home-booking-picks__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .home-booking-picks--count-3 .home-booking-picks__item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .home-booking-picks--count-3 .home-booking-picks__item:first-child .top-houses-week__link {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
}

.top-houses-week + .cards-section--houses {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.top-houses-week + .cards-section--houses .cards-wrapper {
  margin-top: 0 !important;
}

.top-houses-week + .top-baths-week {
  margin-top: 0;
  padding-top: 0;
}

.top-baths-week + .cards-section--houses {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.top-baths-week + .cards-section--houses .cards-wrapper {
  margin-top: 0 !important;
}

.top-baths-week + .top-services-home {
  margin-top: 0;
  padding-top: 0;
}

.top-services-home + .cards-section--houses {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.top-services-home + .cards-section--houses .cards-wrapper {
  margin-top: 0 !important;
}

.top-houses-week__item {
  width: 100%;
}

.top-houses-week__link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  background: #0f172a;
}

.top-houses-week__cover-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.top-houses-week__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.25s ease;
}

.top-houses-week__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,16,32,0.08) 25%, rgba(9,16,32,0.78) 100%);
}

.top-houses-week__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.top-baths-week .top-houses-week__badge {
  background: rgba(76, 29, 149, 0.45);
  border-color: rgba(255, 255, 255, 0.30);
}

.top-services-home .top-houses-week__badge {
  background: rgba(11, 87, 208, 0.42);
  border-color: rgba(255, 255, 255, 0.32);
}

.top-services-home .top-houses-week__label small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.4em;
}

.top-services-home__load-more {
  margin: 0 auto 28px;
  padding: 18px 12px 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  width: min(100%, var(--home-canvas-max));
}

.top-services-home__load-more .btn-outline {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.18);
  color: #233733;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.top-services-home__load-more .btn-outline:hover {
  background: #f4fbf9;
  border-color: rgba(0, 168, 142, 0.55);
  color: #0f766e;
  box-shadow: inset 0 0 0 1px rgba(0, 168, 142, 0.10);
}

.top-houses-week__label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  z-index: 4;
}

.top-houses-week__title,
.top-houses-week__label strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.top-houses-week__label small {
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.2;
  color: rgba(255,255,255,0.88);
}

.top-houses-week__buttons {
  max-width: 520px;
  display: flex;
  gap: 10px;
  margin-top: 0;
  overflow: visible;
  border-radius: 0;
}

.top-houses-week__buttons .card-button {
  flex: 0 0 auto;
  min-width: 150px;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
}

.top-houses-week__buttons .card-button:first-child {
  background: rgba(0,0,0,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.30);
}

.top-houses-week__buttons .card-button:last-child,
.top-houses-week__buttons .booking-button {
  background: rgba(0,168,142,0.82);
  color: #fff;
  border: 1px solid rgba(0,168,142,0.36);
}

.top-houses-week__buttons .card-button:first-child:hover {
  background: rgba(0,0,0,0.26);
}

.top-houses-week__buttons .card-button:last-child:hover,
.top-houses-week__buttons .booking-button:hover {
  background: rgba(0,168,142,0.94);
}

.top-houses-week__buttons .card-button:hover {
  transform: none;
}

.top-houses-week__link:hover img {
  transform: scale(1.04);
}

@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: 0;
    margin-bottom: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

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

  .cards-section--houses .houses-load-more .btn-outline {
    min-height: 48px;
    border-radius: 8px;
    padding: 12px 16px;
  }

  .top-houses-week {
    padding: 6px 0;
    --top-houses-gap: 8px;
  }

  .home-booking-picks {
    padding-top: 12px;
  }

  .home-booking-picks__head {
    width: calc(100% - 16px);
    margin-bottom: 10px;
    gap: 5px;
  }

  .home-booking-picks__head h2 {
    font-size: 22px;
  }

  .home-booking-picks__head span {
    max-width: 330px;
    font-size: 13px;
  }

  .home-weekend-carousel + .home-booking-picks__head {
    margin-top: 22px;
  }

  .home-booking-picks__content {
    padding: 0 var(--top-houses-gap);
  }

  .home-weekend-carousel {
    margin-bottom: 16px;
  }

  .home-weekend-carousel__topline {
    margin: 0 4px 9px;
    padding: 0 8px;
  }

  .home-weekend-carousel__topline strong {
    font-size: 21px;
  }

  .home-weekend-carousel__topline span {
    font-size: 12px;
  }

  .home-weekend-carousel__arrows {
    display: none;
  }

  .home-weekend-carousel__track {
    gap: var(--top-houses-gap);
    padding-right: 10%;
  }

  .home-weekend-carousel__slide {
    flex-basis: 90%;
  }

  .home-weekend-carousel__swipe-hint {
    display: block;
    margin-top: -2px;
    color: #6a7e7a;
    font-size: 11px;
    text-align: center;
  }

  .home-booking-picks__catalog-cta {
    margin: 18px 0 12px;
  }

  .home-booking-picks__catalog-cta a {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .home-booking-picks__weekend .top-houses-week__link {
    aspect-ratio: 16 / 12;
    min-height: 0;
  }

  .home-booking-picks__weekend .top-houses-week__shade {
    background: linear-gradient(180deg, rgba(9, 16, 32, 0.06) 16%, rgba(9, 16, 32, 0.84) 100%);
  }

  .home-booking-picks__weekend .top-houses-week__label {
    right: 14px;
    width: auto;
  }

  .home-booking-picks__group {
    margin-top: 16px;
  }

  .home-booking-picks__group h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .home-booking-picks__tiles,
  .home-booking-picks__group--feature .home-booking-picks__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--top-houses-gap);
  }

  .home-booking-picks__tile {
    min-height: 225px;
  }

  .home-booking-picks__group--feature .home-booking-picks__tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .home-booking-picks__tile-count {
    top: 9px;
    left: 9px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .home-booking-picks__tile-copy {
    right: 11px;
    bottom: 11px;
    left: 11px;
    gap: 5px;
  }

  .home-booking-picks__tile-copy strong {
    font-size: 18px;
  }

  .home-booking-picks__tile-copy small {
    font-size: 11px;
  }

  .home-booking-picks__tile-copy > span {
    font-size: 11px;
  }

  .top-houses-week__inner {
    padding: 0 var(--top-houses-gap);
  }

  .top-houses-week__grid {
    grid-template-columns: 1fr;
    gap: var(--top-houses-gap);
  }

  .top-houses-week__link {
    aspect-ratio: 16 / 11;
    border-radius: 0;
  }

  .top-houses-week__label {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .top-houses-week__badge {
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    font-size: 11px;
  }

  .top-houses-week__title,
  .top-houses-week__label strong {
    font-size: 22px;
    min-height: 0;
  }

  .top-services-home__load-more {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    margin-bottom: 20px;
  }

  .top-services-home__load-more .btn-outline {
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    padding: 12px 16px;
  }

  .top-houses-week__buttons {
    flex-direction: column;
    max-width: 240px;
    gap: 8px;
  }

  .top-houses-week__buttons .card-button {
    width: 100%;
    min-width: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-weekend-carousel__viewport {
    scroll-behavior: auto;
  }
}




.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;
}


.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;
  width: min(100%, var(--home-canvas-max));
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  margin-bottom: var(--home-search-overlap);
}

body.home-page {
  --home-search-overlap: 56px;
  overflow-x: clip;
}

.home-page .video-preview {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  height: calc(100svh + var(--home-search-overlap));
  min-height: 520px;
}

@media (min-width: 1000px) {
  .home-page .video-preview {
    /* Keep hero video visually starting at the very top behind fixed desktop header */
    margin-top: calc(-1 * var(--desktop-header-h, 140px));
    height: calc(100svh + var(--desktop-header-h, 140px) + var(--home-search-overlap));
    min-height: 680px;
  }
}

.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;            
}

.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;      
  gap: 15px;
}


.search-fields-wrapper .date-field {
  flex: none;                 
  max-width: 200px;           
}


.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: #007a67;
  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: #006453;
  transform: scale(1.05);
}

/* iOS Safari: normalize native controls to match site style */
@supports (-webkit-touch-callout: none) {
  .home-page .search-widget .occupancy-field input,
  .home-page .search-widget .date-field input[type="date"],
  .home-page #occupancy-modal .modal-field .number-input input,
  .home-page #occupancy-modal #children-inputs .child-age select {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    min-height: 42px;
    font-size: 16px;
  }

  .home-page .search-widget .date-field input[type="date"] {
    text-align: left;
    padding-right: 36px;
  }

  .home-page .search-widget .date-field input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
  }

  .home-page .search-widget .date-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.9;
    filter: saturate(0) brightness(0.35);
  }
}


.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;
}


.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]::-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;
}

/* Home search widget: guests popup in the same glass style as weather popup */
#occupancy-modal {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(9, 16, 28, 0.30);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

#occupancy-modal.active {
  display: flex;
}

#occupancy-modal .modal-content {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.20);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  padding: 16px 16px 14px;
  border-radius: 16px;
  width: min(100%, 560px);
  margin: 0;
}

#occupancy-modal .modal-content h2 {
  margin: 0 40px 12px 0;
  font-size: 20px;
  color: #0f172a;
  text-align: left;
}

#occupancy-modal .modal-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, opacity 0.2s ease;
}

#occupancy-modal .modal-content .close:hover {
  color: #00a88e;
  opacity: 0.95;
}

#occupancy-modal .modal-field {
  margin-bottom: 10px;
}

#occupancy-modal .modal-field label,
#occupancy-modal #children-inputs .child-age label {
  margin-bottom: 6px;
  font-size: 14px;
  color: #1f2937;
}

#occupancy-modal .modal-field .number-input {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
}

#occupancy-modal .modal-field .number-input button {
  background: transparent;
  border: 0;
  color: #0f172a;
}

#occupancy-modal .modal-field .number-input button:hover {
  background: transparent;
  color: #00a88e;
}

#occupancy-modal #children-inputs .child-age select {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  color: #0f172a;
}

#occupancy-modal .modal-actions {
  margin-top: 14px;
}

#occupancy-modal .modal-actions button {
  border-radius: 999px;
  padding: 10px 18px;
}




@media (max-width: 768px) {
  body.home-page {
    --site-edge-pad: 8px;
  }

  .home-page .header {
    width: 100%;
    left: 0;
    transform: none;
  }

  .hero-search-stack {
    margin-bottom: 0;
  }

  .home-page .video-preview {
    /* Fill exactly the visible area below the fixed mobile header. Keeping the
       next block below the fold also prevents the empty white strip seen in
       mobile browsers with a dynamic address bar. */
    min-height: 0;
    height: calc(100vh - var(--mobile-header-h));
    height: calc(100svh - var(--mobile-header-h));
    height: calc(100dvh - var(--mobile-header-h));
  }

  .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%; 
  }

  
  .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%;
  }
}

/* Minimum-stay check before opening booking results. */
body.booking-minstay-modal-open {
  overflow: hidden;
}

.booking-minstay-modal[hidden] {
  display: none !important;
}

.booking-minstay-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
}

.booking-minstay-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(11, 31, 28, 0.58);
  cursor: default;
  backdrop-filter: blur(3px);
}

.booking-minstay-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 42, 37, 0.28);
}

.booking-minstay-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f7f5;
  color: #315c55;
  font: 400 28px/36px var(--font-primary);
  cursor: pointer;
}

.booking-minstay-modal__eyebrow {
  display: block;
  margin: 0 42px 7px 0;
  color: #168779;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-minstay-modal__dialog h2 {
  margin: 0 42px 12px 0;
  color: #173d37;
  font-family: inherit;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.18;
}

.booking-minstay-modal__dialog p {
  margin: 0;
  color: #58706c;
  font-size: 15px;
  line-height: 1.5;
}

.booking-minstay-modal__dialog .booking-minstay-modal__lead {
  margin-bottom: 8px;
  color: #294d47;
  font-size: 17px;
  font-weight: 700;
}

.booking-minstay-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.booking-minstay-modal__actions button {
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 13px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.booking-minstay-modal__primary {
  flex: 1 1 auto;
  border: 1px solid #28a990;
  background: #28a990;
  color: #fff;
}

.booking-minstay-modal__secondary {
  flex: 0 0 auto;
  border: 1px solid rgba(15, 118, 110, 0.28);
  background: #fff;
  color: #176f64;
}

.booking-minstay-modal__primary:hover,
.booking-minstay-modal__primary:focus-visible {
  border-color: #137d6d;
  background: #137d6d;
}

.booking-minstay-modal__primary:focus-visible,
.booking-minstay-modal__secondary:focus-visible,
.booking-minstay-modal__close:focus-visible {
  outline: 3px solid rgba(40, 169, 144, 0.32);
  outline-offset: 2px;
}

.booking-minstay-modal__secondary:hover,
.booking-minstay-modal__secondary:focus-visible,
.booking-minstay-modal__close:hover,
.booking-minstay-modal__close:focus-visible {
  background: #e8f5f1;
}

@media (max-width: 640px) {
  .booking-minstay-modal {
    place-items: end center;
    padding: 0;
  }

  .booking-minstay-modal__dialog {
    width: 100%;
    padding: 24px 18px max(20px, env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }

  .booking-minstay-modal__dialog h2 {
    font-size: 24px;
  }

  .booking-minstay-modal__actions {
    flex-direction: column;
  }

  .booking-minstay-modal__actions button {
    width: 100%;
  }
}
