:root {
  --color-primary: #22c55e;
  --color-primary-hover: #15803d;
  --color-primary-light: #dcfce7;
  --color-primary-soft: #f3fff7;
  --color-accent: #f59e0b;

  --color-bg: #f6fff8;
  --color-surface: #ffffff;
  --color-surface-alt: #f1fbf4;

  --color-text-main: #052e16;
  --color-text-body: #14532d;
  --color-text-muted: #4d7c64;

  --color-border: #bbf7d0;
  --color-border-strong: rgba(22, 163, 74, 0.22);

  --color-body-gradient: linear-gradient(180deg, #f4fff7 0%, #ffffff 42%, #f4fff7 100%);
  --color-header-bg: rgba(220, 252, 231, 0.9);
  --color-header-scrolled-bg: rgba(255, 255, 255, 0.88);
  --color-header-border: rgba(34, 197, 94, 0.08);

  --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.05);
  --shadow-md: 0 10px 30px -18px rgb(15 23 42 / 0.18);
  --shadow-lg: 0 24px 45px -24px rgb(15 23 42 / 0.22);
  --shadow-xl: 0 30px 60px -28px rgb(15 23 42 / 0.26);

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --section-spacing: clamp(7rem, 9vw, 10rem);
}

html.theme-dark {
  color-scheme: dark;

  --color-primary: #34d399;
  --color-primary-hover: #22c55e;
  --color-primary-light: #123a2a;
  --color-primary-soft: rgba(34, 197, 94, 0.12);
  --color-accent: #fbbf24;

  --color-bg: #07130d;
  --color-surface: #0d2117;
  --color-surface-alt: #102a1d;

  --color-text-main: #ecfdf5;
  --color-text-body: #c9f7d7;
  --color-text-muted: #91c7a4;

  --color-border: rgba(134, 239, 172, 0.22);
  --color-border-strong: rgba(74, 222, 128, 0.32);

  --color-body-gradient: linear-gradient(180deg, #06120d 0%, #0b1d14 44%, #06120d 100%);
  --color-header-bg: rgba(6, 37, 24, 0.86);
  --color-header-scrolled-bg: rgba(8, 25, 18, 0.92);
  --color-header-border: rgba(134, 239, 172, 0.16);

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.24);
  --shadow-md: 0 16px 34px -24px rgb(0 0 0 / 0.68);
  --shadow-lg: 0 26px 46px -26px rgb(0 0 0 / 0.72);
  --shadow-xl: 0 34px 70px -28px rgb(0 0 0 / 0.78);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-text-body);
  background: var(--color-body-gradient);
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

body.body--locked {
  overflow: hidden;
}

main {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-text-main);
  line-height: 1.18;
}

p {
  color: var(--color-text-body);
}

.container {
  width: min(1140px, calc(100% - 4rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 2rem;
  top: 1.2rem;
  z-index: 1000;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-pill);
  background: var(--color-text-main);
  color: #ffffff;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.35);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), #34d399);
  box-shadow: 0 16px 30px -18px rgba(34, 197, 94, 0.75);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
  transform: translateY(-2px);
}

.btn--primary-light {
  color: var(--color-primary-hover);
  background: linear-gradient(135deg, #f3fff7, var(--color-primary-light));
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.btn--primary-light:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1fa463, var(--color-primary));
  transform: translateY(-2px);
}

.btn--outline {
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  color: var(--color-primary-hover);
  background: rgba(220, 252, 231, 0.6);
  border-color: var(--color-primary);
}

.btn--ghost {
  color: var(--color-text-muted);
}

.btn--ghost:hover {
  color: var(--color-text-main);
  background: rgba(220, 252, 231, 0.6);
}

.btn--lg {
  padding: 1.4rem 2.8rem;
  font-size: 1.6rem;
}

.btn--sm {
  padding: 0.95rem 1.6rem;
  font-size: 1.4rem;
}

.btn--full {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 2.4rem;
  background: var(--color-header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-header-border);
  transition: var(--transition);
}

.header.scrolled {
  background: var(--color-header-scrolled-bg);
  box-shadow: var(--shadow-sm);
}

.header__left,
.header__right {
  width: 12.8rem;
  display: flex;
  align-items: center;
}

.header__right {
  justify-content: flex-end;
  gap: 0.8rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary-hover);
}

.header__brand-icon {
  color: var(--color-primary);
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.header__hamburger .bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text-main);
  transition: var(--transition);
}

.header__hamburger.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-active .bar:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__right .nav-login-button {
  min-height: 42px;
  padding: 0 1.6rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.22);
  font-size: 1.4rem;
  font-weight: 800;
  transition: var(--transition);
}

.header__right .nav-login-button:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.header__right .nav-login-button.is-user-profile {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.16);
  font-size: 1.4rem;
  transition: var(--transition);
}

.header__right .nav-login-button.is-user-profile:hover {
  transform: scale(1.04);
  border-color: var(--color-primary);
}

.header__right .nav-login-button.is-user-profile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(5px);
  transition: opacity 0.3s ease;
}

.overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 300;
  width: min(300px, 82vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f2fff6 100%);
  border-right: 1px solid rgba(34, 197, 94, 0.1);
  box-shadow: var(--shadow-xl);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar.is-open {
  transform: translateX(0);
}

.sidebar__header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.4rem;
  border-bottom: 1px solid var(--color-border);
}

.sidebar__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.sidebar__logo .icon {
  color: var(--color-primary);
}

.sidebar__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-text-muted);
  font-size: 2.2rem;
  transition: var(--transition);
}

.sidebar__close:hover {
  color: var(--color-text-main);
  background: rgba(220, 252, 231, 0.7);
  transform: rotate(90deg);
}

.sidebar__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2rem 1.6rem;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  color: var(--color-text-body);
  font-weight: 600;
  transition: var(--transition);
}

.sidebar__link[hidden] {
  display: none;
}

.sidebar__link::before {
  content: attr(data-icon);
  font-size: 1.8rem;
}

.sidebar__link:hover {
  color: var(--color-primary-hover);
  background: rgba(220, 252, 231, 0.9);
  transform: translateX(4px);
}

.sidebar__link--accent {
  margin-top: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.18);
}

.sidebar__link--accent:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary-hover), #16a34a);
}

.sidebar__footer {
  padding: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 1.3rem;
  color: var(--color-text-muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 3.2rem);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__box {
  position: relative;
  width: 100%;
  max-height: calc(100dvh - 2 * clamp(1.6rem, 3vw, 3.2rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-xl);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.is-open .modal__box {
  transform: translateY(0) scale(1);
}

.modal__box--lg {
  max-width: 760px;
}

.modal__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-text-muted);
  background: var(--color-surface-alt);
  font-size: 1.8rem;
  transition: var(--transition);
}

.modal__close:hover {
  color: var(--color-text-main);
  background: rgba(220, 252, 231, 1);
  transform: rotate(90deg);
}

.modal__box--lg.place-modal {
  max-width: 980px;
  padding: 2.4rem;
  background:
    radial-gradient(circle at top right, rgba(220, 252, 231, 0.9), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
}

.place-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.8rem;
  align-items: stretch;
}

.place-modal__media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.82) 0 12%, transparent 13%),
    radial-gradient(circle at 16% 86%, rgba(255, 255, 255, 0.5) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--visual-from, #effcf3), var(--visual-to, #d9fbe5));
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.place-modal__media::before,
.place-modal__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.place-modal__media::before {
  opacity: 0.46;
  background:
    linear-gradient(rgba(20, 83, 45, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 83, 45, 0.1) 1px, transparent 1px);
  background-size: 5.6rem 5.6rem;
}

.place-modal__media::after {
  inset: auto 8% 9% 8%;
  height: 34%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(-3deg);
}

.place-modal__visual {
  position: relative;
  z-index: 1;
  width: min(78%, 32rem);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 26px 46px -28px rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(16px);
  text-align: center;
}

.place-modal__visual-icon {
  display: grid;
  place-items: center;
  width: 9rem;
  height: 9rem;
  padding: 0.8rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--visual-accent, var(--color-primary-hover));
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 22px 34px -24px rgba(15, 23, 42, 0.7);
}

.place-modal__visual-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.place-modal__visual-icon.is-fallback {
  border: 1px dashed rgba(22, 101, 52, 0.26);
  background: rgba(255, 255, 255, 0.72);
}

.place-modal__visual-category,
.place-modal__visual-note {
  display: block;
  color: var(--visual-accent, var(--color-primary-hover));
  font-weight: 800;
}

.place-modal__visual-category {
  font-family: var(--font-display);
  font-size: 2rem;
}

.place-modal__visual-note {
  max-width: 24ch;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.place-modal__hero {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  min-height: 100%;
  padding: clamp(2.2rem, 2.8vw, 3rem);
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(243, 255, 247, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: var(--shadow-lg);
}

.place-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.place-modal__badge {
  border-color: rgba(34, 197, 94, 0.12);
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-primary-hover);
}

.place-modal__category {
  border-color: rgba(34, 197, 94, 0.12);
  background: #ffffff;
}

.place-modal__headline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.place-modal__title {
  font-size: clamp(2.8rem, 4vw, 3.9rem);
}

.place-modal__location {
  color: var(--color-text-muted);
  font-size: 1.5rem;
  font-weight: 700;
}

.place-modal__rating-panel {
  padding: 1.8rem;
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px -24px rgba(15, 23, 42, 0.26);
}

.place-modal__rating-main {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.place-modal__stars {
  font-size: 1.8rem;
}

.place-modal__rating-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.place-modal__rating {
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.place-modal__rating-note,
.place-modal__rating-label {
  color: var(--color-text-muted);
  font-size: 1.35rem;
  font-weight: 700;
}

.place-modal__rating-label {
  display: block;
  margin-top: 0.9rem;
}

.place-modal__summary {
  color: var(--color-text-body);
  font-size: 1.58rem;
  line-height: 1.7;
}

.place-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.place-modal__actions .btn {
  flex: 1 1 18rem;
  min-height: 4.6rem;
}

.place-modal__details {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.place-modal__details-main {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 0;
}

.place-modal__panel {
  padding: clamp(2rem, 2.4vw, 2.4rem);
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.place-modal__panel--compact {
  padding: 1.5rem 1.7rem;
}

.place-modal__panel--compact .place-modal__panel-head {
  margin-bottom: 0.9rem;
}

.place-modal__panel--compact .place-modal__panel-title,
.place-modal__panel--comments .place-modal__panel-title {
  font-size: 1.7rem;
}

.place-modal__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.place-modal__panel-title {
  font-size: 1.9rem;
}

.place-modal__panel-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(34, 197, 94, 0.12);
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
}

.place-modal__features {
  gap: 0.85rem;
}

.place-modal__panel--compact .place-modal__features {
  gap: 0.65rem;
}

.place-modal__panel--comments {
  min-height: 30rem;
}

.place-modal__comments-status {
  padding: 1.4rem;
  border: 1px dashed rgba(34, 197, 94, 0.22);
  border-radius: 18px;
  background: rgba(240, 253, 244, 0.72);
  color: var(--color-text-muted);
  font-size: 1.35rem;
  font-weight: 700;
}

.place-modal__comments-status[hidden] {
  display: none;
}

.place-modal__comments {
  display: grid;
  gap: 1rem;
  max-height: 42rem;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.place-modal__comment {
  padding: 1.4rem;
  border: 1px solid rgba(187, 247, 208, 0.9);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fff8 100%);
}

.place-modal__comment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.place-modal__comment-author-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.25rem;
}

.place-modal__comment-author {
  color: var(--color-text-main);
  font-size: 1.45rem;
}

.place-modal__comment-date {
  color: var(--color-text-muted);
  font-size: 1.2rem;
  font-weight: 700;
}

.place-modal__comment-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  white-space: nowrap;
}

.place-modal__comment-text {
  margin-top: 1rem;
  color: var(--color-text-body);
  font-size: 1.38rem;
  line-height: 1.6;
}

.place-modal__comment-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.place-modal__comment-feature {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(220, 252, 231, 0.7);
  color: var(--color-primary-hover);
  font-size: 1.15rem;
  font-weight: 800;
}

.place-modal__comment-feature.is-negative {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(241, 245, 249, 0.82);
  color: var(--color-text-muted);
}

.place-modal__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.place-modal__fact {
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(187, 247, 208, 0.9);
  border-radius: 22px;
  background: linear-gradient(180deg, #f9fffb 0%, #f1fbf4 100%);
}

.place-modal__fact-label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--color-text-muted);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.place-modal__fact-value {
  display: block;
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-size: 1.62rem;
  line-height: 1.4;
}

.hero {
  position: relative;
  min-height: min(88rem, 92svh);
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + clamp(5.2rem, 7vw, 8rem)) 0 clamp(5.6rem, 8vw, 9rem);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(220, 252, 231, 0.96) 0%, rgba(246, 255, 248, 0.98) 48%, #ffffff 100%);
}

.hero__bg::before,
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg::before {
  opacity: 0.5;
  background:
    linear-gradient(rgba(34, 197, 94, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.08) 1px, transparent 1px);
  background-size: 7.2rem 7.2rem;
  mask-image: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.78) 46%, transparent 100%);
}

.hero__bg::after {
  top: auto;
  height: 34%;
  background: linear-gradient(180deg, transparent 0%, var(--color-bg) 100%);
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(34rem, 0.72fr);
  gap: clamp(4rem, 6vw, 7.2rem);
  align-items: center;
}

.hero__content {
  max-width: 66rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 197, 94, 0.22);
  color: var(--color-primary-hover);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px -24px rgba(15, 23, 42, 0.42);
  font-size: 1.3rem;
  font-weight: 800;
}

.hero__badge::before {
  content: '';
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 3px;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.hero__title {
  max-width: 17ch;
  margin-bottom: 2.2rem;
  font-size: clamp(4.2rem, 6vw, 7.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.text-highlight {
  display: block;
  color: var(--color-primary-hover);
}

.hero__desc {
  max-width: 56ch;
  margin: 0 0 3.2rem;
  color: var(--color-text-muted);
  font-size: clamp(1.7rem, 1.4vw, 2rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  justify-content: flex-start;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero__visual {
  min-width: 0;
}

.hero__visual-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 3vw, 2.8rem);
  border: 1px solid rgba(187, 247, 208, 0.94);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 255, 247, 0.98) 100%);
  box-shadow: var(--shadow-xl);
}

.hero__visual-shell::before {
  content: '';
  position: absolute;
  inset: 1.2rem;
  border-radius: 26px;
  border: 1px solid rgba(34, 197, 94, 0.08);
  pointer-events: none;
}

.hero__visual-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.hero__visual-kicker {
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
}

.hero__visual-status {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(34, 197, 94, 0.14);
  border-radius: var(--radius-pill);
  color: var(--color-primary-hover);
  background: var(--color-primary-soft);
  font-size: 1.15rem;
  font-weight: 800;
}

.hero__map-preview {
  position: relative;
  min-height: clamp(22rem, 30vw, 32rem);
  overflow: hidden;
  border: 1px solid rgba(187, 247, 208, 0.94);
  border-radius: 26px;
  background:
    linear-gradient(rgba(20, 83, 45, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 83, 45, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #f8fffa 0%, #dcfce7 100%);
  background-size: 4.8rem 4.8rem, 4.8rem 4.8rem, auto;
}

.hero__map-preview::before,
.hero__map-preview::after {
  content: none;
  position: absolute;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
}

.hero__map-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__map-preview::before {
  left: -8%;
  top: 34%;
  width: 116%;
  height: 2.2rem;
  transform: rotate(-12deg);
}

.hero__map-preview::after {
  left: 42%;
  top: -16%;
  width: 2.4rem;
  height: 132%;
  transform: rotate(22deg);
}

.hero__route {
  position: absolute;
  z-index: 1;
  border: 2px dashed rgba(21, 128, 61, 0.34);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
}

.hero__route--one {
  left: 12%;
  top: 22%;
  width: 70%;
  height: 48%;
  transform: rotate(-8deg);
}

.hero__route--two {
  left: 18%;
  top: 42%;
  width: 58%;
  height: 34%;
  transform: rotate(16deg);
}

.hero__pin {
  position: absolute;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: var(--color-primary);
  box-shadow: 0 14px 26px -14px rgba(21, 128, 61, 0.85);
  transform: rotate(-45deg);
}

.hero__pin::after {
  content: '';
  position: absolute;
  inset: 0.48rem;
  border-radius: 50%;
  background: #ffffff;
}

.hero__pin--primary {
  left: 59%;
  top: 34%;
  width: 2.8rem;
  height: 2.8rem;
  background: var(--color-primary-hover);
}

.hero__pin--secondary {
  left: 24%;
  top: 58%;
}

.hero__pin--accent {
  right: 18%;
  top: 68%;
  background: var(--color-accent);
  box-shadow: 0 14px 26px -14px rgba(245, 158, 11, 0.78);
}

.hero__place-panel {
  position: relative;
  z-index: 3;
  width: min(92%, 39rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin: -4.5rem 0 0 auto;
  padding: 1.6rem;
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 44px -28px rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(14px);
}

.hero__place-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-primary-hover);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__place-name {
  display: block;
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.25;
}

.hero__place-score {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 8.2rem;
  min-height: 7.2rem;
  padding: 0.9rem;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
  text-align: center;
  box-shadow: 0 18px 30px -20px rgba(21, 128, 61, 0.9);
}

.hero__place-score strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.hero__place-score span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 800;
}

.hero__signals {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero__signals li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(34, 197, 94, 0.14);
  border-radius: var(--radius-pill);
  color: var(--color-text-body);
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.18rem;
  font-weight: 800;
  text-align: center;
}

.places-section {
  position: relative;
  padding: var(--section-spacing) 0;
}

.places-section::before {
  content: '';
  position: absolute;
  top: 9rem;
  left: 50%;
  z-index: 0;
  width: min(1200px, calc(100% - 4rem));
  height: 22rem;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.03));
  transform: translateX(-50%);
}

.places-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.section-header {
  margin: 0;
}

.section-header--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(28rem, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 0.6rem 0 0.2rem;
}

.section-header--split .section-desc {
  max-width: 44ch;
}

.tag {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--color-primary-hover);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title,
.trust-section__title {
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 4vw, 4.6rem);
}

.section-desc,
.trust-section__desc {
  font-size: 1.8rem;
  color: var(--color-text-muted);
}

.places-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 255, 249, 0.98));
  box-shadow: var(--shadow-md);
}

.places-toolbar__intro {
  max-width: 38ch;
  align-self: flex-start;
  padding-top: 0.3rem;
}

.places-toolbar__title {
  display: block;
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
}

.places-toolbar__actions {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

.tabs__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
  width: min(100%, 62rem);
}

.category-filter {
  align-items: center;
}

.tabs__more {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
  width: 100%;
  max-height: 22rem;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition: max-height 0.34s ease, opacity 0.28s ease, transform 0.28s ease, margin-top 0.28s ease, visibility 0.28s ease;
}

.category-filter[data-expanded='false'] .tabs__more {
  max-height: 0;
  margin-top: -0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  visibility: hidden;
}

.category-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 4.4rem;
  padding: 0.85rem 1.05rem 0.85rem 1.25rem;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(220, 252, 231, 0.78);
  color: var(--color-primary-hover);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 10px 22px -20px rgba(15, 23, 42, 0.36);
  transition: var(--transition);
}

.category-toggle:hover {
  border-color: rgba(34, 197, 94, 0.42);
  background: var(--color-primary-soft);
  transform: translateY(-1px);
}

.category-toggle__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  min-height: 2.4rem;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-primary-hover);
  font-size: 1.15rem;
  font-weight: 900;
}

.category-toggle__count[hidden] {
  display: none;
}

.category-toggle__icon {
  width: 0.8rem;
  height: 0.8rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.15rem);
  transition: transform 0.24s ease;
}

.category-toggle[aria-expanded='true'] .category-toggle__icon {
  transform: rotate(225deg) translateY(-0.1rem);
}

.tab-btn {
  flex: 0 0 auto;
  padding: 0.95rem 1.5rem;
  border: 1px solid rgba(187, 247, 208, 0.9);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-text-body);
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 8px 18px -16px rgba(15, 23, 42, 0.34);
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--color-primary-hover);
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

.tab-btn--active,
.tab-btn[aria-pressed='true'] {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
  box-shadow: 0 18px 28px -18px rgba(21, 128, 61, 0.8);
}

.places-status {
  display: inline-block;
  max-width: 100%;
  padding: 0.7rem 1.05rem;
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-text-muted);
  font-size: 1.28rem;
  font-weight: 700;
  text-align: right;
}

.places-stack {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.places-group {
  padding: clamp(2rem, 2.5vw, 2.8rem);
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 255, 251, 0.98));
  box-shadow: var(--shadow-md);
}

.places-group--featured {
  background: linear-gradient(180deg, #ffffff 0%, #f4fff7 100%);
}

.places-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}

.places-group__eyebrow {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--color-primary-hover);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.places-group__title {
  font-size: clamp(2.1rem, 2.4vw, 2.8rem);
}

.places-group__desc {
  max-width: 42ch;
  color: var(--color-text-muted);
  font-size: 1.4rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.cards-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(187, 247, 208, 0.92);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 34px -28px rgba(15, 23, 42, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card--featured {
  background: linear-gradient(180deg, #ffffff 0%, #fcfffd 100%);
  border-color: rgba(34, 197, 94, 0.2);
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.34);
  box-shadow: 0 24px 38px -28px rgba(15, 23, 42, 0.42);
}

.card-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 5.8rem 1.8rem 2rem;
  border-bottom: 1px solid rgba(187, 247, 208, 0.74);
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.9) 0 13%, transparent 14%),
    radial-gradient(circle at 14% 84%, rgba(255, 255, 255, 0.52) 0 19%, transparent 20%),
    linear-gradient(135deg, var(--visual-from, #effcf3), var(--visual-to, #d7f7e2));
  isolation: isolate;
}

.card-media::before,
.card-media::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.card-media::before {
  inset: 0;
  opacity: 0.46;
  background:
    linear-gradient(rgba(20, 83, 45, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 83, 45, 0.1) 1px, transparent 1px);
  background-size: 4.2rem 4.2rem;
}

.card-media::after {
  right: -8%;
  bottom: 12%;
  width: 70%;
  height: 34%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(-12deg);
}

.card-media__overlay {
  position: absolute;
  z-index: 2;
  inset: 1.4rem 1.4rem auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-visual {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  width: min(78%, 24rem);
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 20px 34px -26px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(14px);
  text-align: center;
}

.card-visual__icon {
  display: grid;
  place-items: center;
  width: 6.4rem;
  height: 6.4rem;
  padding: 0.55rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--visual-accent, var(--color-primary-hover));
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  object-fit: contain;
  box-shadow: 0 18px 28px -22px rgba(15, 23, 42, 0.74);
  transition: transform 0.35s ease;
}

.card-visual__icon--fallback {
  border: 1px dashed rgba(22, 101, 52, 0.28);
  background: rgba(255, 255, 255, 0.74);
}

.card:hover .card-visual__icon,
.card:focus-within .card-visual__icon {
  transform: translateY(-2px) scale(1.03);
}

.card-visual__text,
.card-visual__note {
  max-width: 100%;
  color: var(--visual-accent, var(--color-primary-hover));
  overflow-wrap: anywhere;
}

.card-visual__text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.card-visual__note {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.card-top__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(8px);
  font-size: 1.1rem;
  font-weight: 800;
}

.card-media .card-badge {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.62);
  color: var(--visual-accent, var(--color-primary-hover));
}

.card-score {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1.2rem;
  padding: 1.7rem;
}

.card-header {
  display: block;
}

.card-category {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-hover);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-title {
  font-size: 1.95rem;
  line-height: 1.3;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.card-feature {
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: var(--radius-pill);
  background: #f7fcf8;
  color: var(--color-text-main);
  font-size: 1.2rem;
  font-weight: 700;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2rem;
}

.stars {
  color: var(--color-accent);
  letter-spacing: 1px;
  font-size: 1.32rem;
}

.rating-score {
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}

.card-actions {
  display: flex;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(187, 247, 208, 0.82);
}

.card-actions .btn {
  flex: 1 1 12rem;
  min-height: 4rem;
  padding: 0.95rem 1.2rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2.4rem;
  border: 1px dashed rgba(34, 197, 94, 0.24);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f9fffb);
  color: var(--color-text-muted);
  text-align: center;
  font-size: 1.45rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.card-actions .btn.btn--primary-light {
  background: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.14);
  color: var(--color-primary-hover);
  box-shadow: none;
  font-size: 1.35rem;
  justify-content: center;
  background-image: none;
  background-color: #ffffff;
  font-weight: 700;
  min-width: 0;
  border-radius: var(--radius-pill);
}

.card-actions .btn.btn--primary {
  min-width: 0;
  border-radius: var(--radius-pill);
  font-size: 1.35rem;
  font-weight: 700;
  justify-content: center;
  box-shadow: 0 14px 24px -18px rgba(34, 197, 94, 0.78);
}

.card-actions .btn.btn--primary:hover,
.card-actions .btn.btn--primary-light:hover,
.card-actions .btn.btn--primary-light:focus-visible {
  transform: translateY(-1px);
}

.card-actions .btn.btn--primary-light:hover {
  background: var(--color-primary-soft);
  border-color: rgba(34, 197, 94, 0.28);
}

.card-actions .btn.btn--primary-light:active,
.card-actions .btn.btn--primary:active {
  transform: scale(0.98);
}

.card-actions .btn.btn--primary-light:focus-visible,
.card-actions .btn.btn--primary:focus-visible {
  outline-offset: 2px;
}

.trust-section {
  padding-bottom: var(--section-spacing);
}

.trust-section .container {
  padding: clamp(3rem, 4vw, 4.4rem);
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(243, 255, 247, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: var(--shadow-lg);
}

.trust-section__toggle {
  display: none;
}

.trust-section__content {
  overflow: visible;
}

.trust-section__intro {
  max-width: 760px;
  margin-bottom: 3rem;
}

.trust-section__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
  margin-bottom: 2.6rem;
}

.trust-card {
  min-height: 100%;
  padding: 2.4rem;
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust-card__eyebrow {
  display: inline-flex;
  color: var(--color-primary-hover);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-card__title {
  margin: 1rem 0;
  font-size: 2rem;
}

.trust-card__desc {
  color: var(--color-text-muted);
  font-size: 1.45rem;
}

.trust-highlight {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr;
  gap: 1.8rem;
  align-items: stretch;
}

.trust-highlight__content,
.trust-highlight__panel {
  padding: 2.8rem;
  border-radius: 28px;
}

.trust-highlight__content {
  background: linear-gradient(135deg, #14532d, #1b7b52);
  box-shadow: var(--shadow-xl);
}

.trust-highlight__content .tag {
  color: #dcfce7;
}

.trust-highlight__title {
  margin-bottom: 1.2rem;
  color: #ffffff;
  font-size: clamp(2.4rem, 3vw, 3.4rem);
}

.trust-highlight__desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.55rem;
}

.trust-highlight__list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-top: 2rem;
}

.trust-highlight__list li {
  position: relative;
  padding: 1.3rem 1.4rem 1.3rem 4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
}

.trust-highlight__list li::before {
  content: '';
  position: absolute;
  left: 1.6rem;
  top: 50%;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #dcfce7;
  box-shadow: 0 0 0 5px rgba(220, 252, 231, 0.2);
}

.trust-highlight__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  border: 1px solid rgba(187, 247, 208, 0.95);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.trust-metric {
  padding: 1.8rem;
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 20px;
  background: var(--color-primary-soft);
}

.trust-metric__value {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
}

.trust-metric__label {
  color: var(--color-text-muted);
  font-size: 1.4rem;
}

.footer {
  padding: 6rem 0;
  background: linear-gradient(135deg, #166534, #22c55e);
  color: #ffffff;
  text-align: center;
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.footer__logo {
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
}

.footer__logo .icon {
  color: #dcfce7;
}

.footer__brand p,
.footer__copy {
  color: rgba(255, 255, 255, 0.82);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}

.footer__links a {
  color: #dcfce7;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__links--secondary {
  margin-top: -1.4rem;
  gap: 1.8rem;
}

.footer__links--secondary a {
  font-size: 1.6rem;
  color: rgba(220, 252, 231, 0.9);
}

.footer__copy {
  font-size: 1.4rem;
}

html.theme-dark .sidebar {
  background: linear-gradient(180deg, #0d2117 0%, #07130d 100%);
  border-right-color: var(--color-header-border);
}

html.theme-dark .sidebar__close:hover,
html.theme-dark .modal__close:hover {
  background: rgba(34, 197, 94, 0.18);
}

html.theme-dark .hero__bg {
  background:
    linear-gradient(135deg, rgba(6, 37, 24, 0.98) 0%, rgba(11, 29, 20, 0.98) 52%, #07130d 100%);
}

html.theme-dark .hero__bg::before {
  opacity: 0.38;
  background:
    linear-gradient(rgba(134, 239, 172, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 239, 172, 0.1) 1px, transparent 1px);
}

html.theme-dark .hero__bg::after {
  background: linear-gradient(180deg, transparent 0%, var(--color-bg) 100%);
}

html.theme-dark .hero__badge,
html.theme-dark .places-status,
html.theme-dark .place-modal__panel-badge {
  border-color: var(--color-border);
  color: #bbf7d0;
  background: rgba(13, 33, 23, 0.82);
}

html.theme-dark .hero__visual-shell,
html.theme-dark .hero__place-panel {
  border-color: var(--color-border);
  background:
    linear-gradient(180deg, rgba(13, 33, 23, 0.94) 0%, rgba(8, 24, 17, 0.96) 100%);
  box-shadow: var(--shadow-lg);
}

html.theme-dark .hero__visual-shell::before {
  border-color: rgba(134, 239, 172, 0.12);
}

html.theme-dark .hero__visual-status,
html.theme-dark .hero__signals li {
  border-color: var(--color-border);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}

html.theme-dark .hero__map-preview {
  border-color: var(--color-border);
  background:
    linear-gradient(rgba(134, 239, 172, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 239, 172, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #102a1d 0%, #0b1d14 100%);
  background-size: 4.8rem 4.8rem, 4.8rem 4.8rem, auto;
}

html.theme-dark .hero__map-preview::before,
html.theme-dark .hero__map-preview::after {
  background: rgba(34, 197, 94, 0.12);
}

html.theme-dark .hero__route {
  border-color: rgba(134, 239, 172, 0.34);
  border-bottom-color: transparent;
  border-left-color: transparent;
}

html.theme-dark .hero__place-name,
html.theme-dark .hero__visual-kicker {
  color: var(--color-text-main);
}

html.theme-dark .places-section::before {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(6, 95, 70, 0.05));
}

html.theme-dark .places-toolbar,
html.theme-dark .places-group,
html.theme-dark .places-group--featured,
html.theme-dark .trust-section .container,
html.theme-dark .trust-card,
html.theme-dark .trust-highlight__panel,
html.theme-dark .card,
html.theme-dark .card--featured,
html.theme-dark .modal__box,
html.theme-dark .modal__box--lg.place-modal,
html.theme-dark .place-modal__hero,
html.theme-dark .place-modal__panel,
html.theme-dark .place-modal__rating-panel {
  border-color: var(--color-border);
  background:
    linear-gradient(180deg, rgba(13, 33, 23, 0.98) 0%, rgba(8, 24, 17, 0.98) 100%);
  box-shadow: var(--shadow-md);
}

html.theme-dark .place-modal__media {
  border-color: var(--color-border);
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 197, 94, 0.2) 0 12%, transparent 13%),
    radial-gradient(circle at 16% 86%, rgba(134, 239, 172, 0.14) 0 18%, transparent 19%),
    linear-gradient(135deg, #102a1d, #0b1d14);
}

html.theme-dark .card-media {
  border-color: var(--color-border);
  background:
    radial-gradient(circle at 85% 18%, rgba(34, 197, 94, 0.22) 0 13%, transparent 14%),
    radial-gradient(circle at 14% 84%, rgba(134, 239, 172, 0.14) 0 19%, transparent 20%),
    linear-gradient(135deg, #102a1d, #0b1d14);
}

html.theme-dark .place-modal__media::before,
html.theme-dark .card-media::before {
  opacity: 0.34;
  background:
    linear-gradient(rgba(134, 239, 172, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 239, 172, 0.12) 1px, transparent 1px);
}

html.theme-dark .place-modal__visual,
html.theme-dark .card-visual {
  border-color: rgba(134, 239, 172, 0.18);
  background: rgba(13, 33, 23, 0.72);
}

html.theme-dark .place-modal__fact,
html.theme-dark .place-modal__comment,
html.theme-dark .place-modal__comments-status,
html.theme-dark .trust-metric,
html.theme-dark .card-feature,
html.theme-dark .empty-state {
  border-color: var(--color-border);
  background: rgba(34, 197, 94, 0.1);
}

html.theme-dark .place-modal__comment-feature {
  border-color: rgba(134, 239, 172, 0.18);
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

html.theme-dark .place-modal__comment-feature.is-negative {
  border-color: var(--color-border);
  background: rgba(148, 163, 184, 0.1);
  color: var(--color-text-muted);
}

html.theme-dark .tab-btn,
html.theme-dark .card-category,
html.theme-dark .place-modal__category,
html.theme-dark .card-score {
  border-color: var(--color-border);
  color: var(--color-text-body);
  background: rgba(13, 33, 23, 0.94);
}

html.theme-dark .card-media .card-badge {
  border-color: rgba(134, 239, 172, 0.18);
  background: rgba(13, 33, 23, 0.74);
  color: #bbf7d0;
}

html.theme-dark .tab-btn:hover {
  color: #bbf7d0;
  border-color: rgba(134, 239, 172, 0.42);
}

html.theme-dark .tab-btn--active,
html.theme-dark .tab-btn[aria-pressed='true'] {
  color: #052e16;
  border-color: transparent;
  background: linear-gradient(135deg, #86efac, var(--color-primary));
}

html.theme-dark .category-toggle {
  color: #bbf7d0;
  border-color: var(--color-border);
  background: rgba(34, 197, 94, 0.12);
}

html.theme-dark .category-toggle:hover {
  border-color: rgba(134, 239, 172, 0.42);
  background: rgba(34, 197, 94, 0.18);
}

html.theme-dark .category-toggle__count {
  color: #052e16;
  background: #86efac;
}

html.theme-dark .btn--primary-light,
html.theme-dark .card-actions .btn.btn--primary-light {
  color: #bbf7d0;
  border-color: var(--color-border);
  background: rgba(34, 197, 94, 0.12);
}

html.theme-dark .btn--primary-light:hover,
html.theme-dark .card-actions .btn.btn--primary-light:hover {
  color: #052e16;
  background: linear-gradient(135deg, #86efac, var(--color-primary));
}

html.theme-dark .footer {
  background: linear-gradient(135deg, #052e16, #15803d);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--delay, 0s);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
  }

  .hero__container {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 72rem;
    margin-inline: auto;
    text-align: center;
  }

  .hero__title {
    max-width: 17ch;
    margin-inline: auto;
  }

  .hero__desc {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    width: min(100%, 66rem);
    margin-inline: auto;
  }

  .section-header--split {
    grid-template-columns: 1fr;
  }

  .trust-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .places-toolbar,
  .places-group__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .places-toolbar {
    position: relative;
    gap: 1.35rem;
    padding: 1.8rem;
  }

  .places-toolbar__intro {
    display: flex;
    align-items: center;
    width: calc(100% - 11rem);
    min-height: 4.2rem;
    max-width: none;
    padding-top: 0;
  }

  .places-toolbar__title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .cards-grid,
  .cards-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .places-toolbar__actions {
    width: 100%;
    align-items: flex-start;
  }

  .tabs__controls {
    justify-content: flex-start;
    width: 100%;
  }

  .category-filter {
    align-items: stretch;
  }

  .category-toggle {
    position: absolute;
    top: 1.8rem;
    right: 1.8rem;
    z-index: 1;
    min-height: 4.2rem;
    padding: 0.78rem 1rem;
  }

  .tab-btn,
  .tabs__more .tab-btn {
    flex: 1 1 calc(50% - 0.45rem);
    min-height: 4.2rem;
    text-align: center;
    white-space: nowrap;
  }

  .category-filter > .tab-btn[data-filter='todos'] {
    flex-basis: 100%;
  }

  .tabs__more {
    justify-content: flex-start;
  }

  .places-status {
    text-align: left;
  }

  .place-modal__layout,
  .place-modal__details {
    grid-template-columns: 1fr;
  }

  .place-modal__media {
    min-height: 32rem;
  }
}

@media (max-width: 720px) {
  html {
    font-size: 58%;
  }

  .container {
    width: min(1140px, calc(100% - 3rem));
  }

  .header {
    padding: 0 1.6rem;
  }

  .header__left,
  .header__right {
    width: 10.8rem;
  }

  .header__brand {
    font-size: 1.95rem;
  }

  .header__right .nav-login-button {
    min-height: 38px;
    padding: 0 1rem;
    font-size: 1.3rem;
  }

  .hero {
    padding: calc(var(--header-height) + 4.6rem) 0 5.2rem;
  }

  .hero__container {
    gap: 3rem;
  }

  .hero__badge {
    margin-bottom: 1.6rem;
  }

  .hero__title {
    margin-bottom: 1.8rem;
    font-size: clamp(3.4rem, 10vw, 4.8rem);
  }

  .hero__desc {
    margin-bottom: 2.4rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    display: none;
  }

  .cards-grid,
  .cards-grid--featured {
    grid-template-columns: 1fr;
  }

  .trust-section__grid {
    grid-template-columns: 1fr;
  }

  .category-filter[data-expanded='false'] {
    flex-wrap: wrap;
  }

  .category-filter,
  .tabs__more {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .tabs__more {
    grid-column: 1 / -1;
    width: 100%;
  }

  .tabs__more {
    max-height: 32rem;
  }

  .tab-btn,
  .tabs__more .tab-btn,
  .category-toggle {
    min-height: 4.2rem;
    padding: 0.82rem 1.12rem;
    font-size: 1.3rem;
    white-space: nowrap;
  }

  .tab-btn,
  .tabs__more .tab-btn,
  .category-filter > .tab-btn[data-filter='todos'] {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .category-toggle {
    gap: 0.6rem;
  }

  .category-toggle__count {
    min-width: 2.8rem;
    min-height: 2.2rem;
    padding-inline: 0.62rem;
    font-size: 1.08rem;
  }

  .tab-btn {
    text-align: center;
  }
}

@media (max-width: 720px) and (orientation: portrait) {
  .trust-section[data-accordion-ready='true'] .container {
    padding: 1.2rem;
    overflow: hidden;
    border-radius: 26px;
  }

  .trust-section[data-accordion-ready='true'] .trust-section__toggle {
    display: flex;
    width: 100%;
    min-height: 5.8rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 20px;
    background: rgba(220, 252, 231, 0.78);
    color: var(--color-primary-hover);
    font-family: var(--font-display);
    font-size: 1.62rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    transition: var(--transition);
  }

  .trust-section[data-accordion-ready='true'] .trust-section__toggle:hover {
    border-color: rgba(34, 197, 94, 0.42);
    background: var(--color-primary-soft);
  }

  .trust-section__toggle-icon {
    flex: 0 0 auto;
    width: 0.9rem;
    height: 0.9rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-0.15rem);
    transition: transform 0.24s ease;
  }

  .trust-section__toggle[aria-expanded='true'] .trust-section__toggle-icon {
    transform: rotate(225deg) translateY(-0.1rem);
  }

  .trust-section[data-accordion-ready='true'] .trust-section__content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-0.6rem);
    visibility: hidden;
    transition: max-height 0.34s ease, opacity 0.28s ease, transform 0.28s ease, margin-top 0.28s ease, visibility 0.28s ease;
  }

  .trust-section[data-accordion-ready='true'][data-expanded='true'] .trust-section__content {
    max-height: 600rem;
    margin-top: 1.2rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
}

@media (max-width: 720px) and (orientation: portrait) {
  html.theme-dark .trust-section[data-accordion-ready='true'] .trust-section__toggle {
    color: #bbf7d0;
    border-color: var(--color-border);
    background: rgba(34, 197, 94, 0.12);
  }

  html.theme-dark .trust-section[data-accordion-ready='true'] .trust-section__toggle:hover {
    border-color: rgba(134, 239, 172, 0.42);
    background: rgba(34, 197, 94, 0.18);
  }
}

@media (max-width: 560px) {
  html {
    font-size: 56.25%;
  }

  .hero__visual-shell {
    padding: 1.4rem;
    border-radius: 26px;
  }

  .hero__visual-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero__map-preview {
    min-height: 18.5rem;
    border-radius: 22px;
  }

  .hero__place-panel {
    width: calc(100% - 1.6rem);
    align-items: flex-start;
    flex-direction: column;
    margin: -3.2rem auto 0;
  }

  .hero__place-score {
    width: 100%;
    min-height: 6.4rem;
  }

  .hero__signals {
    grid-template-columns: 1fr;
  }

  .modal__box {
    padding: 3.2rem 2.4rem;
  }

  .places-toolbar,
  .places-group {
    padding-inline: 1.6rem;
  }

  .places-toolbar {
    padding-top: 1.5rem;
  }

  .places-toolbar__intro {
    width: calc(100% - 9.5rem);
    min-height: 4rem;
  }

  .places-toolbar__title {
    font-size: 1.58rem;
  }

  .tab-btn,
  .category-toggle {
    min-height: 4rem;
    padding: 0.76rem 0.86rem;
    font-size: 1.18rem;
  }

  .category-toggle {
    top: 1.5rem;
    right: 1.6rem;
  }

  .category-toggle__count {
    min-width: 2.35rem;
    min-height: 2rem;
    padding-inline: 0.5rem;
    font-size: 1rem;
  }

  .card {
    border-radius: 24px;
  }

  .card-actions {
    width: 100%;
  }

  .card-actions .btn {
    flex: 1 1 100%;
  }

  .modal__box--lg.place-modal {
    padding: 2rem 1.6rem;
  }

  .place-modal__hero,
  .place-modal__panel {
    border-radius: 24px;
  }

  .place-modal__actions .btn {
    flex: 1 1 100%;
  }

  .place-modal__facts {
    grid-template-columns: 1fr;
  }

  .tab-btn {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
