.modern-subpage {
  min-height: 100vh;
  background: #f5f4ef;
  color: #171329;
}

.modern-subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
  border-bottom: 1px solid rgba(23, 19, 41, 0.12);
}

.modern-subpage-header .brand { color: inherit; }
.modern-subpage-header .brand-mark img { filter: none; }
.modern-subpage-actions { display: flex; align-items: center; gap: 1rem; }
.modern-subpage-header .language-switcher { position: static; }

.modern-subpage-main {
  width: min(100% - 2rem, 980px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) 0;
}

.modern-subpage-hero { max-width: 820px; margin-bottom: clamp(2rem, 5vw, 4rem); }
.modern-subpage-hero h1 {
  margin: 0.8rem 0 1.2rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}
.modern-subpage-hero > p:last-child {
  max-width: 720px;
  color: #666171;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.modern-content-card,
.modern-booking-card {
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid rgba(23, 19, 41, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(23, 19, 41, 0.07);
}

.modern-content-card > :first-child { margin-top: 0; }
.modern-content-card h1,
.modern-content-card > h2:first-child { display: none; }
.modern-content-card h2 { margin: 2.5rem 0 0.8rem; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.08; }
.modern-content-card h3 { margin: 2rem 0 0.65rem; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.modern-content-card p,
.modern-content-card li { color: #5f5a68; font-size: 1.05rem; line-height: 1.75; }
.modern-content-card ul { padding-left: 1.3rem; }
.modern-content-card img { width: 100%; height: auto; border-radius: 15px; }
.modern-content-card .wp-block-columns { gap: 1.5rem; }
.modern-content-card .wp-block-button__link {
  border-radius: 9px;
  background: #ffd900;
  color: #171329;
  font-weight: 800;
}

.modern-booking-notice {
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid #ffd900;
  border-radius: 0 12px 12px 0;
  background: #fff;
}
.modern-booking-notice a { color: inherit; font-weight: 800; }
.modern-booking-card form { margin-top: 0 !important; }
.modern-back-link { display: inline-flex; margin-top: 2rem; color: #30218e; font-weight: 800; text-decoration: none; }

.modern-subpage-footer { padding: 3rem 0; background: #171329; color: #fff; }
.modern-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.modern-footer-grid strong { font-size: 1.5rem; }
.modern-footer-grid p,
.modern-footer-grid span { color: rgba(255,255,255,.66); line-height: 1.6; }
.modern-footer-grid > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.modern-footer-grid a { color: #fff; font-weight: 700; }

@media (max-width: 760px) {
  .modern-subpage-header { min-height: 72px; }
  .modern-subpage-header .brand-word,
  .modern-subpage-header .phone-link { display: none; }
  .modern-subpage-actions { gap: 0.4rem; }
  .modern-subpage-header .language-switcher a { min-width: 38px; }
  .modern-subpage-main { padding-top: 2.5rem; }
  .modern-content-card,
  .modern-booking-card { padding: 1.25rem; border-radius: 14px; }
  .modern-content-card .wp-block-columns { display: block; }
  .modern-footer-grid { grid-template-columns: 1fr; }
}
